![Trio Motion Coordinator Euro 205 Technical Reference Manual Download Page 529](http://html1.mh-extra.com/html/trio/motion-coordinator-euro-205/motion-coordinator-euro-205_technical-reference-manual_1163425529.webp)
Motion Coordinator
Technical Reference Manual
Communications Protocols 13-11
Profibus
Example:
Trio BASIC Profibus Driver
The latest driver can be obtained from www.triomotion.com. At the time of
going to press, the most recent revision was 1.05. See below for header and revi-
sion information / dates.
'=========================================================================
' Title: Profibus DP SPC3 Driver for P297 Daughter Board
' Module: P297DR104.BAS
' Platform: MC Series 2xx + P297 Daughter Board
'-------------------------------------------------------------------------
' Revision: 1.05
' Rev Date: 25 May 2003
'-------------------------------------------------------------------------
' Copyright (c) 2002-2003 Trio Motion Technology Ltd
'
=========================================================================
' DESCRIPTION:
' Profibus driver for Cyclic Data Transfer
' This program sets up the SPC3 chip for transfer of 16 integers from
' master and 16 intergers to master on a cylcic basis as determined by
' master unit.
' Variables:
' VR(vbase) to VR(vbase+15) : Data TO master (16bit int)
' VR(vbase+16) to VR(vbase+31) : Data FROM master (16bit int)
' VR(vbase+32) = PLC status. 0=running, 2=PLC in configure mode
'
' V1.00: 08/01/2001 Beta Release includes full 16+16 VR transfer
' V1.01: 15/03/2001 Reversed byte order for Word transfer
' V1.02: 24/04/2002 Added support for "Leave Data Ex". (S7 config sequence)
' Added local timout if no connection after BR detect.
' V1.03: 08/08/2002 Allows VR segment used to be changed by setting a variable
' V1.04: 23/10/2002 Made local timeout value settable. See "localtimeout"
' V1.05: 25/03/2003 Fixed bug in sending negative numbers.
restart:
RESET
node = 5 ' Profibus node address
debug = TRUE 'Set TRUE to get debug messages printed to terminal
db=0 ' Daughter Board slot number
vbase = 20 ' VRs for data transfer
localtimeout = 5000 'time in msec
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: ......