1, RS485 serial communication
Most of the third-party devices support, Siemens S7 PLC can control serial communication by selecting the free port communication mode. In the simplest case, only send commands (XMT) to send information to third-party devices such as printers or inverters. In any case, it must be programmed by S7 PLC. When the free port mode is selected, the user can control the operation of the communication port by sending an instruction (XMT), a receiving finger (RCV), a transmission interrupt, and receiving an interrupt. Siemens S7200
2, PPI communication
The PPI protocol is the most basic communication method of the S7-200 CPU. It can communicate through its original port (PORT0 or PORT1), which is the default communication method of the S7-200 CPU. PPI is a master-slave protocol communication, and the master-slave station is in a token ring network. The user network can read and write instructions in the CPU, that is, the network read and write instructions are run on the PPI protocol. Therefore, the PPI can only write the program on the main station side, and the network read and write instructions of the slave station have no meaning.
3. MPI communication
MPI communication is a simpler communication method. The MPI network communication rate is 19.2Kbit/s~12Mbit/s. The MPI network supports up to 32 nodes and the maximum communication distance is 50M. The communication distance is long, and the communication distance can also be extended by the repeater, but the repeater also occupies the node. MPI network nodes can usually hang S7-200, human interface, programming devices, and so on.