Delta Electronics — 6.27.2 Explanation of CANopen Communication Instructions

AS Series Programming Manual Explanation 1. The INITC and ASDON (Servo-ON) instructions must be complete before this instruction is executed. 2. Xno can only specify X0.0, X0.2, X0.4, X0.6, X0.8 and X0.10 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. 3. If the high-speed counters for the instruction can use only the phase A/B input mode, set the flag for reversing the _6 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. 10.

There is no limit to the number of times you can use this instruction. Several instructions can use one group of input points as its source of input count. But you need to clear the value in the input counter before execution of this 6-936 Group number 1 2 3 4 5 6 Xno+0 input point X0.0 X0.2 X0.4 X0.6 X0.8 X0.10 (Phase A) Xno+1 input point X0.1 X0.3 X0.5 X0.7 X0.9 X0.11 (Phase B) High-speed counter HC202 HC206 HC210 HC214 HC218 HC222 number Flag for reversing input SM270 SM271 SM272 SM273 SM274 SM275 direction