help finding sample code for 'steps'

bledet

Member
Join Date
Mar 2007
Location
New Orleans
Posts
20
I've been searching for an hour with no luck. Not sure if I saw it here, on AB's knowledge base, or another site. What I am looking for is sample code for 'stepping' through a process where the code verifies the step has been completed before moving on. I have found some sequencing examples, but I remember the code I saw was much simpler. Any ideas of what I am looking for or a better search term to use?
 
bledet said:
I've been searching for an hour with no luck. Not sure if I saw it here, on AB's knowledge base, or another site. What I am looking for is sample code for 'stepping' through a process where the code verifies the step has been completed before moving on. I have found some sequencing examples, but I remember the code I saw was much simpler. Any ideas of what I am looking for or a better search term to use?

In Mitsubishi speak its called an MC and enables the vertical potion of the branch after a certain condition has been met, is that the sort of thing you are after ?
 
simple is always better.
Use integer files, when the step is complete move the next step number into the step engine integer file. Use equals to enable the next step, complete the step then move the next step number into the engine. You get the idea, works well from re starting from a specific step number, go back, jump three steps, whatever, works very well.
 
Another easy way is to use a counter. Each off / on transition pulse to the counter is a step. Make logic after counter compare the acc value to turn on outputs. When the sequence is done reset the counter and start over.
 

Similar Topics

Hi all, I'm in the process of upgrading a PanelView1200 HMI program to be developed in FactroyTalk View Studio. The filetype for PanelView 1200...
Replies
7
Views
286
I have reached a dead end trying to find an EDS file. Manufacturer says to contact third party tech support. Clueless. RSLINX can see it, just...
Replies
9
Views
1,809
Hi, I work in a brewery in North Carolina and I need some help finding the output current for a VFD in the PLC. First off I am new to working with...
Replies
5
Views
1,337
Hi all, Where can I find the latest hardware series information on Rockwell's Literature library? Specifically a 1756-85E. I want to know the...
Replies
6
Views
1,966
Does anyone know where to find pre made circuit cards w/ toggle switches on them. Like those ones that the sales people would have on their test...
Replies
1
Views
988
Back
Top Bottom