![Trio Motion Coordinator Euro 205 Скачать руководство пользователя страница 483](http://html1.mh-extra.com/html/trio/motion-coordinator-euro-205/motion-coordinator-euro-205_technical-reference-manual_1163425483.webp)
11-11 Fibre-Optic Network
Network Programming
Trio Motion Technology
readkey:
WAIT UNTIL KEY#3
GET #3,VR(100)
IF VR(100)<>20 THEN GOTO readkey
PRINT #10,"G";
WAIT UNTIL VR(200)=999
moves: 'Main motion routine
initax: 'Initialisation routine
The program on the two axis node could be as follows:
readinit:
IF NOT(KEY#4) THEN GOTO readinit
GET #4, VR(100)
IF VR(100)<>73 THEN GOTO readinit
GOSUB initax
SEND(11,1,200,99)
readsp:
IF NOT(KEY#4) THEN GOTO readsp
SPEED=VR(1)
GET#4,VR(100)
IF VR(100)<>71 THEN GOTO readsp
SEND(11,1,200,999)
moves: 'Main motion routine
initax: 'Initialisation routine
The previous example highlights a couple of useful points:
1)
The Motion Coordinator that is not controlling the membrane keypad must not
transmit anything to or via the keypad until the keypad has been set into network
mode by issuing the
SEND
command to give its keypad offset. This example uses
a simple form of handshaking by setting variables and sending characters to pre-
vent this situation but another alternative is for the controlling Motion Coordina-
tor to issue the
SEND
command on the first line of its program and for all other
Motion Coordinators in the network to have a delay at the start of their program
to allow time for the membrane keypads to be initialised.
2)
When using the
GET
# command it is a good idea to test for the buffer being empty
with the
KEY
# command, especially if reading input from a keypad, because it is
possible for the buffer to overflow with unpredictable results if it is not emptied
by reading from it with the
GET
# command.
Содержание Motion Coordinator Euro 205
Страница 1: ...Trio Motion Technology Motion Coordinator Technical Reference Manual Sixth Edition 2004 Revision 4...
Страница 4: ......
Страница 11: ...C H A P T E R CHAPTER0INTRODUCTION...
Страница 12: ......
Страница 27: ...C H A P T E R CHAPTER0HARDWARE OVERVIEW...
Страница 28: ......
Страница 35: ...Motion Coordinator Technical Reference Manual Hardware Overview 2 9 Motion Coordinator MC202...
Страница 47: ...Motion Coordinator Technical Reference Manual Hardware Overview 2 21 Motion Coordinator Euro205 X...
Страница 75: ...C H A P T E R CHAPTER0INSTALLATION...
Страница 76: ......
Страница 88: ...3 14 Installation EMC Considerations Trio Motion Technology...
Страница 89: ...C H A P T E R CHAPTER0DAUGHTER BOARDS...
Страница 90: ......
Страница 126: ...4 38 Daughter Boards Profibus Daughter Board Trio Motion Technology...
Страница 127: ...C H A P T E R CHAPTER0EXPANSION MODULES...
Страница 128: ......
Страница 158: ...5 32 Expansion Modules Communications Adaptors Trio Motion Technology...
Страница 159: ...C H A P T E R CHAPTER0SYSTEM SETUP AND DIAGNOSTICS...
Страница 160: ......
Страница 173: ...C H A P T E R CHAPTER 0PROGRAMMING...
Страница 174: ...7 2 Programming Trio Motion Technology...
Страница 190: ...7 18 Programming Command Line Interface Trio Motion Technology...
Страница 191: ...C H A P T E R CHAPTER0TRIO BASIC COMMANDS...
Страница 192: ......
Страница 200: ...8 10 Trio BASIC Commands Trio Motion Technology VERIFY 8 178 VFF_GAIN 8 178 VP_SPEED 8 179...
Страница 254: ...8 64 Trio BASIC Commands Input Output Commands Trio Motion Technology...
Страница 372: ...8 182Trio BASIC Commands Axis Parameters Trio Motion Technology...
Страница 373: ...C H A P T E R CHAPTER 0PROGRAMMING EXAMPLES...
Страница 374: ......
Страница 389: ...C H A P T E R CHAPTER0SUPPORT SOFTWARE...
Страница 390: ......
Страница 443: ...Motion Coordinator Technical Reference Manual Support Software 10 55 Creating and Running a program...
Страница 472: ...10 84Support Software Project Autoloader Trio Motion Technology...
Страница 473: ...C H A P T E R CHAPTER0FIBRE OPTIC NETWORK...
Страница 474: ......
Страница 486: ...11 14Fibre Optic Network Network Specification Trio Motion Technology...
Страница 487: ...C H A P T E R CHAPTER0USING THE TRIO ACTIVEX CONTROL...
Страница 488: ......
Страница 518: ...12 32Using the Trio ActiveX Control Events Trio Motion Technology...
Страница 519: ...C H A P T E R CHAPTER0COMMUNICATIONS PROTOCOLS...
Страница 520: ......
Страница 551: ...A P P E N D I X CHAPTER 0REFERENCE...
Страница 552: ......