Fanuc Power Mate i-D/H Operation Maintenance Handbook

3
1
4
5
6
7
8
9
10
2
364
CNV 0 : Binary to BCD-code, 1 : BCD to Binary-code
W1 (1 : Error)
Input data address
Output data address
BYT
DCNV
SUB14 ffff
ffff
CNV
RST
ACT
(28)
Data
conversion
(29)
Extended
data
conversion
V : Overflow, Z : Zero, N : Negative
W1 (1 : Error)
No. of byte
(1 : 1-byte, 2 : 2-byte, 4 : 4-byte)
Input data address
Output address
SIN
DCNVB
SUB 31
f
ffff
ffff
CNV
RST
ACT
#0
R9000
Z
#1
N
#2#3#4#5
V
#6#7
SIN When converts BCD to binary ; 0 : Positive, 1 : Negative
[Operation output register]
BYT
COMP
SUB 15
f
ffff
ffff
ACT
(30)
Comparison
W1
Format of reference data
(0 : Constant data, 1 : Address)
Reference value
(Constant data or address)
Comparison value
(0 : Ref. data > Comp. data),
(1 : Ref. data v Comp. data)
(31)
Comparison
for binary
data
ACT
COMPB
SUB 32
ffff
ffff
ffff
#0
R9000
Z
#1
N
#2#3#4#5
V
#6#7
Format of reference data
Reference value
(Constant data or address)
Comparison value
[Format of ref. data]
0 0 1 : 1-byte, 2 : 2-byte, 4 : 4-byte
0 : Constant data, 1 : Address
[Operation output register]
V : Overflow, Z : Ref. data=Comp. data,
N : Ref. data<Comp. data

Leave a Reply

Your email address will not be published. Required fields are marked *