Reverse parallel logic?

+1 for Daba's method, I always generate my own dummy and shorting flags (usually Steve_flag1, 2, etc). It is easier to cross ref to find.
If I remember correctly you can disable the shorted branch and AFI error trapping when you compile in the options.


Steve
 
When I'm walking away from a program that I've finished making changes on, I never leave AFIs or shorted branches. That's when I put the kit bit (what we call them) in place, usually and XIC XIO OTL rung at the top of the main subroutine, and then an XIC in place on any rung that was changed.

I just like using the AFI and shorted branches when I'm still working on the logic, as it doesn't cause any issues (just warnings, not errors) and if I've forgotten anything, I'm reminded as soon as I attempt to compile the logic changes.
 
We created a UDT with Bools and Reals and DINTS etc called user.

Then each Engineer has that UDT as their name.

That way we have everything we need in a simple UDT that we can use to temporarily add to code for fault finding etc.

Then we know exactly who has put it in.

Cheers

Mark
 
I remember you telling us about this in one of your classes in MK, still do it to this day as I thought it was such a good, simple idea.


It's good to know someone was listening, thanks janner_10 !
 

Similar Topics

Hi all, I'm having trouble solving a problem I've been working on for several months, and thought you might like a stab at it. The machine runs...
Replies
22
Views
920
I have a SX2 plc and i'm getting 0-10v analog signal,but i need 10bar analog output in 0v can someone explain how its done
Replies
2
Views
535
I'm trying to add on to a safety circuit and trying to make sure this is fail-safe. My safety scanner needs some muting when things aren't running...
Replies
8
Views
800
Hi, I have issue with acs800 starting the motor in reverse for like 5-6 seconds with a max speed of around -220 rpm before it goes to the...
Replies
10
Views
1,984
I am looking at a 1305 drive connected to a PLC5 via RIO. The drive is working and I was able to get a functional HIM working on the drive as...
Replies
3
Views
1,845
Back
Top Bottom