CANopen Slave Protocol Stack 
Version 7.04.00
Loading...
Searching...
No Matches
cos404co.h File Reference

Detailed Description

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() -
Include dependency graph for cos404co.h:

Functions

void Cos404_CO_Process (uint8_t ubChannelV)
Cos404_CO_Config_ts * Cos404_CO_GetConfig (uint8_t ubChannelV)

Function Documentation

◆ Cos404_CO_GetConfig()

Cos404_CO_Config_ts * Cos404_CO_GetConfig ( uint8_t ubChannelV)
Parameters
[in]ubChannelVController channel
Returns
Parameter value for given channel (or 0 if out of range)

Getter helpers for application templates to access controller parameters.

◆ Cos404_CO_Process()

void Cos404_CO_Process ( uint8_t ubChannelV)
Parameters
[in]ubChannelVAnalog output channel
Note
This function shall be called after the COS 404 module has initialized by Cos404_AO_ParmInit().

This function is responsible to process the selected analog output channel defined by ubChannelV after new process values have been set by Cos404_AO_SetPV_Int16(). As a result, this function will call McDacSetFV_Int16().