Connect IAI RCON to a Delta AS228T PLC over EtherNet/IP
- PLC
- Delta
- IAI
- EtherNet/IP
- Motion control
IAI electric actuators are often controlled with discrete I/O (PIO): one bundle of wires per axis, only the positions taught in advance, and the PLC cannot read the axis's real position or alarm code. Connect the IAI RCON controller to the PLC over EtherNet/IP and a single network cable serves every axis: the PLC sends position, speed and acceleration as numbers and reads back the present position, current and alarm code.
This post records the steps I use to connect a 2-axis IAI RCON to a Delta AS228T-A PLC: wiring, setting up the RCON gateway in IA-OS, installing the EDS file and the data exchange area in ISPSoft, and the register map for the PLC program. It is written for engineers who know Delta AS series PLCs and are using RCON over EtherNet/IP for the first time.
Hardware and software used
- A Delta AS228T-A PLC, using its built-in Ethernet port (EtherNet/IP) as the scanner.
- An IAI RCON system: an EtherNet/IP gateway and 2 axis drivers (RCON-PC), as the adapter.
- A switching hub and Ethernet cables.
- IAI's IA-OS software (started from IAI Toolbox) to set up the gateway, and Delta's ISPSoft V3.20 with HWCONFIG to configure the PLC.
- The EDS file of the RCON gateway, downloaded from IAI's website.
Network addresses used in this example:
| Device | IP address | Subnet mask |
|---|---|---|
| Delta AS228T-A PLC | 192.168.0.5 | 255.255.255.0 |
| IAI RCON gateway | 192.168.0.10 | 255.255.255.0 |
Both devices must be on the same subnet, here 192.168.0.x.
1. Network wiring
- Switch off the PLC and the RCON before wiring.
- Run an Ethernet cable from the PLC's Ethernet port to the switching hub, and from the hub to the EtherNet/IP port on the RCON gateway. Push each plug in until it clicks.
- Use straight STP cable, CAT5 or better, no longer than 100 m. Double-shielded cable (aluminium tape and braid) is recommended.
2. Setting up the RCON gateway in IA-OS
2.1. Connecting the PC to the RCON
- Connect the PC to the USB port (mini-B) on the RCON gateway. Mind the orientation of the plug: forcing it in the wrong way can damage the port.
- Supply 24 VDC to the RCON.
- Set the operation mode switch on the front of the gateway to MANU.
- Start IAI Toolbox and choose IA-OS. In the connection method window click Serial comm, pick the right COM port and click OK. Confirm the warning dialogs and the MANU mode dialog.
When the connection works, the IA-OS main window shows the status tree of the gateway and of each axis. If the status tree does not appear, check the USB cable and the COM port.
On the first connection IA-OS shows the Confirmation at Initial Connection window, where you set the number of axes connected to the gateway. Do not skip it: without the number of axes the gateway cannot talk to the drivers.
2.2. IP address, number of axes and operation mode
Open the gateway parameters (User parameter edit [GW No.0]), Network setting tab:
- 1. Communication setting: Network type is EtherNet/IP; enter IP address
192.168.0.10and Subnet mask255.255.255.0. - 2. Axis control settings: choose Auto and Number of axes setting = 2. Under Axis operation mode setting choose All-axis lump setting = Direct Numerical Command (Positioning) (Size: 8W), so both axes run in the same mode.
- 3. Occupied size information: IA-OS works out the data size, here Output size 48 bytes and Input size 48 bytes. Note these two numbers: the PLC side must use exactly the same.

Click Transfer to write the parameters to the gateway, confirm the dialogs, and let IA-OS restart the gateway (software reset). Clicking Save without Transfer does not put the settings into effect.
2.3. Choosing the operation mode
Each RCON axis runs in one of six modes. The mode decides what the PLC can control and how many data words the axis takes:
| Mode | Words per axis | Positions | Notes |
|---|---|---|---|
| Direct numerical control | 8 | Unlimited | The PLC sends position, speed and acceleration/deceleration as numbers; present position can be read (0.01 mm) |
| Simple direct | 4 | 128 | The PLC sends the target position as a number; present position can be read (0.01 mm) |
| Positioner 1 | 4 | 128 | Moves by position number from the position table; present position can be read (0.01 mm) |
| Positioner 2 | 2 | 128 | Moves by position number; no present position reading |
| Positioner 3 | 1 | 128 | Moves by position number with the fewest signals; no present position reading |
| Positioner 5 | 2 | 16 | Moves by position number; present position can be read (0.1 mm) |
This post uses Direct numerical control for both axes: the PLC sends position and speed as numbers, with nothing to teach in the position table.
How the data size adds up: the first 8 words belong to the gateway, followed by each axis in turn. With 2 axes in an 8-word mode: 8 + 8 + 8 = 24 words = 48 bytes in each direction, which matches the figure shown by IA-OS. Over EtherNet/IP, Direct numerical control takes up to 8 axes per gateway (the other modes up to 16).
3. Configuring the Delta PLC in ISPSoft
3.1. Creating the project and installing the EDS file
- Start ISPSoft and create a new project with Controller Type = AS and PLC Type = AS228T.
- In the project tree, double-click HWCONFIG.
- In HWCONFIG open the Tool tab and click Device Description File Manager.
- Choose Install Device Description, select EDS (Electronic Data Sheet), click Browse to find the EDS file of the RCON gateway, tick Install and click Next until it reports Finish.

After that, the IAI device appears in the Product List as IANP3802-EP0.
3.2. Setting the PLC's IP address
Double-click the PLC picture to open Hardware Configuration, select Ethernet Port Basic Setting and enter IP Address 192.168.0.5, Subnet Mask 255.255.255.0, with Mode set to Static.

3.3. Adding the RCON to the EtherNet/IP network
- In the HWCONFIG project tree select EtherNet/IP to open the network view.
- Drag IANP3802-EP0 from the Product List into the view, then drag from the device to the network line (Network 0) to connect it to the PLC.
- Double-click the IP address next to the device and enter the RCON's IP:
192.168.0.10.

3.4. Setting up the data exchange area
Double-click the PLC picture in the network view to open the Data Exchange table, then double-click the IANP3802-EP0 row:
- Read (RCON to PLC): Scanner Start Address
D0, Length 48 bytes. - Write (PLC to RCON): Scanner Start Address
D200, Length 48 bytes. - Leave the rest at the defaults: Connection Name Exclusive Owner, RPI 10 ms, Connection Type Point To Point. The instance numbers (Input 100, Output 150, Configure 5) come from the EDS file.

Length must equal the Output size and Input size that IA-OS showed in section 2.2. If they differ, the connection does not come up. D0 and D200 are my choice; any other D area works as long as it does not overlap the rest of the program.
Click Save, connect the PC to the PLC and click Download to load the configuration into the PLC.

4. Register map in the PLC
With the setup above (2 axes, Direct numerical control), the 24 words in each direction are laid out as follows.
PLC to RCON (D200–D223)
| Register | Words | Content | Unit and example |
|---|---|---|---|
| D200 | 1 | Gateway control signal 0 | Bit 15 is MON and must be on (see below) |
| D201–D207 | 7 | Rest of the gateway area | Not used, leave at 0 |
| D208–D209 | 2 | Axis 1: target position | 0.01 mm (enter 2540 for 25.4 mm) |
| D210–D211 | 2 | Axis 1: positioning width | 0.01 mm (enter 1 for 0.01 mm) |
| D212 | 1 | Axis 1: speed | 1 mm/s by default (enter 200 for 200 mm/s); 0 keeps the axis stopped |
| D213 | 1 | Axis 1: acceleration/deceleration | 0.01 G (enter 30 for 0.3 G) |
| D214 | 1 | Axis 1: push current limit | 255 equals 100%, 510 equals 200% |
| D215 | 1 | Axis 1: control signals | By bit, see the table below |
| D216–D217 | 2 | Axis 2: target position | Same as axis 1 |
| D218–D219 | 2 | Axis 2: positioning width | Same as axis 1 |
| D220 | 1 | Axis 2: speed | Same as axis 1 |
| D221 | 1 | Axis 2: acceleration/deceleration | Same as axis 1 |
| D222 | 1 | Axis 2: push current limit | Same as axis 1 |
| D223 | 1 | Axis 2: control signals | By bit |
RCON to PLC (D0–D23)
| Register | Words | Content | Notes |
|---|---|---|---|
| D0 | 1 | Gateway status signal 0 | RUN, errors, MANU mode, STOP (see below) |
| D1 | 1 | Gateway status signal 1 | LNK bit of each axis (bit 0 is axis 1) |
| D2–D7 | 6 | Rest of the gateway area | Power supply unit status, not used here |
| D8–D9 | 2 | Axis 1: present position | 0.01 mm |
| D10–D11 | 2 | Axis 1: current | mA |
| D12 | 1 | Axis 1: present speed | Same unit as the speed in D212 |
| D13 | 1 | Not used | |
| D14 | 1 | Axis 1: alarm code | Read as hex |
| D15 | 1 | Axis 1: status signals | By bit, see the table below |
| D16–D17 | 2 | Axis 2: present position | 0.01 mm |
| D18–D19 | 2 | Axis 2: current | mA |
| D20 | 1 | Axis 2: present speed | |
| D21 | 1 | Not used | |
| D22 | 1 | Axis 2: alarm code | Read as hex |
| D23 | 1 | Axis 2: status signals | By bit |
Target position, positioning width, present position and current are signed 32-bit values (2 words), so write and read them with 32-bit instructions such as DMOV. The speed unit can be switched to 0.1 mm/s in the gateway parameters in IA-OS; 200 mm/s is then entered as 2000.
Gateway area (D200 and D0, D1)
The first eight words are not just padding. The bits you need:
| Register.bit | Signal | Meaning |
|---|---|---|
| D200.15 | MON | Turn on to let the PLC control the axes. While it is off, the RCON ignores PLC commands |
| D0.15 | RUN | Gateway running normally |
| D0.13 | ERRT | Communication error between the gateway and the PLC or the axes |
| D0.12 | MOD | The front switch is on MANU |
| D0.8 | SEMG | The STOP input on the System I/O connector is off, all axes are stopped |
| D0.0–D0.7 | ALMC | Gateway alarm code |
| D1.0, D1.1 | LNK0, LNK1 | The gateway is communicating with axis 1, axis 2 |
Do not mix up the two bit 15s: D200.15 is the gateway's MON, turned on once for the whole system, while D215.15 (and D223.15) is BKRL in each axis's control word, used only to release that axis's brake. Turning on BKRL instead of MON can let an axis with a brake drop under gravity.
Control signals (D215 for axis 1, D223 for axis 2)
| Bit | Signal | Meaning |
|---|---|---|
| 0 | DSTR | Start the move to the target position |
| 1 | HOME | Home return |
| 2 | STP | Pause |
| 3 | RES | Alarm reset |
| 4 | SON | Servo on |
| 5 | JISL | Jog / inching selection |
| 6 | JVEL | Jog speed selection |
| 7 | JOG- | Jog in the negative direction |
| 8 | JOG+ | Jog in the positive direction |
| 10 | GSL0 | Servo gain parameter set selection (with GSL1) |
| 11 | GSL1 | Servo gain parameter set selection |
| 12 | PUSH | Push-motion operation |
| 13 | DIR | Push direction |
| 14 | INC | Target position is a relative distance |
| 15 | BKRL | Brake release |
Status signals (D15 for axis 1, D23 for axis 2)
| Bit | Signal | Meaning |
|---|---|---|
| 0 | PEND | In position |
| 1 | HEND | Home return complete |
| 2 | MOVE | Axis moving |
| 3 | ALM | Alarm present |
| 4 | SV | Servo is on |
| 5 | PSFL | Push missed (no contact with the work) |
| 7 | ALML | Light (minor) alarm |
| 8 | MEND | Command complete (positioning or push finished, or stopped after travel) |
| 12 | ZONE1 | Axis inside zone 1 |
| 13 | ZONE2 | Axis inside zone 2 |
| 14 | CRDY | Controller ready |
| 15 | EMGS | Emergency stop active |
Delta AS series PLCs can address single bits of a D register: D215.4 is SON of axis 1 and D15.0 is PEND of axis 1.
The basic sequence to move axis 1 to a position, following the start-up sequence in the RCON manual:
- Wait for
D0.15(RUN) andD1.0(LNK0) to turn on, then turn onD200.15(MON). - Turn on
D215.4(SON) and wait forD15.4(SV) to turn on. - Turn on
D215.1(HOME) to home the axis, wait forD15.1(HEND), then turn HOME off. - Write the target position to D208, the positioning width to D210, the speed to D212 and the acceleration/deceleration to D213.
- Turn on
D215.0(DSTR). The RCON reads the data from step 4 on the rising edge of DSTR, thenD15.0(PEND) turns off andD15.2(MOVE) turns on. Once PEND is off or MOVE is on, turn DSTR off, but keep it on for at least 10 ms, and do not change the registers from step 4 until DSTR is off. PEND turns on again when the axis arrives. - If
D15.3(ALM) turns on, read the alarm code in D14, fix the cause, then turn onD215.3(RES) to reset it.
The full meaning of every signal and the timing charts are in IAI's RCON manual (ME0384, Operation Section, Direct numerical control mode); read it before writing the program.
5. Checking the connection
Set the switch on the front of the RCON gateway back to AUTO. In MANU (teaching mode) the RCON does not take commands from the PLC, and bit D0.12 (MOD) reads 1.
Then look at the MS and NS LEDs on the gateway:
| LED | State | Meaning |
|---|---|---|
| MS (Module Status) | Green, steady | Normal |
| MS | Green, blinking | No configuration information, or the scanner is idle |
| MS | Orange, blinking | Minor fault, recoverable |
| MS | Orange, steady | Major fault, not recoverable |
| NS (Network Status) | Green, steady | Online, connection with the PLC established |
| NS | Green, blinking | Online, but no connection established yet |
| NS | Orange, blinking | Connection timed out |
| NS | Orange, steady | Serious communication error or duplicate IP address |
| NS | Off | No IP address |
Both LEDs steady green means the PLC and the RCON are exchanging data. Open a device monitor table in ISPSoft and D8–D9 will follow the real position of axis 1.
6. Common problems
- NS keeps blinking green: the data sizes on the two sides differ. Compare Length in Data Exchange with the Output size and Input size in IA-OS.
- A parameter change in IA-OS has no effect: Transfer was not clicked, or the gateway was not restarted.
- IA-OS does not show the axes: the number of axes was not set on the first connection.
- The LEDs are green but the axes ignore commands:
D200.15(MON) is off. This is the easiest one to miss, because the gateway area looks like padding. - The PLC is connected but the axis does not move: the switch is still on MANU, the STOP input is off (
D0.8SEMG reads 1), or SON is off or the axis has not been homed. - The RCON does not answer a ping: the PLC and the RCON are on different subnets, or the IP address is already used by another device.
- After changing the number of axes or the operation mode: the data size changes with it, so update Length and the register map in the PLC.
Conclusion
Connecting an IAI RCON to a Delta AS PLC over EtherNet/IP comes down to three things: set the IP address, the number of axes and the operation mode of the gateway in IA-OS; install the EDS file and set up Data Exchange with the right size in HWCONFIG; and build the register map for each axis before writing the program, not forgetting the gateway's MON bit. Once MS and NS are both green, the rest is writing numbers to registers and turning on the right bits.
The Delta AS228T PLC and IAI electric actuators both appear in my real projects: the Automated Pallet Conveyor Line runs on a Delta AS228T PLC, and the 13-Station MCB Function Test Machine has 8 IAI electric cylinder axes controlled by a Keyence KV-8000 PLC. More are on the Projects page.
Need IAI electric actuators, a Delta PLC or EtherNet/IP devices integrated into a machine? See my PLC programming and motion control services or contact me.