J1939LocalECU (FB) ¶ FUNCTION_BLOCK J1939LocalECU EXTENDS J1939ECUBase IMPLEMENTS IJ1939LocalECU Implements a local ECU. Note This function block is not intended for being instantiated by applications. Instances will be created implicitly. Properties: Address , inherited from J1939ECUBase IsArbitraryAddressCapable , inherited from J1939ECUBase IsLocal , inherited from J1939ECUBase NAME , inherited from J1939ECUBase State , inherited from J1939ECUBase Methods: ChangeAddress TriggerPGByIdx Structure: ChangeAddress (Method) TriggerPGByIdx (Method)
J1939LocalECU.ChangeAddress (METH) ¶ METHOD ChangeAddress : BOOL Changes the ECU address. InOut: Scope Name Type Comment Return ChangeAddress BOOL TRUE: ECU address change request initiated successfully Input byAddress BYTE new ECU address
J1939LocalECU.TriggerPGByIdx (METH) ¶ METHOD TriggerPGByIdx Triggers sending of a parameter group. Note This method is obsolete. Use TransmissionTrigger function block instead! InOut: Scope Name Type Comment Input uiIndex UINT zero based index of the parameter group
Parser ¶ IsBroadcast (Function) IsP2P (Function) ParseCANID (Function) ParsePGN (Function)
IsBroadcast (FUN) ¶ FUNCTION IsBroadcast : BOOL Returns TRUE if parameter group number is broadcast InOut: Scope Name Type Comment Return IsBroadcast BOOL TRUE: Broadcast; FALSE: P2P Input dwPGN DWORD parameter group number
IsP2P (FUN) ¶ FUNCTION IsP2P : BOOL Returns TRUE if parameter group number is peer to peer InOut: Scope Name Type Comment Return IsP2P BOOL TRUE: P2P; FALSE: Broadcast Input dwPGN DWORD parameter group number
ParseCANID (FUN) ¶ FUNCTION ParseCANID Parses a CANID and returns J1939 specific information InOut: Scope Name Type Comment Input dwCANID DWORD CANID to be parsed Output dwPGN DWORD parameter group number (for P2P: PDU specific will be set to 0; see by DestinationAddress) eType PG_TYPE parameter group type: broadcast or P2P bySourceAddress BYTE ECU source address byDestinationAddress BYTE ECU destination address (only valid for P2P) byPriority BYTE J1939 priority
ParsePGN (FUN) ¶ FUNCTION ParsePGN Parses a parameter group number InOut: Scope Name Type Comment Input dwPGN DWORD parameter group number to be parsed Output byPDUFormat BYTE PDU format byPDUSpecific BYTE PDU specific byDatapage BYTE data page byExtendedDatapage BYTE Extended data page
J1939ECUBase (FB) ¶ FUNCTION_BLOCK J1939ECUBase IMPLEMENTS IJ1939ECU Base implementation for an ECU. Note This function block is not intended for being instantiated by applications. Instances will be created implicitly. Properties: Address IsArbitraryAddressCapable IsLocal NAME State Methods: ChangeAddress Structure: Address (Property) ChangeAddress (Method) IsArbitraryAddressCapable (Property) IsLocal (Property) NAME (Property) State (Property)
SM3_Basic Library Documentation ¶ Company : CODESYS Title : SM3_Basic Version : 4.17.0.0 Categories : Intern|SoftMotion Author : CODESYS Development GmbH Placeholder : SM3_Basic Description [ 1 ] ¶ Contents: ¶ GlobalTextList (GlobalTextList) Images Library Information GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function) Project Information GetBooleanProperty (Function) GetCompany (Function) GetNumberProperty (Function) GetTextProperty (Function) GetTextProperty2 (Function) GetTitle (Function) GetVersion (Function) GetVersionProperty (Function) SM3_Basic DataTypes DriveInterface Globals POUs Visualization SM3_Basic_GetVersion (Function) Indices and tables ¶ [ 1 ] Based on SM3_Basic.library, last modified 26.07.2024, 11:51:33. LibDoc 4.5.0.0 The content file SM3_Basic.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 26.07.2024, 11:51:57.