Hitachi HIDIC MICRO-EH Applications Manual page 61

Table of Contents

Advertisement

6.
Control instructions
Ladder symbol
1 END
2 CEND(s)
3 JMP n
4 CJMP n (s)
5 LBL n
6 FOR n (s)
7 NEXT n
8 CAL n
9 SB n
10 RTS
11 INT n
12 RTI
7.
Transfer instructions
Ladder symbol
1 TRNS 0
2 RECV 0
8.
FUN instructions
Ladder symbol
1 FUN 5 (s)
2 FUN 80 (s)
(ALREF (s))
3 FUN 81 (s)
(IOREF (s))
Instruction
Process descriptions
name
Normal
Indicates the end of a
scan end
normal scan.
Scan
Re-executes normal scan
conditional
from the beginning of the
end
normal scan when s=1,
while the next instruction is
executed when s=0.
Unconditio-
Jumps to LBL n of the
nal jump
same No. n.
Conditional
When s=1, jumps to the
jump
LBL n of the same No.;
when s=0, executes the next
instruction.
Label
Indicates the jump
destination of JMP or
CJMP of the same No.
FOR
When s=0, jumps to the
location after the NEXT n
of the same No.; when s is
not 0, executes the next
instruction.
NEXT
Subtracts 1 from the s value
of the FOR n of the same
No. and jumps to FOR n.
Call
Executes the SB n
subroutine
subroutine of the same No.
n.
Start
Indicates the start of No. n
subroutine
subroutine.
RETURN
Returns from subroutine.
SUBROUTIN
Start
Indicates the start of No. n
interrupt
interrupt scan.
scan
RETURN
Returns from interrupt
INTERRUPT
scan.
Instruction
Process descriptions
name
General
Data sending and receiving
purpose
(optional)
port
communica
Data receiving and sending
-tion
(optional)
command
Instruction
Process descriptions
name
General
Port type switching from
purpose
dedicated port to general
port
purpose port
switching
I/O refresh
Refreshes all external I/O
(all points)
ranges.
I/O refresh
Refreshes only the input
(I/O /link
range, output range or link
designation
range.
)
Chapter 5 Instruction Specifications
I/O types used
DER ERR SD
None
s: X, Y, R, M
n: Constant(0-
255)
n: Constant(0-
255)
s: X, Y, R, M
n: Constant(0-
255)
n: Constant(0-49)
s: WY, WR, WM
n: Constant(0-49)
n: Constant(0-99)
n: Constant(0-99)
None
n: Constant(0-2,
16-19, 20-27)
None
I/O types used
DER ERR SD
d: WY10
s: WR, WM
t: R, M
d: WX0
s: WR, WM
t: R, M
I/O types used
DER ERR SD
s: WR,WM
s: WR,WM
s: WR,WM
5-11
Process
time
(µ s)
MICRO-EH
V
C
714
1
5
2
2
707
32
1]
1]
3
3 *5
32
0.5
1
1]
33
3
1]
38
2
1]
24
2
1]
0.5
1
25
1
0.5
1
0.5
1
Process
time
(µ s)
MICRO-EH
V
C
80
3
80
3
Process
time
(µ s)
MICRO-EH
V
C
114
3
432
3
244
3
Remarks
*5
*6
*6
Remarks
Remarks

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents