105BCommunication processor
12.3 Point-to-Point (PtP) communication
S7-1200 Programmable controller
540
System Manual, 11/2011, A5E02486680-05
Parameter CONDITIONS data type structure part 2 (end conditions)
Table 12- 17 CONDITIONS structure for end conditions
Parameter
Parameter type
Data type
Description
ENDCOND
IN
UInt
0
This parameter specifies message end condition:
01H - Response time
02H - Message time
04H - Inter-character gap
08H - Maximum length
10H - N + LEN + M
20H - Sequence
MAXLEN
IN
UInt
1
Maximum message length: Only used when the
maximum length end condition is selected. 1 to 1024
bytes
N
IN
UInt
0
Byte position within the message of the length field. Only
used with the N + LEN + M end condition. 1 to 1022
bytes
LENGTHSIZE
IN
UInt
0
Size of the byte field (1, 2, or 4 bytes). Only used with the
N + LEN + M end condition.
LENGTHM
IN
UInt
0
Specify the number of characters following the length
field that are not included in the value of the length field.
This is only used with the N + LEN + M end condition. 0
to 255 bytes
RCVTIME
IN
UInt
200
Specify how long to wait for the first character to be
received. The receive operation will be terminated with an
error if a character is not successfully received within the
specified time. This is only used with the response time
condition. (0 to 65535 bit times with an 8 second
maximum)
This parameter is not a message end condition since
evaluation terminates when the first character of a
response is received. It is an end condition only in the
sense that it terminates a receiver operation because no
response is received when a response is expected. You
must select a separate end condition.
MSGTIME
IN
UInt
200
Specify how long to wait for the entire message to be
completely received once the first character has been
received. This parameter is only used when the message
timeout condition is selected. (0 to 65535 milliseconds)
CHARGAP
IN
UInt
12
Specify the number of bit times between characters. If the
number of bit times between characters exceeds the
specified value, then the end condition will be satisfied.
This is only used with the inter-character gap condition.
(0 to 65535 bit times up to 8 second maximum)