Name Declara-
tion
Type Description
FC15_ADDR_OUTPUT_START STAT WORD Modbus Function code 0Fh start register for Q0.0
Default: 0
FC15_ADDR_OUTPUT_END STAT WORD Modbus Function code 0Fh end register for Qx.y
Default: 19999
FC15_ADDR_MEMORY_START STAT WORD Modbus Function code 0Fh start register for M0.0
Default: 20000
FC15_ADDR_MEMORY_END STAT WORD Modbus Function code 0Fh end register for Mx.y
Default: 39999
The following must be observed:
n The call parameters must be specified with the block call. Besides the call parameters
all parameters are located in the instance DB.
n The interface to be used must be configured before:
– VIPA System SLIO CP 040: Configuration as ASCII module with 60 byte IO-Size
in the hardware configuration.
– Internal serial RS485 interface of a VIPA CPU:
Configuration via SFC 216 (SER_CFG) with protocol "ASCII".
n FB 60 SEND and FB 61 RECEIVE (or FB 65 SEND_RECV) are required for the use
of the block, even if the internal serial RS485 interface of a CPU from VIPA is used.
n Broadcast request via MB_UNIT_ID = 0 are only accepted for writing functions.
n The INPUT/OUTPUT Modbus addresses of a Function code must be located in front
of the MEMORY Modbus address and thus always be lower.
n Within a Function code no Modbus address may be defined multiple times - also not
0!
n The slave can only process one job simultaneously. New Modbus requests during job
processing are ignored and not answered.
The function block reports via STATUS the following status and error information.
STATUS NDR DR ERROR Description
0000h 0 or 1* 0 Operation executed without error.
7000h 0 0 0 No connection established or communication error.
7005h 0 0 0 Data are sent.
7006h 0 0 0 Data are received.
8210h 0 0 1 The hardware is incompatible with the block library Modbus RTU/TCP.
8380h 0 0 1 CRC error
8381h 0 0 1 Exception code 01h, Function code is not supported.
8382h 0 0 1 Exception code 03h, data length or data value are not valid.
8383h 0 0 1 Exception code 02h, invalid start address or address range.
8384h 0 0 1 Exception code 04h, area length error when accessing inputs, outputs or
bit memories.
8187h 0 0 1 MB_DATA_PTR not valid.
Status and error indication
VIPA SPEED7
Modbus Communication
RTU > FB 73 - RTU_MB_SLAVE - Modbus RTU slave
HB00 | OPL_SP7 | Operation list | en | 18-30 195