95
XCH D1[D21] D2[D21] //exchange the two neighbouring data
LD SM0 //M8000 is always ON coil
INC D21 //increase one for D21
MCR //
NEXT //match the second FOR
MCR //
NEXT //match the first FOR
4-3-5 [FEND] and [END]
1)Summary
FEND means the main program ends, while END means program ends;
2)Operands
3)Suitable Soft Components
Even though [FEND] instruction represents the end of the main program, the function is same
to END toprocess the output/input, monitor the refresh of the timer, return to program step0.
tudonghoatoancau.com