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

Hi all. What is the purpose of that block (MVM) when used with a 2#1111_1111_1111_1111 mask in that situation? I'm really hoping there is...
Replies
5
Views
68
Customer is adding an extension rack to an existing A22. They wired and powered it up, I configured the new cards in the PLC starting from slot 23...
Replies
1
Views
62
I have got an Rockwell PLC 1769-L36ERMS . I have assigned a IP address to it . But every-time I Reboot the PLC it looses Communication to my PC...
Replies
1
Views
84
Hi all. I have 1793-IE4 (4)analog inputs modules in a 1794-ADN IOFlex DeviceNet Rack. I cannot find if I can I have access to individual channel...
Replies
1
Views
43
Hi All, Wondering if anyone has a source for information about products with problematic production runs from allen bradley/rockwell. Ive seen...
Replies
2
Views
142
Back
Top Bottom