Ecat_Slave_R1_Ec5614_Get_Io_Status - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

MPG Operation

33.3 _ECAT_Slave_R1_EC5614_Get_IO_Status

Syntax
33
U16 PASCAL _ECAT_Slave_R1_EC5614_Get_IO_Status (U16 CardNo, U16 NodeID,
U16 SlotNo, U16 *IOStatus)
Purpose
This is for acquiring the DI/O contact status of MPG module.
Parameter
Name
CardNo
NodeID
SlotNo
IOStatus
Example
U16 Status = 0, CardNo = 16, NodeID = 0, SlotNo = 0;
U16 IOStatus = 0;
Status = _ECAT_Slave_R1_EC5614_Get_IO_Status (CardNo, NodeID, SlotNo, &IOStatus);
Status description
Bit
0
1
2
3
4
5
6
7
33-6
Data type
U16
U16
U16
U16*
Definition
JY-
JY+
JX-
JX+
Scale: ×1
Scale: ×10
Scale: ×100
Reserved
Property
Number
Card number
Number
Node ID
Number
Slot ID
Value
DI/O status of MPG module
Bit
8
X-Axis is selected.
9
Y-Axis is selected.
10
Z-Axis is selected.
11
U-Axis is selected.
12
W-Axis is selected.
13
C-Axis is selected.
14
Reserved
15
MPG Enabled
EtherCAT Programming Guide
Description
Definition
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents