This is the "PLC wireless communication expert" team to provide users with a Siemens S7-200PLC communication program, the user needs to carry out the Modbus protocol communication between the 9 s7-200, he is not familiar with the communication, in order to deliver the project as soon as possible, ask our engineers to write a reference program for it, We assist customers in the field commissioning of this program. Considering that many users will encounter similar problems in the project, we share this program for free and hope to save a lot of time for your project. See below for the source program password.
The first part, the scene description
In the factory within a radius of 500 meters, distributed 9 S7-200 plc, I want to achieve their mutual communication. Because the equipment is a car, has been moving, unable to lay the communication line, so it is best to use the radio mode.
Part II, Solutions
9 sets of PLC composed of a 1 main 8 from the wireless 485 network, each PLC equipped with a Siemens dedicated wireless data Terminal dtd434m, the nearest and PLC200 communication port through the RS485 line connection, wireless terminal has transceiver antenna, wireless network topology as shown. The communication protocol uses the standard Modbus protocol, the 200PLC itself integrates the Modbus Communication library, so programming is very simple.
The third part, the PLC200 procedure explanation
1 Main Station program: The main station program we use time-sharing loop acquisition method to read and write 8 slave status. Program programming uses the millisecond timer "T32" as the system's communication acquisition cycle, the user can adjust the parameter size according to the actual demand, here it is necessary to explain that if the user acquisition time is too small will cause the main station 6th occupancy error, if the user uses short distance wireless communication needs to increase the acquisition cycle appropriately. Considering that some users use GPRS communication, for the purpose of traffic control, we recommend that users adjust the communication cycle according to the actual situation. So as not to increase unnecessary late costs.
2 slave Program: The slave program only needs to be consistent according to the communication format settings of the master station, and then enable the slave to respond to the command to communicate normally. 8 Slave Communication Program, in addition to the station address is not the same, other parameters users can adjust according to the actual use.
"Related extensions:"
If the trench wiring is not convenient, if the movement equipment can not be routed, if the project duration short time What to do? This is " PLC Wireless communications expert" team to provide users with a Siemens S7-200PLC The wireless communication program, the user needs to do 9 s7-200 modbus protocol communication, he's not familiar with communication, In order to deliver the project as soon as possible, ask our engineers to write a reference program for it, we assist customers in the field commissioning of the program. Considering that many users will encounter similar problems in the project, we share this program for free and hope to save a lot of time for your project.
Attached procedure:
"based on s7-200 of the 1 Master 8 from MODBUS Communication Routines . RAR"
View Original: http://www.dataie.com/jszxshow244.html
It is worth emphasizing that anon Thai company is ready to provide you with fast, professional and comprehensive technical support and services.
Siandate Electronics can provide over 12 years of on-site operational experience.
Subscription Number "PLC Wireless communication"
Please download the relevant information of this program on the official website of Siandate Electronic:
◆ "Siandate share" PLC200 communication program Daquan. RAR
◆ "Siandate share" based on s7-200 1 master 8 from Modbus communication routines. RAR
Get the information password you can follow the subscription number DTD110HF:
Add scanning QR Code: Enter 1 First, then enter 2 to get the password.
Latest Release: 9 plc between the Modbus communication example (1 Master 8 from)