SimWB supports the EtherCAT protocol both as master and slave. SimWB can be configured to act as a master to query EtherCAT remote I/O slave devices on the network. It can also be configured to act as a slave with a flexible I/O configuration. In this case it responds to the EtherCAT’s master queries to set and get RTDB variable values.
In order to run the slave, you need an ESD™ ECS-PCIe/1100 PCIe board, driver, and EtherCAT slave libraries. For more information, please refer to the ESD™ web site at https://esd.eu/en/products/ecs-pcie1100i .
The slave must be properly configured. For more information, see Write Slave EEPROM.
ECS-PCIe/FPGA (recommended for better performance).
ECS-PCIe/1100.
N/A.
ICS-SWB-1237
For the slave configuration, define the I/O points that the slave will access and map them to specific memory locations in the slave’s input and output sync managers. When the configuration is saved to the real-time host, a slave Object Dictionary file is generated.
There are 2 ways you can go about to configure the SimWB EtherCAT slave.
Manual Configuration:
|
|
|||||||||||
Import a pre created ESI XML file:
|
|
You can save your slave configuration to an XML ESI file by clicking on the Generate ESI XML button. The file will be displayed under the ESI / XML tab in the editor window.
ESI / XML File:
You can save the content of the editor by clicking on the Save ESI File button.
|
In order for the master to talk to the slave using the Sync Managers / PDO / PDO entries you defined, you will have
to store the configuration into the slave's EEPROM.
Unfortunately, the slave's EEPROM is under the control of the EtherCAT master which means that the slave cannot burn its own EEPROM.
You will need to use your master configuration tool (TwinCAT™,etc) to generate the binary version of the ESI file and store it into
the slave's EEPROM.
If you are using the EtherLab® tool as a master , you can burn the slave EEPROM with the following command:
ethercat sii_write -pxx bin_eeprom_file ethercat rescan
where xx is the slave number corresponding to the ESD EtherCAT slave in your network and bin_eeprom_file is the binary version of the ESI file.
Slave PDO Sub Index entry.
I/O point(s) a field is mapped to.
To map a field to a PDO entry, select the PDO entry on the left side of the I/O Mappings form, then click on a check box for an I/O point on the right side of the form. See I/O Mappings... for details.
EtherCAT Master | Fastcomm-PCI |