RemoteProcedureCalls (GVL)ΒΆ

List of available RPCs of the CLServer FB. All results are returned in Intel Byte Order (= little Endian)

Attributes:
qualified_only
InOut:

Scope

Name

Type

Initial

Comment

Constant

CODESYS_OBJECT_UUID

UUID

STRUCT(Data1 := 16#25CE9503, Data2 := 16#674, Data3 := 16#47EE, Data4 := [16#86, 16#20, 16#77, 16#3C, 16#1B, 16#93, 16#D0, 16#E1])

UUID of CODESYS

SYSTARGET_INTERFACE_UUID

UUID

STRUCT(Data1 := 16#27E2FD4E, Data2 := 16#4ED8, Data3 := 16#41EA, Data4 := [16#B2, 16#95, 16#6, 16#C1, 16#7F, 16#27, 16#3B, 16#96])

UUID of SysTarget library

END_POINT_MAPPER_INTERFACE_UUID

UUID

STRUCT(Data1 := 16#E1AF8308, Data2 := 16#5D1F, Data3 := 16#11C9, Data4 := [16#91, 16#A4, 16#8, 16#0, 16#2B, 16#14, 16#A0, 16#FA])

UUID of End Point Mapper

NDR_32_BIT_UUID

UUID

STRUCT(Data1 := 16#8A885D04, Data2 := 16#1CEB, Data3 := 16#11C9, Data4 := [16#9F, 16#E8, 16#8, 16#0, 16#2B, 16#10, 16#48, 16#60])

UUID of 32 bit NDR

GetTargetNodeName

RemoteProcedureCall

STRUCT(ObjectID := CODESYS_OBJECT_UUID, InterfaceID := SYSTARGET_INTERFACE_UUID, OperationNumber := SysTargetOperationNumber.GetTargetNodeName)

Get a human readable name that identifies this node in the network. NOTE: This could be the registered host name of the target in the network.
  • Parameter value: none

  • Return value: WSTRING(64) Type is 2 byte unicode!

GetTargetVersion

RemoteProcedureCall

STRUCT(ObjectID := CODESYS_OBJECT_UUID, InterfaceID := SYSTARGET_INTERFACE_UUID, OperationNumber := SysTargetOperationNumber.GetTargetVersion)

Returns the target version.
  • Parameter value: none

  • Return value: DWORD

GetTargetId

RemoteProcedureCall

STRUCT(ObjectID := CODESYS_OBJECT_UUID, InterfaceID := SYSTARGET_INTERFACE_UUID, OperationNumber := SysTargetOperationNumber.GetTargetId)

Returns the TargetId. NOTE: Highword of the TargetId is the VendorId! The VendorId is managed by 3S.
  • Parameter value: none

  • Return value: DWORD