Properties
The module contains the following standard properties:
Name | Description | ID | Flags |
---|---|---|---|
Mode | Specifies the run mode of the module. When in Offline mode, the module do not communicate (read/write) with any external system. When in Online mode, the module has normal communication (read/write) with external system. | 501 | Persisted |
Hostname | The IP address to the server | 1601 | Persisted,TCP/IP address |
Port | The IP port number to the server | 1602 | Persisted |
Authentication mode | Authentication mode for connecting to the server | 1603 | Persisted,Enumerated |
Connection state | The connection state to the server | 1604 | ReadOnly,Enumerated |
Password | Authentication password to connect to server | 1610 | Persisted |
Watchdog mode | Monitor the connection to the server with the watchdog and auto reconnect if connection is assumed lost | 1605 | Persisted,Enumerated |
Watchdog timeout | Max time (ms) between last received message and time when watchdog is active | 1606 | Persisted |
Watchdog item | The item name to use when watchdog mode is set to monitor a specific item | 1607 | Persisted |
Poll mode | Poll mode of the module | 1608 | Persisted |
Poll period | Time (ms) between each poll cycle | 1609 | Persisted |
Notes regarding Poll mode:
- Polling DataObjects is most expensive network wise as it make a network request per DataObject, e.g. 1000 DataObject items -> 1000 network requests.
- Polling DataSets is less expensive as it make one network request per DataSet item, which can contain many if not all DataObject items.
- Prefered way should be to have Poll Mode set to Disabled; group the DataObject items into logical DataSet objects; have a report for each DataSet that subscribes to updates from the server. A similiar polling like behaviour can be configured in the report with Integrity as TrgOps and Integrity period set to the desired poll period. This will require the minimal network traffic as the client is not sending any explicit network requests, only server is sending data back to the client with regular interval.