Properties Common to LON Programming Blocks

Top  Previous  Next
Note:The Configuration Properties Do Not share these properties with the other LON programming blocks. The Configuration Properties are

CpDigital

CpInteger

CpNumeric

All LON programming blocks, other than those listed above, share the following common properties:

 

Slots

Description

ScaleA

Scaling factor A.  Scaling multiplier 'a' where ScaledValue = a*(10**b)*(RawValue+c)

ScaleB

Scaling factor b.  Exponent 'b' where ScaledValue = a*(10**b)*(RawValue+c)

ScaleC

Scaling Factor c.  Offset 'c' where ScaledValue = a*(10**b)*(RawValue+c)

TypeCategory

Type category  (type category names) .  Type category of the network variable type

1

8-bit signed character

2

8-bit unsigned character

3

8-bit signed integer

4

8-bit unsigned integer

5

16-bit signed integer

6

16-bit unsigned integer

7

8-bit enumeration

8

Array

9

Structure

10

Union

11

Bitfield

12

32-bit IEC 60559 (IEEE 754) floating-point value

13

32-bit signed integer

(Continued next page)

(Continued from previous page)

Properties Common to the LON Programming Blocks

Slots

Description

TypeIndex

Type index  (TypeIndex) .  Index within the specified resource file of the network variable type definition

TypeLength

Type length  (bytes) .  Length of the network variable type

TypeProgramId

Type program ID.  Program ID template of the resource file containing the network variable type definition

TypeScope

Type scope  (file scope) .  Scope of the resource file containing the network variable type definition

0

=

Standard – applies to all devices.

1

=

Reserved for future use.

2

=

Reserved for future use.

3

=

Manufacturer – applies to all devices from the manufacturer specified in the program ID template.

4

=

Manufacturer and Device Class – applies to all devices from the manufacturer with the device class specified in the program ID template.

5

=

Manufacturer, Device Class, and Device Subclass – applies to all devices from the manufacturer with the device class and device subclass specified in the program ID template.

6

=

Manufacturer, Device Class, Device Subclass, and Device Model – applies to all devices of the specified type and manufacturer specified in the program ID template.