
Chapter 5. Application instructions
5-90
-
Execution conditions
2) Program examples
-
Program that associate the content of lower 4 bits of D0000 ~ D0003 to lower 3 nibbles of P02 word
when P030 is switched on.
Input condition
UNI
UNIP
Executed only once
Executed only once
Executed per scan
Executed per scan
UNIP D0000 P06 3
P030
0
0
0
0
0
0
1
1
0
0
1
0
0
0
0
1
D
C
F
E
9
8
B
A
5
4
7
6
1
0
3
2
0000 0000 0000
0001
0000 0000 0000
0010
0000 0000 0000
0011
D0001
D0002
F
4
0
3
D0000
P06