Output - Parker Automation Gemini GV6K Command Reference Manual

Servo drive/controller
Table of Contents

Advertisement

'
Enter Interactive Data
Type
Operator (Other)
Syntax
!'<numeric data>
Units
Numeric data is command-dependent
Range
Numeric data is command-dependent
Default
n/a
Response
n/a
See Also
[ READ ], VARI, VARS
To enter data interactively, two operations must occur. First, numeric information must be requested.
Requesting the numeric information is accomplished with the
numeric variable to place the data into, and the
entered. Numeric information can also be requested by placing the
argument (e.g.,
A(READ1),12.52,(READ2),5.62
response must be provided. The numeric response must be preceded by the interactive data specifier (
and followed by a delimiter (<cr> or <lf>).
Command processing will pause while waiting for data.
Example:
VARS1="Enter the count > "
VAR5=READ1
; Transmit string variable 1, and wait for numeric data in the
; form of !'<data>. Once numeric data has been received, place
; it in numeric variable 5
!'65.12
; Variable 5 will receive the value 65.12
[ . ]
Bit Select
Type
Operator (Other)
Syntax
<command>.i
Units
i = bit number
Range
Command-dependent
Default
None
Response
n/a
See Also
[ AS ], [ ER ], ERROR, [ IN ], INEN, INLVL, [ INO ], INTHW, LIMLVL,
[ MOV ], ONIN, ONUS, OUT, OUTEN, OUTLVL, POUT, [ SS ], TAS, TER, TIN,
TINO, TIO , TOUT, TSS, TUS, [ US ]
The Bit Select (
) operator specifies which bit to select. The primary purpose of this command is to let the
.
user specify a specific bit (or range), instead of having to type in an entire bit string.
When using the bit operator in a comparison, the bit operator must always come to the left of the
comparison. For example, the command
Command Shortcut Examples (affect only one binary bit location):
• Activate outputs at I/O location Brick 3, I/O point 9:
• Enable analog input at I/O location Brick 2, I/O point 2:
• Enable error-checking bit 6 for task 3:
Example:
VARB2=ER.12
; Error status bit 12 assigned to binary variable 2
VARB2
; Response (if bit 12 is set to 1):
; *VARB2=XXXX_XXXX_XXX1_XXXX_XXXX_XXXX_XXXX_XXXX
2OUT.5=1
; Activate the output at location Brick 2, I/O point 5
VARx=READy
specifies the string variable to transmit before the data is
y
). After the data has been requested, a numeric
; Set string variable 1 equal to the message
is legal, but
IF(AS.12=b1)
www.comoso.com
Product
GT6K
GV6K
command. The
specifies the
x
command in place of a command
READ
Product
GT6K
GV6K
is illegal.
IF(b1=AS.12)
3OUT.9=1
2ANIEN.2=E
3%ERROR.6=1
Command Descriptions
Rev
6.0
6.0
)
!'
Rev
6.0
6.0
27

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents