Parker Hannifin acr-motion max api users guide Manual Do Utilizador

Página de 22
API Users Guide
API Command Descriptions  -  19
Reset
Description
Setting these bits in an Option Button will effect a feed hold to the Card
This is not an API function but how we effect a Reset
Returns
Nothing
Arguments:
None
VB Example:
Private Sub ResetBtn_Click ()
Call AX_BitOn (130) 'set reset bit …Stop Program and reset to line 0
Auto/Step Mode
Description
Setting these bits in an Option Button will place control in Auto/Step mode
This is not an API function but how we effect a Reset
Returns
Nothing
Arguments:
None
VB Example:
To Set control System in Auto Mode
        
 Call AX_BitOn (133) 'Set Auto/Step Mode Bit=1
        
 Call AX_BitOn (134) ' RunMode bit on
To Set control System in Step Mode
        
 Call AX_BitOff (133) 'Set Auto/Step Mode Bit=0
        
 Call AX_BitOn (134) ' RunMode bit on