Summary
API is to read/write to a device/PLC communication with WinGP or a device in WinGP from the user-created program (application).
DDL file for API communication
The API is provided in a DLL file. The DLL file name is ProEasy.dll and is installed in the WINDOWS folder.
Supported Languages
The following five program languages can be used for the device access API.
Visual C++
Visual Basic 6.0
VB.NET
Excel VBA
C#
You cannot use the following API with VB.NET or C#.
Even if the API is used, its operation cannot be guaranteed.
ReadDevice()
WriteDevice()
ReadSymbol()
WriteSymbol()
SizeOfSymbol()
Devices WinGP SDK can access
The WinGP SDK has access to PLC device and USR, LS Area and symbols and logic instructions variables registered in GP-Pro Ex.
To use structure variables of logic instructions, you need to use the parameters below.
ReadSymbolD / ReadSymbolVariantD / WriteSymbolD / WriteSymbolVariantD as I/F
For details on using a structure variable in the logic instruction, see the following.38.9.5.8 Bit data access
You cannot use real variables of logic instructions or R_device.