EasyManua.ls Logo

Hitachi EH-150 - SCRW Command

Hitachi EH-150
176 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 8 Register Structure
SCRW command
Format SCRW ( s, t )
Parameter Starting I/O No. of the s parameter area, Starting I/O No. of the t parameter area
Function These are the commands to access registers.
- This is the command to read or write Status and Control Register between CPU module and this module.
- The control type supported by this command is only “With hand shaking” for writing. Don’t specify and execute “Without hand
shaking” for writing.
- When Status Register is read, select the control type “With hand shaking” or “Without hand shaking”. ("Without hand shaking" is
recommended.)
The description of s parameter area
s + 0 (1) Return code
s + 1 (2) System area
(Not be allowed to use by user)
s + 3
(
3
)
Control t
yp
e
s + 4
(
4
)
The start of the area
s + 5
(
5
)
Startin
g
I/O No. of Destination
(
or Source
)
s + 7
(
6
)
Size
The description of t parameter area
t + 0
(
7
)
Startin
g
execution fla
g
(1) Return code
The execution result of SCRW command is set.
Completed without error -> = H0000
Completed with error -> != H0000
(2) System area
This area is used by system execution when SCRW
command is executed. Don’t use this area by user.
(3) Control type
H0001: The request to get value from Status Register (“With
hand shaking” is supported.)
H0002: The request to get value from Status Register
(“Without hand shaking” is supported.)
H0003: The request to put value to Control Register.
HA55A: Request to software reset.
Please don't set up any values other than the above.
(4) The start of the area
t + 1 (8) The completion flag without error b15 b11 b7 b0
t + 2 (9) The completion flag with error Unit No. Slot No. The position of word
The description of the frame
The area should be set b
y
use
r
The area inhibited to set b
y
use
r
(7) Starting execution flag
When to start sending or receiving with SCRW command,
please set “1” by user program.
This bit will be reset by system execution when the sending
or receiving is completed.
(8) The completion flag without error
This bit will be set to “1” when the sending or receiving by
SCRW command is completed without error. This will be
reset by system when SCRW start to execution.
(9) The completion flag with error
This bit will be set to “1” when the sending or receiving by
SCRW command is completed with error. This will be reset
by system when SCRW start to execution.
Unit No.: Always “0” is required
Slot No.: One of 0 to 7 is required
The position of word:
[
When control type is selected H0001 or H0003]
Always “
H00” is required
[
When control type is selected H0002]
Always “
H2F” is required
(5) Starting I/O No. of Destination (or Source)
The actual address value of WR, WL, WM and WN which
has the starting I/O No. of the source or destination area
should be set using ADR command.
(6) Size
The size of using area for sending or receiving should be set.
For this module, maximum size is 55 words.
8-14

Table of Contents

Related product manuals