CANopen & CANlink Communication
‑68‑
2. Implement start/stop control on the AC drive (F0‑02 is set to 2).
Assign a value to the D component corresponding to the control word of the
desired station to control forward running, reverse running, and stop of the AC
drive through communication. The control word is defined as follows:
1: Run in forward direction; 2: Run in reverse direction; 3: Jog in forward direction;
4: Jog in reverse direction; 5: Coast to stop; 6: Decelerate to stop; 7: Reset upon
fault
The program is as follows:
The PLC soft component address corresponding to the control word is D7000.
Therefore, to control the AC drive to run in forward direction through
communication, write 1 to D7000. Similarly, to control the AC drive to decelerate to
stop, set D7000 to 6.
3. Read the bus voltage.
The actual bus voltage is the read bus voltage a divided by 10. According to the
communication configuration, the D component address of the bus voltage is
D7425. Convert D7425 to a floating‑point number and then divide this value by 10.
The program is as follows:
4. Read the output voltage.
According to the communication configuration, you only need to move the value of
D7408 to another D component (or not).
The program is as follows: