Download Print this page

Advantech PCL-848A/B User Manual page 62

Multifunction ieee-488 interface card

Advertisement

The SEND routine allows the user to control the IEEE-488 interface directly.
Therefore, some unusual functions of the IEEE-488 function can be done by calling
SBND.
An example is PASSING CONTROL to another device. This can be done by
executing the following statements. This example passes control to device 22.
SEND%=36
CND$="UNL UNT TALK 22 TCT"
CALL SEND%(CMD$)
Some instruments use secondary addressing technique. To write a data string to
secondary address 03 with primary address 23, the program is as follows:
SEND%=36 : OUTPUT%=3
ADDR%=-1 ' OUTPUT to pre-defined listeners
D$="ABCD"
CND$="UNL UNT MTA LISTEN 23 SEC 03"
CALL SEND%(CMD$)
CALL OUTPUT%(ADDR%,D$)
If your computer intermittently fails to execute this code, you are having a timing
problem. To avoid this, put the data from D$ in CMD$ after the DATA statement.
CMD$="UNL UNT MTA LISTEN 23 SEC 03 DATA 'ABCD'"
The SEND command allows you to program all the BUS activities. The IEEE-488
interface does not have special functions to handle PASS CONTROL and secondary
addressing. They are done by calling SEND.
5 6
PCL-848AB
User's Manual

Advertisement

loading