Setup and commissioning
Safety instructions
Operation:
|
|
---|
Alternating electromagnetic fields! Alternating electromagnetic fields around current-carrying cables, especially around the supply and motor cables, can cause interference in the motor and other devices.
|
Preparation
- Motor Controller CL3-E
- Voltage supply in accordance with the data sheet
- For the configuration: a PC with Mikro USB cable
- CANopen master
- and/or analyzer for CAN
- Modbus Master
- and/or analyzer for Modbus
CANopen set up and installation
Read the "CANopen" section on the motor controller if you have not already done so.
- Make sure, that the jumper J1 and J2 are put to the correct position (see jumper J1, J2: "Setting CANopen")
- Connect the CANopen Master or a comparable CAN device to one of the connectors of X7 or X8 (see "CANopen/RS-485 IN (connector X7)" or "CANopen/RS-485 OUT (connector X8)")
- Configure the CANopen master or comparable device to a baud rate of 1 MBd.
- Connect the voltage supply to connector X1 of the motor controller (see "Power (connector X1)")
- The motor controller must transmit a CANopen bootup message with Node-ID "127".
If a node ID other than "127" to "7" is required, continue with the "Change Node-ID" section.
If the baud rate has to be adapted, continue with the "Change baud rate" section.
- Termination needed – switch on the terminating resistor as described in the "Terminating resistor (switch S1)" section.
- Check the CAN HIGH/LOW cabling, check the CAN-GND connection.
- Check the CANopen master or comparable CAN device for the baud rate of 1 MBd.
Change Node-ID
The change of the Node-ID can only be done via the configuration file cfg.txt
. As an alternative
the value can get set via the CAN-bus and stored with the CANopen save mechanism (see chapter Save Objects).
In the following text the change of the Node-ID with the configuration file will get explained.
- Connect the voltage supply to connector X1 of the motor controller (see "Power (connector X1)")
- Connect the USB connector X3 with a USB cable to your PC (see "Micro USB (connector X3)".
- Open the file
cfg.txt
located on the controller. - For the Node-ID can be set in the object 2009h to the
required value. If the object is not set to any value in the configuration file, the
nodId of "127" is used.
Example
For setting the Node-ID to the value "5", add the following tline to the file cfg.txt
:2009:00=5
- Save the file
cfg.txt
. - To activate the changes the controller hast to be restarted. Therefore disconnect the USB connection temporary. After the restart the new Node-ID is used.
Change baud rate
The change of the baud rate can only be done via the configuration file cfg.txt
. As an
alternative the value can get set via the CAN-bus and stored with the CANopen save mechanism (see chapter Save Objects).
In the following text the change of the Node-ID with the configuration file will get explained.
- Connect the voltage supply to connector X1 of the motor controller (see "Power (connector X1)")
- Connect the USB connector X3 with a USB cable to your PC (see "Micro USB (connector X3)".
- Open the file
cfg.txt
located on the controller. - For the baud rate can be set in the object 2005h to the
required value. If the object is not set to any value in the configuration file, the
baud rate of 1 MBd is used.
Example
For setting the baud rate to the value "500 kBd", add the following tline to the file cfg.txt
:2005:00=134
- Save the file
cfg.txt
. - To activate the changes the controller hast to be restarted. Therefore disconnect the USB connection temporary. After the restart the new baud rate is used.
Modbus RTU set up and installation
- Connect the modbus master with the controller according to the interface:
- If RS-232 should be used, connect the modbus master with connector X4 (see "RS-232 interface (connector X4)").
- If RS-485 should be used, move the jumpers J1 and J2 to the correct position (see "Setting RS-485") and connect the modbus master to the connector X8 (see "CANopen/RS-485 OUT (connector X8)")
- Connect the voltage supply to connector X1 of the motor controller (see "Power (connector X1)")
- The controller is set to the following settings ex factory (see chapter Change Modbus RTU configuration if other values are needed):
- Slave Address: 5
- Baudrate 38400 Bd
- 8 Data Bits
- 2 Stop Bits
- To test the connection, send the bytes
05 65 55
(or05 65 55 8A AE
with CRC) to the controller. With this, the controller will readout the object dictionary.
Change Modbus RTU configuration
The change of the configuration of the modbus RTU interface can only be done via the
configuration file cfg.txt
.
- Connect the voltage supply to connector X1 of the motor controller (see "Power (connector X1)")
- Connect the USB connector X3 with a USB cable to your PC (see "Micro USB (connector X3)".
- Open the file
cfg.txt
located on the controller. - Set the object to the desired value.
- Save the file
cfg.txt
. - To activate the changes the controller hast to be restarted. Therefore disconnect the USB connection temporary. After the restart the new settings are used.