Ecat_Slave_R1_Ec5614_Get_Mpg_Counter - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

EtherCAT Programming Guide

33.4 _ECAT_Slave_R1_EC5614_Get_MPG_Counter

Syntax
U16 PASCAL _ECAT_Slave_R1_EC5614_Get_MPG_Counter (U16 CardNo, U16 NodeID, U16
SlotNo, I32 *Counter)
Purpose
This is for acquiring accumulative value of the MPG counter.
Parameter
Name
CardNo
NodeID
SlotNo
Counter
Example
U16 Status = 0, CardNo = 16, NodeID = 0, SlotNo = 0;
I32 Counter = 0;
Status = _ECAT_Slave_R1_EC5614_Get_MPG_Counter(CardNo, NodeID, SlotNo,
&Counter);
March, 2017
Data type
Property
U16
Number
U16
Number
U16
Number
I32*
Value
Description
Card number
Node ID
Slot ID
Value of the MPG Counter (Unit: pulse)
MPG Operation
33
33-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents