EasyManua.ls Logo

Siemens SIMATIC S7-1200

Siemens SIMATIC S7-1200
1614 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
13.3 Point-to-point (PtP) communication
S7-1200 Programmable controller
1130 System Manual, V4.2, 09/2016, A5E02486680-AK
Table 13- 33 Condition codes
STATUS (W#16#....)
Description
81F0
CM or CB is RS485 and no signals are available
81F4 Error in the block header, for example, wrong block type or wrong block length
8280
Negative acknowledgement while reading the module
8282 DP slave or module not available
13.3.5.10
Signal_Set (Set RS-232 signals)
Table 13- 34 Signal_Set (Set RS232 signals) instruction
LAD / FBD
SCL
Description
"Signal_Set_DB"(
REQ:=_bool_in_,
PORT:=_word_in_,
SIGNAL:=_byte_in_,
RTS:=_bool_in_,
DTR:=_bool_in_,
DSR:=_bool_in_,
DONE=>_bool_out_,
ERROR=>_bool_out_,
STATUS=>_word_out_);
Signal_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 13- 35 Data types for parameters
Parameter and type
Data type
Description
REQ IN Bool Start the set RS232 signals operation, 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. (Default
value: 0)
SIGNAL IN Byte Selects which signal to set: (multiple allowed). Default value: 0
01H = Set RTS
02H = Set DTR
04H = Set DSR
RTS IN Bool Request to send, module ready to send value to set (true or false), De-
fault value: False
DTR IN Bool Data terminal ready, module ready to send value to set (true or false).
Default value: False
DSR
IN
Bool
Data set ready (only applies to DCE type interfaces), not used.
DONE OUT Bool TRUE for one execution after the last request was completed with no
error

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals