Skip to content

Object library

The object library contains ready-made equipment, like the block libraries of large SCADA systems: a motor, a valve, an analog input and a PID controller. Each object is a tag type with alarms, an icon for the process screen and a control window that opens when you click the icon.

Object library

Object Tags Alarms Control window
Motor Start, Run, Fault, Local, Current, Hours, Starts Fault State, current, running hours and starts, Start (with confirmation, blocked on a fault) and Stop
Valve Cmd, Opened, Closed, Fault, Discrepancy Actuator fault, discrepancy Limit switches, fault, Open and Close
Analog input Value, HH, H, L, LL HH and LL high priority, H and L medium Bar, value, limits (changed by a user with the “Write parameters” right), 30-minute trend
PID controller PV, SP, OUT, Manual, ManOut, Kp, Ti, Td, Deviation, DevLimit Large deviation from setpoint Setpoint, auto/manual mode, manual output, coefficients, deviation and its limit, trend of PV, SP and OUT

The analog input limits are internal tags that survive restarts; their initial values come from the instance parameters HH, H, L, LL. The PID controller does not control anything itself: the window works with a controller running in the PLC.

Some object tags are calculated by SCADA itself — they are calculated tags, the PLC needs nothing for them:

  • The motor’s Hours and Starts — counters of run hours and starts from the Run signal. They survive restarts; after maintenance the engineer resets them in the motor window.
  • The valve’s Discrepancy — the command does not match the limit switches, or both limit switches are on. The alarm fires if this lasts longer than 30 s (travel time; the delay can be changed in the Valve type alarms).
  • The controller’s Deviation — the absolute difference between PV and SP, 0 in manual mode. The alarm fires if the deviation stays above the DevLimit limit for more than a minute. The limit is an internal retained tag the engineer changes in the controller window; its initial value is the DevLimit instance parameter (5 by default).

Project → Object library…: choose the object, a tag table, a connection, how many instances to create and a screen for the icons.

  • The tag type and the icon and window genies (LibMotorIcon, LibMotorFace and so on) are added to the project. If they already exist, the existing ones are used, so your changes are kept. Your own type with the same name but different tags is left alone, and the library type gets a new name.
  • Instances are named Motor1, Motor2…, with the Title parameter “Motor 1”, “Motor 2”.
  • The icons are placed side by side on the chosen screen, below what is already drawn.

Icons on a screen

Without a connection the object tags are internal, so you can try the object in monitoring right away. To work with a PLC, set the connection and the addresses: they are instance parameters (StartAddr, RunAddr, ValueAddr…) in the Instances window of the tag table.

After insertion the type and genies are an ordinary part of the project: add tags and alarms to the type, or restyle the window in the genies. Every instance picks up the changes at once.

PID controller window in the designer

Object texts are inserted in the editor language and are not translated afterwards: they are your project data.