Delta Electronics VFD037CH23A-21 — настройка CANopen связи и управление PLC: пошаговое руководство [578/638]

Превью страниц Страница 578 / 638
Delta Electronics VFD037CH23A-21 Руководство по эксплуатации онлайн [578/638] 460294
Chapter 16 PLC Function CH2000 Series
16-125
Set up CANopen communication speed to 1 M (parameter Pr.09-37= 0). It does not
matter if the drive is defined as a Master or a Slave, communication speed is set by
Pr.09-37 in both case.
Step 4: Coding
Real-time corresponding action: the data can be Read/Write directly to the corresponding
special “D” register.
Non Real-time corresponding action:
Read: Reading is made by CANRX command. When reading process is complete,
M1066=1. If reading succeeded, M1067 =1; if reading failed, M1067= 0.
Write: Writing is made by CANTX command. When writing process is complete, M1066
=1. If writing succeeded, M1067=1; if reading failed, M1067 =0.
Update: Updating the data is made by CANFLS command. (If special D register is defined
as RW type, Master will write the value into the slave. If special D register is
defined as RO type, then the data in the Slave will be read and write into the
Master.) When updating process is complete, M1066 will be 1. If updating
succeeded, M1067=1; if updating failed, M1067=0.
NOTE
When executing CANRX, CANTX and CANFLS commands, the device will wait till M1066 is completed before
the next CANRX, CANT or CANFLS begins. When the commands completed, download the program to the
drive. (Note: The factory setting of PLC communication protocol is ASCII 7N2 9600 and station number is 2.
Please change WPL setting at setting> communication setting)
Step 5: Set Slave station number and communication speed.
Slave No.1: Pr.09-37 = 0(speed 1M), Pr.09-36=10 (station number 10)
Slave No.2: Pr. 09-37 = 0(speed 1M), Pr.09-36=10 (station number 11)
Step 6: Hardware connection
The terminating resistor must be installed at the two farthest ends as shown in the figure
below:
Step 7: Activate PLC Control Function
Download the program after coding is complete and switch PLC mode to Run status. Then
reboots the power for Slave and Master. Please refer to CAN Master Test 1 vs. 2 driver.dvp.
Characteristic
line impedance
Characteristic
line impedance

Содержание

1610

Узнайте, как настроить скорость CANopen связи и управлять PLC с помощью команд чтения и записи. Пошаговое руководство для успешной реализации.