Delta Electronics — 6.15.2 Explanation of Module Instructions

Chapter 6 Applied Instructions 6_ Symbol Module : Module number InMode : Encoder input mode and frequency multiplication for counting Period : Period time for capturing the frequency ZeroS : Clear the counter to 0 InPulse : Number of pulses which have been input InSpeed : Number of pulses per cycle Error : Error flag ErrCode : Error code Explanation 1. This instruction is available for PLC with FW V1.08.00 or later. 2. The DPUCNT instruction supports AS02PU module only.

6-433 API Instruction Operand Description 1410 D PUCNT Module ~ ErrCode High-speed counter function of PU module Device X Y M S T C HC D FR SM SR E K 16# “$” F Module    InMode    Period    ZeroS      InPulse  InSpeed  Error     ErrCode  BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type Module    InMode    Period    ZeroS  InPulse   InSpeed   Error  ErrCode   Pulse Instruction 16-bit instruction 32-bit instruction - - AS