Sgn_Set Instruction - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

8.7.9

SGN_SET instruction

Parameter
REQ
PORT
SIGNAL
RTS
DTR
DSR
DONE
ERROR
STATUS
STATUS
(W#16#....)
80F0
80F1
80F2
80F3
S7-1200 Programmable controller
System Manual, 11/2009, A5E02486680-02
SGN_SET (Set RS232 Signals) sets the states of RS232
communication signals. This function is only valid for the RS232
CM (communication module).
Parameter
Data type
type
IN
Bool
IN
PORT
IN
Byte
IN
Bool
IN
Bool
IN
Bool
OUT
Bool
OUT
Bool
OUT
Word
Description
CM is RS485 module and no signals are settable
Signals cannot be set because of Hardware flow control
Cannot set DSR because module is DTE
Cannot set DTR because module is DCE
Point-to-Point (PtP) communications
Description
Start the set RS232 signals operation, on the rising edge of
this input
Communication port identifier:
This logical address is a constant that can be referenced
within the "Constants" tab of the default tag table.
Selects which signal to set: (multiple allowed)
01H = Set RTS
02H = Set DTR
04H = Set DSR
Request to send, module ready to send value to set (true or
false)
Data terminal ready, module ready to send value to set
(true or false)
Data set ready (only applies to DCE type interfaces) (not
used)
TRUE for one scan, after the last request was completed
with no error
TRUE for one scan, after the last request was completed
with an error
Execution condition code
8.7 Point-to-Point instructions
265

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents