AssetFunctions flag group
This flag mask indicates possible functions of an Asset.
Lua access code
To access the code of the flags below, append the flag group name and flag name to syslib.model.flags,
see an example below.
return syslib.model.flags.AssetFunctions.AF_ACTUATOR
Flags
| Name | Bit | Value | Description |
|---|---|---|---|
| AF_ACTUATOR | 10 | 512 | Actuator |
| AF_ANALYTICAL | 16 | 32768 | Analytical |
| AF_CONSISTENCY | 25 | 16777216 | Consistency |
| AF_CORROSION | 28 | 134217728 | Corrosion |
| AF_DIGITALPOSITIONER | 19 | 262144 | Digital Positioner |
| AF_FLAME | 22 | 2097152 | Flame |
| AF_FLOW | 4 | 8 | Flow |
| AF_GENERIC | 1 | 1 | Generic Asset function |
| AF_HUMIDITY | 23 | 4194304 | Humidity |
| AF_INDICATOR | 11 | 1024 | Indicator |
| AF_INTERFACE | 15 | 16384 | Interface |
| AF_IO | 21 | 1048576 | IO |
| AF_IP | 26 | 33554432 | IP |
| AF_LEVEL | 12 | 2048 | Level |
| AF_MULTIVARIABLE | 29 | 268435456 | Multi-Variable |
| AF_PHANALYZER | 8 | 128 | pH Analyzer |
| AF_POWER | 13 | 4096 | Power |
| AF_PRESSURE | 5 | 16 | Pressure |
| AF_RECORDER | 24 | 8388608 | Recorder |
| AF_SWITCH | 7 | 64 | Switch |
| AF_TEMPERATURE | 3 | 4 | Temperature |
| AF_TESTEQUIPMENT | 6 | 32 | Test Equipment |
| AF_TRANSMITTER | 17 | 65536 | Transmitter |
| AF_VALVE | 9 | 256 | Valve |
| AF_VALVECONTROLLER | 20 | 524288 | Valve Controller |
| AF_VALVEPOSITIONER | 14 | 8192 | Valve Positioner |
| AF_VALVEPOSITIONERCONTROLLER | 18 | 131072 | Valve Positioner Controller |
| AF_VIBRATION | 2 | 2 | Vibration |
| AF_WEIGHSCALE | 27 | 67108864 | Weigh Scale |