Parameters Of The Function Block Modbuspn - Siemens SIMATIC S7 Manual

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

Advertisement

6.2

Parameters of the Function Block MODBUSPN

Parameter
Decl. Type
ID
IN
DB_PARAM
IN
RECV_TIME
IN
CONN_TIME
IN
KEEP_ALIVE
IN
ENQ_ENR
IN
DISCONNECT
IN
REG_KEY
IN
LICENSED
OUT BOOL
BUSY
OUT BOOL
CONN_
OUT BOOL
ESTABLISHED
DONE_NDR
OUT BOOL
MODBUS / TCP communication via the integrated PN interface of the CPU
2XV9450-1MB02; Manual edition 2.1
Description
WORD
Connection ID, must be identical to the
associated parameter in the local
connection description
BLOCK_
Number of the parameter DB
DB
TIME
Monitoring Time: wait for data from
communication partner
Shortest adjustable time: 20 ms.
TIME
Monitoring Time: wait for establishing or
termination of the connection
Shortest adjustable time: 100 ms.
TIME
Not used
BOOL
S7 is Client:
Initiate request at positive edge
S7 is Server:
Ready to receive at TRUE signal
BOOL
S7 is Client:
TRUE: connection is terminated after
reception of response
S7 is Server:
TRUE: connection is terminated when
ENQ_ENR = FALSE
STRING
Registration key to activate the license
[17]
License state of the function block:
Block is licensed
Block is not licensed
Operating state of the T functions
(TCON, TDISCON, TSEND or TRCV)
Job processing
No job processing active
Connection established
Connection terminated
S7 is Client:
TRUE: Active request finished without
errors
S7 is Server:
TRUE: Request from the client was
executed and answered
Function Block MODBUSPN
Value range
1 to 4095
W#16#1 to
W#16#FFF
depending on
PLC
T#20ms
to
T#+24d20h31
m23s647ms
T#20ms
to
T#+24d20h31
m23s647ms
TRUE
FALSE
TRUE
FALSE
Character
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
Init
yes
yes
no
no
no
no
no
no
no
no
no
6-5

Advertisement

Table of Contents
loading

Table of Contents