From OpenSCADAWiki
Configuring and using
- 1. [ DAQ.System ] Create a source controller object in the module DAQ.System and set its identifier like to "SYSData".
- 2. [ DAQ.System ] Create a source parameter object in the previous controller object and set its identifier like to "UPS".
- 3. Create and start a Logical Controller Object or use any presented with the need scheduling properties.
- 4. Create a Logical Parameter Object and select the template for it. Enable the parameter.
- 5. In the tab "Template configuration" of the Logical Parameter Object you need to set:
- Source object's address:
- [ DAQ.System ] — to address of the source UPS parameter object (see to step 1) like to "System.SYSData.prm_UPS";
- [ Must EP2100 PRO ] — to Serial address of connecting the device like to "Serial.ep21:/dev/ttyUSB0:9600:8N1||500:30".
- 6. RESULT: When running the controller object (where this parameter was created) and if it was not started, we must obtain in the parameter attribute All items (items) this object with all the attributes and their properties. In the case of some violations, we will get the corresponding information in the attribute Error (err), for which you can adjust the attributes of the boundaries of the corresponding violations. To customize some item's description and to place some in DAQ-Attributes, you can edit "Elements definition (defs)" for ones. From the created DAQ-Attributes you can also control writable ones.
- 7. In the visual interfaces developing of the module Vision place the frame "Object properties" to any page and link its to the parameter object, created in step 4.
- 8. RESULT: In the runtime of the page you'll get a table with data of the object, notifications about violations in the header and the possibility to set of writable properties.