![Parker ACR Series Programmer'S Manual Download Page 26](http://html1.mh-extra.com/html/parker/acr-series/acr-series_programmers-manual_3854036026.webp)
Parker Hannifin
Example
The following demonstrates how to set at bit. All methods are valid.
SET 32
Bit32=1
SET Bit32
Clearing Binary Bits
You can use the
CLR
command, or fix the bit value equal to 0.
Example
The following demonstrates how to set at bit. All methods are valid.
CLR 32
Bit32=0
CLR Bit32
Printing the Current Value
You can send the
command followed by a parameter or bit
whose value you want to see. Bits return the following values:
•
-1 when set.
•
0 when clear.
You can use a question mark in place of the
command. The
question mark is a shortcut in a terminal emulator.
NOTE:
When printing a system parameter, the value returned is
either an integer or a 32-bit floating point.
When printing a user parameter (P0-P4095), the value returned is
either an integer or 64-bit floating point.
Example
The following demonstrates how to view values stored in parameters
and bits. Parameter 6144 provides the current encoder position;
Bit24 provides the current state of input 24.
PRINT P6144
PRINT Bit24
?P6144
?Bit24
A Word on Aliases
Parameters and bits can use aliases. You only need to assign the
alias once, and then can use it throughout user programs. The alias
lets you provide a name that makes sense for programs, and makes
programs easier to read.
For more information, see
Aliases
.
26 Programmer’s Guide