EasyManua.ls Logo

Trio Motion Coordinator MC206 - Network Programming

Default Icon
566 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
11-6 Fibre-Optic Network
Network Programming
Trio Motion Technology
Network Programming
Trio BASIC Commands
The transmission and reception of messages on the network is performed by four
Trio BASIC commands.
GET #n
Type:
Command.
Syntax:
GET#n,VR(x)
Description:
Waits for the arrival of a single character on the specified input device. The ASCII
value of the received character is stored in the chosen variable. The characters
received are held in a 256 character buffer.
Parameters:
KEY#n
Type:
Function.
Syntax:
IF KEY#n THEN GET #n,VR(x)
Description:
Returns
TRUE
or
FALSE
depending on whether a character has been received on
the specified input device or not. The character is not read nor the receive state
reset.
Parameters:
n
Number to specify how the returned value generated.
3
value returned is defined by DEFKEY
4
value returned is character received
x
Variable number in the range 0 to 250.
n
Number to specify serial input device.
3
network input from fibre optic port via DEFKEY table
4
network input from fibre optic port

Table of Contents

Related product manuals