14: I/O Systems

Command Purpose
ai_attr Load AI device attributes from a specified file into shared memory for CyFlex.
ai_specs Process analog input specifications.
ai_transfer Analog Input Transfer Task.
ao_attr Load Analog Output (AO) attributes from a specified file into shared memory for the 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 Initialize CAN-AC1-PCI/CAN-AC2-PCI cards or USB devices and capture data from up to 250 channels at a maximum of 50Hz.
candbc_ccp_cmd Instruct the CanDbc Driver to send a cpp command message.
candbc_ccp_get Perform a short upload request using CCP protocol at a specified rate.
candbc_ccp_set Update a particular parameter at a specific rate.
candbc_clear Instruct the CanDbc Driver to clear the list of messages it is sending.
candbc_daq Setup the DAQ list using a file that includes a list of parameters.
candbc_full_list Maintain a list of CAN messages by processing add, list, and clear operations through events in a background process.
candbc_list List the Can Messages that the CanDbc driver has been requested to send.
candbc_set Send a CAN message at a particular rate.
CanFD Provide CANBus communications between CAN devices using basic CAN messages.
canfd_clear Instruct the CanFD Driver to clear the list of messages it was sending.
canfd_full_list Maintain a list of CANFD messages, handling additions, listings, and clearances through event-based communication in a background service.
canfd_list List the Can Messages that the CanFD driver has been requested to send.
canfd_set Set a CAN message to be sent at a specified interval using the CanFD driver.
ci_attr Load CI device attributes from a file into shared memory for the CI driver.
ctfici_attr Read CT, FI, and CI attributes from a file and update the corresponding shared memory for device attributes.
device_attr Initialize and spawn device handlers based on system attributes to manage device presence and channel assignments for the system.
di_attr Load DI device attributes from a specified file into shared memory for the 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 device by parsing specification files, setting up network connections, transferring files, and streaming data to mimic hardware behavior.
eblox_srvr Manage communication with eblox devices for data acquisition and control in a CyFlex system, handling UDP streaming and processing requests from other tasks.
ecat_mon Monitor EtherCAT channels and update CyFlex variables based on events, including timer events.
ecat_srvr Manage EtherCAT devices to enable access for other tasks, using tools to discover devices and handle PDO transfers at a specified rate.
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 Initialize and run a Modbus server for serial communication with slave devices, managing configuration, shared memory allocation, and spawning streaming tasks.
modbus_srvr_tcp Initialize and run a Modbus TCP server to handle communication with Modbus slave devices, including parsing arguments for device connections and options.
modbus_slave Implement a Modbus slave that interacts with a Modbus master to exchange data with CyFlex variables based on configuration from a specification file.
mv2eng Convert a millivolt value to engineering units for a designated channel.
newchan Activate a new input channel.
noise_check Perform statistical analysis on specified analog input channels, calculating and reporting mean, standard deviation, minimum, maximum, and variance based on collected samples.
overrange Monitor for overrange events from ai_transfer, log violations to a file, and send email notifications for the first occurrence per day per channel.
pmx_coe  
raw_noise Perform noise checking on analog input channels by gathering samples, computing statistics such as mean, sigma, min, max, and variance, and printing the results.
rels_cont Release continuous variables.
reset_di_bit Reset specified digital input bits to false.
reset_do_bit Attach digital output bits to logical channels.
restrt_cont Restart continuous variables.
set_di_bit

Set digital input bits for a specified logical channel.

set_do_bit Set specified digital output bits to on for logical channels.
set_mv Set a millivolt value for a specified channel in the CyFlex system.
snapio_puc Force a power-up-clear of a specified snapio brain. DO NOT run unless the cell is in a safe state.
snapio_reset Force a hardware reset of a specified snapio brain. Do not run unless the cell is in a safe state.
snapio_sim Simulate snapio devices without needing any hardware for the system.
snapio_srvr Provide a server for accessing Opto 22 SNAP I/O devices, handling UDP streaming and command processing.
snapio_sta Read and print the status area for a snapio brain using its IP address.
snapio_type Interrogate the snapio server to examine the 16 module positions on a rack and print the basic type and configuration IO-type of those modules with an optional argument to specify the rack index.
start_cont Start continuous data collection by processing input specification files and initializing channels.
stop_cont Stop continuous channels.
test_ao Test Analog Output.
transt_err Monitor transt_drv for MTL module errors.