Troubleshooting
Why an MOV fails on the SLC 500 PID control mode bit
Short answer
An MOV fails on the SLC 500 PID control mode bit because MOV writes a whole word and the mode is the single bit at word 0, bit 2. Delete the MOV and drive N97:0/2 with an OTE: rung TRUE selects direct acting, rung FALSE selects reverse acting, and no other bit in the control block changes.

On this page
- Why does RSLogix 500 reject an MOV to N97:0/2?
- Which bit in the SLC 500 PID control block selects direct or reverse acting?
- How does an OTE write one bit of the control block?
- What does a whole-word write do to the PID status word?
- How do I toggle the mode from a pushbutton or an HMI toggle?
- How do I prove the direction change before the loop runs?
- What if the mode bit will not hold or the loop still runs backwards?
- Questions asked
RSLogix 500 is not misbehaving when it refuses that move: a MOV is a word-level instruction, and the SLC 500 PID control mode is a single bit — word 0, bit 2 of the instruction's control block. A bit address cannot be a MOV destination, so the edit fails verification before the scan ever runs it. The fix is to stop moving words and write the bit directly: put an OTE addressed to N97:0/2 on a rung driven by your direct-acting selection. Rung TRUE sets bit 2 for direct acting, rung FALSE clears it for reverse acting, and the other fifteen bits of the status word stay as the instruction left them. The sections below cover why the move fails, what bit 2 does, the OTE rung, what a whole-word write would damage, and how to prove the change on the running loop.
Why does RSLogix 500 reject an MOV to N97:0/2? #
RSLogix 500 rejects that instruction because a MOV is a word-level move: its destination must be a whole element such as N97:0, and the bit address N97:0/2 names only one bit inside the word, so the operand check stops the rung at verify time.
A MOV copies a 16-bit source value into a 16-bit destination element. The SLC 500 Instruction Set Reference Manual, publication 1747-RM001, defines the destination as the address that receives the source value, and an address with a bit qualifier selects one bit of an element — there is nothing at a bit address for a move instruction to fill. The same word-versus-bit split is what trips word-level references to bit data in why a WORD bit reference fails in ladder logic and how to fix it. Watch the nearby trap: a MOV with destination N97:0, no bit qualifier, verifies without complaint, and that version transfers the whole status word at once — the more destructive of the two attempts.
Which bit in the SLC 500 PID control block selects direct or reverse acting? #
Word 0, bit 2 of the PID control block holds the control mode: 0 selects reverse acting and 1 selects direct acting, so with the control block in data file N97 the selection lives at address N97:0/2.
The control block is the block of words in an integer file that you entered as the PID instruction's first operand — N97 in this setup — and word 0 is the status word where the instruction maintains its operating state. Bit 2 carries the acting selection. Cleared, the loop is reverse acting, the choice for a process where the output must fall when the process value rises above the setpoint; set, the loop is direct acting. The PID setup screen in RSLogix 500 shows the same acting choice, and editing it there writes this same bit: two doors into one bit. That is why a loop with everything else working — setpoint tracking, process value, tuning, auto and manual — while only the mode write fails points at the bit write, not at the instruction.
How does an OTE write one bit of the control block? #
Put an OTE addressed to N97:0/2 on a rung driven by your direct-acting selection condition: when the rung is TRUE the OTE sets bit 2 for direct acting, and when the rung is FALSE it clears bit 2 for reverse acting.
An OTE writes exactly the bit in its address, every scan: TRUE sets it, FALSE clears it, and no neighboring bit moves. That per-scan rewrite is what the mode needs, because the selection then follows its condition instead of being a one-time event the loop can lose.
B3:0/5 N97:0/2
────────] [──────────────────────────(OTE)────────
direct-mode select
(illustrative address)
B3:0/5 is an illustrative address; use the binary bit your project keeps the selection in. FALSE on the rung selects reverse acting, TRUE selects direct acting, and the edit is done. Run the cross-reference report on the mode bit afterward and keep exactly one instruction writing it: a second writer turns the mode into a race that depends on rung order. If the rung carries other conditions or you want the OTE beside other outputs, rung structure like that is covered by multiple outputs on one SLC 500 ladder rung.
What does a whole-word write do to the PID status word? #
A MOV source of 1 delivered to word N97:0 would store 2#0000000000000001, decimal 1: bit 2 goes low for reverse acting, but every other bit in the status word is forced low at the same time, including bits the instruction itself maintains.
Worked example with illustrative values — your word holds whatever your loop has put there. Say N97:0 reads 2#0000000000000111, decimal 7, with bits 0, 1 and 2 set. The rung goes FALSE, the OTE clears bit 2, and bit 2 carries 2² = 4, so the word becomes 7 − 4 = 3, or 2#0000000000000011: the mode changed and every other bit kept its state. A MOV source of 1 aimed at the word stores the literal 1 instead — 2#0000000000000001 — forcing bits 1 and 0 low no matter what the instruction had put there, and a MOV source of 0 clears the whole word at once. The single-bit write subtracts 4; the word write overwrites the word.
The instruction maintains its status there as the loop runs, so a whole-word store from your logic competes with the instruction on every scan. No source value makes a word write to the status word safe — 0 and 1 both prove the point, with different collateral.
How do I toggle the mode from a pushbutton or an HMI toggle? #
Drive the OTE from a maintained condition, not from the pushbutton contact itself: a momentary input is TRUE only while it is held, so store the selection in a retentive binary bit and let that bit drive the OTE on the mode-bit rung.
A seal-in rung or a set/reset pair on a binary bit holds the selection across scans and screen presses. An HMI toggle addressed to that binary bit works the same way — the screen writes the selection bit, the ladder writes the control block — and the two stay separated. Keep the toggle away from the mode bit itself: a screen and an OTE driving the same bit is exactly the two-writer race the cross-reference check exists to catch. If the operator needs to see the current acting mode, read the mode bit on the screen rather than writing it from the screen.
How do I prove the direction change before the loop runs? #
Trend the setpoint, the process value, the mode bit and the PID output together, then test in manual or against a controlled process: a small, known error must push the output in the direction that moves the process value toward the setpoint.
Reverse acting means the PID output decreases as the process value rises above the setpoint; direct acting means it increases. A changing bit proves your write works, not that the loop action matches the process — measurement scaling, actuator action and field wiring all sit downstream of the bit. Step the setpoint by a small, known amount and read the trend: the output must drive the process value back toward the setpoint. If the output moves the process the wrong way, return the loop to manual before changing anything, then flip the selection — retuning gains cannot repair a reversed acting mode, it only reshapes a wrong output.
What if the mode bit will not hold or the loop still runs backwards? #
Three cases decide it: an editor error means MOV cannot take a bit destination, a mode that will not hold means another writer or a momentary condition overwrites the bit, and a process that runs away from setpoint means the selection or the final element is backwards.
- Verification flags the MOV rung — the destination is a bit address, and a MOV destination must be a word element. Delete the move and write the bit with the OTE.
- The mode reverts on its own — a second rung, or an edit made on the PID setup screen, is writing the same bit. Cross-reference the mode bit and leave one writer.
- The selection drops when the operator lets go — a momentary contact is serving as the state. Store the selection in a binary bit and let that bit drive the OTE.
- The bit changes but the loop acts unchanged — the OTE is pointed at a file the PID instruction does not use. Check the control block operand on the instruction and write the bit in the file it actually references.
- The output drives the process value away from the setpoint — the acting selection or the final element is reversed. Return the loop to manual, flip the selection, and retest before touching tuning.
Decision: replace every move aimed at the acting mode with one OTE addressed to the mode bit, driven by a maintained selection bit that nothing else writes. If the editor complains, the destination was a bit address; if the mode will not hold, remove the competing writer; if the process runs away, the selection or the final element is reversed — and tuning is not the fix for any of the three.
Questions asked
Can I use OTL and OTU instead of an OTE for the control mode bit?
Yes. An OTL sets bit 2 and an OTU clears it, and each holds its state until the paired instruction runs, which suits a two-button station. The trade-off is retention: a latched mode survives a power cycle and comes back from a restart as it was, while the OTE form re-derives the mode from its rung condition on every scan after power-up. Pick the OTE when the mode must follow a condition, and the latch pair when it must remember an operator action.
Can I change the acting mode from the PID setup screen instead of in ladder?
Yes, and that is the right tool for a commissioning decision that should not change at runtime. The setup screen writes the same selection into bit 2 that your OTE writes, so a value edited on screen and a value driven by logic are two writers on one bit. Decide which one owns the selection: if the running logic must toggle the mode, make ladder the only writer and treat the screen entry as the initial configuration.
Why does my loop still run reverse acting when the mode bit reads 1?
First confirm the file: an OTE pointed at a file the PID instruction does not reference changes a bit nobody reads, so match the address to the instruction's control block operand. Then check the field: a fail-open valve or a normally closed contact in the final element inverts the apparent direction of the loop downstream of a correct controller calculation, and no bit value fixes that.
What changes if the control block sits in a different integer file?
Only the address prefix. Word 0, bit 2 is the acting selection wherever the control block lives, so a block at N7:0 is driven by an OTE to N7:0/2 the same way the N97 block is driven at N97:0/2. Take the file from the control block operand on your PID instruction — the instruction reads that file, not the one your logic assumes.
