INOS
CINOSPosChannel Class Reference
Inheritance diagram for CINOSPosChannel:

Public Member Functions

virtual ICACHE void Set (real64 arValue) override
 
virtual ICACHE real64 Get () override
 
ICACHE int32 GetPosition ()
 
ICACHE void SetPosition (int32 aiValue)
 
ICACHE int32 GetPositionDelta ()
 
ICACHE int32 GetRawOffset ()
 
ICACHE void SetRawOffset (int32 aiOffset)
 
ICACHE int32 GetRawPosition (uint32 auStage=0)
 
ICACHE real32 GetControl ()
 
virtual ICACHE void SetControl (real64 arValue) override
 
ICACHE real32 GetSerror ()
 
ICACHE void SetSerror (real32 arValue)
 
ICACHE void SetValue (real32 arValue)
 
ICACHE bool GetSyncEnable ()
 
ICACHE void SetSyncEnable (bool abValue)
 
ICACHE bool GetAxisEnable ()
 
ICACHE void SetAxisEnable (bool abValue)
 
ICACHE bool GetSynced ()
 
ICACHE bool GetZeroImpuls ()
 
ICACHE bool GetAxisEnabled ()
 
ICACHE bool GetInverted ()
 
ICACHE void SetInverted (bool abValue)
 
ICACHE void SetCalibEnabled (bool abValue)
 
ICACHE bool GetCalibEnabled ()
 
void RegisterHook (tpPosHook apPosHook, int32 aiId, char *apUnit=0, uint32 auCharacteristics=DF_INOS_IMAGE_CHN_DEF_CHAR, int32 aiLower=DF_INOS_IMAGE_CHN_DEF_INT, int32 aiUpper=DF_INOS_IMAGE_CHN_DEF_INT)
 
 CINOSPosChannel (const char *apName, uint16 auNumber, uint16 auArrayLength=1)
 
void SetupChannel (uint16 auNumber, uint16 auArrayLength)
 setup channel
 
void ConvertToReal (uint16 auNumber, uint16 auArrayLength)
 convert to real channel
 
- Public Member Functions inherited from CINOSProcessImageValue
virtual uint16 GetCycleNumber ()
 
virtual void SetCycleNumber (uint16 auCycleNumber, uint8 auBusId=CINOSBus::GetFirstBus() ->GetId(), CINOSBusJob *apBusJob=0)
 
virtual uint16 GetCycleId ()
 
virtual void SetCycleId (uint16 auCycleId, uint8 auBusId, CINOSBusPortHandler *apBusPortHandler)
 
virtual uint8 GetBusId ()
 
virtual CINOSBusJob * GetBusJob ()
 
virtual void GetUnit (char *apUnit, uint32 auSize)
 
virtual uint32 GetCharacteristics ()
 
virtual real64 GetMinimum ()
 
virtual real64 GetMaximum ()
 
template<class T >
T GetValueEx (uint32 auIndex=0)
 
template<class T >
void SetValueEx (T aValue, uint32 auIndex=0)
 
 CINOSProcessImageValue (const char *apName, uint32 auNumber, uint8 auParent, uint16 auArrayLength)
 
- Public Member Functions inherited from CINOSProcessImageChannel
const charGetName ()
 
void Rename (const char *apName)
 
uint16 GetNumber ()
 
CINOSProcessImageGetParent ()
 
virtual void SetEnabled (bool abValue)
 
virtual bool GetEnabled ()
 
virtual void SetSimulated (bool abValue)
 
virtual bool GetSimulated ()
 
virtual void SetConfig (uint32 auConfig, uint32 auMask, uint32 auOffset=0)
 
virtual uint32 GetConfig (uint32 auOffset=0)
 
virtual voidGetConfigAdr (uint32 auOffset=0)
 
uintid RegisterHook (tpHook apHook, intid aiId, char *apUnit=0, uint32 auCharacteristics=0xffff, real32 arLower=real32(1.2345), real32 arUpper=real32(1.2345), tpHook apInvHook=NULL)
 register channel hook
 
uintid RegisterLastHook (tpHook apHook, intid aiId)
 
void UnRegisterHook (uintid auHookId)
 Unregister channel hook.
 
SINOSProcessImageChannelHookGetFirstHookDescriptor ()
 Get first hook descriptor.
 
SINOSProcessImageChannelHookGetLastHookDescriptor ()
 Get last hook descriptor.
 
bool IsHooked ()
 Check if this channel has a hook or not.
 
virtual void RegisterBusHook (uintid &auHookId, void *apHandler, void *apObject=0, int32 aiOrder=DF_INOS_BUS_HOOK_ORDER_DEFAULT)
 Register hook and return hook id. The registered function will be called in the context of the corresponding fieldbus task.
 
virtual void UnRegisterBusHook (uintid auHookId)
 unregister a previously registered bus hook
 
virtual uint32 GetCycleTimeNs ()
 
virtual void UpdateCycleId (uint16 auCycleId)
 
virtual CINOSBusPortHandlerGetBusPortHandler ()
 
virtual uint32 GetOversampling ()
 
virtual uint32 GetArrayLength ()
 
virtual bool IsRaw32 ()
 
virtual bool IsRaw ()
 
virtual void IwasMoved (uint32 auToNumber)
 
virtual void SetDescription (const char *apDescription)
 
 CINOSProcessImageChannel (const char *apName, uint16 auNumber, uint8 auParent)
 
CINCOObject * GetRegister ()
 
int operator< (const CINOSProcessImageChannel &aChannel) const
 
int operator== (const CINOSProcessImageChannel &aChannel) const
 
int operator< (const char *apName) const
 
int operator== (const char *apName) const
 

Protected Attributes

int32 m_iOldPosition
 
- Protected Attributes inherited from CINOSProcessImageValue
voidm_pValue
 pointer to value
 
- Protected Attributes inherited from CINOSProcessImageChannel
const charm_pName
 
const charm_pIncoName
 
uint16 m_uNumber
 
uint16 m_uParent
 
CINCOObject * m_pRegister
 
SINOSProcessImageChannelHookm_pFirstHook
 

Member Function Documentation

◆ Get()

virtual ICACHE real64 CINOSPosChannel::Get ( )
overridevirtual

Reimplemented from CINOSProcessImageChannel.

◆ Set()

virtual ICACHE void CINOSPosChannel::Set ( real64  arValue)
overridevirtual

Reimplemented from CINOSProcessImageChannel.

◆ SetControl()

virtual ICACHE void CINOSPosChannel::SetControl ( real64  arValue)
overridevirtual

Reimplemented from CINOSProcessImageChannel.


The documentation for this class was generated from the following file: