Controls Library
Earlier articles
How-to
How to recover a SYSMAC S6 program before replacing the PLC
The SYSMAC S6 has no software upload path: its program reads out through the 3G2A3-PRO16 handheld console as a mnemonic listing. Capture that listing before you remove anything, rebuild the sequence rung by rung in the replacement PLC with every timer and counter preset confirmed, and prove the new program against the I/O wiring before the machine runs.
How-to
How to read an SLC 500 integer into ABB robot RAPID
Configure the robot's DeviceNet unit and a 16-bit group input in EIO.CFG, add the robot to the scanner's scan list at 2 bytes, and read the word in RAPID with GInput, converting the two's-complement value when the SLC integer is negative. Socket messaging is a separate RobotWare option for custom TCP framing, not the path for one integer from a DeviceNet SLC 500.
How-to
Program a two-pump station with flowmeter pulses on an FX3U
Build the station in staged rungs: a master fault latch, a start/stop run latch, pump 1 on the level call, pump 2 after 30 s (T1 K300 on the 100 ms base) or on a pump 1 overload, and the flowmeter counted on high-speed counter C235 at up to 100 kHz, scaled to L/min as pulses per second × 60 ÷ K-factor.
How-to
How to connect WAGO remote I/O to a Siemens PLC
A WAGO 750 I/O station connects to a Siemens PLC as remote I/O when the coupler and the CPU speak the same protocol. For a new station use PROFINET: install the coupler's GSD in TIA Portal, place the station on the CPU's PROFINET network and assign its device name. On an existing PROFIBUS DP network, install the GSD and set a unique station address instead.
How-to
Getting FX1S programming software and an SC-09 cable the right way
Order GX Developer under code GX-DEV-C1 with its paid license, and a genuine USB-SC09-FX cable (SC-09 if the PC has a serial port), through Mitsubishi Electric or an authorized distributor. Connect read-only, upload the existing FX1S program before any teaching use, and send PC commands to data registers the ladder reads, never to X input terminals, which cannot be written.
How-to
Read MICROMASTER 440 fault and alarm codes over PROFIBUS
Yes: the fault and alarm numbers can ride the cyclic PROFIBUS telegram. p2051 selects which r-parameter each transmitted PZD word carries, so setting a spare index to the fault-number readout, r0947, delivers the fault number to the PLC every bus cycle. The relay output is a separate function that switches only if its own output-function parameter assigns it to the fault state.
How-to
How to assign V-memory values and scale analog in ladder
A V-memory register holds the raw module count, not volts: on a 12-bit 0–10 V channel, 2048 counts is just over 5 V. Load your own constants with LD k2048 and OUT V2000 on an SP0 first-scan rung, scale with E = Elow + (R − Rlow) × (Ehigh − Elow) ÷ (Rhigh − Rlow), and keep constants, arithmetic, and comparisons in one data format.
Troubleshooting
Why Ignition Modbus TCP tags read a Click PLC wrong
Ignition rejects the Click DF addresses because the 4- holding-register prefix is parsed as part of the register number; strip it and the tags create. Set the device to zero-based addressing under Show advanced properties when the values land one register off. DF floats occupy two registers each, so the map steps by 2; change word order only if floats stay wrong.
Explainer
Why Ignition SCADA does not support Windows XP gateways
No. Ignition 7.7 requires Java 8, and Oracle dropped Windows XP support at Java 8, so XP is not a supported gateway platform, though an XP workstation can still run a Vision client on a Java 6 runtime. The correct fix is a gateway backup and restore onto a supported host, with the license deactivated on the old machine first.
Troubleshooting
Why Do-more MATH truncates your integer division result
A Do-more MATH expression whose operands are all integers is evaluated entirely in integer math, and integer division truncates instead of rounding. Write one operand as REAL — 1440.0 instead of 1440 — or wrap the operand in TOREAL(), and every remaining operation runs in floating point.
Troubleshooting
Why an S7-1200 watch table reads zeros from a PROFINET gateway
If the gateway home screen reports PROFINET idle mode, the S7-1200 is not in RUN and no cyclic I/O moves, so every watch entry reads zero even though Modbus registers are mapped. Put the CPU in RUN first; if zeros persist, watch the gateway's assigned I addresses rather than memory, and use peripheral access when those addresses exceed the process image.
How-to
Migrating S7-300 projects from STEP 7 v5.5 to TIA Portal
You can migrate an S7-300 project from STEP 7 v5.5 into TIA Portal with the migration tool, but the converted project goes online without showing online blocks: timestamps in the CPU no longer match, so TIA treats the program as inconsistent and wants a full transfer after any change. Keep the classic toolset for large programs and firmware updates; use TIA for small S7-300 projects that gain a unified project with an HMI or an S7-1200.