End conditions for the RCV_PTP instruction
The end of a message is determined by the specification of end conditions. The end of a
message is determined by the first occurrence of one or more configured end conditions.
Possible message end conditions:
● Response Timeout specifies that a character of the response should be successfully
● Message Timeout specifies that a message should be received within the time specified
S7-1200 Programmable controller
System Manual, 11/2009, A5E02486680-02
received within the time specified by RCVTIME. The timer begins as soon as the
transmission completes successfully and the module begins the receive operation. If a
character is not received within the RCVTIME period, then an error is returned to the
corresponding RCV_PTP instruction. The response timeout does not define a specific
end condition. It only specifies that a character should be successfully received within the
specified time. A distinct end condition must be used to define the end condition for the
response messages.
①
Transmitted characters
②
Received characters
③
The first character must be successfully received by this time
by MSGTIME. The timer begins as soon as the specified start condition has been
satisfied.
①
Received characters
②
Start Message condition satisfied: message timer starts
③
Message timer expires and terminates the message
Point-to-Point (PtP) communications
8.7 Point-to-Point instructions
255