
ADwin-Pro II
Hardware, manual Dec. 2018
193
Pro II: Extension and Interface Modules
Pro II-EtherCAT-SL Rev. E
ADwin
Upon start-up, the configuration tool loads the required information about the
new slave from the appropriate description file.
– Add the
ADwin
-EtherCAT slave as bus member to the EtherCAT bus.
Using TwinCAT System Manager, you mark the EtherCAT master and select the
menu entry
Scan
boxes
from the context menu (right mouse click).
A list of all current bus members will be displayed.
– Select the
ADwin
-EtherCAT slave from the list; now the slave is confiremd as
bus member.
Afterwards the bus could be structured as below:
– Configure the
ADwin
-EtherCAT slave in an
ADbasic
program using the instruc-
tion
P2_ECAT_Init
.
Though you can configure the slave from the configuration tool as well, the con-
figuration in
ADbasic
has to be processed nevertheless–using the very same
settings.
– Read the configuration into the configuration tool.
Using the TwinCAT System Manager, you mark the
ADwin
-EtherCAT slave and
clicken the button
Load
PDO
Info
from
the
device
.
The slave configuration is in any case as follows: 16
DINT
(4 byte) as inputs and
16
DINT
(4 byte) as outputs.
Module revisions
The difference between the revisions is described below:
The module revision is to be found on the front cover.
Programming with
ADbasic
The module is comfortably programmed with
ADbasic
instructions. The instructions are
described in
ADbasic
online help and in the Pro II Software manual.
The include file
ADwinPro_All.inc
contains instructions for the following functions:
Revision
Release
date
Previous changes
E
12/2009
First version
Area
Instructions
Initialize station address and data ranges
P2_ECAT_Init
Get current interface version and operation
mode
P2_ECAT_Get_Version
P2_ECAT_Get_State
Read and write data in groups of 16 longs.
P2_ECAT_Read_Data_16L
P2_ECAT_Write_Data_16L