8-62 Trio BASIC Commands
Input / Output Commands
Trio Motion Technology
Example 2:
Any network containing membrane keypad(s) must initialise the keypads first to tell
them where to send their output and to set them into network mode. To do this a
keypad offset message is sent to the membrane keypad. Consider a network with
four nodes. Three Motion Coordinators and one membrane keypad connected as
follows:
MCa ---> MCb---> MCc ---> Keypad ---> ( back to MCa)
If MCa is to initialise the keypad (offset of 2 from MCa ) but MCc is to receive the
keypad output (Offset of 0,1,2 from Keypad to MCc).
SEND(10+2,2,10+2)
SETCOM
Type:
Command
Syntax:
SETCOM(baudrate,databits,stopbits,parity,port,mode)
Description:
Permits the serial communications parameters to be set by the user.
By default the controller set the RS232-C port to 9600 baud, 7 data bits, 2 stop bits
and even parity.
ENCODER
V+ V- R
0v
5 4 3 2 1
9 8 7 6
ENCODER
V+ V- R
0v
5 4 3 2 1
9 8 7 6
IO8
IO9
IO10
IO11
IO12
IO13
IO14
IO15
I 0
I 1
I 2
I 3
I 4
I 5
I 6
I 7
24v
0v
Trio
8
9
10
11
12
13
14
15
0
OKNET
0
1
STATUS
1
2
3
4
5
6
7
7
4
1
-
8
5
2
0
9
6
3
.
Y
N
CLR
Trio Motion Technology
ENCODER
V+ V- R
0v
5 4 3 2 1
9 8 7 6
ENCODER
V+ V- R
0v
5 4 3 2 1
9 8 7 6
IO8
IO9
IO10
IO11
IO12
IO13
IO14
IO15
I 0
I 1
I 2
I 3
I 4
I 5
I 6
I 7
24v
0v
Trio
8
9
10
11
12
13
14
15
0
OKNET
0
1
STATUS
1
2
3
4
5
6
7
R
R
R
T
T
T
ENCODER
V+ V- R
0v
5 4 3 2 1
9 8 7 6
ENCODER
V+ V- R
0v
5 4 3 2 1
9 8 7 6
IO8
IO9
IO10
IO11
IO12
IO13
IO14
IO15
I 0
I 1
I 2
I 3
I 4
I 5
I 6
I 7
24v
0v
Trio
8
9
10
11
12
13
14
15
0
OKNET
0
1
STATUS
1
2
3
4
5
6
7
R
T
MCa MCb MCc Keypad
Offset from MCa 0 10 11 12
Offset from Keypad 10 11 12 0