GetDeviceInfo
(FUN)
FUNCTION GetDeviceInfo : Error
This function can be used to retrieve information of the PLC to which the PLCHandler is connected to.
- InOut:
Scope
Name
Type
Comment
Return
GetDeviceInfo
An errorcode representing the result of this operation
Input
hPlcHandler
SysTypes.RTS_IEC_HANDLE
The instance of the PLCHandler to work on.
pDeviceInfo
POINTER TO RudimentaryDeviceInfo
Points to a RudimentaryDeviceInfo structure, where the information will be stored