Parker Hannifin VIX250IM Stepper Machine User Manual


 
4. CONTROL OF VIX DRIVES 65
SN Description
reserved.
ST Description
See reporting of status bits in Reporting the Status of Variables.
TT Description
The trigger timeout can be set or read using TT. If a timeout occurs status bit 8 is set high.
Note: Setting a value of 0.00 results in NO trigger timeout.
Example:
1W(TT,1.5) ;timeout after 1.5 seconds
1G ;do the move
1TR(IN,=,1) ;wait for input 1 to activate or timeout
1IF(ST1,=,XXXXXXX1) ;check for timeout
1GOTO(TOUT) ;jump to TOUT routine
1IN1 ON ;else display message over comms. link
. ;continue code
Reporting the Status of Variables
By examining Table 4-2 you can see that most system variables take a numerical value or
record a simple ON/OFF state (0 or 1 Flags). Certain variables perform a reporting function
which provides you with information on the status of the indexer and any drive faults present
in the hardware or user program code.
Status Variable Reporting
Variable ST is a 32-bit double word that contains status information.
When read, ST reports a 32-bit double word pattern of the form:
*0000_0000_0000_---32 bit wide double word---_0000
1458 32Bit No.
Where a bit is set (displayed as a 1) its bit number can be determined and compared with
the bit number value given in Table 4-5 to determine the Status Information being reported.
Use the Read command to display the ST word pattern, that is aR(ST).