TIME (41)
TIME (41)
ID 41

|
Application: |
PLC |
SIM |
Group: TIMERS AND COUNTERS
Short description:
Counting clock function in hh-mm-ss format.
Inputs: none
Outputs (3):
|
no. |
type |
impulse |
mark |
notes |
|
1 |
I |
no |
h |
hours |
| 2 | I | no | m | minutes |
| 3 | I | no | s | seconds |
Settings:
See TIMESET (45)
Function operation:
The TIME function executes the operation of the counting clock in the hh-mm-ss format. The function returns Hours, Minutes and Seconds on the outputs. The time is set using the TIMESET block (45).
R registers and M markers used:
|
No. |
name |
description |
R - read, W -write |
|
R3754 |
_Time_Hour | Current time - hour | R |
| R3755 | _Time_Min | Current time - minute | R |
| R3756 | _Time_Sec | Current time - second | R |