Copyright © Siemens AG 2016. All rights reserved
112
ERTEC 200P-2 Manual
Technical data subject to change
Version 1.0
register. Furthermore, the job can be interrupted or cancelled just as in
the case of the SW control of the job described above.
Job finished:
The job is finished in the same way as in the case of the SW control of
the job described above.
The job control is illustrated in Figure 4.
Figure 4: Finite state machine diagram of the job control algorithm
IDLE
START
INTERRUPT
RUN
FINISH
( sig. HW_Global_Reset = '1' AND
reg. SW_RESET = '0' )
AND
( ( reg. SW_JOB_START = '1' AND
reg. HW_JOB_START_EN = '0' ) OR
( sig. HW_JOB_START = '1' AND
reg. HW_JOB_START_EN = '1' ) )
sig. HW_Global_Reset = '0'
OR
reg. SW_RESET = '1'
Job with the highest priority
IF ( reg JOB_EN = '1'
AND reg. DMA_EN = '1' )
sig. HW_Global_Reset = '0'
OR
reg. SW_RESET = '1'
OR
reg. JOB_RESET = '1'
Last DMA Transfer
of the DMA Job
is completed
sig. HW_Global_Reset = '0'
OR
reg. SW_RESET = '1'
OR
reg. JOB_RESET = '1'
a Job with higher priority
is started OR
reg JOB_EN = '0' OR
reg DMA_EN = '0' OR
-- for HW controlled Job
(sig HW_DMA_REQ = '0' AND
reg HW_FLOW_EN = '1' )
Interrupted Job
with the highest priority,
IF ( no Job with higher priority is
started AND DMA_EN = '1' AND
JOB_EN = '1' AND
-- for HW controlled JOB
NOT (sig HW_DMA_REQ = '0' AND
reg HW_FLOW _EN = '1' )