GP485A TDK Corporation, GP485A Datasheet - Page 24
![no-image](/images/manufacturer_photos/0/6/653/tdk_corporation_sml.jpg)
GP485A
Manufacturer Part Number
GP485A
Description
GPIB CONTROLLER
Manufacturer
TDK Corporation
Series
ZUPr
Specifications of GP485A
Accessory Type
Controller
For Use With/related Products
ZUP Series
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
Q4846340
Table 5-5: functions syntax contd.
spign [bool]<
onl [bool]<
spset [baud] [parity]
[databits] [stopbits]<
CR
CR
>
>
CR
>
Use nl to disable communications between GP485 and serial port or to reset
the GP485 characteristic to it’s default values. Placing the GP485 offline is
like disconnecting it’s serial cable from the serial device.
bool= 0 offline
* GP485 is online by default
* Call onl without an argument returns it’s current status
Example:
1. WRT$=”onl 1”+CHR$(13)
2. WRT$=”ONL 0”+CHR$(13)
Use to ignore or not ignore the occurrence of serial port errors. If not to ignore
the GP485 does not store characters that contain serial errors. Also, the error
is indicated in the serial error code that is returned by the
ignore, the GP485 stores serial port errors in the buffer which are later sent
out of the GPIB port when the serial device is talk addressed. No error serial
code is reported by
errors. The serial port errors include parity, overrun, framing and overflow errors.
bool= 0 don’t ignore serial port errors
* Call
*
Example:
1. WRT$=”spign 0”+CHR$(13)
2. WRT$=”spign 1”+CHR$(13)
Use
characteristics (baud rate, parity, data bits and stop bits) to match the Zup
Possible values:
baud [bits/s]:
parity:
data bits [b/c]:
stop bits:
* default values: 9600 n 8 1.
*
*
Example:
1. WRT$=”spset 1200 n”+CHR$(13)
2. WRT$=”spset”+CHR$(13)
Note: The Zup power supply series data format is no parity, 8 data bits and
power supply.
spi
sps
sps
CALL IBWRT(GP485%, WRT$)
CALL IBWRT(GP485%, WRT$)
CALL IBWRT(GP485%,WRT$)
CALL IBWRT(GP485%, WRT$)
CALL IBWRT(GP485%,WRT$)
CALL IBWRT(GP485%, WRT$)
CALL IBRD(GP485%,RESP$)
o
sps
gn remains in effect until
et without an argument returns it’s current serial port configuration.
et remains in effect until
spi
1 ignore serial port errors
one stop bit, therefore the user needs to set only the baud rate.
1 online
et at the beginning of the program to set the GP485 serial port
gn without an argument, the GP485 returns the current seting.
300, 600, 1200, 2400, 4800, 9600
n = none, e = even, o = odd
7,8
1,2
st
at function. By default, the GP485 ignores serial port
spi
sps
gn called again, call nl or turn off GP485.
et is called again, call nl or turn off GP485.
‘Puts GP485 offline
‘and restores power-up values
‘Puts GP485 online
‘Do not ignore
‘Serial port errors
‘Ignore serial port
‘errors
‘Set the serial port use
‘1200 b/s , no parity
‘What are current serial
‘port settings
‘1200 n 8 1<CR><LF>
‘RESP$ will contain
o
st
o
at function. If to