Download ACCON-AGLink 4.0
Transcript
Programming reference administration 7.1.3 Calling maximum amount of PLCs (AGL_GetMaxPLCPerDevice) This function returns the maximum of simultaneously opened PLC connections for each device of your ACCON-AGLink version. But in reality this number can be lower because of possible hardware limitations. E.g. a PC adapter only supports four connections at the same time. The number of the maximum simultaneously opened PLC connections can change in future ACCON-AGLink versions. So it is not advisable to use a constant. C/C++-Syntax: int WINAPI AGL_GetMaxPLCPerDevice( void ); Visual Basic-Syntax: Declare Function AGL_GetMaxPLCPerDevice Lib "AGLink40.DLL" () As Long Delphi-Syntax: function AGL_GetMaxPLCPerDevice: Integer; stdcall; Parameter: none Return value The maximum PLC number for each device ACCON-AGLink 4.0 126 DELTALOGIC GmbH