10 Command Interface
10.3 Set Heartbeat
184
FX
3U
-CAN User's Manual
10.3
Set Heartbeat
Nodes can be easily set to Heartbeat Producer or Heartbeat Consumer status by writing values to Index
H1016 and H1017 using the Command Interface (CIF). The parameters for Heartbeat are included in the
information that can be written to the CAN bus.
The local FX
3U
-CAN can be specified by its actual node number or by using "0".
Note that the NMT Master startup process uses SDO's which can be result in an Error of the CIF command if
the NMT Startup Master accesses the remote Node at the same time.
→
For Object H1016 and H1017 (Heartbeat), refer to Subsection 5.6.9
1. Heartbeat producing setting
Execution procedure: Heartbeat producing setting
1) Write target Node number and Producer heartbeat time value (in units of ms) to BFM #1001 to #1066.
Write HFFFF to the node number following the last target node to complete Heartbeat producing settings.
2) Write the command code H7410 to BFM #1000.
When the command code H7410 is written to BFM #1000, the command is executed.
3) When the executed command is successful, H7411 is written to BFM #1000.
→
If H741F, H000F or HFFFF is read from BFM #1000, refer to Section 10.9
2. Heartbeat consuming setting
With this command, the Heartbeat consuming Index H1016 Sub index K1 to K32 will be set up at the node
specified in BFM #1001.
To setup a Sub index higher than K32, use the SDO write command.
→
For Heartbeat, refer to Subsection 5.6.9
→
For SDO Request, refer to Section 10.2
Execution procedure: Heartbeat consuming setting
1) Write the Node number that has to be set up to BFM #1001.
The local FX
3U
-CAN can be specified by its actual node number or by using "0".
2) Write target Node-ID to be Consumed and Consumer heartbeat time (in units of ms) to BFM #1002 to
#1065.
Write HFFFF to the Node-ID following the last consuming node to complete Heartbeat consuming
settings.
3) Write the command code H7400 to BFM #1000.
When the command code H7400 is written to BFM #1000, the command is executed.
4) When the executed command is successful, H7401 is written to BFM #1000.
BFM No.
Description
FROM (Read Access)
TO (Write Access)
BFM #1000
H7411:
Producing has been assigned
H741F:
Parameter Error
HFFFF: CIF Busy
H000F:
Error
Command:
H7410
BFM #1001
Diagnosis Data
H0000:
No Error
All other values: The corresponding parameter
caused an SDO error.
1st target
node
Node number of producer
BFM #1002
Producer heartbeat time value (in units of ms)
BFM #1003
2nd target
node
Node number of producer
BFM #1004
Producer heartbeat time value (in units of ms)
BFM #1005
3rd target
node
Node number of producer
BFM #1006
Producer heartbeat time value (in units of ms)
..…
..…
..…
BFM #1065
33rd target
node
Node number of producer
BFM #1066
Producer heartbeat time value (in units of ms)
Summary of Contents for FX3U-CAN
Page 1: ...FX3U CAN USER S MANUAL ...
Page 2: ......
Page 6: ...Safety Precautions Read these precautions before use 4 MEMO ...
Page 227: ......