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
1225
Parameter CONDITIONS data type structure part 2 (end conditions)
Table 13- 102 CONDITIONS structure for END conditions
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
Maximum message length: Only used when the maxi-
mum 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
LENGTHSIZE IN UInt
Size of the length 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
RCVTIME IN UInt
200
Specify how long to wait for the first character to be re-
ceived. 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 maxi-
mum)
This parameter is not a message end condition since
evaluation terminates when the first character of a re-
sponse 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)