
5. FUNCTIONAL INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
200
Fig.5.14.2 shows the format for the COD instruction and Table 5.14.2
shows the coding format.
W1
BYT
COD
(SUB 7)
RST
ffff. f
ACT
ffff. f
ffff. f
ffff
Error output
Control condition
ffff ffff
Converted data output
address
Conversion input data address
Size of table data
Instruction
Table address Convert data
1
2
3
4
ffff
ffff
ffff
ffff
Conversion data table
Fig. 5.14.2 COD instruction
Table 5.14.2 Coding for Fig.5.14.2
Coding sheet Memory status of control condition
Step
Number
Instruc-
tion
Address
No.
Bit No. Remarks ST3 ST2 ST1 ST0
1 RD fff . f BYT BYT
2 RD. STK fff . f RST BYT RST
3 RD. STK fff . f ACT BYT RST ACT
4 SUB 7 COD instruction
5 (PRM) ffff Size of table data (1)
6 (PRM) ffff Conversion input data address (2)
7 (PRM) ffff Convert data output address (3)
8 (PRM) ffff Convert data at table address 0 (4)
9 (PRM) ffff Convert data at table address 1 (5)
10 : : :
11 WRT fff . f Error output W1
5.14.2
Format