
ControlNet Objects C-11
Instance Attributes
Parameter Object (Continued)
Attribute
ID
Access
Rule Name Data Type Description
1
(1)
Parameter Value
(2) (3)
2 Get Link Path Size USINT 0 = No link specified
n = The size of Attribute 3 in bytes
3 Get Link Path
(4)
4 Get Descriptor WORD 0 = False, 1 = True
Bit 1 = Supports ENUMs
Bit 2 = Supports scaling
Bit 3 = Supports scaling links
Bit 4 = Read only
Bit 5 = Monitor
Bit 6 = Extended precision scaling
5 Get Data Type USINT 0xC2 = SINT (8-bits)
0xC3 = INT (16-bits)
0xC4 = DINT (32-bits)
0xC6 = USINT (8-bits)
0xC7 = UINT (16-bits)
0xCA = REAL (32-bits)
0xD2 = WORD (16-bits)
6 Get Data Size USINT
(3)
7 Get Parameter Name
String
SHORT_STRING
(3)
8 Get Units String SHORT_STRING
(3)
9 Get Help String SHORT_STRING Null string
10 Get Minimum Value
(2) (3)
11 Get Maximum Value
(2) (3)
12 Get Default Value
(2) (3)
13 Get Scaling Multiplier UINT
(3)
14 Get Scaling Divisor UINT
(3)
15 Get Scaling Base UINT
(3)
16 Get Scaling Offset UINT
(3)
17 Get Multiplier Link UINT
(3)
18 Get Divisor Link UINT
(3)
19 Get Base Link UINT
(3)
20 Get Offset Link UINT
(3)
21 Get Decimal Precision USINT
(3)
(1)
Access rule is defined in bit 4 of instance attribute 4. 0 = Get/Set, 1 = Get.
(2)
Specified in descriptor, data type, and data size.
(3)
Value varies based on parameter instance.
(4)
Refer to the ControlNet specification for a description of the link path.
Comentarios a estos manuales