Modbus - Master (Communicate Using SIPLUS I O or The
Modbus - Master (Communicate Using SIPLUS I O or The
Content
Search
Index
A
Ä
B
C
D
E
F
G
H
I
J
K
L
M
N
O
Ö
P
Q
R
S
T
U
Ü
V
W
X
Y
Z
0-9
Rate
LAD / FBD
SCL
Description
"Modbus_Master_DB"( REQ:=_bool_in_,
MB_ADDR:=_uint_in_, MODE:=_usint_in_,
DATA_ADDR:=_udint_in_, DATA_LEN:=_uint_in_,
DONE=>_bool_out_, BUSY=>_bool_out_,
ERROR=>_bool_out_, STATUS=>_word_out_,
DATA_PTR:=_variant_inout_);
The DONE bit is TRUE for one scan, after the last
DONE OUT Bool
request was completed with no error.
You may control this input either through the use of a level or
edge triggered contact. Whenever this input is enabled, a
state machine is started to ensure that no other
Modbus_Master using the same instance DB is allowed to
issue a request, until the current request is completed. All
other input states are captured and held internally for the
current request, until the response is received or an error
detected.
1 to
2000 Read input bits: 10001 to
0 02 1 to 1 to (1992 or 2000) bits per request 19999
1992 1
40001 to
1 to 125 Read Holding registers: 49999 or
0 03 1 to 124 1 to (124 or 125) words per request 400001 to
1
465535
1 to 125
Read input words: 00000 to
104 04 1 to 124
1 to (124 or 125) words per request 65535
1
40001 to
Write one holding register: 49999 or
1 06 1
1 word per request 400001 to
465535
2 to
1968 Write multiple output bits:
1 15 2 to 1 to 9999
2 to (1960 or 1968) bits per request
1960 1
40001 to
2 to 123 Write multiple holding registers: 49999 or
1 16 2 to 122 2 to (122 or 123) words per request 400001 to
1
465535
1 to
1968 Write one or more output bits:
2 15 2 to 1 to 9999
1 to (1960 or 1968) bits per request
1960 1
40001 to
1 to 123 Write one or more holding registers: 49999 or
2 16 1 to 122 1 to (122 or 123) words per request 400001 to
1
465535
3 to
10,
12 to
Reserved
79,
82 to
255
DATA_PTR parameter
The data block must allow both direct (absolute) and symbolic addressing. When
you create the data block the "Standard" access attribute must be selected.
The following table shows the public static tags stored in the
Modbus_Master instance DB that you can use in your
program:
Condition codes
80E0 The message was terminated because the receive buffer is full.
818C Classic DB
Array of elemental data types in a symbolic or retentive DB
M memory
Greater than
8384 Data value error
03
Note
German
Spanish
French
Chinese
Italian
English
Log in
Register
Name
Phone number
DetailPages.Subject
Comment
Number of characters: 0 (max. 500)
Send copy of comment to sender. (login required)
Cancel
Send
Note: The feedback always relates to the current entry. Your
message will be forwarded to our technical editors working
in the Online Support. In a few days, you will receive a
response if your feedback requires one.
Requests and feedback
What do you want to do?
Generate list
Copy URL
Copy URL
Display page in new design
mySupport Cockpit