Jump to content
OMRON Forums

Position compare auto-increment


mburnett
 Share

Recommended Posts

ACC-24E2A and UMAC Turbo PMAC2 CPU

Trying to use the auto-increment feature on Channel 3 of the ACC-24E2A. It triggers once and increments for the next position (values in M308 and M309 change to the proper values) but doesn't seem to trigger at the next position. From reading the documentation it appears that once set up it should continue to output the EQU pulses at even intervals. I must be missing something.

 

; set up axis 3 (Y infeed) to generate EQU pulses

M310=INT(M392) ; Set auto increment to integer portion of axis multiplier

M308=M301+50 ; set position compare A (counts) equal to the current position +50

M309=M308+10 ; set position compare B (counts) for 10 (counts)

M312=0 ; ENC3 compare initial state

M311=1 ; Enable direct write (resets immediately to 0)

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...