This module implements the variables and callback functions for the object dictionary from CiA 404 (controller). The module adds the following objects to the object dictionary:
| Index | Description | Function / Variable | Configuration Symbol |
| 6410h | CO effective controller output Y (int16_t) | Cos404_Idx6410() | - |
| 6421h | CO automatic/manual mode switch A/M | Cos404_Idx6421() | - |
| 6422h | CO controller on/off | Cos404_Idx6422() | - |
| 7402h | CO set point W (int16_t) | Cos404_Idx7402() | - |
| 7450h | CO proportional band Xp1 (int16_t) | Cos404_Idx7450() | - |
| 7451h | CO proportional band Xp2 (int16_t) | Cos404_Idx7451() | - |
| 7452h | CO integral action time Tn1 (int16_t) | Cos404_Idx7452() | - |
| void Cos404_CO_Process |
( |
uint8_t | ubChannelV | ) |
|
Run one controller process step for the given channel.
- Parameters
-
| [in] | ubChannelV | Controller channel |
- Note
- This function shall be called after the COS 404 module has been initialized by Cos404_ParmInit().
This function executes one PID step for the controller channel defined by ubChannelV. It reads the set point from object 7402h, applies the configured proportional band (7450h, 7451h) and integral action time (7452h), and writes the resulting output value to object 6410h.