Delta DVP-ES3 — 6.15.2 Explanation of Module Instructions

Chapter 6 Applied Instructions 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 number 2 and so on. Whatever modules at the right of the PLC must be numbered. The maximum number is 8. The instruction is exclusive to the PU modules at the right of the PLC. If the specified module is not a PU module, the error flag Error will change to ON. 3. Axis sets the output axis number for the specified PU module. The setting values 1~2 represent the axis1~axis2 output of the specified PU module respectively.

If the PU module has no corresponding axis number for output, the error flag Error will change to ON. 4. InMode sets the input mode of the encoder source and the frequency multiplication for counting. See the explanation of InMode value in the following table. 6_ For example: If the A/B phase input and doubled frequency is used, input the value 16#0002. Do not use the values which have not been listed in the above table since they represent the reserved functions. For the counting method of A/B phase and CW/CCW, refer to the explanation of HC (the high-speed counter of the PLC).

If you choose the single phase input or CW/CCW input, only the original frequency or doubled frequency can be selected. If you enter an incorrect value, the instruction will use the default original frequency. 5. InPulse displays the number of already input pulses, which is a signed 32-bit value. Every time the instruction is started, the PU module will automatically clear the value to 0 and then starts counting. 6. InSpeed displays the already detected input frequency which is a 32-bit value. The basic time for the frequency detection is 20ms. Therefore, the detected input frequency is 0 if there is no counting value within 20ms.

If there is a counting value within 20ms, the output starts at the minimum frequency of 50Hz. Even if OSpeed value is lower than 50Hz through the Rate- value-based conversion, the output is still conducted at 50Hz. 7. Rate is the input / output rate and the value is a floating point number. The number of actual output pulses and frequency are respectively equal to the input pulse number and frequency multiplied by the rate value. 6-437 High 8-bit value Low 8-bit value Value Function description Value Function description 16#00 A/B phase input 16#00 Fourfold frequency 16#01 A-phase input 16#01 Original frequency 16#02 CW (A) /CCW (B) input 16#02 Doubled frequency