328
When M0 is from OFF→ON, run ‘PLSR HD0 HD100 K1 Y0’ in the BLOCK to output the
pulse;
When M1 is from OFF→ON, suspend running the BLOCK, the pulse will stop slowly with
slope;
When M3 is from OFF→ON, output the rest pulses.
Please note that by the SBSTOP stops the pulse with slope, there may be still some pulses; in
this case, if run SBGOON K1 K0 again, it will output the rest of the pulses.
9-7
.
BLOCK flag bit and register
1. BLOCK flag bit:
Address Function
Explanation
SM300
BLOCK1 running flag
1: running
0: not running
SM301
BLOCK2 running flag
SM302
BLOCK3 running flag
…….
…….
……..
…….
SM399
BLOCK100 running flag
2.
BLOCK flag register:
Address
Function
Explanation
SD300
BLOCK1 running instruction
BLOCK use this value when
monitoring
SD301
BLOCK2 running instruction
SD302
BLOCK3 running instruction
…….
…….
……..
…….
SD399
BLOCK100 running
instruction
If GBLOCK is used, it will occupy SM399 and SD399.