MPC2000 Reference Manual [JAPANESE] [ENGLISH]
yCommandz   yIOz
yUSEz
LATCH

LATCH 1 SW(208) IN(24) 2
LATCH VOID
yFORMATz yFUNCTIONz
LATCH i SW(n) IN(m) j
LATCH i @SW(n) IN(m) j

15bits latch
yEXPLANATIONz





10 LATCH 0 SW(208) IN(24) -2
20 LATCH 1 SW(209) IN(24) -4
30 LATCH 2 SW(210) IN(24) -6
40 LATCH 3 SW(211) IN(24) -8
45 DO
50 IF SW(-8)==1 THEN : PRINT "latch 0" : WAIT SW(208)==0 : OFF -8 : END_IF
60 IF SW(-24)==1 THEN : PRINT "latch 1" : WAIT SW(209)==0 : OFF -24 : END_IF
70 IF SW(-40)==1 THEN : PRINT "latch 2" : WAIT SW(210)==0 : OFF -40 : END_IF
80 IF SW(-56)==1 THEN : PRINT "latch 3" : WAIT SW(211)==0 : OFF -56 : END_IF
90 LOOP
[LASTMODIFY]2014-09-01 15:48:59 [CREATEDATE]2014-01-17 10:53:26
MPC2000 Reference Manual -R5.11-   (C)2007 ACCEL Corp. all right reserved.