hit counter script

Send_Cfg Instruction - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Parameter and type
FLOWCTRL
IN
XONCHAR
IN
XOFFCHAR
IN
XWAITIME
IN
DONE
OUT
ERROR
OUT
STATUS
OUT
Table 12- 9
Condition codes
STATUS (W#16#....)
80A0
80A1
80A2
80A3
80A4
80A5
80A6
80A7
12.3.1.3

SEND_CFG instruction

Table 12- 10 SEND_CFG (Send Configuration) instruction
LAD / FBD
STEP 7 automatically creates the DB when you insert the instruction.
1
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
Data type
Description
UInt
Flow control (Default value: 0):
1 = No flow control, 2 = XON/XOFF, 3 = Hardware RTS always ON,
4 = Hardware RTS switched
Char
Specifies the character that is used as the XON character. This is typically a
DC1 character (11H). This parameter is only evaluated if flow control is
enabled. (Default value: 0)
Char
Specifies the character that is used as the XOFF character. This is typically
a DC3 character (13H). This parameter is only evaluated if flow control is
enabled. (Default value: 0)
UInt
Specifies how long to wait for a XON character after receiving a XOFF
character, or how long to wait for the CTS signal after enabling RTS (0 to
65535 ms). This parameter is only evaluated if flow control is enabled.
(Default value: 2000)
Bool
TRUE for one execution after the last request was completed with no error
Bool
TRUE for one execution after the last request was completed with an error
Word
Execution condition code (Default value: 0)
Description
Specific protocol does not exist.
Specific baud rate does not exist.
Specific parity option does not exist.
Specific number of data bits does not exist.
Specific number of stop bits does not exist.
Specific type of flow control does not exist.
Wait time is 0 and flow control enabled
XON and XOFF are illegal values (for example, the same value)
SCL
"SEND_CFG_DB"(
REQ:=_bool_in_,
PORT:=_uint_in_,
RTSONDLY:=_uint_in_,
RTSOFFDLY:=_uint_in_,
BREAK:=_uint_in_,
IDLELINE:=_uint_in_,
DONE=>_bool_out_,
ERROR=>_bool_out_,
STATUS=>_word_out_);
105BCommunication processor
12.3 Point-to-Point (PtP) communication
Description
SEND_CFG allows the dynamic configuration of serial
transmission parameters for a PtP communication port.
Any queued messages within a CM or CB are
discarded when SEND_CFG is executed.
535

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents

Save PDF