(1)
What are the necessary settings for a Siemens S7-200 PLC to communicate with KingView using the MPI protocol?
To enable communication between the Siemens S7-200 PLC and KingView via the MPI protocol, you need to follow several steps. First, make sure that STEP7 MicroWin 3.2, the programming software provided by Siemens, is installed on the computer running KingView. This is essential because the KingView driver relies on the MPI interface library functions from this software. Next, install an MPI communication card, such as the CP5611, into the computer’s slot. Connect it to the S7-200 PLC using the dedicated Siemens cable and network connector. Specifically, connect pin 3 or 8 of the CP5611 to the corresponding port on the S7-200. Ensure that the terminal resistor at the end of the MPI network is set to ON (active). Then, configure the MPI network in the PLC and set the correct baud rate for communication. Finally, adjust the settings in the SetPG/PC interface under the Control Panel, and refer to the KingView help documentation for detailed configuration instructions.
(2)
How can hardware wiring be done for communication between KingView and the S7-200 PLC using the free port protocol through a modem?
For communication using the free port protocol via a modem, start by connecting the standard PPI cable to the device. Then, use a standard RS-232 crossover cable to connect the modem’s 9-pin port to the PPI cable. On the modem side, short pins 1, 4, and 6 together, and also short pins 7 and 8. This setup allows the serial communication to function properly. A diagram is available to illustrate the wiring process clearly.
(3)
Can an S7-200 PLC communicate with two host computers via the serial port?
While using a single serial cable may not be sufficient, there are two alternative approaches. One option is to configure the PLC to use the MPI protocol, which requires both host computers to have an MPI card. Another approach is to have one PC act as a master station for data collection and the other as a client or secondary station for data acquisition.
(4)
Why does the S7-200 PLC fail to communicate with KingView via the PPI protocol?
If communication fails, check the following: First, verify the DIP switch settings on the programming cable. The fifth terminal determines the communication protocol—set it to 0 for PPI/Freeport or 1 for PPI (master). When using PPI, ensure the dial code matches the configuration in KingView. Second, check the data format settings: PPI transmits 11-bit data, but it's recommended to use 8 data bits, 1 stop bit, and even parity. Make sure the baud rate matches between the PLC and KingView. Lastly, confirm that the programming software is offline when configuring communication.
(5)
When communicating via Modbus protocol, how do register addresses in KingView correspond to those in the S7-200 PLC?
The mapping is as follows: 0 corresponds to Q registers, 1 to I registers, 3, 4, 8, and 9 to V registers. For example, the address 40031 in KingView maps to VW1060 in the PLC, and 90640 maps to VD2278. The calculation is based on the formula: (Register number - 1) * 2 = offset address in the V area. This ensures accurate data mapping between the two systems.
(6)
What should be considered when using the Modbus protocol to communicate between the S7-200 PLC and KingView?
Several key points should be taken into account. First, download the initialization program (KVmoddbus.mwp) to the PLC, as it is required for Modbus communication. The default port is port 0, with an address of 2 and a baud rate of 9600. These settings can be adjusted by modifying VB8 and SMB30 in the SBR0 routine. Second, note that the Modbus protocol uses V1000 and above, so avoid using these addresses in your own logic control programs. Lastly, ensure the CPU is in RUN mode; otherwise, the Modbus program will not run, leading to communication failures.
(7)
Does the S7-300 support communication via GPRS with KingView using the MPI cable mode?
No, it does not. GPRS communication requires a virtual serial port, but the MPI driver used by KingView communicates with the PLC through Siemens’ dedicated dynamic link libraries (such as s7onlinx.dll), rather than directly over a serial port. As a result, GPRS connections are not supported for MPI-based communication. Other drivers that rely on similar methods also do not support GPRS connectivity.
(8)
How should device addresses be defined when KingView communicates with multiple S7-300 and S7-400 PLCs via DP protocol?
To set up DP communication, first connect multiple S7-300/400 PLCs to a single DP bus using a CP5611 or CP5613 card. Next, configure all PLCs as DP slave stations and set the CP5611 as a unique DP master station using Simatic Net. In KingView, select the appropriate PLC type (Siemens S7-200 series, DP/Profibus-DP), and set the device address to 1.1. This address is independent of the slave PLC’s address settings.
(9)
Can dual device redundancy be implemented when the S7-300 PLC communicates with KingView via an MPI communication card?
Yes, it can. To achieve redundancy, connect one CP5611 card to two S7-300 PLCs using a programmable Siemens plug. In KingView, create two separate PLC entries with device addresses 7.2 and 8.2, depending on the actual hardware setup. Ensure that each PLC is configured separately in STEP7, with different addresses but the same slot number. Finally, define only the variables for the main device in KingView.
(10)
What communication links does KingView support for communication with S7-300 and S7-400 PLCs, and does it require Siemens software?
KingView supports several communication methods: 1) Using an MPI cable, STEP7 must be installed on the computer where KingView is running. 2) With an MPI communication card, the same applies—STEP7 must be installed. 3) For Ethernet communication, no Siemens software is needed. 4) When using Profibus-DP, both STEP7 and Simatic Net 6.0 (or higher) must be installed. 5) For Profibus-S7 pass-through, only STEP7 is required, and Simatic Net is not necessary.
Three Phase Online UPS,Tower Online UPS,Rack Mount Online UPS,Isolation Transformer
Shenzhen Unitronic Power System Co., Ltd , https://www.unitronicpower.com