Project Constraints and Lead-Time Decision
When an Omron CJ1G-CPU45H application requires approximately 25 remote I/O slaves and the preferred DRT2-series DeviceNet units carry a 10-week lead time, the engineering decision collapses to a small set of constraints: available fieldbus master module, software toolchain, third-party slave availability, and Profibus DP vs. DeviceNet commissioning skill on the team. The CJ1G platform supports both protocols, but each path requires different hardware and configuration software.
The two fieldbus options on the CJ1G family for non-EtherNet/IP remote I/O are:
-
DeviceNet via
CJ1W-DRM21master + DRT2 slaves or third-party EDS-based slaves (Phoenix Contact, Weidmüller, Beckhoff). -
Profibus-DP via
CJ1W-PRM21master + GSD-based slaves (VIPA, Phoenix Contact, Weidmüller, Siemens ET200).
For a 4-week machine build window, the deciding factor is the slave-delivery date, not the protocol complexity. Once a slave vendor is locked in (VIPA Profibus slaves are used in the worked example below), the configuration path is identical to native Omron slaves: import the device description, assign I/O, and map to CPU CIO words.
System Architecture Overview
The reference architecture is a single CJ1G-CPU45H rack with a CJ1W-PRM21 Profibus master mounted in the CPU rack. The DP master talks to a Profibus-DP segment terminated with 9.6 kbit/s to 12 Mbit/s auto-baud. VIPA SLIO-series or 050-series Profibus-DP slaves (third-party equivalents: Phoenix Contact Inline, Weidmüller u-remote, Beckhoff BK series) connect via Siemens-style Sub-D 9-pin PROFIBUS connectors with integrated termination switch.
CJ1G-CPU45H and the CJ1W-PRM21 Master Module
The CJ1G-CPU45H is a CJ-series high-performance CPU with the following relevant characteristics for Profibus integration:
- Program capacity: 60K steps
- I/O bits: 9,216 (CIO 0000-CIO 0511 plus expansion)
- Up to 3 expansion racks (total 40 I/O units including CPU)
- CPU Bus Units: up to 16
CJ1W-Bus Units per CPU (Profibus master consumes one slot)
The CJ1W-PRM21 Profibus-DP master (V1 class-1 master) occupies a single CPU Bus Unit slot and is mapped to a fixed CIO block. The module:
| Parameter | Specification |
|---|---|
| Module type | CJ1W-PRM21 (Profibus-DP V1 master) |
| Rotary switches | Unit No. 0-F (decimal), set with two rotary switches on the front |
| Default I/O allocation | CIO 1500 + (Unit No. × 25 words) |
| Max DP slaves | 125 (per Profibus specification, segment practical limit 25-32) |
| Baud rate | 9.6 kbit/s - 12 Mbit/s auto-detect |
| Configuration tool | CX-Profibus (bundled in CX-One) |
PRT21 is a Profibus slave unit (lets the CJ1G appear as a DP slave to a third-party master, e.g. a Siemens S7 PLC). The PRM21 is the master unit (the CJ1G controls the Profibus segment). For a CJ1G controlling 25 remote I/O slaves, use CJ1W-PRM21.Set the rotary Unit No. switch on the front of the PRM21 to a free number (commonly 0) before mounting. The unit number determines the starting CIO address for the master module's status and control words.
Third-Party Profibus Slave Selection
With Omron DRT2 (DeviceNet) and SRT2 (CompoBus/S) slaves unavailable within the 4-week window, three Profibus-DP slave vendors are commonly evaluated for CJ1G projects:
| Vendor | Series | GSD Available | Notes for CJ1G Integration |
|---|---|---|---|
| VIPA | SLIO 053-1DP0x, 050-series | Yes, from vendor | Modular, low-cost, supports diagnostics |
| Phoenix Contact | Inline (IB IL) | Yes | Mature, wide catalog, high availability |
| Weidmüller | u-remote (UR20) | Yes | Modular slice I/O, good diagnostics |
| Siemens | ET200S / ET200SP | Yes | Highest cost, but ubiquitous; PROFINET/Profibus variants |
For a Profibus-DP segment with 25 stations, VIPA and Phoenix Contact Inline blocks offer the best balance of price and module density. All three accept Siemens-compatible 9-pin Sub-D PROFIBUS connectors with onboard termination switch.
Profibus-DP Physical Layer Wiring
Profibus-DP cable must meet the EN 50170 cable specification (Siemens purple cable, 6XS1830-0AH10 or equivalent). Key requirements:
- Cable type: Profibus DP cable, 150 Ω nominal impedance, shielded twisted pair, purple sheath
- Connector: Sub-D 9-pin, Siemens 6ES7972-0BA12-0XA0 or compatible (with built-in termination resistor and switch)
- Topology: linear bus (daisy chain via the Sub-D connector through-ports); no stars, no stubs longer than 0.3 m at 12 Mbit/s
- Termination: 220 Ω resistor + 390 Ω pull-up/pull-down on both ends, enabled via the connector's slide switch
- Maximum segment length: 1,200 m at 9.6 kbit/s; 100 m at 12 Mbit/s
Pinout for the Sub-D 9 connector (per IEC 61158 / EN 50170):
| Pin | Signal | Function |
|---|---|---|
| 3 | B (RxD/TxD+) | Data line + |
| 5 | DGND | Data ground |
| 6 | VP | +5V bus termination supply |
| 8 | A (RxD/TxD-) | Data line - |
| 1,2,4,7,9 | — | Shield, ground, reserved |
CX-Profibus Configuration Tool
CX-Profibus is a CX-One add-on (license-managed through CX-One installer) used to build the DP master configuration. It is the only supported method for the CJ1W-PRM21 — there is no direct GSD-file text editor that the PLC will accept. CX-Profibus generates a .prm configuration that the PRM21 downloads on CPU RUN or via the dedicated PRM21 configuration transfer sequence.
The trial version of CX-One (CX-One-Trial) does not include a fully functional CX-Profibus module. The full CX-One license is required for production configuration. As a fallback, a Profibus configuration generated on a third-party master tool (e.g. Siemens STEP 7 HW Config) can be exported to a generic GSD/DPV1 text description, but the CJ1W-PRM21 still needs CX-Profibus to load it into the module's flash.
Reference: Omron Remote I/O product category for the broader CJ1/CJ2 remote I/O ecosystem.
Step-by-Step: Configure 25 VIPA Profibus Slaves on a CJ1G
-
Install CX-One and confirm CX-Profibus license. Launch
CX-Profibusfrom the CX-One program group. The license must be activated; the trial version disables slave configuration. -
Create a new project. Select File > New, choose
CJ1W-PRM21as the master, and assign a project name. CX-Profibus writes the master parameters to the project file. -
Import the VIPA GSD file. Obtain the GSD file (e.g.
VIPA_053-1DP01.gsd) from the VIPA product page. In CX-Profibus, select Tools > Install GSD File, point to the file, and confirm. The slave appears in the device catalog under the VIPA folder. - Add slaves to the segment. Drag the VIPA slave from the catalog to the DP master line. Repeat 25 times, assigning a unique Profibus station address (3 through 27 — addresses 0, 1, 2 are reserved; the master typically occupies 2 if no separate Class-2 tool is used, so starting at 3 is conventional).
- Configure slot mapping. For each slave, double-click and select the I/O modules in the slots (digital input modules, digital output modules). The total I/O words per slave must match the physical module population. CX-Profibus reports module count and word count.
- Set slave addresses on the hardware. Set the rotary address switch on each VIPA slave to the address assigned in step 4 (range 3-27). The address is read by the master during startup parameterization.
- Save the project and export the master configuration. File > Save, then File > Export > CJ1W-PRM21 binary. This produces a configuration file the PRM21 stores in its non-volatile memory.
- Transfer to the PRM21. With the CX-Profibus connected to the PLC via USB or Ethernet, select Online > Transfer Configuration to PRM21. The PRM21 writes the configuration to its flash and reboots in approximately 5 seconds.
- Cycle power on the CPU. Power OFF then ON the CJ1G-CPU45H. The PRM21 starts up, performs slave parameterization, and enters cyclic data exchange (Data_Exchange state).
- Verify in CX-Profibus diagnostics. Open the online view; all 25 slaves should show Data Exchange status. A slave that fails to parameterize will show Diagnostic or Not Connected.
CIO Address Allocation and PLC Programming
For a CJ1W-PRM21 set to Unit No. 0, the default I/O area is CIO 1500 through CIO 1524 (25 words). The exact starting CIO word follows the rule:
CIO start = 1500 + (Unit No. × 25)
Within this 25-word block, the first word is the master status/control area, and the remaining 24 words contain the consolidated I/O of all slaves in the order they were added in CX-Profibus. The total network must fit within 25 words. If 25 slaves × 2 words per slave = 50 words are required, the segment is too large for a single PRM21; either split the segment or add a second PRM21 with Unit No. 1 (CIO 1525-1549).
A ladder snippet for reading the first VIPA slave's inputs (assume slave 3, slot 0 = 8 DI, mapped to CIO 1501):
// --- Profibus PRM21 Unit No.0, Slave 3 inputs ---
// Bit 0.00 = CIO 1501.00, first input of slave 3
LD P_On
AND CIO 1501.00 // first DI from VIPA slave 3
OUT W0.00 // map to work bit
For 16 PID loops at 10-15 ms update (a benchmark noted in field reports), the PRM21 segment can scan a 25-slave configuration in well under one Profibus cycle (typically 5-10 ms at 1.5 Mbit/s), so the bottleneck is the PLC scan, not the bus.
DeviceNet Alternative: EDS Workflow with CX-Integrator
If third-party DeviceNet slaves are the only available option (Phoenix Contact, Weidmüller, Beckhoff), the configuration path differs from Profibus in two respects:
- The device description file is EDS (Electronic Data Sheet), not GSD.
- The configuration tool is CX-Integrator (included in CX-One), not CX-Profibus.
Workflow for DeviceNet on CJ1G with CJ1W-DRM21:
- Set the
CJ1W-DRM21rotary unit number (0 default). Default CIO range:1500 + (Unit No. × 50)words. - Launch CX-Integrator, right-click the PLC > Start > Edit.
- Import the EDS file of the chosen vendor (Phoenix Contact, Weidmüller, or Beckhoff).
- Add the slave from the device tree to the DeviceNet network.
- Assign the DeviceNet MAC ID (0-63, default 63 for new nodes) and the expected connections (Poll, Bit-Strobe, COS, or Cyclic).
- Download to the DRM21 and cycle power on the CPU.
EDS-based configuration is conceptually similar to GSD: one text file per device, imported into a vendor-neutral tool, mapped to CPU I/O. Engineers familiar with Profibus will not find DeviceNet commissioning significantly harder or easier — the device-description format is the only meaningful learning curve.
Comparison: Profibus-DP vs. DeviceNet for CJ1G with 25 Slaves
| Attribute | Profibus-DP (PRM21) | DeviceNet (DRM21) |
|---|---|---|
| Master module | CJ1W-PRM21 | CJ1W-DRM21 |
| Config tool | CX-Profibus | CX-Integrator |
| Device description | GSD (one per slave) | EDS (one per slave) |
| CIO default range | 1500 + (N × 25) | 1500 + (N × 50) |
| Max nodes per segment | 32 (practical), 126 spec | 64 (spec, 32 practical) |
| Baud rate (typical) | 1.5 Mbit/s up to 12 Mbit/s | 125 / 250 / 500 kbit/s |
| Cable | Profibus purple, 150 Ω | DeviceNet thick/thin, 120 Ω |
| Connector | Sub-D 9-pin | Mini/Micro 5-pin (sealed) |
| Third-party slave availability | VIPA, Phoenix, Weidmüller, Beckhoff, Siemens | Phoenix, Weidmüller, Beckhoff, AB, Omron DRT2 |
Profibus-DP Slave Brand Selection Matrix
| Brand | CX-Profibus Integration Effort | Module Density | Lead Time (typical) |
|---|---|---|---|
| VIPA | Low — GSD cleanly imports, 8/16/32 DI/DO modules standard | 8-32 channels per slice | 2-3 weeks EU stockists |
| Phoenix Contact Inline | Low — mature GSD, large catalog | 2-32 channels, modular | 2-4 weeks |
| Weidmüller u-remote | Medium — GSD available, but multi-pole connectors vary | 4-32 channels, slice I/O | 3-5 weeks |
| Siemens ET200S/SP | High — multiple GSDs per head, Siemens-specific diagnostics | Up to 64 channels per slice | 1-2 weeks EU, longer outside EU |
For a 25-station Profibus-DP build under time pressure, VIPA offers the shortest combined GSD-integration + delivery time. Phoenix Contact Inline is the second-best choice if VIPA is unavailable.
Commissioning Procedure and Verification
- Pre-power check: Verify PROFIBUS termination is ON at the first and last node only, all Sub-D connectors are screwed down, and shield is continuous through each connector's shield clamp.
- Power up the segment. Apply 24 VDC to each slave in any order. Each slave's bus-status LED should be ON (green); slaves with no bus activity flash red.
- Connect the PRM21 configuration. With CX-Profibus online, click Live List. All 25 slaves should appear with their assigned station addresses (3 through 27).
- Check Data_Exchange state. In the diagnostics window, confirm every slave is in Data_Exchange state, not Parameterization or Diagnostic. A slave stuck in Parameterization means a GSD/parameter mismatch.
-
Force a digital input. On the field side, short one input of slave 3 and confirm bit
CIO 1501.xxtoggles in CX-Programmer's watch window. -
Force a digital output. Set bit
CIO 1510.xxin CX-Programmer and confirm the corresponding output LED on the VIPA slave lights. - Monitor the bus scan time. CX-Profibus diagnostics reports the cycle time; a healthy 25-slave segment at 1.5 Mbit/s should run at 5-10 ms cycle time.
Troubleshooting Matrix
| Symptom | Likely Cause | Diagnostic Step | Fix |
|---|---|---|---|
| PRM21 SF/BF LED red, no slaves visible | Bus not terminated correctly, or short in cable | Measure A-B resistance with slaves powered: should be 110 Ω (two 220 Ω in parallel) | Enable termination at both ends only, repair cable |
| All slaves visible but no Data_Exchange | GSD parameter mismatch (e.g. wrong slot population) | Compare physical modules in slave vs. CX-Profibus config | Re-add the slave in CX-Profibus matching physical modules |
| Single slave stuck in Diagnostic | Station address conflict or address out of range | Verify rotary address switch on slave matches CX-Profibus assignment | Reset switch and re-transfer configuration |
| Intermittent slave dropouts | EMI, broken shield, or bad connector | Replace Sub-D connector, check shield clamp torque | Re-terminate connector, verify shield 360° contact |
| CIO words read as 0 but PRM21 reports OK | Unit number on PRM21 does not match expected CIO offset | Read rotary Unit No. switch on PRM21 | Recompute CIO start = 1500 + (N × 25), update PLC program |
| CX-Profibus cannot find the PRM21 | Unit number conflict with another bus unit, or wrong CPU online | Check the unique Unit No. on the PRM21 versus other CJ1W modules | Set PRM21 to a free Unit No. |
Field-Engineer Notes
- Always run the Live List in CX-Profibus before assuming a wiring fault. If all 25 slaves appear in the live list, the physical layer is healthy; if not, fix the cable before touching the configuration.
- Save the
.prmconfiguration file in the project archive. PRM21 configuration is stored in module flash, but a fresh download takes less than 30 seconds and avoids a phone call to the OEM. - If only CX-One Trial is available, a temporary workaround is to configure the slaves on a borrowed CX-Profibus license, export the binary, and use that binary to flash the PRM21 through a USB-to-serial cable and the CX-Profibus transfer utility. Trial software cannot legally be used to commission a production machine; purchase the license.
- For PID-intensive applications, the PRM21 supports up to 244 bytes input / 244 bytes output per slave and can sustain 10-15 ms update of 16 PID controllers with a properly sized network.
What is the difference between CJ1W-PRT21 and CJ1W-PRM21?
The CJ1W-PRT21 is a Profibus-DP slave module that lets a CJ1G appear as a DP slave to a third-party master (e.g. a Siemens S7). The CJ1W-PRM21 is a Profibus-DP master module that lets the CJ1G control a Profibus segment of slaves. For a CJ1G controlling 25 remote I/O slaves, use the PRM21.
Is CX-Profibus included in CX-One, and does the trial version support it?
CX-Profibus is bundled with the licensed CX-One DVD. The CX-One Trial does not provide a functional CX-Profibus for production configuration; a licensed CX-One installation is required to commission a CJ1W-PRM21.
What CIO address does the CJ1W-PRM21 occupy?
The default CIO area is 1500 + (Unit No. × 25) words. A PRM21 set to Unit No. 0 occupies CIO 1500-CIO 1524. A second PRM21 with Unit No. 1 occupies CIO 1525-CIO 1549, and so on.
How many VIPA Profibus slaves can a single PRM21 handle?
Profibus-DP supports up to 126 station addresses, but a practical segment is 25-32 nodes per master due to I/O word capacity (25 words per Unit-No. block). For 25 digital slaves of 1-2 words each, a single PRM21 with Unit No. 0 is sufficient as long as the consolidated I/O fits in 24 data words.
Can I configure VIPA Profibus slaves without CX-Profibus?
No. The CJ1W-PRM21 expects a binary configuration generated by CX-Profibus. While the GSD file is plain text, the PRM21 does not load GSD directly — CX-Profibus compiles the GSD + slave parameterization + slot mapping into the binary image the module stores in flash.
What termination scheme does Profibus-DP require?
Exactly two terminations per segment, one at each physical end. Each terminator is a 220 Ω resistor in series with a 390 Ω pull-up on Pin 6 (VP) and pull-down on Pin 5 (DGND). A typical Siemens Sub-D 9 connector integrates these resistors and is enabled with a slide switch. Intermediate nodes must have termination OFF.