Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 330
I5188,3,100=* ; Set I5188,I5288,I5388 to default
See Also:
Initialization (I) Variables (Computational Features)
I-Variable Specifications -- Default Values
On-line commands I{constant}, I{constant}={expression}
I{constant}=@I{constant}
Function: Set I-variable to address of another I-variable.
Scope: Global
Syntax: I{constant}=@I{constant}
where:
the first {constant} is an integer from 0 to 8191 representing the number of the I-variable whose
value is being set
the second {constant} is an integer from 0 to 8191 representing the number of the I-variable
whose address is being used to set the value of the first I-variable
This command permits the user to set the value of one I-variable to the address of another I-variable,
without having to know that address. The main use of this command is to set the value of address I-
variables Ixx03, Ixx04, Ixx05, and Isx93 to the address of an entry in the encoder conversion table,
without having to know that address explicitly.
Encoder conversion table setup I-variables I8000 I8191 reside at Turbo PMAC Y-addresses $003501 -
$0035C0, respectively. The result of a particular conversion resides in the X-register of the same address
as the last setup I-variable for that entry. This command permits the user to specify the address simply by
using the number of the last I-variable in the entry.
Examples:
I103=@I8000 ; Set I103 to address of first line in ECT
I103 ; Query value of I103
$3501 ; Turbo PMAC reports value
I5193=@I8014 ; Set I5193 to address of 15
th
line in ECT
I5193 ; Query value of I5193
$350F ; Turbo PMAC reports value
IDC
Function: Force active clock equal to ID-module clock
Scope: Global
Syntax: IDC
This command forces the active real-time clock in RAM to have the same time as the non-volatile real-
time clock in the Option 18B ID-number and clock/calendar module. It copies the time value from the ID
module into the active timer register in RAM, and reports this time back to the host computer. The time
is reported in the international 24-hour clock format:
{hh}:{mm}:{ss}
where:
{hh} is the 2-digit representation of the hour (00 <= {hh} <= 23)
{mm} is the 2-digit representation of the minute (00 <= {mm} <= 59)
{ss} is the 2-digit representation of the second (00 <= {ss} <= 59)
On power-up/reset, the time value in the Option 18B module is automatically copied into the timer
register in RAM. From that point on, however, both timers increment independently, and can drift apart.
The IDC command can be used periodically to force them back together.