Configuring via Modbus RTU Described in the following chapters is how you can establish the communication. The controller is set to slave address 1 ex works (rotary switch to "1"), baud rate 19200 baud, even parity, 1 stop bit. All changes take effect only after the controller is restarted. Communication settings Slave address, baud rate and parity are dependent on the position of the S1 rotary switch and, if applicable, on objects 2028h, 202Ah, 202Dh. Configuration Object Value range Factory settings Slave address 2028h 1 to 247 5 Baud rate 202Ah 7200 to 256000 19200 Parity 202Dh None: 0x00 Even: 0x04 Odd: 0x06 0x04 (Even) The number of data bits is always "8" here. The number of stop bits is dependent on the parity setting: No parity: 2 stop bits "Even" or "Odd" parity: 1 stop bit The following baud rates are supported: 7200 9600 14400 19200 38400 56000 57600 115200 128000 256000 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. Rotary switch The PD4-E is equipped with a hex coding switch – similar to that shown in the following figure. You can thereby determine the source for the slave address, the baud rate and the parity; the following table shows the possible combinations. Position of the rotary switch Slave address Baud rate and parity dec hex 0 0 Object 2028h Object 202Ah or 202Dh 1-14 1-E Number of the rotary switch Object 202Ah or 202Dh 15 F 5 19200, even Parity Establishing communication Connect the Modbus master to the controller via the RS-485+ and RS-485- (see X1 − Modbus RTU (RS-485) IN) cables. Supply the controller with voltage. Change the configuration values if necessary. The controller is set to slave address 1 ex works (rotary switch set to "1"), baud rate 19200 baud, even parity, 1 stop bit. To test the interface, send bytes 01 65 55 00 2E 97 to the controller (you can find a detailed description of the Modbus function codes in chapter Modbus RTU). The object dictionary is read out.
Configuring via Modbus RTU Described in the following chapters is how you can establish the communication. The controller is set to slave address 1 ex works (rotary switch to "1"), baud rate 19200 baud, even parity, 1 stop bit. All changes take effect only after the controller is restarted. Communication settings Slave address, baud rate and parity are dependent on the position of the S1 rotary switch and, if applicable, on objects 2028h, 202Ah, 202Dh. Configuration Object Value range Factory settings Slave address 2028h 1 to 247 5 Baud rate 202Ah 7200 to 256000 19200 Parity 202Dh None: 0x00 Even: 0x04 Odd: 0x06 0x04 (Even) The number of data bits is always "8" here. The number of stop bits is dependent on the parity setting: No parity: 2 stop bits "Even" or "Odd" parity: 1 stop bit The following baud rates are supported: 7200 9600 14400 19200 38400 56000 57600 115200 128000 256000 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. Rotary switch The PD4-E is equipped with a hex coding switch – similar to that shown in the following figure. You can thereby determine the source for the slave address, the baud rate and the parity; the following table shows the possible combinations. Position of the rotary switch Slave address Baud rate and parity dec hex 0 0 Object 2028h Object 202Ah or 202Dh 1-14 1-E Number of the rotary switch Object 202Ah or 202Dh 15 F 5 19200, even Parity Establishing communication Connect the Modbus master to the controller via the RS-485+ and RS-485- (see X1 − Modbus RTU (RS-485) IN) cables. Supply the controller with voltage. Change the configuration values if necessary. The controller is set to slave address 1 ex works (rotary switch set to "1"), baud rate 19200 baud, even parity, 1 stop bit. To test the interface, send bytes 01 65 55 00 2E 97 to the controller (you can find a detailed description of the Modbus function codes in chapter Modbus RTU). The object dictionary is read out.
Communication settings Slave address, baud rate and parity are dependent on the position of the S1 rotary switch and, if applicable, on objects 2028h, 202Ah, 202Dh. Configuration Object Value range Factory settings Slave address 2028h 1 to 247 5 Baud rate 202Ah 7200 to 256000 19200 Parity 202Dh None: 0x00 Even: 0x04 Odd: 0x06 0x04 (Even) The number of data bits is always "8" here. The number of stop bits is dependent on the parity setting: No parity: 2 stop bits "Even" or "Odd" parity: 1 stop bit The following baud rates are supported: 7200 9600 14400 19200 38400 56000 57600 115200 128000 256000 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. Rotary switch The PD4-E is equipped with a hex coding switch – similar to that shown in the following figure. You can thereby determine the source for the slave address, the baud rate and the parity; the following table shows the possible combinations. Position of the rotary switch Slave address Baud rate and parity dec hex 0 0 Object 2028h Object 202Ah or 202Dh 1-14 1-E Number of the rotary switch Object 202Ah or 202Dh 15 F 5 19200, even Parity
Rotary switch The PD4-E is equipped with a hex coding switch – similar to that shown in the following figure. You can thereby determine the source for the slave address, the baud rate and the parity; the following table shows the possible combinations. Position of the rotary switch Slave address Baud rate and parity dec hex 0 0 Object 2028h Object 202Ah or 202Dh 1-14 1-E Number of the rotary switch Object 202Ah or 202Dh 15 F 5 19200, even Parity
Establishing communication Connect the Modbus master to the controller via the RS-485+ and RS-485- (see X1 − Modbus RTU (RS-485) IN) cables. Supply the controller with voltage. Change the configuration values if necessary. The controller is set to slave address 1 ex works (rotary switch set to "1"), baud rate 19200 baud, even parity, 1 stop bit. To test the interface, send bytes 01 65 55 00 2E 97 to the controller (you can find a detailed description of the Modbus function codes in chapter Modbus RTU). The object dictionary is read out.