Documentation search search close
CONTENTS
https://www.speedgoat.com/help/slrt/page/icon_documentation.jpg
v10.0.1.x for R2026a
View other versions

IO750 Usage Notes

IO750 Usage Notes — Usage information about the I/O module

Description

This section provides further information about how to configure the IO750 EtherCAT subordinate device module.

Add PDOs and SDOs programmatically

Write MATLAB code to fill the PDO and SDO tables of the Setup block. This enables you to define objects in mat or csv files, import the data into MATLAB and write the content to the tables. You use the get_param and set_param functions to read and write the tables. The names of the corresponding block parameters are rxPdoMapping, txPdoMapping and sdoMapping. The parameter value is a cell array packed in a character array or string.

Run the following code to add entries to the RxPDO mapping table of the Setup block selected. Extend the cell array at the beginning to add more objects.

data = {'rxServo',  'ControlWord',  'uint16';
        'rxServo',  'ControlSpeed', 'double';
        'rxUtil',   'Alive',        'uint32'};

t = "{";
for m = 1 : size(data,1)
    t = t + "'" + data{m,1} + "','" + data{m,2} + "','" + data{m,3} + "';";
end
t = extractBefore(t, strlength(t));
t = t + "}";

set_param(gcb, 'rxPdoMapping', t);

Run the following in the MATLAB command window to read the RxPDOs of the Setup block selected:

>> get_param(gcb, 'rxPdoMapping')

Front Plate Description

IO750 PCI and PCIe modules

The IO750 acts as one EtherCAT subordinate device exclusively. The two RJ45 connectors simply serve to build up a line-based network structure. Plug the cable from the EtherCAT main device or the previous subordinate device into the first socket. Connect the second socket with the next EtherCAT subordinate device. The LEDs described below indicate the communication status of the single EtherCAT subordinate device.

The rotary switch has no functional role.

IO750 mPCIe module

Note that in some real-time target machines, the mPCIe module is reversed; that is, the Error LED appears on the right.

LED Status Description

LEDColorStateMeaning
SYSGreenOnOperating system running
 Green/YellowBlinkingSecond stage bootloader is waiting for firmware
 YellowOnBootloader netX (= romloader) is waiting for second stage bootloader
 OffOffPower supply for the device is missing or hardware defect
RUN/COM1OffOffINIT: The device is in state INIT
 GreenBlinking (2,5 Hz)PRE-OPERATIONAL: The device is in PRE-OPERATIONAL state
 GreenSingle flash SAFE-OPERATIONAL: The device is in SAFE-OPERATIONAL state
 GreenOnOPERATIONAL: The device is in OPERATIONAL state
ERR/COM2OffOffNo error: The EtherCAT communication of the device is in working condition
 RedBlinking (2,5 Hz) Invalid configuration: General Configuration Error. Possible reason: State change commanded by main device is impossible due to register or object settings
 RedSingle flashLocal error: Subordinate device application has changed the EtherCAT state autonomously. Possible reason 1: A host watchdog timeout has occurred. Possible reason 2: Synchronization Error, device enters Safe-Operational automatically
 RedDouble flash Application watchdog timeout: An application watchdog timeout has occurred. Possible reason: Sync Manager Watchdog timeout.

Note that only the IO750 PCI and PCIe modules have the SYS LED. This LED does not feature on the IO750 mPCIe module.

Status Codes

For the list of status codes, please refer to Status Codes for Protocols Supported with the IO64x/IO75x Modules.