Controls Library
Earlier articles
Troubleshooting
Fix the mnemonic editor unknown instruction error in V21
The tag is valid; the V21.00 mnemonic editor is failing to bind it after an XIC or XIO because the Excel-built tag import left near-duplicate names and the parser works from a stale cache. Export the tags, delete the duplicates, re-import, prune and compact the project database, then patch to Logix Designer V21.03 with the controller firmware. Build rungs by click and drag until the patch is in.
Explainer
How to connect a laptop to an SLC 500 serial port
Use the 1747-PIC only when the port is DH-485 — fixed SLC 500s, 5/01s, 5/02s and Channel 1 of a 5/03. On a 5/03, 5/04 or 5/05, Channel 0 is an RS-232 DF1 port that connects with a plain null-modem cable at 19200 baud; on a laptop without a serial port, the 1747-UIC replaces the PIC.
Troubleshooting
Fix CODESYS PROFINET IP-change error on an S7-1200 link
The station shows in the scan because DCP discovery answers, but the connection fails because the CODESYS runtime refuses the IP address the controller assigns. Enable the IP-address update for the bound Ethernet interface in the runtime's .cfg configuration and restart the runtime; the error names the fix itself. If you would rather not enable it, set matching fixed addresses on both sides.
How-to
Connecting MicroLogix 1200 PLCs to SCADA through a Net-ENI
Yes, you can leave each MicroLogix 1200 untouched when its Channel 0 already runs DF1 full-duplex, because the 1761-NET-ENI speaks DF1 on its serial side; only a controller configured for DH-485 needs RSLogix 500 to switch the channel and a redownload. Give each Net-ENI a unique Ethernet endpoint and bind each InTouch tag group to its own controller path.
Selection guide
S7-300 vs Q series IEC 61131-3 language support
Both platforms meet IEC 61131-3 once you buy the right toolchain: S7-GRAPH gives the S7-300 sequential function chart with function block calls from steps, and GX Works3 gives the Q series the SFC nesting that IEC Developer V5.0 lacked. With languages equal, integrated motion decides: one QD77MS16 module synchronizes 16 axes over SSCNET III/H at a 0.222 ms cycle, while the S7-300's 4-axis FM 357-2 is discontinued. Choose Q with GX Works3 for new multi-axis machines; stay with Siemens only inside an installed S7-300 base.
Troubleshooting
Fix a FANUC robot CIP Safety fault after adding a second robot
Change the Time field in the Safety Configuration Signature from the 1:00:00am shown in the FANUC setup video to 12:00:00am and re-apply the Safety Network Number; that cleared the fault in a reported two-robot cell. Give each robot its own IP address and module entry, and convert PLC 8-bit sizes to robot 16-bit words — 44 becomes 22.
Troubleshooting
Fix the CODESYS duplicate controller IP error in ctrlX PROFINET
The message means the controller side has no valid unique address: the Ethernet node is unbound (IP 0.0.0.0) and the drive never received its project address. Give the ctrlX CORE adapter a static, non-overlapping address, bind it at the Ethernet node with Browse, then select the scanned drive and press Auto-IP.
How-to
Connecting Modbus devices to a ControlNet system
No box translates ControlNet producer/consumer packets into Modbus transactions. Every working link terminates both protocols in one device and bridges through a mapped data table: a ProSoft 3100/3150-MCM module in the Allen-Bradley chassis, a standalone FieldServer, SST or Anybus ControlNet to Modbus gateway, or a Logix controller acting as data concentrator. Choose the module when one controller owns the data, the gateway when two established systems must exchange it.
How-to
Mapping standard PLC tags into a safety program
Yes — Studio 5000 Logix Designer documents a standard-to-safety tag mapping that copies a controller-scoped standard tag into a safety-scoped tag, and the pair must be controller-scoped, of matching data types, with no aliases. The copy stays standard-domain data whose integrity you own, so map diagnostics such as a scanner checksum and take protective signals from CIP Safety or hardwired OSSDs.
Troubleshooting
Why an AB7961 gateway will not link an FX5U to EtherCAT
The AB7961 is a CC-Link IE Field slave expecting the 1 Gbps deterministic network, while the FX5U's built-in Ethernet port serves CC-Link IE Field Basic, a software-based protocol on ordinary Ethernet. The two never form a network, so no register mapping exists. Replace the AB7961 with a Modbus TCP-side gateway such as the AB9000 and serve Modbus TCP from the FX5U's Ethernet settings.
How-to
How to change an S7-300 IP address without breaking the machine
The IP address belongs to one Ethernet interface — the CPU's integrated PN port or a CP 343-1 in the rack — and changes in one place: that interface's hardware configuration, downloaded alone from the STEP 7 project the machine was built with. Record the old address, mask and router first, then update every partner that stored the old address. If the only need is access from another network, a one-to-one NAT leaves the controller untouched.
Selection guide
DH+ or Profibus for peer-to-peer PLC-5 messaging
Use DH+ for the ten-controller peer backbone: every PLC-5/30 has the link on its 3-pin connector and the MSG instruction is the native mechanism, while Profibus DP is a master/slave bus for decentralized peripherals. Add Profibus only as a device-level segment where an instrument demands it.