+(86)0752-5103606 E-mail:info@hytech-cn.com

Siemens plc communication question and answer

Last Updated on 2018-07-19 Hits:2805

(one)
What settings do you need for Siemens 200 plc to communicate with Kingview using the MPI protocol?
1) On the machine running Kingview, you need to install the programming software of STEP7 Microwin 3.2 provided by Siemens. Our driver needs to call the MPI interface library function provided by the programming software;
2) Install the MPI communication card CP5611 card in the slot of the computer, and connect the CP5611 card to the port of the S7-200 using the dedicated cable and network connector provided by Siemens (3,8 of the CP5611 card and PORT of the S7200 respectively) Port 3,8 connection), in general, the terminal resistance of the last network connector in the MPI network should be connected to the ON (active) state;
3) The creation of the MPI network in the PLC and the correct setting of the communication baud rate;
4) Set the parameters of the SetPG/PC interface in the control panel; for details, please refer to the configuration king electronic help.
(two)
Kingview and Siemens 200 plc free port protocol through modem communication, how to achieve hardware wiring?
The standard PPI cable is plugged into the device. The modem9 pin is connected to the PPI cable through a standard 232 crossover cable. The modem side of the 232 crossover cable needs to be shorted by 1/4, and shorted by 7 and 8.
(three)
Can an S7 200 PLC communicate with two host computers via the serial port?
The way through the serial cable is not enough, you can consider the following two ways:
1) The PLC is configured as an MPI protocol, so that two upper computers need to be configured with one MPI card;
2) One of the two PCs communicates as a collection station and a PLC, and the other as a client and a collection station.
(four)
Siemens 200Plc failed to communicate with Kingview via the PPI protocol. Why?
Please check if the following settings are correct:
1) DIP setting of the user programming cable: In the dialing code of the programming cable, the fifth terminal is to set the communication protocol: the dialing code is set to 0, indicating PPI/Freeport; the dialing code is set to 1, indicating PPI (master) When the user uses the PPI protocol and the configuration king communication, the dial code selects the PPI/Freeport corresponding dial code value;
2) PPI communication transmits 11-bit data, it is recommended that the customer dial the code to select 8 data bits 1 stop bit even parity (the dial code defaults to 11 bits), and the PLC baud rate and PPI, configuration king Consistent
3) The programming software must be started when the programming software must be offline.
(Fives)
When Siemens 200plc communicates with Kingview via modbus protocol, how does the register address defined in Kingview correspond to the plc address?
The mapping relationship is as follows: 0-Q, 1-I, 3, 4, 8, 9-V;
Correspondence between the dd number of 3, 4, 8, and 9 and the offset address of the V register in the PLC (actual address -1000): Configuration Wangzhong (register number dd-1)*2=V register in PLC Offset address. Configuration Wangzhong 40031 corresponds to PLC: VW1060 (configuration Wangzhong register 4 indicates SHORT type variable) configuration Wangzhong 90640 corresponds to PLC: VD2278 (configuration Wangzhong register 9 indicates FLOAT type variable).
(six)
Siemens 200plc communicates with Kingview via the modbus protocol. What should you pay attention to?
Need to pay attention to the following points:
1) The corresponding initialization program (KVmoddbus.mwp) needs to be downloaded to the PLC and provided by the sub-control. The default plc communication port of this program is port0, the address is 2, the baud rate is 9600, no parity (the address and baud rate can be modified by VB8 and SMB30 in the process SBR0);
2) Since the PLCModbus protocol program occupies V1000 and the previous address, the register used by the user in writing the logic control program cannot conflict with the V area address occupied by the protocol provided by the subcontroll;
3) When the Siemens S7200PLC communicates with the Kingview via Modbus protocol, the switch on the CPU must be in the RUN state. Otherwise, the modbus communication program in the PLC is not in the running state. The Kingview and the device confirm the communication failure through the free port protocol.
(Seven)
Does the S7 300 MPI cable mode support communication via GPRS and Kingview?
not support.
Kingview's GPRS communication method requires a virtual serial port to be created and data communication via this serial port. For the MPI protocol, our MPI driver communicates with the PLC by calling Siemens PLC's dedicated dynamic link library (s7onlinx.dll, etc.), and does not directly implement data communication through the serial port.
Other drivers that call methods do not support GPRS connections.


(Eight)
When the Kingview and several Siemens S7-300 and 400 PLC communicate via the DP protocol, how should the device address be defined?
1) Hardware connection: Inserting a CP5611 (or CP5613) into the computer allows multiple S7-300/400PLCs to be connected to one DP bus.
2) DP protocol setting: DP Slave station that all PLCs must set, CP5611 (or CP5613) requires DP unique master station set by Simatic net;
3) Configuration King Device Address Definition: Select PLC/Siemens/S7-200 Series (DP)/Profibus-DP, the device address is fixed to 1.1 (this address is independent of the address setting of the slave PLC).
(nine)
When the Siemens 300 plc communicates with Kingview via the MPI communication card, can it implement the dual device redundancy function?
can be realised.
1) A cp5611 card can be connected to two s7300plc (using a programmable plug from Siemens).
2) Two s7300plc are created in the Kingview software. The device addresses are 7.2 and 8.2 respectively (the device address is set according to the actual device). The number before the decimal point refers to the address of plc, followed by the slot number where the cpu is located. These two plcs are defined separately in the STEP7 programming software, so the slot number is the same except for the plc address;
3) In the configuration king, you only need to define the variables of the master device.








(ten)
Which communication links are supported by Kingview and Siemens 300, 400 PLC communication? Do you need support from Siemens software?
1) MPI cable communication method: STEP7 programming software must be installed on the computer where Kingview is located;
2) MPI communication card mode: The computer where Kingview is located must have STEP7 programming software installed;
3) Ethernet communication mode: It is not necessary to install STEP7 or Simatic net communication software on the computer where Kingview is located;
4) Profibus-DP pass mode: You need to install the STEP7 programming software and the communication configuration software and license of Simatic net 6.0 (or above) on this machine;
5) Profibus-S7 pass-through mode: STEP7 programming software needs to be installed on the computer where Kingview is located, but SIMATIC NET software is not required.

友情链接: 广州到上海物流 集运系统 情趣家具 猎酷网 物流网站 展会运输 淘宝集运