ReadBit (FUN) ¶ FUNCTION ReadBit : DINT The ReadBit method reads one bit from the given offset into data. @param deviceId The device to read the bit from. @param bitOffset The bit offset to read the bit at. @param data Pointer to where the bit will be read to. @return Returns 0 on success, -1 otherwise. InOut: Scope Name Type Return ReadBit DINT Input deviceId DINT taskId UDINT bitOffset UDINT data POINTER TO BYTE
Constants (GVL) ¶ {attribute ‘conditionalshow’ := ‘SomeText’} {attribute ‘conditionalshow’} {attribute ‘hide’} Attributes: qualified_only InOut: Scope Name Type Initial Constant LDKC_KBUS_TERMINAL_COUNT_MAX UINT 255
Structs ¶ ApplicationStateChangedEvent (Struct) tKbusInfo_Status (Struct) tKbusInfo_TerminalDiagnose (Struct) tKbusInfo_TerminalInfo (Struct)
ApplicationStateChangedEvent (STRUCT) ¶ TYPE ApplicationStateChangedEvent : STRUCT InOut: Name Type State tApplicationState
tKbusInfo_Status (STRUCT) ¶ TYPE tKbusInfo_Status : STRUCT InOut: Name Type KbusBitCount UINT TerminalCount UINT ErrorCode UINT ErrorArg UINT ErrorPos UINT BitCountAnalogInput UINT BitCountAnalogOutput UINT BitCountDigitalInput UINT BitCountDigitalOutput UINT
tKbusInfo_TerminalDiagnose (STRUCT) ¶ TYPE tKbusInfo_TerminalDiagnose : STRUCT InOut: Name Type Diagnose POINTER TO BYTE TerminalNo POINTER TO BYTE Channel POINTER TO BYTE Count UDINT
tKbusInfo_TerminalInfo (STRUCT) ¶ TYPE tKbusInfo_TerminalInfo : STRUCT InOut: Name Type Comment OffsetInput_bits UINT OffsetOutput_bits UINT SizeInput_bits UINT SizeOutput_bits UINT AdditionalInfo UINT struct { u16 :8; u16 ChannelCount:5; u16 PiFormat:1; u16 :2; }AdditionalInfo;
Types ¶ tEventHandler (Alias)
tEventHandler (ALIAS) ¶ TYPE tEventHandler : udint typedef void ( tEventHandler)(tEventSource source, tEventId id, tEventArgs arg, void userData);
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 25.10.2023, 14:04:37 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpKBus.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpKBus.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True LastModificationDateTime date 25.10.2023, 14:04:35 LibraryCategories library-category-list System|SysLibs Author string CODESYS Development GmbH Company CODESYS CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace KBUS Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder CmpKBus Project CmpKBus Title CmpKBus Version version 4.10.0.0