Configuring via Modbus RTU
Described in the following chapters is how you can establish the communication.
The controller is set to slave address 5 ex works, baud rate 19200 baud, even parity, 1 stop bit. You can use the default switch to reset the controller to the factory settings.
The following settings can be performed:
|Configuration||Object||Value range||Factory settings|
|Slave address||2028h||1 to 247||5|
|Baud rate||202Ah||7200 to 256000||19200|
- No parity: 2 stop bits
- "Even" or "Odd" parity: 1 stop bit
The following baud rates are supported:
You must save the changes by writing value "65766173h" in object 1010h:0Bh. The changes are not taken over until after the controller has been restarted.
- Connect the Modbus master to the controller via the RS-485+ and RS-485- (see X1 – CANopen/RS-485 IN) cables.
- Supply the controller with voltage.
Change the configuration values if necessary.
The controller is set to slave address 5 ex works, baud rate 19200 baud, even parity, 1 stop bit.
To test the interface, send bytes
05 65 55 00 2F A7to the controller (you can find a detailed description of the Modbus function codes in chapter Modbus RTU).The object dictionary is read out.