_online

UserBits

This example shows you how to set the original value as well as the status of data point TestDP_1. The original value is set to 12 and user bits 2, 4 and 8 are set to TRUE. Refer to _original (Original attributes) for further information.

main()
{
  dpSet("TestDP_1.element:_original.._value",12,
  "TestDP_1.element:_original.._userbit2", TRUE,
  "TestDP_1.element:_original.._userbit4", TRUE,
  "TestDP_1.element:_original.._userbit8", TRUE);
}