Sequence instruction for S7 and positioning

WilsonNC

Member
Join Date
Dec 2010
Location
Murphy
Posts
24
Is there a sequencer instruction for S7, or does anyone have a function for one. I want to index a pointer into a DB of 20 DINT's. The outputed value will then be added and subtracted with another "window" value. The new value will be compared to the DINT value coming from a POS338 module. Sort of a crude position method, but it works fine with AB logic.

Does anyone have any ideas on the easiest way to accomplish this?
 
Example function to return the indexed value from an array of DINTs shown in the attached project.
 

Similar Topics

Hi, Im looking for someone who has experience with PLC Programming that can help me out with a problem with a circuit I am trying to make...
Replies
1
Views
1,596
What type of electromechanical switch does a sequence instruction replace?
Replies
4
Views
2,076
To sequence through multiple MSG instructions with a Studio 5k program what are some preferred methods?
Replies
6
Views
519
Hi everyone, I am a newbie and I have trouble in the control sequence. I have a system with 4 pumps. The required: Ex: Push a button to start in...
Replies
21
Views
2,769
Hello, I am having some trouble trying to use Port 2 on the direct logic (250-1) for K-sequence. I am trying to use RS-232, I have a breakout...
Replies
0
Views
552
Back
Top Bottom