Cp_modifiable_value_file variable, Cp_modifiable_value_file_len variable, Cp_readonly_value_file variable – Echelon Neuron C User Manual
Page 212
192
Built-In Variables, Objects, Symbols, and Semaphore
unsigned input_clock : 3;
unsigned comm_type : 3; // offset 0x09
unsigned comm_pin_dir
: 5;
unsigned preamble_length; // offset 0x0A
unsigned packet_cycle;
// offset 0x0B
unsigned beta2_control;
// offset 0x0C
unsigned xmit_interpacket; // offset 0x0D
unsigned recv_interpacket; // offset 0x0E
unsigned node_priority;
// offset 0x0F
unsigned channel_priorities;
// offset 0x10
union {
// offset 0x11
unsigned xcvr_params[NUM_COMM_PARAMS];
direct_param_struct dir_params;
}
params;
unsigned non_group_timer
: 4; // offset 0x18
unsigned nm_auth
: 1;
unsigned preemption_timeout : 3;
} config_data_struct;
const config_data_struct config_data;
The application program can read this structure, but cannot write it, using the
config_data global declaration. The structure is 25 bytes long, and it can be read
and written over the network using the
read memory
and
write memory
network
management messages with address_mode=2. For detailed descriptions of the
individual fields, see the ISO/IEC 14908 (ANSI/EIA/CEA-709.1)
Control Network
Specification
. To write this structure, use the update_config_data( ) function
described on page 152.
cp_modifiable_value_file
Variable
The cp_modifiable_value_file variable contains the writeable configuration
property value file. This block of memory contains the values for all writeable
configuration properties implemented as CP family members. It is defined as an
unsigned short array. See Chapter 5,
Network Variable, Configuration Property,
, on page 159, for more information about
configuration properties.
cp_modifiable_value_file_len
Variable
The cp_modifiable_value_file_len variable contains the length of the
cp_modifiable_value_file array. It is defined as an unsigned long. See Chapter 5,
Network Variable, Configuration Property, and Message Tag Declarations
, on
page 159, for more information about configuration properties.
cp_readonly_value_file
Variable
The cp_readonly_value_file variable contains the read-only configuration
property value file. This block of memory contains the values for all read-only
configuration properties implemented as CP family members. The type is an
unsigned short array. See Chapter 5,
Network Variable, Configuration Property,
, on page 159, for more information about
configuration properties.