
Document type:
Title:
Revision date:
Revision:
User's Manual (MUT)
Mod. N568B/LC 16 Ch Spectroscopy Amplifiers
26/01/2007
4
Filename:
Number of pages:
Page:
N568B_N568LC_REV4.DOC
37
21
4.3.1 Master to Slave data composition (C117B case)
The MASTER-to-SLAVE data have to be written into the Transmit Data buffer by performing
subsequent F(16) N functions as follows:
Table 4.5: Master to Slave data composition (C117B case)
Order CAMAC
Function
W16 to W1
(HEX)
Meaning
1
F(16)
N
%0001
H. S. CAENET Controller
identified code
2
F(16) N
%00XX
Module Number
3
F(16)
N
Code
First word of the Operation
Code to be performed
4
F(16)
N
Code/Set
Possible subsequent word of
the Set value
After the required F(16) N functions have been performed, it is necessary to carry out an F(17) N
function in order to transfer the stored data to the addressed module. The Operation Codes are
shown in Tab. 4.7.
A LAM signal is generated (if enabled) as soon as the response data packet is stored into the C117B
Receive Data buffer. The LAM is cleared whenever the last datum has been read. If the LAM has not
been enabled after the F(17) N function the F(0) N function must be repeated until a Q=1 response is
obtained. The readout is over when Q=0 (Q STOP readout operation).
In the C117 B Receive Data Buffer the User reads the N568B/LC response or a C117 B error
message (e. g., if the C117 B does not receive any Slave response within a period of 500 msec it
stores the code %FFFF in the Buffer, see Tab. 4.10).
4.3.2 Slave to Master data composition (C117B case)
The answer data coming from the Mod. N568B/LC or a Mod. C 117 B error message are
automatically stored into the C117 B Data buffer and therefore are available to the User. As soon as
the data packet is stored in this buffer, a LAM (if enabled) is generated.
The following Table shows the structure of the N568B/LC data packet:
Table 4.6: Slave to Master data composition (C117B case)
Order CAMAC
Function
Datum
Meaning
1 F(0)
N
Error Code
Error code
2 to 50(*)
F(0) N
value
Possible Parameter value
(*) The first data of the packet is read and checked by the C117B Control Logic (see
C117B Technical Information
Manual
).
The Error Codes are described in Tab 4.10.