Command Descriptions
45
ANIEN
Analog Input Enable
Type
Inputs
Syntax
To enable only: <a_><!><@><B>ANIEN<.i>=<E>
To override only: <a_><!><@><B>ANIEN<.i>=<r>
Units
B = I/O brick number
i = input location on I/O brick “B”
E = Enable
r = volts
Range
B = 0-8
i = 1-32 (dependent on I/O brick configuration)
r = -10.000 to +10.000 (voltage override value)
Default
E
(enabled)
Response
2ANIEN: *2ANIENx,x,x,x,x,x,x,x (SIM slot 1)
x,x,x,x,x,x,x,x (SIM slot 2)
E,E,E,E,E,E,E,E (SIM slot 3)
x,x,x,x,x,x,x,x (SIM slot 4)
See Also
[ ANI ], ANIMAS, ANIRNG, FOLMAS, TANI, TIO
Product Rev
GT6K 6.0
GV6K 6.0
The
ANIEN
command enables or disables specific analog inputs on expansion I/O bricks. The default state
for each input is the enabled condition.
ANIEN
can also be used to set analog inputs to specific override
voltage levels. To disable an analog input, set an override voltage of 0.
NOTE
: The onboard analog input (
ANI.1
) is always enabled, and is not affected by the
ANIEN
command.
Performance
: The rate at which the drive samples each analog input depends on how many are enabled on
the SIM; each enabled analog input adds 2 ms to the sample rate for all analog inputs on the SIM. For
example, if 4 of the 8 analog inputs on a SIM are enabled, the sample rate for any specific input on the
same SIM is 8 ms (4 inputs x 2 ms). Disabling input channels increases the performance of the remaining
channels; this is important if an input channel is to be used as a Following source (
ANIMAS
and
FOLMAS
selection).
Example:
1ANIEN.9=E,E
; Enable the 1st & 2nd analog input in SIM slot 2
; (I/O locations 9 & 10) on I/O brick 1.
1ANIEN.11=2.4
; Override the 3rd analog input in SIM slot 2 (I/O location 11)
; on I/O brick 1 with a voltage of 2.4 volts.
2ANIEN
; Check status of analog inputs on I/O brick 2. As an example,
; a response of *2ANIENx,x,x,x,x,x,x,x
x,x,x,x,x,x,x,x
E,E,E,E,E,E,E,E
x,x,x,x,x,x,x,x
; indicates that an analog input SIM is installed in slot 3 of
; I/O brick 2 and all eight channels are enabled ("E").
ANIMAS
Assign Analog Inputs as Following Master
Type
Following
Syntax
<a_><!>ANIMAS<B-i>
Units
B = I/O brick number
i = input location on I/O brick “B”
Range
B = 0-8
i = 1-32 (dependent on I/O brick configuration)
Default
0-0 (No assignment)
Response
ANIMAS:
*ANIMAS1-1
See Also
ANIEN, FOLMAS
Product Rev
GT6K 6.0
GV6K 6.0
The
ANIMAS
command assigns an analog input channel to a specific Following master for use when an ANI
master is selected with the
FOLMAS
command. The
ANIMAS
command only has an effect if an analog input
Following master is selected with a subsequent
FOLMAS
command (
ANIMAS
command must be issued
before the
FOLMAS
command).
Example:
ANIMAS4-17
; Select the first analog input channel in SIM slot 3
; (I/O location 17) of I/O brick 4 to be used for master
FOLMAS12
; Define axis 1 to be follower of the analog input
; selected for master
www.comoso.com
Summary of Contents for Gemini GV6K
Page 24: ...www comoso com...
Page 40: ...www comoso com...
Page 344: ...www comoso com...
Page 350: ...www comoso com...