Time Stamp (Un\G50-Un\G59) - Mitsubishi Electric MELSEC L-Series User Manual

Programmable logic controllers
Table of Contents

Advertisement

Detailed Description of the Module
3.5.11
Time stamp (Un\G50–Un\G59)
CANopen€ devices which operate a local clock may use the TIME object to adjust their own time base
to the time of the time stamp producer.
After each power up or restart the date and time are set to the default values and the counting is
stopped.
If the ME3CAN1-L is set to "consumer", the clock starts counting after receiving the first time stamp
object.
When the module is setup as "producer", the counter starts after setup of Un\G50 to Un\G58 and turn-
ing ON the Time stamp set request (Y(n+1)2) signal (refer to section 3.3.2). The time stamp will only be
produced if the ME3CAN1-L is active NMT Master and in CANopen€ state Operational or Pre-opera-
tional.
The lowest counting resolution of the time stamp object at the ME3CAN1-L is in seconds. If a time
stamp object is received, bit 12 in Un\G25 will be set (Refer to section 3.5.5).
To keep the consistency of the time, the time stamp data will be read from the clock data when time
stamp read request (Y(n+1)3) is set to ON and the time stamp data will be written to the clock data
when the time stamp set request (Y(n+1)2) is set to ON. (For a description of the signals (Y(n+1)2) and
(Y(n+1)3) please refer to section 3.3.2.)
The date and time will be checked when the time stamp set request (Y(n+1)2) is set to ON. If a value
is outside of the allowed range Un\G29 bit 6 will be set to "1" (Refer to section 3.5.7).
The clock data will start to run after the time stamp set request (Y(n+1)2) is set to ON.
In the PLC program, use DATERD/DATEWR commands to read/write the clock data of the PLC. (Refer
to the MELSEC Q/L Series Programming Manual).
NOTES
Since the ME3CAN1-L gets the clock data from the PLC, it doesn't support summer time
calculation.
Caused by delays during writing to the buffer memory and during the transmission over the CAN
bus there is always a delay in the time.
A leap year correction is provided.
Address
(Decimal)
50
51
52
53
54
Tab. 3-15: Buffer memory addresses for the time stamp
3 – 20
Name
Producer/consumer
Time stamp
Year
Month
Day
Hour
Buffer Memory Details: CANopen€ Mode
Description / Value range
The buffer memory directly accesses the Consumer/Pro-
ducer bits of the Time COB-ID in the Object Dictionary
(Refer to section 4.6.9).
0: Time stamp disabled
1: Consumer
2: Producer
3: Producer
/ Consumer
Value range: 1980 to 2079
Value range: 1 to 12
Value range: 1 to 31
A setting outside of the range, such as "February 30", is
prohibited.
24 hour format
Value range: 0 to 23
MITSUBISHI ELECTRIC

Advertisement

Table of Contents
loading

This manual is also suitable for:

Canopen me3can1-l

Table of Contents