Hi Every Body. To connect and control PLC by HMI, you need making a connection (communication) PLC and HMI (set by the software and link by a cable). Today, I guide you the step by step to do it. The example in this post: connect PLC S7-200 and Delta HMI DOP-B (B07S411). The other PLCs & HMIs, you can do it with the same method.
Select the connection method PLC and HMI
By read the catalogue and checking the support connection of PLC & HMI use in your project. If it not support, you must change PLC type (or HMI type).
The example : I read the connection guide for Delta HMI DOP-B (“DOP Series HMI Connection Manual”). The document show you, the methods connect DOP HMIs & PLCs (RS232, RS485…). Some devices may support Ethernet connection. Find your PLC type use (ex: S7-200).
-> I choose the RS485 method (via PLC Program Port) to connect S7-200 and HMI DOP-B.
Set the connection parameters on software
The connection parameters:
- Interface: RS485, RS232, Ethernet…
- COM port: COM1, COM2…
- Baud rate: 9.6 kbps, 19.2 kbps, 187.5 kbps….
- Data Bits: 7 bits, 8 bits
- Stop Bits: 1 bits, 2 bits
- Parity: Event, Odd…
- Station Controller Address
- Timeout, Retry Count, Delay time…
On Programmable Software of HMI
With the HMI Programs, the option name to set the connection parameters is different. Ex: With Delta DOPSoft program is “Communication setting”. In normal, the default setting is ok (one HMI – one PLC).
On Programmable Software of PLC
With the PLC Programs, the option name to set the connection parameters is different too. Ex: With Siemens Step7 MicroWIN V4.0 program is “Communication port” in System Block. With the PLC Program, you make the parameters same with HMI Program above.
S7-200 processes a longer period of internal program scanning or inputs an interruption command may slows down HMI response rate and cause “Must Retry” or “No Such Resource” error message. Communication Delay function is suggested to avoid this problem. The parameter setting unit is ms and suggested setting value is 10. The setting value should not be greater than 30 (By: “DOP Series HMI Connection Manual”).
The video guide
In next post, I will show you : How to make the PLC & HMI connection cable.
On the post, if you see the error about the sentence, grammar… please help me to edit it by comment below. I will glad to hear from you. I am looking forward to improving my English. Thank you very much <3.