8-90 Trio BASIC Commands
System Parameters and Commands
Trio Motion Technology
DLINK
Type:
System Command
Syntax:
DLINK(function,…)
Description:
This is a specialised command, to allow access to the SLMâ„¢ digital drive interface.
During the power sequence, when a SLMâ„¢ interface card is found, all the ASICs are
initialised, starting the communications protocol.
The axis parameters have to be initialised by the
DLINK
function 2 command before
the interface can be used for controlling an external drive.
Parameters:
Read a register on the SLMâ„¢ ASIC.
Parameters:
Example:
>>PRINT DLINK(0,0,0,3)
117.0000
>>
Write a register on the SLMâ„¢ ASIC.
Function:
Specifies the required function.
0 = Read a register on the SLMâ„¢ ASIC
1 = Write a register on the SLMâ„¢ ASIC
2 = Check for presence SLM module
3 = Check for presence of SLM servo drive
4 = Assign a Motion Coordinator axis to a SLM channel
5 = Read an SLM parameter
6 = Write an SLM parameter
7 = Write an SLM command
8 = Read a drive parameter
9 = Returns slot and asic number associated with an axis
10 = Read an EEPROM parameter
Function
0
Slot
The communications slot in which the interface daughter board
is inserted.
ASIC
The number of the ASIC to be used. Each SLMâ„¢ daughter board
has 3 ASICs. The master ASIC is 0, the first slave is 1 and the sec-
ond slave is 2.
Register
The number of the register to be read.