Bosch 6000 User's Guide Page 65

  • Download
  • Add to my manuals
  • Print
  • Page
    / 268
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 64
50
6000 Series Programmer's Guide
Status Write D7 D6 D5 D4 D3 D2 D1 D0 Function
(interrupt/status set/reset)
1
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
1
0
0
0
Execute the requested kill.
Tell the controller to read data from the input buffer.
Clear the controller interrupt.
Request fast status update.
Status Write D7 D6 D5 D4 D3 D2 D1 D0 Function
(interrupt enable/disable)
0 0 1 X Interrupt when output buffer has data:
1 = enable interrupt, 0 = disable interrupt
0 0 1 X Interrupt when input buffer empty :
1 = enable interrupt, 0 = disable interrupt
0 0 1 X General controller to PC-AT interrupt:
1 = enable interrupt, 0 = disable interrupt
0 0 1 X Card status updated interrupt:
1 = enable interrupt, 0 = disable interrupt
0 0 1 X Master interrupt:
1 = enable interrupt, 0 = disable interrupt
Reading and Writing to the 6000 Controller
Source code routines are provided for the 6000 Series controller on the DOS Support Disk;
these routines are proven and debugged. We strongly recommend that you use these drivers if
your application is based in a higher level language. Four languages are supported—C
(Microsoft 6.0 and Borland Turbo 2.0), BASIC (QuickBASIC 4.5), and PASCAL (Borland
Turbo). However, we understand the need in some applications to know the data transfer
protocol to and from the controller. Consequently, we have provided (below) a step-by-step
process for communicating with the controller.
The controller transfers data in Word lengths to its Read/Write registers at Address+0 and
Address+1 (the upper 8 bits of the word are at Address+0). The handshaking for the data
transfers is performed at Address+4 (Status Register). Bits are described below from 0 - 7.
Sending Commands to the Controller:
1. Wait for bit #1 (second bit) to go low at Address+4 (256-byte buffer is empty).
2. Send the data to Address+0 and Address+1 one word at a time, ending the data block
with a null character.
3. Set bits #1 and #6 at Address+4 (data waiting to be read).
Receiving Responses from the Controller:
1. Wait for bit #0 (first bit) to go high at Address+4 (output buffer has data).
2. Read a word of data from Address+0 and Address+1.
3. Repeat until bit #0 is low, or until 128 words are read.
DDE6000™
(Dynamic Data Exchange server)
TO ORDER
To order DDE6000,
contact your local
Automation
Technology Center
(ATC) or distributor.
DDE6000 is a Dynamic Data Exchange (DDE) server that you can use to facilitate
communication between a Windows application and your 6000 product family. For example,
you might use DDE6000 with a third-part factory automation software and operator interface,
such as Wonderware's In-Touch™. DDE6000 supports NetDDE, which allows operation over
a Windows for Workgroups, Windows 95, or Windows NT network.
Multiple 6000 products
may be accessed
simultaneously with
the DDE6000.
The DDE6000 server, a Windows program, provides access to 6000 controller data that can be
useful to other Windows programs (DDE clients). DDE6000 supports three types of
“conversations” with a DDE client:
Cold Link ..... Allows a client to directly request a particular data item from DDE6000.
Hot Link....... Allows a client to be automatically updated when a particular data item
from the DDE6000 has changed.
Warm Link.... Combination of cold link and hot link, where a client wants to be
informed of changes in the DDE6000 data without immediately receiving
the new data item.
For more information, refer to the DDE6000.HLP file on the DDE6000 diskette.
Page view 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 267 268

Comments to this Manuals

No comments