RD Controls Hardware Release Note 25.0 <P> CAMAC C1005 Module <P> Steven's Silly Serial Module (SSSM)

RD Controls Hardware Release Note 25.0

CAMAC C1005 Module

Steven's Silly Serial Module (SSSM)

R. West

August 30, 1989

Introduction

The C1005 CAMAC module transmits the command V (trigger a field measurement) to a Group3 Model DTM-100 Series Hall Effect Teslameter connected via an RS232 interface whenever an external signal is input to the module. The teslameter is connected to the module's rear I/O connector and the external signal is input to the module on this same rear I/O connector. In addition, the C1005 module will pass to the teslameter any input received via the module's front panel RS232 I/O connector.

Module Configuration

The C1005 module is based on the CAMAC 1111 single board computer:

On the front panel of the module are the following buttons and indicators:

RS232 Interface Configuration

The C1005 module has an RS232 I/O connector port on the rear of the module and also on the front. Each port's baud rate may be set to a value from 300 to 19200. RS232 serial data transmitted from the teslameter must be formatted as follows:

Group3 Model DTM-100 Series Hall Effect Teslameter

The DTM-100 may be configured by use of DIP switches to transmit each new reading on the serial line in a known format at a maximum rate of 2.34 Hz.

Switch Settings

To enable the C1005 module to process data from the teslameter, the switches on the processor board of the teslameter must be set appropriately. The 16-position switch used to specify the serial data bit rate must be set to the 9600 position. The DIP switches must be set in the following manner:

The RS232 jumpers on the processor board must be connected in the following manner:

Teslameter Initialization

In addition to the physical switch settings, the C1005 module must send the DTM teslameter certain configuration commands whenever the module is reset or powered on:

CAMAC Functions

When a CAMAC operation is performed, the Z8002 processor executes a vectored interrupt to a routine which reads the CMCSLV data lines and determines the function code. A jump is then executed to the appropriate routine to process the request.

Function Code Descriptions

F1 A13 - Read LAM mask register

F1 A14 - Read LAM source register

F6 A0 - Read module number
This function always returns the decimal value 1005.

F6 A1 - Read software version
A sixteen-bit value is returned with the major version number (release) in the most significant byte and the revision level number in the least significant byte.

F6 A2 - Read selected options
This function returns a reading of the switch settings on the I/O connector used to indicate the type of the attached meter. Only the low 8 bits are significant. Any value but 00 indicates a 9600 baud teslameter is connected.

F6 A3 - Read FOP status

F6 A4 - Read FOP reply data

F8 A0 - Test LAM
This function indicates if the module has requested LAM, independent of whether or not LAM is enabled. If the module has requested LAM, Q is returned. Otherwise, no Q is returned. This function is totally implemented in hardware and does not interrupt the embedded processor.

F9 A0 - Reset module
This function is totally implemented in hardware. It is equivalent to pressing the reset button on the module's front panel, causing the embedded processor to be reset. Q is always returned. However, trying to communicate with the module before the reset is complete results in no Q.

F10 A0 - Clear LAM source register
This function clears the entire LAM source register.

F17 A0 - Clear selected LAM source register bits
This functions clears selected bits in the LAM source register. The user must supply a 16-bit word which has a bit set for each corresponding LAM bit which is to be cleared.

F17 A13 - Write LAM mask register
This functions writes the accompanying 16-bit word to the LAM mask register.

F17 A14 - Write LAM source register
This function sets selected bits in the LAM source register. The user must supply a 16-bit word which has a bit set for each corresponding LAM bit which is to be set.

F19 A2 - Write FOP command

F19 A3 - Write FOP data

F24 A0 - Disable LAM
This function disables the assertion of LAM to the crate controller.

F26 A0 - Enable LAM
This function enables the assertion of LAM to the crate controller. Any LAM request made while LAM was disabled is immediately asserted.

Status LEDs

All status LEDs are cleared whenever a carriage return is received.

Security, Privacy, Legal

rwest@fsus04.fnal.gov