Advantech ADAM-6050 18-Channel Isolated Digital I/O Modbus TCP Module ADAM-6050-BE Scheda Tecnica

Codici prodotto
ADAM-6050-BE
Pagina di 272
ADAM-6000 Series User Manual
202
GCL Rule Execution Sequence
There are 16 logic rules on one ADAM-6000 module. Refer to the figure 
7.22 below to see the execution flow for one cycle. You can see there are 
3 groups for one cycle: Input Condition + LogicExecution, and Out-
put
. All the Input Condition + Logic stages of  rules which are enabled 
will execute sequentially first. Then, all the Execution stages of  rules 
which are enabled will be executed in sequence. At the end, all Output 
stages of rules which are enabled will be executed in order.
For some advanced applications, you may combine different rules 
together by Logic Cascade architecture (described in section 7.4.1). For 
example, the output of rule 1 is connected to the input of rule 2, by 
assigning to the same internal flag. Based on the execution flow men-
tioned above, the Input Condition + LogicExecution and Output 
stages of rule 1 will be executed sequentially. Therefore, the output of 
rule 1 will be updated at the last stage (Output stage) in the first cycle, 
and the input of rule 2 can detect the change of output of rule 1 in the next 
cycle.
Figure 7.22: GCL Execution Sequence  
Input 1
Rule 1
Rule 2
Rule 16
Input 2
Input 3
Output 1
Output 2
Output 3
Input 1
Input 2
Input 3
Output 1
Output 2
Output 3
Input 1
Input 2
Input 3
Output 1
Output 2
Output 3
Input 
Condition
Logic
Execution
Output