20.19 Cyclic Handler Information (cyclic_hand[])
Here, each cyclic handler is defined.

Format

Parentheses < >show the user input part.

 cyclic_hand[ <1. ID number> ] {
     name             = <2. ID name (name)>;
     entry_address    = <3. Cyclic handler entry address (entry_address)>;
     interval_counter = <4. Activation cycle (interval_counter)>;
     start            = <5. Initial state (start)>;
     phs_counter      = <6. Activation phase (phs_counter)>;
     phsatr           = <7. TA_PHS attribute (phsatr)>;
     exinf            = <8. Extended information (exinf)>;
 };


1 ) ID number

- Description
Define the cyclic handler ID number.


- Definition format
Numeric value


- Definition range
From 1 to 255


- When omitting
The cfg600px assigns the ID number automatically.


2 ) ID name (name)

- Description
Define the ID name. The specified ID name is output to the system information header file (kernel_id.h) in the form of the following.


 #define   <ID name>   <ID number>
- Definition format
Symbol


- Definition range
-


- When omitting
Cannot be omitted.


3 ) Cyclic handler entry address (entry_address)

- Description
Define the starting function of the cyclic handler.


- Definition format
Symbol


- Definition range
-


- When omitting
Cannot be omitted.


4 ) Activation cycle (interval_counter)

- Description
Define the activation cycle in millisecond.


- Definition format
Numeric value


- Definition range
From 1 to (0x7FFFFFFF - system.tic_nume) / system.tic_deno


- When omitting
The set value in the default system configuration file (factory setting: 1) applied.


5 ) Initial state (start)

- Description
Define the initial state of the cyclic handler.


- Definition format
Symbol


- Definition range
Select either of the following:


OFF: Non operational stat (The TA_STA attribute is not specified.)

ON: Operational state (The TA_STA attribute is specified.)

- When omitting
The set value in the default system configuration file (factory setting: "OFF") applied.


6 ) Activation phase (phs_counter)

- Description
Define the activation phase in millisecond


- Definition format
Numeric value


- Definition range
From 0 to interval_counter


- When omitting
The set value in the default system configuration file (factory setting: 0) applied.


7 ) TA_PHS attribute (phsatr)

- Description
Define the attribute concerning the activation phase.


- Definition format
Symbol


- Definition range
Select either of the following:


OFF: Not preserve the activation phase. (The TA_PHS attribute is not specified.)

ON: Preserve the activation phase. (The TA_PHS attribute is specified.)

- When omitting
The set value in the default system configuration file (factory setting: "OFF") applied.


8 ) Extended information (exinf)

- Description
Define the extended information of the cyclic handler.


- Definition format
Numeric value


- Definition range
From 0 to 0xFFFFFFFF


- When omitting
The set value in the default system configuration file (factory setting: 0) applied.


- Note
The extended information is passed to the cyclic handler.