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.02.00 or later. 2. Module sets the serial number of modules at the right of the PLC.
The first one is number 1, the second one is 6-439 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 - - ES3