Condition codes
STATUS
(W#16#....)
80C0
80C1
80C2
80C3
80C4
80C5
80C6
80C7
80C8
80C9
80CA
80CB
80CC
8.7.5
SEND_PTP instruction
Parameter
REQ
PORT
BUFFER
LENGTH
S7-1200 Programmable controller
System Manual, 11/2009, A5E02486680-02
Description
Illegal start condition selected
Illegal end condition selected, no end condition selected
Receive interrupt enabled and this is not possible
Max length end condition is enabled and max length is 0 or > 1024
Calculated length is enabled and N is >= 1023
Calculated length is enabled and length is not 1, 2 or 4
Calculated length is enabled and M value is > 255
Calculated length is enabled and calculated length is > 1024
Response timeout is enabled and response timeout is zero
Inter-character gap timeout is enabled and it is zero or > 2500
Idle line timeout is enabled and it is zero or > 2500
End sequence is enabled but all chars are "don't care"
Start sequence (any one of 4) is enabled but all chars are "don't care"
SEND_PTP (Send Point-to-Point data) initiates the transmission
of the data. SEND_PTP transfers the specified buffer to the CM.
The CPU program continues while the CM sends the data at the
specified baud rate. Only one send operation can be pending at
a given time. The CM returns an error if a second SEND_PTP is
executed while the CM is already transmitting a message.
Parameter
Data type
type
IN
Bool
IN
PORT
IN
Variant
IN
UInt
Point-to-Point (PtP) communications
Description
Activates the requested transmission on the rising edge
of this transmission enable input. This initiates transfer of
the contents of the buffer to the Point-to-Point
communication module (CM).
Communication port identifier: This logical address is a
constant which can be referenced within the "Constants"
tab of the default tag table.
This parameter points to the starting location of the
transmit buffer.
Boolean data or Boolean arrays are not supported.
Transmitted frame length from bytes
When transmitting a complex structure, always use a
length of 0.
8.7 Point-to-Point instructions
259