SysMCBDCount (FUN)

FUNCTION SysMCBDCount : UDINT

CpuCoreBindingDesc helper function
SysMCBDCount counts the set bits in CpuCoreBindingDesc.CpuCoreBits.
InOut:

Scope

Name

Type

Comment

Return

SysMCBDCount

UDINT

Returns the number of the bits set.

Input

pBindingDesc

POINTER TO CpuCoreBindingDesc

Pointer to the description of the core binding.

pResult

POINTER TO RTS_IEC_RESULT

Pointer to a variable to return an error code (optional)
  • ERR_OK: Operation successfully finished.

  • ERR_PARAMETER: CpuCoreBindingDesc is invalid pointer.