TIMESET (45)


TIMESET (45)

ID                          45

 

 

Application:

PLC

SIM

 

Group:  TIMERS AND COUNTERS

 

Short description:

The function that sets the time in the clock.

 

Inputs (4):

no.

type

impulse

mark

notes

1

B

no

set

set

2 I no hour hours
3 I no min minutes
4 I no sec seconds

 

Outputs: none

Settings: none


Function operation:

The TIMESET function that sets the time in the TIME block clock in the hh-mm-ss format. When a high state appears on the set input, the values given for the hour, min, sec inputs are written to the TIME block (see TIME (41)). Entering incorrect values for hour, min, sec will not change the time.

 

R registers and M markers used:

 

No.

name

description

R - read, W -write

R3754

_Time_Hour Current time - hour W
R3755 _Time_Min Current time - minute W
R3756 _Time_Sec Current time - second W