How to create a process value

Below is an example on how to create a process value, Lamp1, of type OPC Value. This value should be fetched two times each second and then be logged each 60e second. This value should also be displayed in the live data program with a red line. The OPC Value is on an OPC server on the same computer as the OPC Connector and is of the class Delacroy.OPC.Test.

The process value is on the OPC Item x.y.lamp1.

Further, we have created a table on balthzar_logger.dbo.lamp1.
This table got the following columns:

The fields not mentioned below should be left as standard value.

  1. Enter Lamp1 as name.
     
  2. Select process value type as OPC-Value.
  3. Enter an arbitrary number.
  4. Select the machine the value belongs to.
  5. Check the Use custom subscription rate box.
  6. Enter 500 as Custom subscription rate.
  7. Check active.
  8. Leave the OPC-Server empty since this is licalhost. If the OPC-server is on another computer enter the name/IP-address of that server.
  9. Enter x.y.lamp1 as OPC-Item.
  10. Enter Delacroy.OPC.Test as OPC server class.
  11. Check Enable logging.
  12. Set logging interval to 60.
  13. Enter balthzar_logger.dbo as database.
  14. Enter lamp1 as table name.
  15. Enter timestamp as Field name, date.
  16. Enter process_value as Fieldname, process value.
  17. Enter quality as Fieldname, quality.
  18. Enter numerical_id as Fieldname NumericalID.
  19. Enter process_name as Fieldname, processfield.
  20. Check Show in live data.
  21. Select Red as Livedata color.