Chapter 6 - IDeal
™
Command Reference
81
Example 1
: Basic Move Continuous syntax. D e m o n s t rates how to ch a n ge speed and
stop MC moves based on time delays and input conditions.
MC+
E n able Move Continuous on axis 1
AC.1
Set the acceleration ra t e
V E 5 0
Set top speed to 50
GO
S t a rt the Move Continuous move , command processing will continu e
when axis 1 re a ches constant ve l o c i t y
TD2
D e l ay for 2 seconds at speed
VE25 GO
Decel to 25|
WT111
Wait for inputs 1,2, and 3 to go active
VE0 GO
Stop the move
Example 2
: D e m o n s t rates how to prompt an operator for speed ch a n ges on a single-
axis Smart D ri ve .The move is started after the initial velocity pro m p t .The velocity only
ch a n ges when the operator enters a new value via the key p a d .The move can be
stopped by entering a velocity of zero , or when any of the stop conditions defi n e d
ab ove ex i s t .
[One Axis MC]
MS1,"Enter the Ve l o c i t y "
P rompt the opera t o r
I V 2 3 , ( V )
Put the operator input in va ri able (V)
MC+ AC 1
VE(V)
Use opera t o r - e n t e red va ri able (V) as new speed
GO
C h a n ge velocity of axis 1 to the new speed
GT[One Axis MC]
R e p e a t
Example 3
: D e m o n s t rates how to prompt an operator for speed ch a n ges on a two - a x i s
S m a rt D ri ve .
[ Two Axis MC]
MS1,"Enter the X Ve l o c i t y "
P rompt the opera t o r
IV23,(V1)
Put the operator input in va ri able V 1
MC+ AC1
E n able MC and set acceleration on axis 1
VE(V1)
Use operator inputted va ri able (V1) as new speed
G O
C h a n ge velocity of axis 1 to the new speed
MS1,"Enter the Y Ve l o c i t y "
P rompt the opera t o r
IV23,(V2)
Put the operator input in va ri able V 2
MC,+ AC , 1
E n able MC and set acceleration on axis 2
VE,(V2)
Use operator inputted va ri able (V2) as new speed
G O
C h a n ge velocity of axis 2 to the new speed
G T [ Two Axis MC]
R e p e a t
Example 4
: D e m o n s t rates the use of W T, OT and TD commands in continuous move .
MC+ AC3 VE3 GO
S t a rt fi rst segment
WT8,1 AC.1 VE10 GO
Wait for input 8 and ch a n ge speed
TD5 AC.3 VE.2 GO
Wait for 5 seconds and ch a n ge speed
WT3,1 VE-10 GO
Wait for input 3 and ch a n ge speed and dire c t i o n
OT11
Tu rn on outputs 1 and 2
TD10 VE0 GO
Wait 10 seconds and stop the move
Example 5
: D e m o n s t rates two-axis joy s t i ck control with a Smart Dri ve .The contro l
must be equipped with two analog inputs (in this case we assume AI9 and AI10) and be
connected to an ex t e rn a l , user supplied joy s t i ck .
Summary of Contents for B8961
Page 111: ...109 Chapter 7 Programming with Serial Communication...
Page 132: ...B8961 and B8962 User Manual 130...
Page 136: ...B8961 and B8962 User Manual 134 B8961 and B8962 Hardware Connections...
Page 137: ...135 Chapter 8 Hardware Reference B8961 and B8962 Input and Output Schematics...
Page 138: ...B8961 and B8962 User Manual 136 Connecting IDC Limit Switches to the B8961 2...
Page 156: ...B8961 and B8962 User Manual 154...