6 Allocation of Buffer Memories
6.19 [BFM #50 to #59] Time Stamp
118
FX
3U
-CAN User's Manual
6.19
[BFM #50 to #59] Time Stamp
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 power up or reset of the FX
3U
-CAN, the clock data is set to default values, and the clock is stopped.
FX
3U
-CAN sets up producer or consumer of Time stamp by BFM #50. When FX
3U
-CAN is the current
Network Master or Producer, set the clock data to BFM #51 to #59. The current Time stamp of CANopen
®
network can read the clock data from BFM #51 to #57.
• When the FX
3U
-CAN is set up as Consumer, the clock starts counting after receiving the first Time stamp
object.
• When the FX
3U
-CAN is set up as Producer, the clock starts after setup of BFM #50 to #58.
• The FX
3U
-CAN will only produce the Time stamp if it is the current Network Master and in CANopen
®
state
Operational or Pre-operational.
Note
• After power up or reset of the FX
3U
-CAN, the clock data is set to default values, and the clock is stopped.
• The data and time will be checked when BFM #56 is written. If value is outside of the allowed range BFM
#29 bit 6 will be set to ON.
→
For BFM #29 bit 6, refer to Section 14.2
• When the FX
3U
-CAN is set up as consumer, write access to BFM #51 to #59 will be ignored.
• When FX
3U
-CAN is the current Network Master and Producer, the first time stamp will be sent after setting
BFM #58.
• There is always a delay in time due to latency during writing to the BFM and during the transmission over
the CAN bus.
• A leap year correction is provided.
• Clock tolerance: ±132 sec/month (at 25°C)
• The resolution of the Time stamp object in the FX
3U
-CAN is in units of second. All values outside of the
Setting range will be ignored, and the old value will persist. If a Time stamp object is received, BFM #25 bit
12 will be set.
→
For communication status (BFM #25), refer to Section 6.8
Note: When handling built in clock data of PLC
The FX
3U
-CAN can handle built-in clock data of the PLC using TRD (FNC166) and TWR (FNC167) instructions.
However, be careful of different year data specifications.
For further information on the TRD (FNC166) and TWR (FNC167) instructions and built-in clock data
specifications of the PLC, refer to the following manual.
→
Refer to Programming manual
• CAN network
K0 to K99 in Time stamp year corresponds to year 2000 to 2099.
The higher two digits is ignored. If writing K1984, the module will send a Time stamp with the year 2084.
• FX Series PLC built-in RTC
K80 to K99 correspond to "1980 to 1999", and "00 to 79" correspond to "2000 to 2079".
Examples:
"80" indicates 1980. "99" indicates 1999. "00" indicates 2000. "79" indicates 2079.
*1.
Time stamp will be only produced if the module is active NMT Master.
BFM No.
Name
Description
BFM #50
Time stamp producer/consumer
Sets the Time stamp producer/consumer.
The BFM directly accesses the Consumer/Producer bits of the Time COB-ID
in the Object Dictionary.
→
For Time object, refer to Subsection 5.6.10
Setting range:
K0: Time stamp disabled
K1: Consumer
K2: Producer
*1
K3: Producer
*1
/Consumer
Содержание FX3U-CAN
Страница 1: ...FX3U CAN USER S MANUAL ...
Страница 2: ......
Страница 6: ...Safety Precautions Read these precautions before use 4 MEMO ...
Страница 227: ......