PLC program for detecting Run mode status loss

Some PLC's have diagnostic buffers or power down/ stop routines (these detect a power loss or stop instances) and can either write error codes to a buffer or even run a short bit of code before shutting down, not sure about ML though.

No, the Logix500 series only have a battery for memory retention, it cannot supply enough power for the CPU to keep working, even for a few hundred clock cycles.
 
we're fully derailed now.

Isn't that cheating ? lol

If you're not cheating, you're not trying.

I owe my career to my Atari competitiveness.

I won the Asteroids contest for the state of Oklahoma and 1st prize was an Atari 400. That's how I learned about BASIC, ATASCII, sprites, bitmaps, binary, hexadecimal, Assembly Language, vertical blank interrupt routines etc.

A year or two later, I discovered girls, cars and beer and forgot about computing until I got into Maintenance Tech class.

It was pretty easy for me to pick up all the number systems and scan order basics, so I became known as the "PLC guy" due to the fundamentals I had learned as an Atari PC hobbiest.

Thanks Nolan Bushnell!

🍻
 
If you're not cheating, you're not trying.

Loving it !

Many moons ago, our college bar had a pinball machine that was always breaking down, so the engineer was on-site regularly (nearly as regular as the bar customers, to be honest !).

Anyway, one day when he went back to his van to get parts, one of the lads borrowed a can of hairspray off one of the girls, and liberally coated the "tilt" pendulum with it... Of course he made sure this girl was close by when he returned, just giving her hair a spray as he walked up to the machine. :p
 
If unusual odor or abnormal noise is detected with the training machine (X/Y table, ... operation status of the PLC and program can be monitored with the personal computer screen, so if. When creating a circuit, make sure to set the mode to "Write Mode". Select from. Stored data in an EEPROM is not lost at power failure. Thank You!
 
If I ever detect an unusual odour at work, I always remember the saying "He who denied it supplied it", and carry on without further comment.
 
Getting back to the original post:
Use the first pass bit to set a retentive bit that drives an output so that if the processor goes to stop then back to run it turns an output on, will need to reset the bit either with the IDE or an input to turn it off.
Other things could be store RTC etc. in a set of integers using the first pass bit to shift the RTC values in a file & update with last first pass.
This will give you the time it went back into run at least.
 
vertical blank interrupt routines etc.


VBI boo-yah!


I once wrote a program on spec to replace the aging ticker on the front of the NYSE. To make it smooth, I needed to query the VBI. That also meant my ticker rate (pixels per time) was an integral of the vertical refresh. Since the rate of quotes was stochastic but basically a constant mean, that meant if I picked one pixel rate, I would either empty my buffer or overfill it. I ended up doing the latter and throwing quotes away (who would notice?). The multiple was a small number (1 or 2 or 3, IIRC), so changing the rate did not look good.


Anyway, the funny part happened later. Before I had the VBI-driven fixed rate, I varied the ticker rate to keep the quote buffer from either running empty or overflowing. Me being a chem eng, I modeled it as a level control. I drew some help menus with a schematic of a tank (quote buffer) and a pump with a control valve (ticker rate). Now I wasn't there at the time, but my client told me that some upper-level C?O came to the demo. One of his underlings actually brought up the (by now obsolete) help menu to the show the top dog how clever this program was. I would have loved to see the look on that manager's face.
 

Similar Topics

Hi, I am new to ladder logic. I have completed a code in the Xinje PLC XC3-32RT-E for one of the machines I am developing. Currently the program...
Replies
6
Views
101
Hi everyone i have a customer, who wants to show an alarm on the machine, if the I/O forces are enabled and set, on at ControlLogix L81E with...
Replies
3
Views
138
Hello all, I have an ABB PLC (PM573) and it has without MC card. I need to take backup from PLC to PC (in automation builder v2.7 ). My...
Replies
5
Views
163
Hi everyone, I want to upload the program from my CPU317TF-2 DP to my PC via connecting to CP 343-1 Advanced since it has LAN ports and the CPU...
Replies
1
Views
119
Hi there! This is something so old and having machine with it....... Last time unit was powered around 3yr ago and it did not work since than...
Replies
5
Views
186
Back
Top Bottom