Intelligent Motion Systems 17 Network Card User Manual


 
46
MNEMONIC FUNCTION TYPE
HT Hold Current Delay Time Setup Variable
DESCRIPTION
The HT variable sets the delay time in milliseconds between the cessation of motion and when the MDrive Motion Control shifts to
the holding current level specified by the HC (Motor Holding Current) variable. The delay time is also effected by the MT (Motor
Settling Delay Time) variable in that the total time from motion ceasing to current change is represented by the sum of MT + HT
USAGE UNITS RANGE DEFAULT
HT=<time> milliseconds 0 to 65000 500
EXAMPLE:
HT=1500 ‘Set hold current delay time to 1.5 seconds
RELATED COMMANDS: HC, MT, RC
MNEMONIC FUNCTION TYPE
I1 - I4 Read Input I/O Variable
DESCRIPTION
This variable will read the state of the specified input 1 - 4. Can be used with PR (Print), BR (Branch) and Cl (Call Subroutine)
instructions. Can also be used with Ri-R4 and User Variables.
USAGE
PR I<1-4>
BR <addr>, I<1-4>=<1/0>
CL <addr>, I<1-4>=<1/0>
EXAMPLE:
PR I2 ‘Print the state of Input 2 to the Terminal Screen
BR 128, I3=1 ‘Conditional branch to program line 128 if Input 3 = 1
CL 432, I4=0 ‘Call subroutine at line 432 if Input 4 = 0
RELATED COMMANDS: IN, O1-O4, PR, S1-S4
MNEMONIC FUNCTION TYPE
HM Home to Home Switch Variable Setup Variable
DESCRIPTION
This instruction will find the selected I/O switch. There are four types for this command:
1) Speed (S): Specifies the direction and speed that the axis will move until the switch is activated (VM).
2) Creep (C): Specifies the direction and speed that the axis will move off the switch until it becomes inactive again (VI).
When HM is executed, the axis moves in the direction specified by the sign of speed at VM. It then creeps off of the switch in the
direction specified by the sign of creep at VI. Motion is stopped as soon as the switch becomes deactivated.
USAGE TYPES
HM=<type> 1: S- C+, 2: S- C-, 3: S+ C-, 4: S+ C+
EXAMPLE:
HM=3 ‘Find home switch at VM in the plus direction, Creep off at VI in the minus direction
RELATED COMMANDS: VM, VI, S1-S4