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
Содержание 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...