![Solartron Mobrey 3595 4C Скачать руководство пользователя страница 31](http://html1.mh-extra.com/html/solartron-mobrey/3595-4c/3595-4c_user-manual_1314070031.webp)
3595 4C User Manual Part One Programming the 3595 4C Interface card
35952350 (CH03/AA)
3-3
3.1 INTRODUCTION
This chapter describes how the Host PC can be made to control IMP devices on S-Net by accessing a
64K
dual-port RAM
on the 3595 4C Interface card. The information is intended for users who wish to write their
own software drivers: if your system uses Solartron-Mobrey software then the dual-port RAM is
‘transparent’ and you need not get involved with it.
3.2 ADDRESSING THE 4C INTERFACE CARD MEMORY
By accessing the 3595 4C Interface card memory, the Host PC is able to communicate with both the card
and the IMP devices under it’s control.
Figure 3.1 shows how the 64K dual-port RAM is divided up into
512-byte pages
, each page dealing with a
particular aspect of IMP operation.
Communication control is managed through
RAM Page 0
. On this page, the Host PC controls such
elements as:
•
IMP command transmission,
•
The polling of IMP devices for data,
•
measurement data and message reception, on the IMP data streams,
•
real-time calendar and clock control of the 4C Interface card,
•
S-Net power on/off.
IMP commands to be transmitted are written by the Host PC into
RAM Page 1
.
Measurement results from the IMP devices are received on
RAM Pages 2
through
51
, which are assigned
to IMP devices 1 through 50.
3.2.1 Addressing the RAM locations
The Host PC accesses the dual-port RAM of the 4C Interface card through the
RAM page window
(Figure 3.1). This window is
0x200
locations wide.
It resides at a
base address
that is always 0xC800
.
The width of the window allows it to encompass one complete RAM page. Initially, the page accessed is
RAM Page 0. Any other page can be accessed from this by writing the appropriate page number into the
page select
location (byte) on RAM Page 0.
The address of the
page select
location (byte) is
base address
+ 0xFF = 0xC8FF.
A return to RAM Page 0, from the page in use, is made by reading the
page select
location (byte). The data
read is the actual data at this location (a measurement data byte on RAM Page 2 for example). On RAM
Page 0, however, the page select byte contains the number of the page last visited. This number can be
saved, should the page returned from need to be restored (See Section 3.2.2). Zero should be written into
the
page select
byte to indicate that the RAM Page 0 is selected.
Содержание 3595 4C
Страница 1: ...Precision measurement solutions 3595 4C PC to S Net Interface USER MANUAL 35952350...
Страница 2: ...ii 35952350 2001 SOLARTRON MOBREY LIMITED...
Страница 6: ...vi 35952350...
Страница 7: ......
Страница 8: ......
Страница 10: ...1 ii 35952350...
Страница 12: ...1 iv 35952350...
Страница 48: ...Programming the 3595 4C Interface card 3595 4C User Manual Part One 3 20 35952350 CH03 AA...
Страница 49: ...3595 4C PC to S Net Interface User Manual PART TWO IMP Commands and Responses...
Страница 50: ...2 ii 35952350...
Страница 52: ...2 iv 35952350...
Страница 108: ...IMP Commands 3595 4C User Manual Part Two 1 56 35952350 CH01 AA...
Страница 110: ...Results and Error Formats 3595 4C User Manual Part Two 2 2 35952350 CH02 AA...
Страница 122: ...Database Structure 3595 1H and 1J IMP 3595 4C User Manual Part Two A 2 35952350 APPX A AA...
Страница 126: ...Database Structure 3595 1H and 1J IMP 3595 4C User Manual Part Two A 6 35952350 APPX A AA...
Страница 127: ......