DVP-15MC Series Motion Controller Operation Manual
8-328
_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 axes are configured in the
software. TRUE means that axes are configured in the software. FALSE means axes are not configured
in the software.
When the value of the input
DiagType
is 2, the value of
Node
means whether axes make the connection
with Motion 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 axes release Emergency
message. TRUE means Emergency message has been sent. FALSE means Emergency message has
not been sent.
E.g. if the vlaue of
DiagType
is 2 and the variable of the output
Node
is a, the value of a[1] is TRUE when
axis 1 and Motion port make the connection and the value of a[1] is FALSE when the CANmotion cable
of axis 1 is removed.
Programming Example
1.
The variable table
Variable name
Data type
Initial value
CMSD
CANmotion_SysDiag
CMSD_EN
BOOL
CMSD_DT
USINT
2
CMSD_Node
ARRAY [1..32] OF BOOL
2.
The program
1
CA Nmotion_SysDiag
Enable
Done
CM SD
DiagType
Error
ErrorID
Node
CM S D_Node
C MS D_En
CM SD_DT
From the values of members of the CMSD_Node array, you can figure out if the corresponding axis is
connected to Motion communication port of the controller or not.
If CMSD_Node[1]=1, it indicates that axis 1 and Motion communication port have been connceted, if the
CMSD_Node[1]=0, it indicates that axis 1 and Motion communication port have not been connected.
The possible reason is that the communication cable between Motion 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 Motion communication port, you can use the value of CMSD_Node[2] to
judge whether the connection is successful or not.
For the connection of other axes to Motion communication port, use the same way to judge whether the
connection is successful or not.
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...