Communication
6 – 8
Advant Controller AC 31 / Issued: 01.99
3
6.2.2 Configuration of the MODBUS interface
MODBUS
®
communication with the 40 and 50 series basic units is only allowed if the black 07
SK 51 or 07 SK 53 cables are used.
The serial interface of the 40 and 50 series basic units have a default MODBUS
®
configuration with the following parameters:
- Mode:
MODBUS
®
slave 1 unit
- Baud rate:
9,600 baud
- Number of stop bits:
1
- Number of data bits:
8
- Parity:
None
The mode is changed via the system constant KW 00,06 (see chapter 5).
Changes to the speed, number of stop bits, data bits or parity is programmed in the PLC
program with the SINIT function (see appropriate documentation). The SINIT does not need to
be used if your application uses the standard parameters.
The MODBUS
®
mode remains available even if the basic unit program was stopped (the front
switch is set to OFF) when the black 07 SK 51 or 07 SK 53 cable is connected and the serial
interface is configured for MODBUS
®
communication. The programming mode for tests and
modifications becomes available when the grey 07 SK 50 or 07 SK 52 cable is used.
6.2.3 Programming
MODBUS
®
slave unit
All the data may be read or written in MODBUS
®
. A program is not required for MODBUS
®
communication management. The MODBUS
®
slave basic unit automatically converts the
request sent by the MODBUS
®
master basic unit and returns a message as soon as it
recognizes the address.
The SINIT function is only required in the program when communication parameters are
changed.
MODBUS
®
master unit
The MODBUS function enables data read/write requests to sent to the MODBUS
®
slaves .
The SINIT function must be used in the program if the communication parameters are
changed.
List of cross references
An exchange of MODBUS
®
data is in the form of a table which is defined by the following
elements:
- The MODBUS
®
address of the first exchanged variable
- The size of the list = the total number of variables in the list.
All the variables of the 40 and 50 series basic units, as described in the following table, can be
read or written by the master MODBUS
®
.
Содержание 07AC91
Страница 6: ...Contents 4 Advant Controller AC 31 Issued 08 99 3 ...
Страница 58: ...Installation 4 10 Advant Controller AC 31 Issued 08 99 3 Figure 16 Relay outputs Figure 17 Transistor outputs ...
Страница 62: ...Installation 4 14 Advant Controller AC 31 Issued 08 99 3 Figure 22 Extension XK 08 F1 l ...
Страница 94: ...Programming 5 22 Advant Controller AC 31 Issued 01 99 3 ...
Страница 110: ...Communication 6 16 Advant Controller AC 31 Issued 01 99 3 ...
Страница 122: ...Appendix A 4 Advant Controller AC 31 Issued 08 99 3 ...
Страница 123: ......