TABLE_2007_53E = 1062,
TABLE_2007_54E = 1063,
TABLE_2007_59E = 1064,
TABLE_2007_60E = 1065,
TABLE_ASTM_D1555 = 1080
};
Note: Register value is still an integer value not an ascii char. For example, to specify TABLE_54, the ascii
value of ‘A’ or 65 would be the register value, not the character’A’.
“fcm address” – FCM addressing parameters. (input or output type uses same function)
This type is a bit-wise concatenation of four different FCM addressing parameters that is expressed as a single
register value.
struct fcm_address_type
{
unsigned int port_number:3; // FCM port range 0-7
unsigned int fcm_number:5; // FCM number range 0-31
unsigned int invert:1; // Normal signal = 0, Invert signal = 1
// For pulse outputs, single pulse = 0, dual pulse = 1
unsigned int enabled:1; // Disabled = 0, Enabled = 1
unsigned int ext_port:3; // ext_port(3) << 3 + port_number(3) => Port range 0-39
unsigned int custom_logic :1 ; // enable value to link to custom logic array
unsigned int unused:2;
};
Note: Register value is still an integer value not a binary structure.
For example, to specify port_number 4, fcm_number 1, normal signal, enabled, (0000,0,1,0,00001,100) the
numeric value of the bit-wise concatenation of these four different FCM addressing parameters would be
0x020C = 524.
For example, to specify port_number 11, fcm_number 3, normal signal, enabled, (0000,1,1,0,00011,011) the
numeric value of the bit-wise concatenation of these four different FCM addressing parameters would be
0x061B = 1563.
“fcm address_analog_input” – Analog Input FCM addressing parameters. This type is a bit-wise concatenation
of four different FCM addressing parameters that is expressed as a single register value.
struct fcm_address_analog_input_type
{
unsigned int fcm_number:5; // FCM number range 0-31 or Custom Logic Index bits
unsigned int analog_in_port_number:6; // FCM port range 0-4 or Custom Logic Index bits
unsigned int analog_input_type:4; // 4-20mA signal = 0, 1-5V signal = 1
unsigned int enabled:1; // Disabled = 0, Enabled = 1
unsigned int custom_logic :1 ; // enable value to link to custom logic array
unsigned int unused:15;
};
Note: Register value is still an integer value not a binary structure.
If the custom_logic bit is enabled, then the first 11 bits used for the FCM number and port number will used for
the Custom Logic index number.