14: I/O Systems

 

Command Purpose
ai_attr Obtain attributes for an AI driver.
ai_specs Process analog input specifications.
ai_transfer Analog Input Transfer Task.
ao_attr Obtain AO attributes for an AO driver.
ao_specs Process analog output specifications.
ao_transfer

Translate REAL_VARIABLE values to scaled output values that represent values to be transferred to an analog output channel by one or more AO device drivers.

bacnet_srvr Start the bacnet server. Used to communicate to Johnson Controls Metasys, and Andover servers.
CanDbc Provide CANBus communications between Can Devices using basic CAN messages.
candbc_ccp_cmd Instruct the CanDbc Driver to send a cpp command message.
candbc_ccp_get Instruct the CanDbc Driver to upload a request using CCP protocol at a particular rate.
candbc_ccp_set Instruct the CanDbc Driver to update a particular parameter at specific rate.
candbc_clear Instruct the CanDbc Driver to clear the list of messages it was sending.
candbc_daq Setup the DAQ list using a file that includes a list of parameters.
candbc_full_list Record all messages sent between multiple CanDbc tasks.
candbc_list List the Can Messages that the CanDbc driver has been requested to send.
candbc_set Instruct the CanDbc driver to send a message at a particular rate.
ci_attr Obtain the CI attributes for a CI driver.
ctfici_attr Obtain CT, FI, and CI attributes for an CT, FI, CI driver.
device_attr Scan the handlers member of the system attributes data structure to determine what devices are present, what the channel assignments are, and what handlers or drivers must be spawned.
di_attr Obtain DI attributes for a DI driver.
di_intg_xfer

Convert continuous raw data to INTEGER_VARIABLE values according to the specifications found in the transfer layer data structure (DI_INTG_TRANSFER). This is the mainline of the digital input integer transfer process.

di_logi_xfer

Convert continuous raw data to LOGICAL_VARIABLE values according to the specifications found in the transfer layer data structure (DI_LOGI_TRANSFER). This is the mainline of the digital input transfer process.

di_specs Process digital input specifications.
do_attr Access the DO attributes specified and place them in the specified area of shared memory for DO attributes.
do_logi_xfer

Convert application layer variables to raw data according to the specifications found in the transfer layer data structures. This is the mainline of the digital output transfer process.

do_pwm_transfer Provide PWM on a Digital Out Bit.
do_specs Process digital output specifications.
do_word_xfer Convert Variable Table Layer variables of integer or real type to raw data according to the specifications found in the Transfer Layer data structures. This is the mainline of the digital output word transfer process.
eblox_sim Simulate a Gantner device without needing any hardware for another system.
eblox_srvr Allow other tasks access to the eblox devices.
ecat_mon Map EtherCAT variables to Cyflex variables.
ecat_srvr

Allow other tasks to access the EtherCAT devices.

fici_specs Process frequency and counter input specifications.
fici_xfer Convert all frequency and counter input channels of a certain process interval from raw counts to engineering units.
get_mv Get the millivolt value of an input channel.
get_raw Get the raw counts of an input channel.
gmodbus Use a CyFlex variable interface to and from multiple Modbus RTU/TCP compliant slaves.
init_ai_counters

Read the engineering values which correspond to a counter channel from disk and send configuration messages to the ai_transfer task, commanding it to grab the raw value from the continuous raw data buffer and to save it as the initial value along with the engineering value contained in the configuration message.

modbus_srvr_serial

Communicate with a modbus protocol slave device via serial similar to how GModBus works. Use this instead of GModBus when desiring to calibrate your hardware channels.

modbus_srvr_tcp

Communicate with a modbus protocol slave device via TCP similar to how GModBus works. Use this instead of GModBus when desiring to calibrate your hardware channels.

modbus_slave

Create a modbus slave which can then interact with a modbus server and store data directly from CyFlex variables from the modbus protocol registers.

mv2eng Convert a millivolt value to engineering units for a designated channel.
newchan Activate a new input channel.
noise_check Statistical evaluation at input channels
overrange Log range violation occurrences as set by ai_transfer. It should be started in the go.scp startup script prior to launching of ‘ai_transfer’
pmx_coe  
raw_noise  Call the initialization function to build specifications for the “average” task which will handle gathering of the data and then waits for the event which signals the data is complete. 
rels_cont Release continuous variables.
reset_di_bit Attach digital input bits to logical channels.
reset_do_bit Attach digital output bits to logical channels.
restrt_cont Restart continuous variables.
set_di_bit Attach some digital input bits to logical channels.
set_do_bit

Attach some digital output bits to logical channels.

set_mv

Simulate changing analog input signals in a system which does not have “continuous” analog input running.

snapio_puc Force a power-up-clear of a single or all snapio brains. DO NOT run unless cell is in safe state.
snapio_reset

Force a hardware reset of a single or all snapio brains. DO NOT run unless cell is in safe state.

snapio_sim

Simulate snapio devices without needing any hardware for the system.

snapio_srvr

Allow other tasks to access the snapio devices. A single task is used to allow for the use of UDP streaming from the snapio hardware.

snapio_sta

Read and print the status area for a snapio brain given the IP address.

snapio_type

Interrogate the snapio server to examine the 16 module positions on a rack and will print the basic ‘type’ and the configuration ‘IO_type’ of those modules. The program may be launched with a command line argument to indicated the rack index for different IO racks.

start_cont Start continuous channels.
stop_cont Stop continuous channels.
test_ao Test Analog Output.
transt_err Monitor transt_drv for MTL module errors.