11-8 Fibre-Optic Network
Network Programming
Trio Motion Technology
Examples of network programming
Example 1
Consider a four axis machine which is 30m long. The operator has need to make
machine adjustments at either end of the machine, thus requiring two stations
for operator input. This can be achieved using a Motion Coordinator, four Servo
Daughter Boards and two membrane keypads. The two keypads and the Motion
Coordinator will be networked together so input from both keypads is given to
the Motion Coordinator and any resulting change in machine parameters is dis-
played at either end of the machine.
The network should be connected as shown below.
Network Example 1
The program could look something like this:
length=2
' Set offset on first keypad to 2, i.e. send key press to MC
SEND(10,2,11)
' Set offset on second keypad to 1, i.e. send key press to MC
SEND(11,2,10)
' Clear first display & make cursor invisible
PRINT #10,CHR(12);CHR(14);CHR(20)
' Clear second display & make cursor invisible
PRINT #11,CHR(12);CHR(14);CHR(20)
' setup display
PRINT #10,"SPEED:":PRINT #10,"LENGTH:"
PRINT #11,"SPEED:":PRINT #11,"LENGTH:"
REPEAT
IF KEY#3 THEN GOSUB read_key ELSE GOSUB do_motion
UNTIL FALSE
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
Trio
8
9
10
11
12
13
14
15
0
OK
NET
STATUS
1
2
3
4
5
6
7
Trio Motion Technology
4
4
4
6
6
6
Trio Motion Technology
Summary of Contents for Motion Coordinator Euro 205
Page 4: ......
Page 11: ...C H A P T E R CHAPTER0INTRODUCTION...
Page 12: ......
Page 27: ...C H A P T E R CHAPTER0HARDWARE OVERVIEW...
Page 28: ......
Page 35: ...Motion Coordinator Technical Reference Manual Hardware Overview 2 9 Motion Coordinator MC202...
Page 75: ...C H A P T E R CHAPTER0INSTALLATION...
Page 76: ......
Page 88: ...3 14 Installation EMC Considerations Trio Motion Technology...
Page 89: ...C H A P T E R CHAPTER0DAUGHTER BOARDS...
Page 90: ......
Page 126: ...4 38 Daughter Boards Profibus Daughter Board Trio Motion Technology...
Page 127: ...C H A P T E R CHAPTER0EXPANSION MODULES...
Page 128: ......
Page 158: ...5 32 Expansion Modules Communications Adaptors Trio Motion Technology...
Page 159: ...C H A P T E R CHAPTER0SYSTEM SETUP AND DIAGNOSTICS...
Page 160: ......
Page 173: ...C H A P T E R CHAPTER 0PROGRAMMING...
Page 174: ...7 2 Programming Trio Motion Technology...
Page 190: ...7 18 Programming Command Line Interface Trio Motion Technology...
Page 191: ...C H A P T E R CHAPTER0TRIO BASIC COMMANDS...
Page 192: ......
Page 200: ...8 10 Trio BASIC Commands Trio Motion Technology VERIFY 8 178 VFF_GAIN 8 178 VP_SPEED 8 179...
Page 254: ...8 64 Trio BASIC Commands Input Output Commands Trio Motion Technology...
Page 372: ...8 182Trio BASIC Commands Axis Parameters Trio Motion Technology...
Page 373: ...C H A P T E R CHAPTER 0PROGRAMMING EXAMPLES...
Page 374: ......
Page 389: ...C H A P T E R CHAPTER0SUPPORT SOFTWARE...
Page 390: ......
Page 472: ...10 84Support Software Project Autoloader Trio Motion Technology...
Page 473: ...C H A P T E R CHAPTER0FIBRE OPTIC NETWORK...
Page 474: ......
Page 486: ...11 14Fibre Optic Network Network Specification Trio Motion Technology...
Page 487: ...C H A P T E R CHAPTER0USING THE TRIO ACTIVEX CONTROL...
Page 488: ......
Page 518: ...12 32Using the Trio ActiveX Control Events Trio Motion Technology...
Page 519: ...C H A P T E R CHAPTER0COMMUNICATIONS PROTOCOLS...
Page 520: ......
Page 551: ...A P P E N D I X CHAPTER 0REFERENCE...
Page 552: ......