Motion Coordinator Technical Reference Manual
Trio BASIC Commands 8-123
System Parameters and Commands
When a Motion Coordinator is locked, it is not possible to view, edit or save any pro-
grams and command line instructions may be limited to those required to execute
the program only.
To unlock the Motion Coordinator, the
UNLOCK
command should be entered using
the same security code number which was used originally to
LOCK
it.
The security code number may be any integer and is held in encoded form. Once
LOCK
ed, the only way to gain full access to the Motion Coordinator is to
UNLOCK
it
with the correct code.
Parameters:
Example:
>>
LOCK(561234)
The program cannot now be modified or seen.
>>
UNLOCK(561234)
The system is now unlocked.
Note 1:
It is not normally necessary to use the
LOCK
/
UNLOCK
commands from the command
line as the they are available directly from the Controller menu in Motion Perfect 2.
USB
Type:
System Command
Syntax:
USB(slot,function<,register><,value>)
Description:
The command USB provides access to the registers of the USBN9602 USB controller
chip used in the MC206 and USB daughter board. It is not required to use this com-
mand as the functions are included in the Motion Coordinator system software.
Parameters:
code
Any integer number
slot:
Specifies the slot on the controller to be used. Set 1 for the
built-in USB of the MC206 or the slot number of an MC216/
Euro205.
function:
Specifies the function to be performed.
0: read register
1: write register
register:
The register number to read or write
value:
The value to write into a register