Delta DVP-ES3 — 6.27.2 Explanation of CANopen Communication Instructions

Chapter 6 Applied Instructions Explanation 1. The INITC and ASDON (Servo-ON) instructions must be complete before this instruction is executed. 2. Xno can only specify X0, X2, X4, X6, X10 and X12 as the input points, and the operand occupies two consecutive input points. You cannot execute the instruction if the input points are the points specified for Xno above. After you select the input points, the high-speed counter is automatically specified. If there is a DCNT instruction (API 1004) or CSFO instruction (API 2708) with the same high-speed counter in the program, the PLC first executes the instruction that starts the counter first.

The input points and corresponding high-speed counters are shown in the following table. Note: refer to instruction DCNT for more information on the maximum input bandwidth of X0~X13. 6_ 3. If the high-speed counters for the instruction can use only the phase A/B input mode, set the flag for reversing the input direction to ON when MPG is connected but has not rotated yet, and the PLC input point is ON. Set the function to detect the state of PLC run cycle to OFF. 4. InCnt is the number of input pulses. Use a 32-bit variable to declare the parameter. 5. InSpd is the frequency of input pulses. Use a 32-bit variable to declare the parameter with the unit of 1 Hz. 6.

Gear is the proportion of the input frequency and output frequency (floating-point value). The formula is that output frequency equals to the result of input frequency multiplying Gear. For instance, if Gear is 2.5 and the input frequency is 50, the output is 125 (50*2.5). Note: the output count and the output frequency are rounded down to the nearest whole digit when outputting. 7. Axis is the station address of Delta servo for output, ranging from 1 to 8 and it should be within the station address that is initiated by the INITC instruction. 8. OutCnt is the number of output pulses. Use a 32-bit variable to declare the parameter with the unit of PUU. 9.

OutSpd is the frequency of the output pulses. Use a 32-bit variable to declare the parameter with the unit of 1 Hz. 6-917 Group number 1 2 3 4 5 6 Xno+0 input point X0 X2 X4 X6 X10 X12 (Phase A) Xno+1 input point X1 X3 X5 X7 X11 X13 (Phase B) High-speed counter HC202 HC206 HC210 HC214 HC218 HC222 number Flag for reversing input SM270 SM271 SM272 SM273 SM274 SM275 direction