Point-to-point link
Communication
Function Manual, 05/2021, A5E03735815-AJ
151
Procedure for setting up Modbus communication (RTU)
1.
Configure an S7-1500 configuration with CPU and CM in the device view of the hardware
and network editor of STEP 7.
2.
In the Project tree, select the "Program blocks" folder and open OB1 in the folder by double-
clicking on it. The program editor opens.
3.
Select the instructions for Modbus communication according to your task in the
"Communication" area, "Communications processor" folder of the "Instructions" task card
and drag them to a network of OB1:
–
The "Modbus_Comm_Load" instruction configures the port of the CM for Modbus
communication.
–
The "Modbus_Master" instruction is used for Modbus master functionality.
–
The "Modbus_Slave" instruction is used for Modbus slave functionality.
4.
Assign the parameters for the instructions according to your configuration.
5.
Download the hardware configuration and user program to the CPU.
Additional information
•
You can find more detailed information on communication via point-to-point connections
and basics of serial data transmission in the function manual CM PtP communication
module - Configurations for point-to-point connections
http://support.automation.siemens.com/WW/view/en/59057093
•
You can find a description of how to use the instructions for point-to-point connections in
the user program in the STEP 7 online help.
•
You can find information about the communications modules with a serial interface in the
manual of the particular communications module.
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......