Write date and time into PLC

 

chiclet ET/MT-3x6 & ET/MT-2x8 SERIES

Auswahl Hilfen previous top next english version

FunctionsET/MT-3x6, ET/MT-2x8Falcon-SerieWrite date and time into PLC

 

In the Falcon SERIES, the location for writing and reading date and time into the PLC is defined by indicating the addresses in the general specifications (report register).

By setting bit 15 in the dynamic control word (start address of control words +04), the values specified for date and time (system time of operator interface) of the operator interface are transferred into the PLC registers. Date and time are transferred in BCD format.

Data transfer is started by means of a positive edge alternation. The operator interface automatically resets the bit to "0". Setting the bit can either be done via the PLC or using the functions "Set analog variable" or "Set bit".

 

Control word:

 

Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Status

0

1

0

0

0

0

0

0

0

0

0

0

0

0

0

0

 

Report register design:

 

Offset address

Time register



Higher byte

Lower byte

+ 04

Day

Month

+ 05

Year

Hour

+ 06

Minute

Second

 

 

<< return