20
4.6
COMMUNICATING WITH THE CARRIER AND M-MODULES
The EM405-8 implements two protocols for transferring commands and data over the Ethernet
bus. The VXI-11 protocol is the default method of communication. It is always enabled and
always active. VXI-11 uses the ONC Remote Procedure Call (RPC) model for defining
instrument messages. The host-side software must also implement VXI-11 to perform
communication. Most VISA I/O implementations implement the VXI-11 protocol for TCPIP
INSTR resource types. Alternatively, raw socket communication can be enabled and used for
communications. By default, raw socket communication is disabled. In raw socket
communication, the messages and data are passed directly within the TCP protocol layer and
therefore special protocols are not required.
Regardless of the encapsulating protocol, the messages and data that the EM405-8 uses is based
on a simple binary command structure. The commands allow the user to either write or read
registers residing on the EM405-8 or on each M-Module. By writing registers residing on the
EM405-8, the user can identify the module, perform device configuration, and receive status.
The registers residing on each M-Module are specific to the particular M-Module. Refer to the
M-Module’s documentation for register details.
Each command consists of a command-id byte, a module number on which the command is to be
executed and parameters, if required. The commands are listed in Table I. Details of each
command are found throughout the rest of this section.
Table I. Command Summary
Binary
Command-id
Function
0x20
Write Data
0x30
Read Data
0x45
Block Write
0x55
Block Read
C&H Technologies, Inc. <> 445 Round Rock West Drive <> Round Rock, Texas 78681 <> www.chtech.com
Содержание EM405-8
Страница 46: ...A 2 C H Technologies Inc 445 Round Rock West Drive Round Rock Texas 78681 www chtech com ...
Страница 47: ...N O T E S C H Technologies Inc 445 Round Rock West Drive Round Rock Texas 78681 www chtech com ...
Страница 48: ... C H Technologies Inc 445 Round Rock West Drive Round Rock Texas 78681 www chtech com ...