EtherCAT Programming Guide Operation of Pulse Module (R1-ECx62xD0 Series)
March, 2017 21-5
21
21.3 _ECAT_Slave_R1_ECx62x_Set_ORG_Inverse
Syntax
U16 PASCAL _ECAT_Slave_R1_ECx62x_Set_ORG_Inverse (U16 CardNo, U16 AxisNo, U16
SlotNo, U16 Enable)
Purpose
This is for setting the contact type (NC/NO) of the origin switch (ORG).
Parameter
Name Data type Property Description
CardNo U16 Number Card No.
AxisNo U16 Number Node ID
SlotNo U16 Number Slot ID
Enable U16 Option
0: High-potential trigger (NO)
1: Low-potential trigger (NC)
Example
U16 Status = 0;
U16 CardNo=16, AxisNo =1, SlotNo=0;
U16 Enable=1;
Status= _ECAT_Slave_R1_ECx62x_Set_ORG_Inverse (CardNo, AxisNo,SlotNo, Enable);