Parker Automation Gemini GV6K Command Reference Manual page 160

Servo drive/controller
Table of Contents

Advertisement

IN
Virtual Input Override
Type
Inputs
Syntax
<a_><!><B>IN<=xx>
Units
B = I/O brick number
xx = 32-bit data operand (see list below)
Range
B = 1-8
Default
n/a
Response
n/a
See Also
[ IN ], INDEB, INEN, INFNC, INPLC, INSTW, TIN, TIO
The
command allows you to substitute almost any 32-bit data parameter as a virtual input brick of 32
IN
inputs. The virtual inputs behave similarly to real inputs in that they are affected by
they affect
,
,
INFNC
INPLC
INSTW
inputs, virtual inputs are not affected by the
The data operands allowed for virtual input assignments are listed below (integer values are converted to
binary):
A ..............Acceleration
AD ............Deceleration
ANI ..........Analog input voltage
ANO ..........Analog output voltage
AS ............Axis status
ASX ..........Extended axis status
D ..............Distance
DKEY........RP240 keypad value
ER ............Error status
FB ............Feedback device pos.
FS ............Following status
IN ............Input status
INO ..........Enable input status
LIM ..........Limit input status
MOV ..........Axis moving status
NOTE: A virtual input can only be defined for I/O bricks that are not connected on the serial I/O network
(remember that up to 8 I/O bricks are allowed). For example, if your Gem6K unit has two I/O bricks, you
can designate I/O bricks 3-8 as virtual I/O bricks.
Virtual inputs provide programming input functionality for data or external events (see operand list above)
that are not ordinarily represented by inputs.
For example, suppose a PLC is sending binary data via the
binary state of
VARB1
programmable input functions set up with the
2TIN
; Brick 2 is not connected; therefore, the Gem6K will
; respond with an error message: "*INCORRECT I/O BRICK"
2IN=VARB1
; Map the binary state of VARB1 to be the
; input state of "virtual" input brick 2 (2IN)
VARB1=b10100000
; Change "virtual" input brick 2IN to a new VARB1 value
2TIN
; Check the input status. The response will be:
; "*2IN1010_0000_0000_0000_0000_0000_0000_0000"
158
Gemini GV6K/GT6K Command Reference
,
,
, and
INDUST
ONIN
GOWHEN(<B>IN=b<bbbb>)
debounce setting.
INDEB
NMCY........ Master cycle number
OUT.......... Output status
PC............ Commanded position
PCC.......... Captured command pos.
PCE.......... Captured encoder pos.
PCME........ Captured master enc. pos.
PE............ Encoder position
PER.......... Position error
PMAS........ Position of Master
PME.......... Master encoder pos.
PSHF........ Net position shift
PSLV........ Follower pos. command
SC............ Controller status
SCAN........ PLC scan time
SEG.......... Free segment buffers
SS............ System status
is assigned to input brick 2 (
2IN=VARB1
INFNC
www.comoso.com
INEN
commands. Unlike real
SWAP ....... Task swap assignment
TASK ....... Task number
TIM ......... Timer value
TRIG ....... Trigger interrupt status
US ........... User-defined status
V.............. Velocity
VARI ....... Integer variable
VARB ....... Binary variable
VEL ......... Commanded velocity
VELA ....... Actual velocity
VMAS ....... Velocity of the master
command to the Gem6K. If the
VARB1
), the Gem6K can respond based on
command.
Product
Rev
GT6K
6.0
GV6K
6.0
and
, and
INLVL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents