Hitachi HIDIC MICRO-EH Applications Manual page 95

Table of Contents

Advertisement

Item number
Arithmetic instructions-1
Ladder format
d = s
Instruction format
d = s
Usable I/O
d
Substitution destination
s
Substitution source
( ) Index value
Function
Substitutes the content of s into d.
It is possible to use array variables for d and s.
When d is a word, the constant is
When d is a double word, the constant is
Notes
When using an array variable, DER is set to 1 if the usable I/O number exceeds the maximum value, and DER is reset to "0"
if it is normal.
The combinations of d and s are as follows:
d
Bit
Word
Double word
Double word
Step numbers and processing time are as follows:
d
I/O
I/O
Array
Array
Name
Condition code
R7F4
R7F3
R7F2
DER
ERR
SD
Number of steps
Condition
(See Notes)
Bit
R,
TD, SS,
X
Y
M
CU, CT
WX WY
0 to 65535 or – 32768 to + 32767 (decimal)
H0000 to HFFFF or H8000 to H7FFF (hexadecimal)
0 to 4294967295 or -2147483648 to +2147483647 (decimal)
H00000000 to HFFFFFFFF or H80000000 to H7FFFFFFF
s
Bit
Word
s
Number of steps ( ) indicates DW
I/O
3 (4)
Array
I/O
4 (5)
Array
5-45
Chapter 5 Instruction Specifications
Substitution statement (ASSIGNMENT STATEMENT)
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
(See following table)
Steps
Word
Double word
WR,
WM TC DX DY
Processing time (µs)
Bit
32
4
74
52
5
92
Remark
DR,
Other
DM
Word
Double word
27
35
66
86
53
71
99
120

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents