reading from a CF during Powerup

sunnyvaleplc

Member
Join Date
Sep 2009
Location
sunnyvale
Posts
12
Hello everyone,

I am reading and writing to a compact flash in the compactlogix L32E controller. I wanted to know, how can I read from the compact flash JUST ONCE during the Power up only.

I need this, to re-instate the tag values that were changed before power cycle.

I have tried the S:FS and the power-up handler and both doesn't seem to work. I can read from the CF during normal operation, so I know the reading part is definetly working.

How do I just read only once after a power cycle ?

Thanks,

sunnyvaleplc
 
I'm guessing that the PLC isn't quite ready to read from the CF card when you are trying to.

Latch a bit on the first scan of the processor. Don't allow normal read/write access any time the bit is set. Perform a separate read to determine only if any reads are successful (I assume that an unsuccessful read will throw an error). Once you get a successful read, trigger the restore read from the CF card. When that read completes, reset the latched bit and allow normal reads and writes to continue.

Keith
 

Similar Topics

Hi, I've been wondering when DB an M areas of S7 PLC are read during scan loop. I want to block some of the events coming from WinCC ( DB -> M )...
Replies
3
Views
2,200
Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
163
Hi all, i have 8 CJ2m plc units that show different numbers on the plc display and i am stuck on reading the info. my unit has an ip address of...
Replies
3
Views
110
Hi Everyone, I am not proficient in RSLogix 500 so I have a question regarding the evaluation of N7:0 data as an input. So as I understand in...
Replies
1
Views
88
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
237
Back
Top Bottom