App. - 37
Project name QA-7
Program name MAIN
C5
SM410
C6
X0
Y070
M2
M3
SM400 (always ON)
C5
C6
X7
K4Y40D0Z0BCD
D33C6MOV
C6C5-P
C5RST
RST
RST
0
5
16
43
46
57
79
Digital switch
Writes 32760 to D35 and counts
products manufactured
when X20 to 2F are 0
D35K32760MOVK4X20K0=
X2
K4X20K0<>
D36K32<=
D36K1<= D36K31>=
D35K4X20BIN
D36K2X30BIN
SM411
Z0D36<>
Z0D36MOV
D0Z0C5MOV
K2Y58Z0BCD
K4Y60C6BCD
X6
K32K0FMOV
K3K0FMOV
D35
K32760
D0
K4Y40
(0.1-sec. clock)
Tentative count
value is set
C5
Inputs production command
Inputs date
Y70 flashes to indicate error
when date exceeding 31 is set
Specifies date indirectly
Stores number of products
manufactured to data register
Displays manufacture date
to exterior
Displays number of products
manufactured on current day
Displays number of products
manufactured in one month
Clears number of products
manufactured on day anytime,
if necessary
Clears all at end of month
71
M2RST
PLS
M2SET
C5RST
M3
FMOV K0 D0
K32
Simultaneously transfers data 0 to D0 to D31.
FMOV K0 K4Y40
K3
Simultaneously transfers data 0 to K4Y40, K4Y50, and K4Y60.