Siemens SIMATIC S7 Manual page 32

S7 open modbus / tcp communication via the integrated pn interface of the plc
Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Parameter
Decl. Type
ERROR
OUT BOOL
STATUS_
OUT WORD
MODBUS
STATUS_
OUT WORD
CONN
STATUS_FUNC
OUT STRING
IDENT_CODE
OUT STRING
UNIT
IN/
OUT
DATA_TYPE
IN/
OUT
START_
IN/
ADDRESS
OUT
LENGTH
IN/
OUT
TI
IN/
OUT
WRITE_ READ
IN/
OUT
MODBUS / TCP communication via the integrated PN interface of the CPU
2XV9450-1MB02; Manual edition 2.1
Description
An error has occurred
No error has occurred
Error number for protocol errors when
evaluating a Modbus telegram
Error number for connection errors during
execution of the T blocks
(TCON, TSEND, TRCV, TDISON)
Name of the function, which causes the
[8]
error at STATUS_MODBUS or
STATUS_CONN
Identification for licensing
[18]
Please order your license with this
identification string.
BYTE
Unit identification
(INPUT if in CLIENT mode, OUTPUT if in
SERVER mode)
BYTE
Data type to be accessed:
(INPUT if in CLIENT mode, OUTPUT if in
SERVER mode)
Coils
Inputs
Holding registers
Input registers
WORD
MODBUS start address
(INPUT if in CLIENT mode, OUTPUT if in
SERVER mode)
WORD
Number of values to be processed
(INPUT if in CLIENT mode, OUTPUT if in
SERVER mode)
Coils
Reading function
Writing function
Inputs
Reading function
Holding Register
Reading function
Writing function
Input Register
Reading function
WORD
Transaction Identifier
(INPUT if in CLIENT mode, OUTPUT if in
SERVER mode)
BOOL
Write access or
Read access
(INPUT if in CLIENT mode, OUTPUT if in
SERVER mode)
Function Block MODBUSPN
Value range
TRUE
FALSE
0 to FFFF
0 to FFFF
Character
Character
0 to 255
B#16#0 to
B#16#FF
1
2
3
4
0 to 65535
W#16#0000 to
W#16#FFFF
1 to 2000
1 to 800
1 to 2000
1 to 125
1 to 100
1 to 125
0 to 65535
W#16#0 to
W#16#FFFF
TRUE
FALSE
Init
no
no
no
no
no
no
no
no
no
no
no
6-6

Advertisement

Table of Contents
loading

Table of Contents