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.
Содержание DVP-15MC Series
Страница 16: ...1 1 1 Preface Table of Contents 1 1 Explanation of Symbols in This Manual 1 2 1 2 Revision History 1 3...
Страница 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Страница 20: ...2 1 2 Overview Table of Contents 2 1 Product Description 2 2 2 2 Functions 2 2 2 3 Profile and Components 2 3...
Страница 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Страница 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Страница 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Страница 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Страница 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Страница 433: ...9 1 9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2...
Страница 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Страница 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Страница 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Страница 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Страница 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...