Hide thumbs Also See for S7-1200:
Table of Contents
Communication processor and Modbus TCP
12.3 Point-to-point (PtP) communication
Table 12- 14 Data types for the parameters
Parameter and type
REQ
IN
PORT
IN
CONDITIONS
IN
DONE
OUT
ERROR
OUT
STATUS
OUT
Start conditions for the RCV_PTP instruction
The RCV_PTP instruction uses the configuration specified by the RCV_CFG instruction to
determine the beginning and ending of point-to-point communication messages. The start of
a message is determined by the start conditions. The start of a message can be determined
by one or a combination of start conditions. If more than one start condition is specified, all
the conditions must be satisfied before the message is started.
See the topic "Configuring receive parameters (Page 676)" for a description of the message
start conditions.
Parameter CONDITIONS data type structure part 1 (start conditions)
Table 12- 15 CONDITIONS structure for START conditions
Parameter and type
STARTCOND
IDLETIME
STARTCHAR
690
Data type
Bool
PORT
CONDITIONS
Bool
Bool
Word
Data type
IN
UInt
IN
UInt
IN
Byte
Description
Activate the configuration change on the rising edge of this input.
(Default value: False)
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)
The Conditions data structure specifies the starting and ending
message conditions as described below.
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 (Default value: 0)
Description
Specifies the start condition (Default value: 1)
01H - Start Char
02H - Any Char
04H - Line Break
08H - Idle Line
10H - Sequence 1
20H - Sequence 2
40H - Sequence 3
80H - Sequence 4
The number of bit times required for idle line timeout. (Default value:
40). Only used with an idle line condition. 0 to 65535
The start character used with the start character condition. (Default
value: B#16#2)
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Table of Contents
loading

Table of Contents