Bosch 6000 User's Guide Page 9

  • Download
  • Add to my manuals
  • Print
  • Page
    / 268
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 8
TABLE OF CONTENTS
Overview
About This Manual.................................................... i
Organization of This Manual ................................. i
Programming Examples...................................... ii
Reference Documentation................................... ii
Assumptions of Technical Experience................... ii
Product Name References (What’s in a Name?)....... iii
Before You Begin .................................................... iii
Support Software .................................................... iii
Motion Architect................................................ iii
Motion Builder.................................................. iv
Motion Toolbox ................................................ iv
DOS Support Software ...................................... iv
Technical Support .................................................. iv
Chapter 1. Programming Fundamentals
Motion Architect Programming Environment.................. 2
Side-by-Side Editor and Terminal Windows ............. 2
Command Syntax.................................................... 3
Overview......................................................... 3
Description of Syntax Letters and Symbols ............ 4
General Guidelines for Syntax ............................. 5
Command Value Substitutions ............................. 6
Assignment and Comparison Operators................. 6
Programmable Inputs and Outputs Bit Patterns....... 8
Creating Programs................................................... 8
Program Development Scenario ........................... 8
Storing Programs .................................................. 12
Storing Programs in Stand-Alone Products........... 12
Storing Programs in Bus-Based Products............. 12
Memory Allocation........................................... 12
Checking Memory Status.................................. 13
Executing Programs (options).................................. 14
Creating and Executing a Set-up Program .................. 14
Set-up Program Execution
for Stand-Alone Controllers
. 15
Set-up Program Execution
for Bus-Based Controllers
.. 15
Program Security .................................................. 15
Controlling Execution of Programs and the Command
Buffer ............................................................. 16
Continuous Command Execution........................ 16
Continue Command Execution on Kill................... 16
Save Command Buffer on Limit........................... 17
Pause Command Execution Until In Position Signal 17
Effect of Pause/Continue Input.......................... 17
Save Command Buffer on Stop........................... 17
Restricted Commands During Motion......................... 18
Variables.............................................................. 18
Converting Between Binary and Numeric Variables . 19
Using Numeric Variables.................................... 19
Using Binary Variables...................................... 22
Program Flow Control.............................................. 23
Unconditional Looping and Branching................... 23
Conditional Looping and Branching...................... 24
Program Interrupts (ON Conditions)........................... 29
Error Handling ....................................................... 30
Enabling Error Checking.................................... 30
Defining the Error Program................................. 30
Canceling the Branch to the Error Program............ 31
Error Program Set-up Example............................ 32
Non-Volatile Memory (Stand-Alone Products Only) ....... 33
System Performance.............................................. 33
Chapter 2. Communication
Motion Architect Communication Features .................. 36
DOS Support Software for Stand-Alone Products ......... 37
DOS Support for Bus-Based Products........................ 38
Downloading the Operating System ..................... 39
Terminal Emulation........................................... 41
Downloading Application Programs from the DOS
prompt..................................................... 41
Creating
Your Own DOS-Based Application Program. 42
PC-AT Bus Communication Registers......................... 43
Fast Status Register (Base+2, Base+3)................ 43
Card Status and Interrupts to/from PC-AT (Base+4) 49
Reading and Writing to the 6000 Controller ............ 50
DDE6000.............................................................. 50
DLLs ................................................................... 51
Visual Basic™ Support...................................... 52
Visual C++™ Support........................................ 58
Motion OCX Toolkit™.............................................. 62
PC-AT Interrupts.................................................... 63
AT6nnn Interrupt Path....................................... 63
How to Use Interrupts ...................................... 65
Interrupt-Driven Terminal Emulator ...................... 68
Controlling Multiple Serial Ports................................. 70
Configuring the COM Port .................................. 70
Selecting a Destination Port for Transmitting from the
Controller ................................................. 71
RS-232C Daisy-Chaining ......................................... 72
Daisy-Chaining from a Computer or Terminal.......... 73
Daisy-Chaining from a Master 6000 Controller........ 74
Daisy-Chaining and RP240s............................... 74
RS-485 Multi-Drop.................................................. 75
Page view 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 267 268

Comments to this Manuals

No comments