![Parker Automation Gemini GV6K Command Reference Manual Download Page 254](http://html1.mh-extra.com/html/parker-automation/gemini-gv6k/gemini-gv6k_command-reference-manual_3701373254.webp)
252
Gemini GV6K/GT6K Command Reference
[ SC ]
Status Assignment/Comparison
Type
Assignment or Comparison
Syntax
See
below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
SCANP, TSC, TSCF, VARB
Product Rev
GT6K 6.0
GV6K 6.0
Use the
SC
operator to assign the drive status bits to a binary variable (
VARB
) or to make a comparison against
a binary or hexadecimal value. To make a comparison against a binary value, the letter b (b or B) must be
placed in front of the value. The binary value itself must only contain ones, zeros, or Xs (1, 0, X, x). To make
a comparison against a hexadecimal value, the letter h (h or H) must be placed in front of the value. The
hexadecimal value itself must only contain the letters A through F, or the numbers 0 through 9.
Syntax:
VARBn=SC
where “
n
” is the binary variable number, or
SC
can be used in an expression such as
IF(SC=b0010)
, or
IF(SC=h7F)
. If it is desired to assign only one bit of the drive status value to
a binary variable, instead of all 32, the bit select (
.
) operator can be used. For example,
VARB1=SC.3
assigns drive status bit #3 to binary variable 1:
*VARB1=XX0X_XXXX_XXXX_XXXX_XXXX_XXXX_XXX_XXXX
.
The function of each drive status bit is shown below.
Bit
# Function
(
1
= Yes;
Ø
= No)
1
RESERVED
2
RESERVED
3
A PLC program is being executed in Scan Mode (
SCANP
).
4
RESERVED
5
RESERVED
6
RESERVED
7
RESERVED
8-32 RESERVED
SCALE
Enable/Disable Scale Factors
Type
Scaling
Syntax
<a_><!>SCALE<b>
Units
n/a
Range
b = 0 (disable) or 1 (enable)
Default
0
Response
SCALE: *SCALE0
See Also
DRES, ERES, SCLA, SCLD, SCLMAS, SCLV, SFB, TSTAT
Product Rev
GT6K 6.0
GV6K 6.0
NOTE
: All scaling settings (
SCALE
,
SCLA
,
SCLD
,
SCLV
and
SCLMAS
) are
automatically saved in the Gem6K’s battery-backed RAM.
Scaling allows you to program acceleration, deceleration, velocity, and position values in units of measure
that are appropriate for your application. The
SCALE
command is used to enable or disable scaling (
SCALE1
to enable,
SCALEØ
to disable). When scaling is enabled (
SCALE1
), all entered data is multiplied by the
appropriate scale factor:
Type of Motion
Accel/Decel Scaling
Velocity Scaling
Distance Scaling
Standard Point-to-Point Motion
SCLA SCLV
SCLD
Following
SCLA
SCLV
SCLD
for follower distances
SCLMAS
for master distances
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...