Latch functions, Latch attributes, Long latchgetautomode(long channel) – Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual
Page 92: Latch functions -52, Latch attributes -52, Long latchgetautomode(long channel); -52

Publication 2098-PM001E-EN-P — July 2002
2-52
Referencing the Motion Library
Latch Functions
Latch functions control registration events. The table presents the
function names for each function in this category along with a brief
functional description. Detailed descriptions of the functions follow
the table.
long LatchGetAutoMode(long channel);
Returns the auto mode state of a channel latch. The channel argument
selects the latch channel to status.
Valid channel arguments are:
• 1 = Primary motor latch
• 2 = Secondary motor latch
• 3 = Primary auxiliary latch
• 4 = Secondary auxiliary latch
Valid mode returns are:
• 0 = Disabled
• 1 = Enabled
Use these functions:
To:
• LatchGetAutoMode
• LatchGetCount
• LatchGetOutput
Get latch attributes.
• LatchOnIndex
• LatchOnInput
• LatchReset
• LatchSetAutoMode
Arm a registration event
that stores the motor
encoder position or
auxiliary encoder
position on the specified
edge of a digital input or
encoder index.
Query latch status.