Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 295
B{constant}
Function: Point the addressed coordinate system to a motion program.
Scope: Coordinate-system specific
Syntax: B{constant}
where:
{constant} is a floating point value from 0.0 to 32767.99999 representing the program and location to
point the coordinate system to; with the integer part representing the program number, and the fractional
part multiplied by 100,000 representing the line label (zero fractional part means the top of the program).
This command causes Turbo PMAC to set the program counter of the addressed coordinate system to the
specified motion program and location. It is usually used to set the program counter to the Beginning of a
motion program. The next R or S command will start execution at this point.
If {constant} is an integer, the program counter will point to the beginning of the program whose
number matches {constant}. Fixed motion program buffers (PROG) can have numbers from 1 to
32,767. The rotary motion program carries program number 0 for the purpose of this command.
If {constant} is not an integer, the fractional part of the number represents the line label (N or O) in
the program to which to point. The fractional value multiplied by 100,000 determines the number of the
line label to which to point (it fills the fraction to 5 decimal places with zeros).
Note:
If a motion program buffer (including ROTARY) is open when this command is
sent to Turbo PMAC, the command is entered into the buffer for later execution, to
be interpreted as a B-axis move command.
Example:
B7 ;points to the top of PROG 7
B0 ;points to the top of the rotary buffer
B12.6 ;points to label N60000 of PROG 12
B3.025R ;points to label N2500 of PROG 3 and runs
See Also:
On-line commands DEFINE ROT, R, S
Program commands B{data}, N{constant}, O{constant}.
CHECKSUM
Function: Report the firmware checksum value.
Scope: Global
Syntax: CHECKSUM
CHKS
This command causes Turbo PMAC to report the reference checksum value of the firmware revision that
it is using. The value is reported as a hexadecimal ASCII string. This value was computed during the
compilation of the firmware. It is mainly used for troubleshooting purposes.
The comparative checksum value that Turbo PMAC is continually computing by scanning the firmware
in active memory is stored in X:$001080. As long as there is no checksum error, this comparative value
is continually changing as PMAC continues its calculations. However, if during any pass of the
checksum calculations, if the final comparative checksum value does not agree with the reference value,
the calculations stop, and the final erroneous value is held in X:$001080.
Example:
CHECKSUM ; Request firmware reference checksum value
9FA263 ; Turbo PMAC returns hex value