ControlLogix "trap" Power Down

VulcPAC

Member
Join Date
Oct 2018
Location
Mallorca
Posts
21
Hi:
For ControlLogix.
Is there a way to "trap" when processor is powering down? This mean leave a bit latched or a value written to a tag? Is there a flag or a fault code that can be used?
I need to capture a value of counts from an absolute encoder in a DINT tag (encoder in a Powerflex that loose position when is power down), so when processor is power-up again, I can write that tag as a reference with the first scan bit.

Regards
 
I wonder if you can use an event task that triggers when the processor first loses power but still is on. Like maybe a minor controller fault or when it starts using the battery for a couple seconds before fully shutting down, I'm not sure what it would be but that's what I would try.
 
write the encoder value to a register every scan, if it's a long scan time, create a new routine with a 2ms execution time (or other time).
when the plc powers down, you have the last encoder position. it will be close, but not exact if the encoder has a lot of inerita. when the plc powers back up,
use the first scan bit to move the register info to a location.

the only downside to this - when the plc is powered down, what if maintenance moves the shaft the encoder is connected to?
just my thoughts.
james
 
write the encoder value to a register every scan, if it's a long scan time, create a new routine with a 2ms execution time (or other time).
when the plc powers down, you have the last encoder position. it will be close, but not exact if the encoder has a lot of inerita. when the plc powers back up,
use the first scan bit to move the register info to a location.

the only downside to this - when the plc is powered down, what if maintenance moves the shaft the encoder is connected to?
just my thoughts.
james
Thanks for your answer.
Fortunately this machine de-energizes when the motor is stopped so there are no inertia problems. In case this happens, when turning on the machine you must manually jog to a Home position and set the value there. The register that I need to retain is when they have stopped the encoder in a no home position. I'm going to try the 2 ms solution.
 
If it's an absolute encoder, why do you need to trap its value? Or is it really an incremental encoder that's homed after a power cycle?
Is an absolute encoder, but the routine in PLC that handle the logic is very "creepy" to modify, and it works with own values of position, offswt, home, final position, so it need to be referenced after a power up. Is not the encoder, is the auxiliary values that reference to that encoder.

Regards
 

Similar Topics

Why does the controllogix redundancy modules use a single mode fiber vs multimode fiber?
Replies
1
Views
86
Hello, I have two 16 point input cards and 1 16 point output card showing module faulted on my IO tree in Logix Designer. The fault code is...
Replies
7
Views
215
Hello, My associate and I are trying to sync up two ControlLogix racks (7-slot chassis) with identical modules. We are able to see the secondary...
Replies
4
Views
197
Trying to setup a message read via Ethernet. I have the path setup as 1, 1, 2, 192.168.66.10 I get an error code 1, ext err 315. I am beating...
Replies
9
Views
233
I have a redundant ControlLogix being set up. This program reads a value from a remote site which happens to be SLC PLC. Rockwell mentions SLC...
Replies
2
Views
96
Back
Top Bottom