GPIB Communication Device is 1. The module number for the 3560 module is
its position in the stack. For example, if the 1560 has four add-on modules, the
3560 being the last, the module number for the 3560 is 4. Table 31 shows the
device commands used to read or set the setup parameters of the GPIB Com-
munication Device.
Below are some examples of using the device commands to set the device setup
parameters. For these examples it is assumed that the 3560 Communication
Module is placed fourth in the stack. These commands can be sent through any
communication interface including the IEEE-488 and RS-232 interfaces.
SYST:MOD4:DEV1:WRIT “ADDR”,17
Set the IEEE-488 address to 17.
SYST:MOD4:DEV1:READ? “ADDR”
Read the IEEE-488 address.
SYST:MOD4:DEV1:WRIT “TERM”,LF
Set the termination to linefeed.
SYST:MOD4:DEV1:WRIT “RSET”,YES
Reset the IEEE-488 interface.
14.5
Serial Communication Device
The 3560 Extended Communication Module adds an additional RS-232 serial
communications interface to the 1560 system. Connecting to the rear panel
RS-232 port may be more convenient than connecting to the RS-232 port un-
derneath the base.
14.5.1
Connection
The RS-232 port is located on the back of the 3560 Module. Wiring of the in-
terface cable should be as shown in Figure 11 in Section 6.2. A shielded cable
should be used to prevent EM emissions. The protocol for RS-232 communica-
tions is 8 data bits, 1 stop bit, and no parity.
14.5.2
Device Setup
The 3560 Serial Communication Device must be set up to use the same baud
rate as the equipment with which it will be communicating. The baud rate is set
using the
SET UP DEVICE
function in the
MODULE
soft-key menu (see
Section 5.4.2). Select the SERC device. A window appears showing the setup
parameters for the device:
167
14 3560 Extended Communication Module
Serial Communication Device
Device Command
Parameter
Description
ADDR
1-30
IEEE-488 address
TERM
LF or CR
line termination
RSET
YES
reset interface
Table 31
GPIB Communicatinos Device Commands