Rockwell MAJ execution question

BAJ

Member
Join Date
Jan 2006
Location
Maple Grove, MN
Posts
201
In the past if I needed to change the jog speed every scan I used two identical MAJ blocks with a toggle bit to switch which one is "on" and which one is resetting every-other scan to satisfy the off-to-on edge triggering of the MAJ.

I just came across someone else's code and see they are doing an unlatch coil (OTU) of the MAJ Motion Control instance variable ".EN" right before calling the MAJ - does this work to create the edge trigger? It would be cleaner than my way if it does.

It's been my understanding the MAJ block needs to be solved with the input pin false to see the edge transition.

I only have access to the offline copy of the program and no motion axis to test with in my office. Any input will be appreciated.

Thanks,
-Brad
 
DaveW, I believe the MCD instruction is edge triggered as well so it would suffer from the same limitation as the MAJ in this case. You could build a sequencer that cycled between two MAJs to the same axis or between an MAJ and an MCD to satisfy the alternate scan issue.

I have programmed several closed loop tension axes using Rockwell motion and have used the OTU of the EN of a jog to allow updates every scan. I have never run across any issues with this.

Keith
 
DaveW, I believe the MCD instruction is edge triggered as well so it would suffer from the same limitation as the MAJ in this case. You could build a sequencer that cycled between two MAJs to the same axis or between an MAJ and an MCD to satisfy the alternate scan issue.

I have programmed several closed loop tension axes using Rockwell motion and have used the OTU of the EN of a jog to allow updates every scan. I have never run across any issues with this.

Keith


Thanks Keith, my thoughts exactly. Thanks for confirming the OTU works.
 

Similar Topics

I have a PH meter that I am trying to bring its data into 1756-L81. I have downloaded the Rockwell MODBUS AOI kit, but I am not sure if I need to...
Replies
4
Views
88
Hi all. Customer wants analog faceplates really bad, even if we explained that it doesn't make much sense in his process. What he wants to see...
Replies
5
Views
93
Hello, recently I saw a graphic from any Rockwell App, I cant identify which one is. Attached a SS. Its used to see dashboard from datapoints and...
Replies
2
Views
127
I'm working with a project that contains some routines in ST but mostly in ladder. Am I correct in assuming this 'rung': DB1001DO._01AV55_OPEN :=...
Replies
4
Views
112
I noticed in Rockwell AOIs, they add a BOOL Output parameter at the end of the "Parameters" list of each AOI that carries the same name as the...
Replies
1
Views
72
Back
Top Bottom