EasyManua.ls Logo

Siemens S7-1200 - SGN_SET (Set RS-232 Signals) Instruction

Siemens S7-1200
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Communication processor and Modbus TCP
12.3 Point-to-point (PtP) communication
S7-1200 Programmable controller
700 System Manual, 03/2014, A5E02486680-AG
Table 12- 29 Data types for the parameters
Parameter and type
Data type
Description
REQ IN Bool Get RS232 signal state values on the rising edge of this input (Default value:
False)
PORT IN PORT After you install and configure a CM or CB communication device, the port
identifier appears in the parameter helper drop-list available at the PORT box
connection. The assigned CM or CB port value is the device configuration
property "hardware identifier". The port symbolic name is assigned in the
"System constants" tab of the PLC tag table.
NDR OUT Bool TRUE for one scan, when new data is ready and the operation is complete
with no errors
ERROR
OUT
Bool
TRUE for one scan, after the operation was completed with an error
STATUS
OUT
Word
Execution condition code (Default value: 0)
DTR
OUT
Bool
Data terminal ready, module ready (output). Default value: False
DSR
OUT
Bool
Data set ready, communication partner ready (input). Default value: False
RTS
OUT
Bool
Request to send, module ready to send (output). Default value: False
CTS OUT Bool Clear to send, communication partner can receive data (input). Default value:
False
DCD
OUT
Bool
Data carrier detect, receive signal level (always False, not supported)
RING
OUT
Bool
Ring indicator, indication of incoming call (always False, not supported)
Table 12- 30 Condition codes
STATUS (W#16#....)
Description
80F0
CM or CB is RS485 and no signals are available
12.3.3.9
SGN_SET (Set RS-232 signals) instruction
Table 12- 31 SGN_SET (Set RS232 signals) instruction
LAD / FBD
SCL
Description
"SGN_SET_DB"(
REQ:=_bool_in_,
PORT:=_uint_in_,
SIGNAL:=_byte_in_,
RTS:=_bool_in_,
DTR:=_bool_in_,
DSR:=_bool_in_,
DONE=>_bool_out_,
ERROR=>_bool_out_,
STATUS=>_word_out_);
SGN_SET sets the states of RS232 communication
signals.
This function is valid only for the RS232 CM.
1
STEP 7 automatically creates the DB when you insert the instruction.

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals