[input,output,slaves] = slrealtime.EtherCAT.getSignalNames(devID, modelName)
gets the PDO input variable names, PDO output variable names, and slave names
for a specified device ID in the model. You can use this information to
configure the EtherCAT blocks in the model by using
setparam commands.
Get the PDO input variable names, PDO output variable names,
and slave names for a specified device ID in the model
slrt_ex_ethercat_beckhoff_aio. This example sets the path
to the ENI file for the EtherCAT Init block. This approach lets you refer to ENI
files that are not available on the MATLAB path.
The devID is the EtherCAT device ID of the device in
the model for which signals are found. The device ID is typically 0 when a
single EtherCAT network is in use in a model.
Example: 0
modelName — Model name character vector
The modelName is the model from which EtherCAT signals
are found. If model argument is omitted, the function uses the current
model.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.