Configuring The Communication Ports - Siemens S7-1200 System Manual

Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

Communication processor and Modbus TCP
12.3 Point-to-point (PtP) communication
12.3.1

Configuring the communication ports

You can use either of the following methods to configure the communication interfaces:
● Use the device configuration in STEP 7 to configure the port parameters (baud and
parity), the send parameters and the receive parameters. The CPU stores the device
configuration settings and applies the settings after a power cycle and a RUN to STOP
transition.
● Use the PORT_CFG (Page 686), SEND_CFG (Page 688), and RCV_CFG (Page 689)
instructions to set the parameters. The port settings set by the instructions are valid while
the CPU is in RUN mode. The port settings revert to the device configuration settings
after a STOP transition or power cycle.
After configuring the hardware devices (Page 137), you configure parameters for the
communication interfaces by selecting one of the CMs in your rack or the CB, if configured.
For the CM 1241 RS232 and CB RS485 (except for flow control (Page 674), which only the
CM 1241 RS232 supports), the port configuration parameters are the same regardless of
whether you are configuring an RS232 or an RS485 communication module or the RS485
communication board. The parameter values can differ.
For the CM 1241 RS422/485, you have additional options for port configuration as shown
below. The 422 mode of the CM 1241 RS422/485 module also supports software flow
control.
672
The "Properties" tab of the inspector window
displays the parameters of the selected CM or
CB. Select "Port configuration" to edit the
following parameters:
• Baud rate
• Parity
• Data bits per character
• Number of stop bits
• Flow control (RS232 only)
• Wait time
System Manual, 03/2014, A5E02486680-AG
S7-1200 Programmable controller

Advertisement

Table of Contents
loading

Table of Contents