From OpenSCADAWiki
Jump to: navigation, search
Configuration.

Configuring and using

1. [ NonAutomatic ] Create an output transport of the type "Serial" or "Sockets", and set its Identifier like to "IEC62056", one for each the devices' used serial bus.
2. [ NonAutomatic ] Set proper address and timeouts of the device.
3. Create and start a logical controller object or use any present one with need scheduling properties. The interaction period for part 46 preferred to be about 0.1 second!
4. Create a logical parameter object and select the template for that, one for the devices on one bus — enable the parameter.
5. Into the tab "Template configuration" of the logical parameter object you need to set:
  • Transport — to the address of the automatically created transport with its parameters after ":", accordingly to the function SYS.Transport.outAt() address format. Tracing for the address changing is supported.
  • Direct local data exchange at the 21 part — switch mode of the data obtaining from part 46 to part 21.
  • Represent integer data in LE — switch the bytes packing order in integers from BE to LE.
  • Destination in "{UHDLC}:{LHDLC}" or one SN digit — remote station address in the two digit format each of which in range [0...16383] or one SN digit in range [0...268435456].
  • Source — the same station address (source) in the integer range [0...127].
  • Password the device — the device access password.
  • Retry connection time — retry connection time in seconds, at the connection missing and no response detection.
  • Poll all time — time in seconds of the complete data requesting, pointed in the "itemsSet".
  • Input processing procedure — form for the complex preprocessing and complete generation of the separate attributes on the internal programming language of OpenSCADA.
6. RESULT: The logical parameter object will perform interaction and placing of the gathered data to the object "items", creation/placing the gathered data to the proper value attributes.
7. In the process of the working, through the tab "Attributes" of operational data, in addition to obtaining the result, it is possible to perform operative setup and control on:
  • Preset device — for setting isDir, isLE, main OBISes and some address specific.
  • Items set by ... — for appending the device's OBIS to their reading.