![Trio Motion Coordinator Euro 205 Скачать руководство пользователя страница 490](http://html1.mh-extra.com/html/trio/motion-coordinator-euro-205/motion-coordinator-euro-205_technical-reference-manual_1163425490.webp)
12-4 Using the Trio ActiveX Control
Connection Commands
Trio Motion Technology
Connection Commands
Open
Description
Initialises the connection between the TrioPC ActiveX control and the Motion
Coordinator.
The connection can be opened over a PCI, USB or Ethernet link, and can operate
in either a synchronous or asynchronous mode. In the synchronous mode all the
TrioBASIC methods are available. In the asynchronous mode these methods are
not available, instead the user must call SendData() to write to the Motion Coor-
dinator, and respond to the OnReceiveChannelx event by calling GetData() to
read data received from the Motion Coordinator. In this way the user application
can respond to asynchronous events which occur on the Motion Coordinator with-
out having to poll them.
If the user application requires the TrioBASIC methods then the synchronous
mode should be selected. However, if the prime role of the user application is to
respond to events triggered on the Motion Coordinator, then the asynchronous
method should be used.
Syntax:
Open(PortType, PortMode)
Parameters
Return Value:
TRUE
if the connection is successfully established. For a USB connection, this
means the TrioUSB driver is active (an MC with a USB card is on, and the USB con-
nections are correct). If a synchronous connection has been opened the ActiveX
control must have also successfully recovered the token list from the Motion
Coordinator. If the connection is not successfully established this method will
return
FALSE
.
Example
Rem Open a USB connection and refresh the TrioPC indicator
TrioPC_Status = TrioPC1.Open(0, 0)
frmMain.Refresh
short PortType:
0: USB, 1:N/A, 2:Ethernet, 3:PCI
short PortMode:
0: Synchronous Mode, 1:Asynchronous Mode, 3240:Syn-
chronous Mode (for Ethernet connections only).
Содержание 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: ......