Configuration overview

IL230x-B110 Inputs Outputs Working counter status (WcState) Online status (Info Data) ADS address (ADSAddr) EtherCAT cycle time

IL230x-B110 (IL2300-B110, IL2301-B110, IL2302-B110)

IL230x-B110 (IL2300-B110, IL2301-B110, IL2302-B110)

In TwinCAT System Manager Config mode enter the IL230x-B110 as an EtherCAT (Direct Mode) device under Devices (Fig. 1). Any Fieldbus Box modules already connected to the network can also be read. All boxes with extensions and configurations are uploaded automatically. You can then adapt these to meet your requirements. FreeRun status must be set in TwinCAT.

Note regarding the screenshots: IP-Link values are displayed as K-Bus values in TwinCAT.

Fbb_B110_TCAT_Sysman1

Fig. 1 TwinCAT tree IL2302-B110

Inputs

Inputs

CouplerState, "Online" tab

Display of general Fieldbus Box errors.

Fig. 3 CouplerState, "Online" tab

Outputs

Outputs

CouplerCtrl, "Online" tab

Display of IP-Link/K-Bus errors or deactivation of outputs.

Fig. 4 CouplerCrtl, "Online" tab

Working counter status (WcState)

Working counter status (WcState)

WCstate, "Online" tab

Boolean variable indicating the working counter status of the Fieldbus Box. An invalid working counter (value: 1) is displayed if invalid data were transferred by the EtherCAT slave controller.

Fig. 5 WCstate, "Online" tab

Online status (Info Data)

Online status (Info Data)

State, "Online" tab

Indicates the online status of the Fieldbus Box.

Fig. 6 State, "Online" tab

Value

Description

0x___1

Slave in 'INIT' state

0x___2

Slave in 'PREOP' state

0x___3

Slave in 'BOOT' state

0x___4

Slave in 'SAFEOP' state

0x___8

Slave in 'OP' state

0x001_

Slave signals error

0x002_

Invalid vendorId, productCode... read

0x004_

Initialization error occurred

0x010_

Slave not present

0x020_

Slave signals link error

0x040_

Slave signals missing link

0x080_

Slave signals unexpected link

0x100_

Communication port A

0x200_

Communication port B

0x400_

Communication port C

0x800_

Communication port D

ADS address (ADSAddr)

ADS address (ADSAddr)

ADSAddr, Online tab

Single line indicating the AMS netID and the AMS port of the Fieldbus Box using the hexadecimal system. This information is required for mailbox communication via ADS.

Example

AC 10 07 3F 02 01 (AMS netID) = 172.16.7.63.2.1
03 E9 (port) = 1001dec

Fig. 7 ADSAddr, "Online" tab

EtherCAT / IP-Link cycle time

EtherCAT / IP-Link cycle time

The IP-Link cycle time resulting from the station configuration with extension box modules is directly displayed in ConfigMode.

Fig. 8 CycleTime

If the EtherCAT cycle time exceeds the IP-Link cycle time both systems operate in synchronous mode. The IP link is started after an EtherCAT telegram and copies its inputs into the memory. They are retrieved with the next EtherCAT telegram, i.e. the inputs are always exactly one cycle old.

If the EtherCAT cycle is shorter than the IP link cycle, the K-Bus operates asynchronous relative to EtherCAT. Faster polling than "Estimated Cycle (offline)" is therefore possible but may lead to outdated input data or outputs not being set in time via the IP link.

The EtherCAT cycle applied to the IL230x-B110 Fieldbus Box modules should therefore be significantly greater than the "Estimated Cycle (offline)" (min. 250 µs, depending on the configuration). Online control in the system through "Max. Cycle (online)" or "CouplerState" is recommended.

The cycle time can also be read via CoE Online from Table 98 [LO].

Fig. 9 CycleTime via Table98[LO]

Check of the connected boxes

If you activate "Check Terminals at Startup", at startup is checked if the connected boxes fit to the configured boxes.