DVP-15MC Series Motion Controller Operation Manual
8-332
_8
different meaning when the value of the input
DiagType
varies.
When the value of the input
DiagType
is 1, the value of
Node
means whether slaves are configured in
the software. TRUE means that slaves are configured in the software. FALSE means slaves are not
configured in the software.
When the value of the input
DiagType
is 2, the value of
Node
means whether slaves make the
connection with CANopen port. TRUE means the connetion is made. FALSE means the connetion is
not made.
When the value of the input
DiagType
is 3, the value of
Node
means whether slaves release
Emergency message. TRUE means Emergency message has been sent. FALSE means Emergency
message has not been sent.
E.g. if the value of
DiagType
is 2 and the variable of the output
Node
is a, the value of a[1] is TRUE
when slave 1 and CANopen port make the connection and the value of a[1] is FALSE when the
CANopen cable of slave 1 is removed.
Programming Example
1. The variable table
Variable name
Data type
Initial value
CSD
CANOpen_SysDiag
CSD_EN
BOOL
CSD_DT
USINT
2
CSD_Node
ARRAY [1..32] OF BOOL
2. The program
From the values of members of the CSD_Node array, you can figure out if the corresponding slave is
connected to CANopen communication port of the controller or not.
If CSD_Node[1]=1, it indicates that axis 1 and CANopen communication port have been connceted, if
the CSD_Node[1]=0, it indicates that axis 1 and CANopen communication port have not been connected.
The possible reason is that the communication cable between CANopen communication port and axis 1
is not connected properly or the communication cable is unplugged after being plugged in.
For the connection of axis 2 to CANopen communication port, you can use the value of CSD_Node[2]
to judge whether the connection is successful or not.
For the connection of other axes to CANopen communication port, use the same way to judge whether
the connection is successful or not.
1
CA Nopen_SysDiag
Enable
Done
C SD
DiagType
Error
ErrorID
Node
C SD_En
CS D_D T
CS D_Node
Summary of Contents for DVP-15MC Series
Page 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Page 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Page 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Page 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Page 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Page 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Page 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Page 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Page 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Page 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Page 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...