EasyManua.ls Logo

Siemens SIMATIC S7-1200

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Communication processor and Modbus TCP
13.6 Legacy PtP communication (CM/CB 1241 only)
S7-1200 Programmable controller
1226 System Manual, V4.2, 09/2016, A5E02486680-AK
Parameter
Parameter type
Data type
Description
SEQ.CTL IN Byte
B#16#0
Sequence 1 ignore/compare control for each character:
These are the enabling bits for each character for the end
sequence. Character 1 is bit 0, character 2 is bit 1, …,
character 5 is bit 4. Disabling the bit associated with a
character means any character will match, in this se-
quence position.
SEQ.STR IN Char[5]
0
Sequence 1 start characters (5 characters)
Table 13- 103 Condition codes
STATUS (W#16#....)
Description
80C0
Illegal start condition selected
80C1
Illegal end condition selected, no end condition selected
80C2
Receive interrupt enabled and this is not possible.
80C3
Maximum length end condition is enabled and max length is 0 or > 1024.
80C4
Calculated length is enabled and N is >= 1023.
80C5
Calculated length is enabled and length is not 1, 2 or 4.
80C6
Calculated length is enabled and M value is > 255.
80C7
Calculated length is enabled and calculated length is > 1024.
80C8
Response timeout is enabled and response timeout is zero.
80C9
Inter-character gap timeout is enabled and it is zero.
80CA
Idle line timeout is enabled and it is zero.
80CB
End sequence is enabled but all chars are "don't care".
80CC
Start sequence (any one of 4) is enabled but all characters are "don't care".
13.6.1.4
SEND_PTP (Transmit send buffer data)
Table 13- 104 SEND_PTP (Send Point-to-Point data) instruction
LAD / FBD
SCL
Description
"SEND_PTP_DB"(
REQ:=_bool_in_,
PORT:=_uint_in_,
BUFFER:=_variant_in_,
LENGTH:=_uint_in_,
PTRCL:=_bool_in_,
DONE=>_bool_out_,
ERROR=>_bool_out_,
STATUS=>_word_out_);
SEND_PTP initiates the transmission of the data
and transfers the assigned buffer to the communica-
tion interface. The CPU program continues while
the CM or CB sends the data at the assigned baud
rate. Only one send operation can be pending at a
given time. The CM or CB returns an error if a sec-
ond SEND_PTP is executed while the CM or CB is
already transmitting a message.
1
STEP 7 automatically creates the DB when you insert the instruction.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals