(1) What are the necessary settings for a Siemens S7-200 PLC to communicate with Kingview using the MPI protocol?
To establish communication between a Siemens S7-200 PLC and Kingview via the MPI protocol, several key steps must be followed. First, on the computer running Kingview, you need to install the STEP7 MicroWIN 3.2 programming software provided by Siemens. This is because Kingview's driver relies on the MPI interface library functions included in the software.
Next, ensure that an MPI communication card (such as the CP5611) is installed in the computer’s slot. Connect this card 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. It's important to note that the terminal resistance of the last network connector in the MPI network should be set to ON (active) for proper signal termination.
Additionally, configure the MPI network within the PLC and set the correct communication baud rate. Finally, adjust the parameters of the "SetPG/PC" interface in the Control Panel, and refer to the Kingview electronic help documentation for detailed configuration instructions.
(2) How can hardware wiring be done for Kingview to communicate with an S7-200 PLC using the free port protocol through a modem?
For communication between Kingview and the S7-200 PLC via the free port protocol using a modem, a standard PPI cable should be connected to the device. The 9-pin RS-232 port of the modem needs to be linked to the PPI cable using a standard crossover cable. On the modem side, pins 1, 4, and 6 should be shorted together, and pins 7 and 8 should also be shorted. This setup allows the serial communication to function properly.
(3) Can an S7-200 PLC communicate with two host computers via the serial port?
Direct communication through a single serial cable is not sufficient. Two alternative approaches can be considered:
1) Configure the PLC to use the MPI protocol, requiring both host computers to have an MPI card installed.
2) One PC can act as the main station for data collection and communication with the PLC, while the other PC functions as a client or secondary acquisition station.
(4) Why might the S7-200 PLC fail to communicate with Kingview via the PPI protocol?
Several factors could cause this issue. First, check the DIP switch settings on the programming cable. The fifth terminal determines the communication protocol: setting it to 0 enables PPI/Freeport, while setting it to 1 enables PPI (master). Ensure that the dial code selected matches the one used in Kingview configuration.
Second, verify that the PPI communication uses 11-bit data transmission. If not, adjust the settings to 8 data bits, 1 stop bit, and even parity. Also, make sure the PLC’s baud rate matches that of the Kingview configuration.
Finally, confirm that the programming software (STEP7) is offline when communication is being established.
(5) How does the register address in Kingview map to the PLC address when using Modbus protocol with an S7-200 PLC?
The mapping is as follows: 0 = Q, 1 = I, 3, 4, 8, 9 = V registers. For example, the register number 40031 corresponds to VW1060 in the PLC (short type), and 90640 corresponds to VD2278 (float type). The formula for calculating the offset address is: (register number - 1) * 2 = PLC V register offset.
(6) What should be noted when an S7-200 PLC communicates with Kingview via Modbus protocol?
When using Modbus, pay attention to the following:
1) Download the initialization program (KVmoddbus.mwp) to the PLC. The default communication port is port 0, with an address of 2 and a baud rate of 9600. These values can be adjusted using VB8 and SMB30 in the SBR0 routine.
2) Avoid using V1000 and earlier addresses since they are occupied by the Modbus protocol program.
3) Ensure the CPU is in RUN mode. Otherwise, the Modbus communication program may not run, leading to communication failure.
(7) Does the S7-300 MPI cable support GPRS communication with Kingview?
No, it does not. Kingview's GPRS communication requires a virtual serial port, but the MPI protocol uses a dedicated DLL (like s7onlinx.dll) from Siemens, which doesn't operate directly through a serial port. Therefore, no drivers that rely on similar methods support GPRS connections.
(8) How should the device address be defined when Kingview communicates with multiple S7-300 and S7-400 PLCs via DP protocol?
1) Connect multiple S7-300/400 PLCs to a single DP bus using a CP5611 or CP5613 card.
2) All PLCs must be set as DP slave stations, while the CP5611 (or CP5613) must be configured as a DP master station in Simatic Net.
3) In Kingview, select “PLC/Siemens/S7-200 series (DP)/Profibus-DP.†The device address is fixed at 1.1, which is independent of the actual PLC address.
(9) Can dual device redundancy be implemented when an S7-300 PLC communicates with Kingview via an MPI communication card?
Yes, it can. You can connect two S7-300 PLCs to a single CP5611 card using a programmable plug from Siemens. In Kingview, define each PLC separately with different device addresses (e.g., 7.2 and 8.2), ensuring that their slot numbers match but their PLC addresses differ. Only the master device’s variables need to be defined in Kingview.
(10) What communication links does Kingview support when communicating with S7-300 and S7-400 PLCs? Is Siemens software required?
1) MPI cable communication: STEP7 must be installed on the computer where Kingview is running.
2) MPI communication card mode: STEP7 is also required on the same computer.
3) Ethernet communication: No need for STEP7 or Simatic Net software.
4) Profibus-DP mode: Requires installation of STEP7 and Simatic Net 6.0 (or higher) along with the appropriate license.
5) Profibus-S7 pass-through mode: STEP7 must be installed, but Simatic Net is not required.
Three Phase Online UPS,Tower Online UPS,Rack Mount Online UPS,Isolation Transformer
Shenzhen Unitronic Power System Co., Ltd , https://www.unitronicpower.com