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,192
Dear all, I don't know why setup of password became challenging and weird. After setting up the password and try to upload the ladder from the plc...
Replies
3
Views
91
hi all, i have a plc i need to get info from for a site im working on: I have a 1764 Micro Logix 1500 LSP Series C (See Attached Image) im...
Replies
2
Views
351
Hi to everybody. I need to read the first 12 characters of the message that a barcode reader sends to the ascii card (1734-rs232 ascii) and I...
Replies
8
Views
685
Hey, I have a PowerMonitor1000 I'm using for voltage control. The problem is it doesn't seem to read voltage until it gets to about 200V...
Replies
0
Views
355
Back
Top Bottom