Fujitsu SOFTUNE F2 MC-16 User Manual page 112

Software for developing programs for the f2 mc-16 family of microprocessors / microcontrollers
Hide thumbs Also See for SOFTUNE F2 MC-16:
Table of Contents

Advertisement

CHAPTER 2 DEPENDENCE FUNCTIONS
[Setup Examples]
- Terminate sequencer when event 1 occurs.
>SET SEQUENCE/EVENT 1,1,J=0
- Terminate sequencer when event 2 occurs 16 times.
>SET SEQUENCE/EVENT 1,2,16,J=0
- Terminate sequencer when event 2 occurs after event 1 occurred. However, do not terminate sequencer
if event 3 occurs between event 1 and event 2.
>SET SEQUENCE/EVENT 1,1,J=2
>SET SEQUENCE/EVENT 2,2,J=0
>SET SEQUENCE/EVENT 2,3,J=1
- Terminate sequencer if and when event 2 occurs less than 300 μs after event 1 occurred.
>SET SEQUENCE/EVENT 1,1,J=2
>SET SEQUENCE/EVENT 2,2,J=0
>SET SEQUENCE/TIMER 2,300,J=1
>SHOW SEQUENCE
Indicates
move to level
2 when event
1 occurs at
level 1
98
Sequencer Enable
level1
level2
level3
1 |1|->2
| |
| |
2 | |
|2|->end | |
3 | |
| |
| |
4 | |
| |
| |
5 | |
| |
| |
6 | |
| |
| |
7 | |
| |
| |
8 | |
| |
| |
T | |
|T|->1
| |
Latch 1 ( -> ) =
>SHOW SEQUENCE 2
level no. = 2
event
pass-count
2
1
timer
00:00:000:300:000
level4
level5
level6
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Indicate s terminating
| |
| |
| |
sequencer when event 2
occurs at level 2.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Latch 2 ( -> ) =
Indicates move to level 1 if and
when 300 μ s passed before
jmp-level1
trace-cnt1
event 2 occurs at level 2
enable
end
enable
1
level7
level8
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents