14: I/O Systems

Command Purpose
ai_attr Load AI device attributes from a specified file into shared memory for CyFlex.
ai_specs Process and configure analog input specifications for CyFlex.
ai_transfer Convert raw analog input data to engineering units for specified process intervals.
ao_attr Load Analog Output (AO) attributes from a specified file into shared memory for the AO driver.
ao_specs Process analog output specifications from a file, creating or updating variables and sending configurations to the system.
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 Process digital input data by converting raw data to integer variables based on transfer specifications, handling initialization and incoming events in the CyFlex system.
di_logi_xfer Transfer digital output data by converting application layer variables to raw data according to transfer specifications, managing initialization, event handling, and data processing.
di_specs Configure digital input channels based on specification files.
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 to configure digital output channels in CyFlex.
do_word_xfer Transfer integer or real variables to digital output raw data based on configuration specifications, processing events in a continuous loop.
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 Initialize and configure frequency and counter input specifications from a file.
fici_xfer Convert frequency and counter input channels from raw counts to engineering units based on timer events.
get_mv Retrieve the millivolt value of a specified input channel.
get_raw Fetch the raw value of a specified input channel or variable label.
gmodbus Use a CyFlex variable interface to and from multiple Modbus RTU/TCP compliant slaves.
init_ai_counters Initialize AI counter values by reading engineering and raw values from a file and sending configuration messages to synchronize with hardware counters.
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 Interface with a PMX device via EtherCAT to read and update variables in CyFlex.
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 input groups based on specifications.
reset_di_bit Reset specified digital input bits to false.
reset_do_bit Attach digital output bits to logical channels.
restrt_cont Restart continuous input groups using specified or default sample attributes.
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 input groups.
test_ao Test Analog Output by setting a specified channel to a given percentage value.
test_co Configure and set the output value for a specified channel.
transt_err Monitor for Transt_err events and take actions such as sending emails and initiating shutdowns if error thresholds are exceeded.