hit counter script

Sgn_Get Instruction - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Point-to-Point (PtP) communications
8.7 Point-to-Point instructions
8.7.8

SGN_GET instruction

Parameter
REQ
PORT
NDR
ERROR
STATUS
DTR
DSR
RTS
CTS
DCD
RING
STATUS
(W#16#....)
80F0
80F1
80F2
80F3
264
SGN_GET (Get RS232 Signals) reads the current states of
RS232 communication signals. This function is only valid for the
RS232 CM (communication module).
Parameter
Data type Description
type
IN
Bool
IN
PORT
OUT
Bool
OUT
Bool
OUT
Word
OUT
Bool
OUT
Bool
OUT
Bool
OUT
Bool
OUT
Bool
OUT
Bool
Description
CM is RS485 module and no signals are available
Signals cannot be set because of Hardware flow control
Cannot set DSR because module is DTE
Cannot set DTR because module is DCE
Get RS232 signal state values on the rising edge of this input
Communication port identifier:
This logical address is a constant which can be referenced
within the "Constants" tab of the default tag table.
TRUE for one scan, when new data is ready and the
operation is complete with no errors
TRUE for one scan, after the operation was completed with an
error
Execution condition code
Data terminal ready, module ready (output)
Data set ready, communication partner ready (input)
Request to send, module ready to send (output)
Clear to send, communication partner can receive data (input)
Data carrier detect, receive signal level (always false, not
supported)
Ring indicator, indication of incoming call (always false, not
supported)
System Manual, 11/2009, A5E02486680-02
S7-1200 Programmable controller

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents

Save PDF