Communication Settings
Communication Settings
For example, controller is WECON LX3V series PLC and HMI is PI8070. Please set communication protocol, and set communication parameters in the [Communication].
Timeout
The follwoing are description for the timeout settings from [Communication].
- Wait Timeout(ms): The time HMI waits for a response from the PLC.
- Receive Timeout(ms): The longest waiting interval between the HMI receiving two characters.
- Retry Count: The number of retries when there is no response in the communication between HMI and PLC.
- Retry Timeout(s): The PLC will not be accessed during the Retry Timeout period when there is no response in the communication between HMI and PLC.
- Delay Time(ms): The speed at which the HMI communicates with the device.
- Continuous Length: Default value 0 means the maximum length specified by each protocol. Addresses dealt by Maximum Span settings, its read length for single time, if the Continouous Length is 1, which means it will read/write the every register one by one. If the length of Maximum Span is greater than or equal to the Continuous Length, the continuous read/write will be performed in groups according to Continuous Length.
- Maximum Span: Set the interval for reading PLC addresses. If there exists two same register type addresses, their interval is less than the set value of Maximum Span, then they will be integrated into a continuous address, otherwise it will be divide into two independent addresses.
Operating Procedure
After creating the [Quick_Start] project,select the [Project]->[Communication].
Click “Setting” to open protocol setting windows.
Select communication protocol, users could select serial port, Ethernet port, CAN port or USB.
- Serial port:
- Ethernet port:
- CAN port (In COM1):
- USB port:
About parameters for communication, PLC default communication parameters have been written to PIStudio, the user can adjust them according to the actual situation.
- Serial port:
- Ethernet port
Please note, during using Ethernet port, please set HMI IP in [Project Setting], the detailed, please refer to [Project Setting] chapter.
Click [OK] button to save settings and close the dialog;