Xentara v2.0.3
User Manual
JSON Format for Bit Values

A JSON object describing a bit value has the following syntax:

{
"@Skill.SignalProcessing.BitValue": {
"name": "Vibration Alarm",
"UUID": "38c1b333-9b68-4fc8-bc33-3f0830703876",
"ACL": { ... },
"source": "PLC.Unit 14.Alarm Bits",
"bitNumber": 9,
"invert": false
}
}

Object Members
nameA string value containing the name of the bit value. The name is used to construct the bit value’s primary key.
UUIDA string value containing the unique UUID of the bit value.
ACLAn optional JSON object containing the element ACL of the bit value. The format of the object is described under JSON Format for ACLs.
sourceA string value describing the skill data point to use for the source value that the bit should be extracted from. The string value must contain the primary key of the skill data point. The value of the skill data point must be either a signed or unsigned integer value.
bitNumberThe 0-based bit number to extract, where bit 0 is the least significant bit. The bit number must be between 0 and the number of bits in the source value, exclusively. For a 16 bit source value, the bit number must be between 0 and 15, for example.
invertAn optional Boolean value specifying whether the value should be inverted, representing a set bit as false and an unset bit as true. If you do not specify this option, then the value will not be inverted.