EasyManua.ls Logo

Siemens SIMATIC S7-1200 - 13.6.1.3 RCV_CFG (Configure serial receive parameters dynamically)

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.6 Legacy PtP communication (CM/CB 1241 only)
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
1221
Parameter and type
Data type
Description
DONE
OUT
Bool
TRUE for one execution after the last request was completed with no error
ERROR OUT Bool TRUE for one execution after the last request was completed with an error
STATUS
OUT
Word
Execution condition code (Default value: 0)
Table 13- 97 Condition codes
STATUS (W#16#....)
Description
80B0 Transmit interrupt configuration is not allowed.
80B1
Break time is greater than the maximum allowed value.
80B2
Idle time is greater than the maximum allowed value.
13.6.1.3
RCV_CFG (Configure serial receive parameters dynamically)
Table 13- 98 RCV_CFG (Receive Configuration) instruction
LAD / FBD
SCL
Description
"RCV_CFG_DB"(
REQ:=_bool_in_,
PORT:=_uint_in_,
CONDITIONS:=_struct_in_,
DONE=>_bool_out_,
ERROR=>_bool_out_,
STATUS=>_word_out_);
RCV_CFG performs dynamic configuration of seri-
al receiver parameters for a PtP communication
port. This instruction configures the conditions that
signal the start and end of a received message.
Any queued messages within a CM or CB are
discarded when RCV_CFG is executed.
1
STEP 7 automatically creates the DB when you insert the instruction.
You can set up the initial static configuration of the communication port in the device
configuration properties, or just use the default values. You can execute the RCV_CFG
instruction in your program to change the configuration.
The RCV_CFG configuration changes are not permanently stored in the CPU. The
parameters configured in the device configuration are restored when the CPU transitions
from RUN to STOP mode and after a power cycle. See Configuring receive parameters
(Page 1097) for more information.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals