Controls Library
Earlier articles
How-to
Connect a MicroLogix 1100 to a PowerFlex 4M over Modbus
Use a 1763-NC01 cable to break out the MicroLogix 1100 RS-485 port, land the drive side on an AK-U0-RJ45-TB2P terminal block, set both ends to the same Modbus RTU format with a unique node address on the drive, and run one MSG at a time, waiting for DN or ER before the next. Never use that cable on a MicroLogix 1200 or 1500; it can damage the controller.
Comparison
Choosing how a CLICK PLC commands VFD speed safely
Keep the proven RS-485 link as the speed reference and let the drive's acceleration and deceleration ramps enforce the motion limit, with the encoder supervising. A 0-10 V analog reference is an equally safe alternative; a pulse train is only a frequency reference and is unconfirmed on this drive. None of the three is a personnel-safety function.
Selection guide
Selecting external Modbus I/O for an Easergy P3 relay
The Easergy P3's External I/O function lets the relay act as Modbus master to remote I/O modules, the same pattern your P3T32 already uses with a VIO12AD for RTD and mA inputs. Against a 16-input orderable maximum, your 20-input requirement leaves a deficit of 4: choose a Modbus I/O module with at least 4 digital inputs, 8 for margin, and validate port, mode and channel types before ordering.
How-to
Writing a Modbus RTU master on an Omron CPM2 in ladder
Yes, but you write it yourself: the CPM2's ports offer no Modbus mode, so the master runs in no-protocol mode — TXD(48) sends the frame, RXD(47) collects the reply, ladder computes the CRC-16, and a 2 ms timer at 19200 baud enforces the 3.5-character silent interval. Worth doing on a running machine for monitoring and start/stop; on a rebuild, buy a CPU that speaks Modbus.
How-to
Read and write IO-Link parameters from CODESYS over EtherNet/IP
Read ISDU parameters with an EtherNet/IP explicit message to CIP class 16#83, instance set to the physical port, service 75 for reads and 76 for writes, and gate every request on the cyclic PQI byte (bit 7 PQ and bit 5 DevCom). Identify the device on each port with an ISDU read of index 19, subindex 0.
Troubleshooting
Why converted CompactLogix timer ACC values jump after SLC migration
A 20 to 70 ms timer ACC spread after converting SLC 500 logic to a CompactLogix is expected, not a fault: Logix timers count in 1 ms while SLC timers counted in 10 ms steps, and every prox edge is quantized by the input module's RPI plus the task interval. Budget roughly 40 ms of wander on a period-pair difference, then fix one-shot mapping, input buffering and SCP limits carried over in the wrong units.
How-to
Find the Micro850 and MicroLogix 1100 MAC and serial number
On a Micro850, the MAC address is the Ethernet (MAC ID) address printed on the side label, and it is also the twelve characters after the hyphen in the device name that an EtherNet/IP browse shows in RSLinx. A MicroLogix 1100 carries its fixed MAC on the side label too. Take the serial numbers from the nameplates: the documented software path returns the MAC, not the serial.
Troubleshooting
PLC IDE download stuck waiting for target to reboot after Modbus
The freeze starts the moment the RS-485 channel switches from disabled to enabled at the end of the download, so treat it as a conflict on the programming connection rather than a Modbus failure. Recover with one press of the reset button, then split the fault with three staged downloads: ladder only, channel only, channel plus block. Match the register addressing only after the download path is stable.
Troubleshooting
Fix a PowerFlex 70 start inhibit that mimics a comm fault
A PowerFlex 70 that answers RSLinx property requests but ignores PLC commands is start-inhibited, not offline: the recorded fix was bit 5 of parameter 277 [Start Mask], cleared from 1 to 0. Read parameter 214 [Start Inhibits] and compare parameter 277 between the running and inhibited axes — a difference of exactly 16 — before replacing the 20-COMM-E or touching DataLinks.
Troubleshooting
Fix Modicon 984 outputs that stay off in ProWorx32
When every BDAP-210 output stays off while ProWorx32 shows the coils ON, treat it as one shared fault, not four dead modules: verify the Traffic Cop output assignment, then the CPU-to-I/O link, then the 124 VAC source power measured at the module. Logic solved on screen never proves the command reached the terminal.
Troubleshooting
Why a CJ2M Modbus RTU master gets no answer from an S7-1200
Yes, a CJ2M can poll an S7-1200 over Modbus RTU. The simulators proved each PLC's serial settings, not the cable or the port mode between them: set the Omron port to the mode the MRTU_CPU_Master package requires, bring the send pair onto RDA and RDB for 2-wire operation, load the S7-1200 port at even parity, and confirm the frame on the wire with a known value.
Troubleshooting
Fix ABB IRC5 PROFINET word values with a byte swap
A word of 100 written from an S7-300 arrives at an ABB IRC5 Group Input as 25600: the PLC stores words big-endian, the Group Input reads the first byte as the low byte. Swap the two bytes in exactly one place, preferably an SCL block in the PLC, and the robot reads 100.