Hitachi HIDIC MICRO-EH Applications Manual page 148

Table of Contents

Advertisement

Item number
Application instructions-25
Ladder format
DIST (d, s, n)
Instruction format
DIST (d, s, n)
Usable I/O
Distribution result write
d
destination head I/O
s
I/O to be distributed
Number of words to be
n
distributed
Function
Distributes s into four bit sections and sets to the lower four bits of the n words starting from d.
The upper 12 bits of the range d to d + n – 1 will be "0."
The value of s will be retained even if DIST is executed.
Use this instruction so that d + n - 1 does not exceed the I/O range (WRFFF and WM3FF). If it exceeds the I/O range, DER
is equal to '1' and the distribution data for s will be set in the lower four bits within the range between d and the I/O.
When n = 4:
d
0
0
d+1
0
0
d+2
0
0
d+3
0
0
Notes
When n=0, it is not executed.
n
0
1
2
3
4
Name
Condition code
R7F4
R7F3
R7F2
DER
ERR
SD
Number of steps
Condition
Bit
R,
TD, SS,
X
Y
M
CU, CT
WX WY
Upper digits
s
B4
B3
4 bits
B1
B2
B3
B4
Processing time (µs)
Average
Maximum
62
87
90
92
94
5-98
Chapter 5 Instruction Specifications
Distribute
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
As per the table
below.
Steps
4
Word
Double word
WR,
DR,
WM TC DX DY
DM
Lower digits
B2
B1
Remark
Other
n=0 to 4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents