![TREBING + HIMSTEDT SPI 3 Скачать руководство пользователя страница 15](http://html1.mh-extra.com/html/trebing-himstedt/spi-3/spi-3_manual_1154873015.webp)
Starting up the SPI 3
15
MODBUS RTU | SPI 3 | Trebing & Himstedt
this module to send data bit by bit (see following figure).
Figure:
Bits sent with Module MB_REG_WRITE_1B from SPI 3
SPI 3 Parameters
You must set specific parameters for each configured module. The modules:
»MODBUS_Master_Kopf« and »MODBUS_ Kanal« contain general
parameters which you select depending on the connected MODBUS slave. You can
look up required parameters in the MODBUS slave guide. For all other modules with
I/O field, select the MODBUS register type (COIL [COIL1...COIL8], INPUT,
INPUT REGISTER, HOLDING) as well as the corresponding start address.
SPI 3 specific parameters for the »MODBUS_Master_Kopf« and
»MODBUS_ Kanal« modules
The first 7 bytes (bytes 0…6) of the parameter telegram contain bus-related
parameters which are standardized in PROFIBUS norm. The following 10 bytes (byte
7 to byte 16) in the table of the parameterizing telegram contain SPI 3 specific
parameters. When using the »MODBUS_ Kanal« module, an additional
function block needs to be installed or generated (see »Installing the FB 127 function
block« on page 17).
COIL – MODBUS Slave
Module MB_REG_WRITE_1B
Lenght
Type
COIL2
2 Bit
COIL6
6 Bit
COIL4
4 Bit
COIL8
1 Byte
COIL1
1 Bit
COIL3
3 Bit
COIL5
5 Bit
COIL7
7 Bit
Bit
Bit(s) sent
0
1
2
3
4
5
6
7