hit counter script

Siemens SIMATIC S7 System Manual page 198

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Programming instructions
6.3 Global library instructions
Table 6- 6
Scenario 12: Read 15 output bits starting at Modbus address 00004
MB_MASTER input values
MB_ADDR
27 (Slave example)
MODE
0 (Read)
DATA_ADDR
00003 (Outputs)
DATA_LEN
15
DATA_PTR
"Data".Bool
Condition codes
STATUS value
(W#16#....)
0000
80C8
80D1
80D2
80E0
80E1
80E2
80E3
80E4
8180
8186
198
Slave Modbus value
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
Description
No error
The specified response timeout (refer to RCVTIME or MSGTIME) is 0.
The receiver issued a flow control request to suspend an active transmission and
never re-enabled the transmission during the specified wait time.
This error is also generated during hardware flow control when the receiver does
not assert CTS within the specified wait time.
The transmit request was aborted because no DSR signal is received from the
DCE.
The message was terminated because the receive buffer is full.
The message was terminated as a result of a parity error.
The message was terminated as a result of a framing error.
The message was terminated as a result of an overrun error.
The message was terminated as a result of the specified length exceeding the total
buffer size.
Invalid port ID value
Invalid Modbus station address
DATA_PTR data after
ON
ON
OFF
"Data".Bool[0]=FALSE
ON
"Data".Bool[1]=TRUE
ON
"Data".Bool[2]=TRUE
OFF
"Data".Bool[3]-FALSE
ON
Data".Bool[4]=TRUE
ON
Data".Bool[5]=TRUE
ON
Data".Bool[6]=TRUE
OFF
Data".Bool[7]=FALSE
OFF
Data".Bool[8]=FALSE
ON
Data".Bool[9]=TRUE
OFF
Data".Bool[10]=FALSE
ON
Data".Bool[11]=TRUE
OFF
Data".Bool[12]=FALSE
ON
Data".Bool[13]=TRUE
ON
Data".Bool[14]=TRUE
OFF
ON
S7-1200 Programmable controller
System Manual, 11/2009, A5E02486680-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents

Save PDF