You can set up the initial static configuration of the port in the device configuration
properties, or just use the default values. You can execute the Send_Config instruction in
your program to change the configuration.
The CPU does not permanently store the values you set with the Send_Config instruction.
The CPU restores the parameters configured in the device configuration when the CPU
transitions from RUN to STOP mode and after a power cycle. See Configuring transmit
(send) parameters (Page 1096).
Table 13- 11 Data types for the parameters
Parameter and type
REQ
IN
PORT
IN
RTSONDLY
IN
RTSOFFDLY
IN
BREAK
IN
IDLELINE
IN
USR_END*
IN
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
Data type
Description
Bool
Activate the configuration change on the rising edge of this input. (Default
value: False)
PORT
After you install and configure a CM or CB communication device, the port
identifier appears in the parameter helper drop-list available at the PORT
box connection. The assigned CM or CB port value is the device configura-
tion property "hardware identifier". The port symbolic name is assigned in
the "System constants" tab of the PLC tag table. (Default value: 0)
UInt
Number of milliseconds to wait after enabling RTS before any Tx data
transmission occurs. This parameter is only valid when hardware flow con-
trol is enabled. The valid range is 0 - 65535 ms. A value of 0 disables the
feature. (Default value: 0)
UInt
Number of milliseconds to wait after the Tx data transmission occurs before
RTS is disabled: This parameter is only valid when hardware flow control is
enabled. The valid range is 0 - 65535 ms. A value of 0 disables the feature.
(Default value: 0)
UInt
This parameter specifies that a break will be sent upon the start of each
message for the specified number of bit times. The maximum is 65535 bit
times up to an eight second maximum. A value of 0 disables the feature.
(Default value: 12)
UInt
This parameter specifies that the line will remain idle for the specified num-
ber of bit times before the start of each message. The maximum is 65535 bit
times up to an eight second maximum. A value of 0 disables the feature.
(Default value: 0)
STRING[2]
Specifies the number and the characters in the end delimiter. The end de-
limiter is embedded in the transmit buffer (characters only) and marks the
end of the transmitted message (characters are transmitted until the end
delimiter is encountered). The end delimiter is appended to the end of the
message.
STRING[2,0,xx,yy] – End delimiter is not used (default)
•
STRING[2,1,xx,yy] – End delimiter is a single character
•
STRING[2,2,xx,yy] – End delimiter is two characters
•
Either USR_END or APP_END must have a length of zero.
Communication processor and Modbus TCP
13.3 Point-to-point (PtP) communication
1113