The aim of this guide is
full possibilities of System
which contains all the details.
System
21
- one master function
functional units
-
IE
C-625
IE
EE
-488
I
0~
I
CONTROLLER
\
to
facilitate getting started with System
21
it
is necessary to consult the "System
consists of:
: performs System
(transparent) with
: perform
1/0
auxilary tasks such as switching, scanning,
etc.
,------------------,
I MAINS 1/0 1/0
I I
I I
I
~
21
functional units.
SYSTEM
t
control and the communication
21
~
t
21.
To
explore the
21
manual ",
1/0
~
t
I
I
I
I
I
I
MASTER
I
I
L
__
--
SYS
TEM
--------------
A
[ :
I
21
BUS
----
FUNCT
----
IONA
L UNITS (SLAVES)
---
r-r--
_j
ST4701
PHILIPS
I
I
I
I
I
I
I
I
I
I
CONTENTS
1.
INTRODUCTION
2.
HOW
TO
INTERCONNECT THE UNITS
3.
ADDRESS SELECTION
4. ADDRESSING A MESSAGE
5.
COMMANDS
6.
READING
7. PROGRAMMING WITH IMMEDIATE EXECUTION
8.
PROGRAMMING WITH USE OF PRE-PROGRAMMING AND DIFFERENT
EXECUTION MODES
8.1.
PRE-PROGRAMMING
8.2
. LOADING THE BLOCK-MEMORY
8.3.
CLEARING THE BLOCK-MEMORY
8.4
. INITIATE COMMANDS
8.5. HOW
COMMANDS
8.
6.
HOW
8.
7.
PM-NUMBER ADDRESSED EXECUTION
8.
8.
BLOCK-OPERATION
8.9
. SCAN FUNCTION
DATA
FROM
SYSTEM
TO
EXECUTE THE PROGRAMMED
TO
PROGRAMME A TRIGGER
21
OR
INITIATED FUNCTIONAL
9. HOW
10
. HOW
11.
PROGRAMMING
12.
ANNEX
TO
TO
SEE
IF
UNITS ARE READY WITH THE PROGRAMMED
SEE
IF
UNITS
HAVE
DATA
AVAILABLE
FOR
THE EXPERTS
TASKS
2.
HOW
TO
INTERCONNECT THE UNITS
by clipping the units
each other
Press here, while moving down
the upper unit with the feet
holes of the lower one.
release the button, by wich
Then
the feet hook into the
with cable-set PM2192
by using Rack-mount PM2193
If more distance between the units is required
the data-lines (data high twisted with data low) and the
the synchronization
on
holes.
lines.
top of
in
the
How
to
clip the units together
(.5 m up
to
maximum
OV-
lines may be used, not
150 m), only
ST4698
3
3.
ADDRESS SELECTION
IEEE/IEC-bus address of the Master Unit
(selectable addresses
are
10
...
19)
Warning: When an
even addresses is set, a
Service Request
will occur
after a power-on reset
(not
maskable).
ST4699
Example
Unit address of
of a
PM2101
Functional Units
with IEEEIIEC-device address
(consists of 2 fixed, type number dependent, and a third
20
Example of a PM2120 with unit address
4
203.
11
(default address)
variable digit)
ST4700
4. ADDRESSING A MESSAGE
Any message to System
the master unit.
Example:
IEC PRINT #11,"message"
or
OUTPUT
sends the "message"
The routing of this message (to the master or to one of the slave units) is indicated
by the first
This unit address is:
"AID"
"AID" +3digits for the slave units.
These 3 digits consist of the
set on the unit address switch.
Separation between unit address and the following commands is
than one command is sent in one string, the
separated by commas.
Examples:
Message
"AID;command"
''AID203;command,command'' commands to the unit
711;
element of the message, the "unit address".
21
is of course preceded by the IEEE/IEC address set on
using P2000C
"message"
to
System
for the master (Additional Instrumentation Devices).
last two digits of the type number of the unit + 1 digit
Description
routes a "
set to 3
using HP85
21
with IEEE/IEC address
individual commands have to be
command"
11.
";" or
to the master routes
PM2120 with address switch
",
the
".
If more
two
5
5.
COMMANDS
Commands are given
1.
Commands for the total System
2.
Commands for individual units that must be routed
full survey of these command codes can be found
A
commands and
the
individual units (for specific unit dependent commands).
Examples:
Message Description
"AID;RESET" is a message to the master (AID) with the command
"AI 0201 ;CLOSE2,0PEN4"
6.
READING
To
input data from System
to be sent and after that the system has
Example:
on P2000C on HP85
100
IEC
110
PRINT
IEC INPUT #11,R$
DATA
#11,"AID311;1NP
in
ASCII-coded form. There are two types of commands:
21
that have
slave commands valid for all slaves) and in the operating cards of
(RESET) to reset the system to the power-on conditions.
is
a message to the slave PM2120 with address setting 1
(AID201) with the commands
open switch 4.
FROM
SYSTEM
21,
H"
21
first a command message requesting for this data has
100
110
to
be addressed
OUTPUT
ENTER
to
be routed to the master unit.
in
the annex (for master
to
as
711;"AID311;1NP
711;R$
to
the specific unit.
close switch 2 and
talker to read the data.
H"
to
The first message is a request to the
the data, which is
from the system.
Note: An input statement always returns the result
Earlier sent requests are automatically cancelled.
on
the input lines. With the second statement the data are read
6
PM2131
with address switch set to 1
of
the last request for data.
to
send
7.
PROGRAMMING WITH IMMEDIATE EXECUTION
In
the default position after power-on, System
immediately in the order
and straightforward way of programming, involving a limited number of commands ,
of which the most important are given
Function Message Description
System Reset "AID; RES"
Unit Reset
Operating Mode
Functional Command
Remarks :
1. The codes for the functional commands are unit dependent and can be found
on the operating cards of the units.
2. After a command requesting for the return of data,
addressed as
3. A power-on system reset can
on
the master unit (not allowed during a running program).
in
which they are programmed. This
"AIDnnn;RO"
"AIDnnn;Mm"
"AIDnnn;cmd,
talker to input the data into the controller.
..
,cmd"
also be realised
21
executes incoming commands
below.
Resets the total System
power-on conditions .
Resets slave with unit address "nnn"
to the power-on conditions.
Sets slave
operating mode
of
cards
Sends
unit with address
the units).
the commands
by
is
the most simple
with address
"Mm"
(see operating
"cmd"
"nnn
".
System
21
pushing the RESET button
21
to the
"nnn"
must be
in
to the
7
8.
PROGRAMMING WITH USE
DIFFERENT EXECUTION MODES
8.1. PRE-PROGRAMMING
OF
PRE-PROGRAMMING AND
Each slave unit has a block-memory
used repetitively) can
each of which can contain up
recalled from the memory positions serially or randomly by using INITIATE
commands (see
8.4.).
be
pre-loaded. This block-memory has 20 memory positions,
in
which functional commands (that have
to
a full slave setting. The commands stored, can be
8.2. LOADING THE BLOCK-MEMORY
The block-memory is loaded
"Pn"
indicating the memory position
Examples:
"AID201;P3,CLOSE
"AID201;PO,CLOSE 0-9;P1,0PEN
O,OPEN
by
sending the commands to
at
which the data have
5" functional commands "CLOSE
10-19
5"
are stored
3
(P3).
" "CLOSE 0-9" is stored
position
block-memory position 1
in
block-memory position
0
(PO),
"OPEN
8.3. CLEARING THE BLOCK-MEMORY
The block-memory
It also can be cleared
memory can be cleared
commands).
Examples:
is
automatically cleared
by
sending "AIDnnn;R2". Individual positions of the block-
by
sending 'empty' commands
at
reset or at a mode change of the unit.
("Pn"
be
stored, preceded by
to
be
stored.
O,OPEN
in
block-memory
10-19" in
(P1).
not followed by
to
be
"AID218;P10"
"AID218;P10-15"
"AID218;R2"
8
clears block-memory position
clears block-memory positions
clears the total block-memory with
general slave command "R2".
10.
10
up
to
incl.
15.
Loading...
+ 16 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.