Multiple OTE

Jpfleegor

Member
Join Date
Oct 2010
Location
Pennsylvania
Posts
2
I have just recently taken a position as a programmer with a company and in one of the processors’ the have an multiple OTE that are the same. They call it reverse logic and it is in many routines and it is set as a controller scope tag. I have set a mock routine in our bench PLC and it acts very odd. Sets itself according to the scan time. Has anyone else seen this or used this. It seems like bad programming. The code is intense so maybe I am missing something though.
 
I have just recently taken a position as a programmer with a company and in one of the processors’ the have an multiple OTE that are the same. They call it reverse logic and it is in many routines and it is set as a controller scope tag. I have set a mock routine in our bench PLC and it acts very odd. Sets itself according to the scan time. Has anyone else seen this or used this. It seems like bad programming. The code is intense so maybe I am missing something though.

Most likely, the routines are called, and only one of those ladders is scanned at a time. I would prefer internal bits being used, as AB desperately needs an indication to show if a ladder is being scanned or not. Personally I don't like haveing to jump all over the program, to find which OTE is actually active.
 
I don't think it's a good practice to use real world outputs multiple times in a program. It's certainly allowable as long as you are careful, but I think it creates unnecessary headaches when troubleshooting.
 
I have seen it sometimes to save memory bits on some big programs on old PLC's. Debugging is not easy
 
Have any of you worked with the very old Siemens S5 110A?
It was common to use F0.1 as a carry flag multiple times in the program,
Particularly by German programmers.
It was written to in the segment before that containing the output.
Was a b##### to debug.

I have seen the same principle using M0.1 in some S7 code not so long ago.
Incidentally on a German system.
 

Similar Topics

Hi, I am hoping to acquire some help with control system network, specifically communicating with all my devices remotely. The devices I need to...
Replies
6
Views
3,408
It seems very bad to have one OTE address being used in more than one place, seems that only the last entry scanned is used? But what about the...
Replies
25
Views
8,251
Hello, I have someone here that is starting to learn programming PLC's and I set him up with a copy of Logixpro. He completed the garage door and...
Replies
3
Views
2,198
We are beginning to implement a program where we use iPods to view a proprietary program running on a Windows machine through RealVNC. This works...
Replies
8
Views
3,235
Hellow folks, I have encountered a problem with Intouch 9.5. Its on windows 2008 server. I have to remote connect from 2 different laptop with...
Replies
5
Views
2,195
Back
Top Bottom