V. Globiots configuration for HMI slave
5.1 Modbus Slave HMI operation
- HMI will be a Modbus slave to connect to iConnector via RS485 Modbus RTU
- Every 8 seconds, iConnector use schedule event to write values from other Modbus slaves to HMI
- HMI will be pre-coded to view these values on HMI screen
5.2 iConnector event configuration
After logging in Globiots, to configure Event: right click Device name and select Event. “The List Of Event” page displays as below:
• Import Event: Import event from excel file
• Export Event: Export event to excel file
• Add Event: click to add a new event
o Event ID: from 1 to 127 (event ID is only)
o Event name: name of event
o Comment: explain for event
o Priority: Any value
o On Delay: Delay time (second) when condition is true
o Off Delay: Delay time (second) when condition is false
o Logical Operator (AND/OR): Logical Operator for conditions of event
o Parameter: select parameter sent to server when event occur. Only display Real Parameter
o Click “Save” to finish
• Edit: Click to edit event
• Delete: Click to delete event
• Action: Click to configure action for event. An event might have some actions. The List of Actions page displays:
o Add Action: click to add a new action
Action Name: Name of Action
Action Type: Select type of Action. There are 04 type of available action
1. Type 1: 01- Parameter vs constant: Action to assign constant to parameter if condition is true
2. Type 2: 02-parameter vs parameter: Action to assign constant to parameter if condition is true and false
3. Type 3: Action to assign value of source parameter to value of destination parameter if condition is true
4. Type 4: Action to assign value of source parameter to value of destination parameter if condition is true and false
Repeat: tick to implement action once condition is still true. If Repeat: is not ticked, the action only is implemented when condition from FALSE to TRUE.
Value true: constant assigned to parameter when condition is true
Value false: constant assigned to parameter when condition is false
Write Parameter: Destination parameter which is assigned value
Read Parameter: Source parameter
True Parameter: Source parameter if condition is true
False Parameter: Source parameter if condition is false
Save: click “save” to finish
o Edit: click to edit action of event
o Delete: click to delete action
Note: Written parameter in action must have address in range 3000-307F
• Condition: click to configure condition of event. An event might have one or multi conditions. Value of total condition is formed from logical operator of multi conditions
o Add Condition: click to add new condition
Condition Name: Name of condition
Condition Type: Type of condition. There are 3 types of condition
+ Type 1: 01- Parameter vs constant: Compare value of parameter to constant
+ Type 2: 02-parameter vs parameter: Compare value of parameter to value of another parameter
+ Type 3: 03- Parameter (bit) vs constant: Compare value of bit complex of parameter to constant
Condition: Compare value of a parameter to constant or value of a parameter to value of another parameter. Compare Operators are less than, less than or equal to, equal to, not equal, greater than, greater than or equal to
Click “Save” to finish
o Edit: click to edit condition of event
o Delete: click to delete a condition of event
Note:
Each Event have maximum 8 conditions
After configure Event, you must synchronized (refer to 5.11 Synchronize Device for more details)
Example:
Configure Event to create parameter Power Status:
Power Status =1 when iConnector Power Supply > 8 VDC and Main Meter Error=0 in
more than 2s.
Power Status=0 when iConnector Power Supply <=8 and Main Meter Error=0 in more
than 3 s.
When event occur, event will be sent to server
Configuration for this event, condition and action as follow:
For schedule written to HMI slave device every 8 second, the event configuration as below:
- Condition:
Condition type: Use condition type 3 (Parameter (bit) vs constant: Compare value of bit complex of parameter to constant), bit 3
Condition parameter: iConnector second parameter will be use
- Action:
Action type: Use action type 3: Action to assign value of source parameter to value of destination parameter if condition is true
Source parameter: Parameters from slave devices except HMI slave device
Destination parameter: Parameter to HMI slave device
No Comments