AdsAmsServerPort
Contains the port number of the ADS device that is to be addressed with the ADS-OCX.
object.AdsAmsServerPort As Long
Comment
The port numbers of the individual ADS devices can be found in the corresponding documentation. The following table lists the most important ADS devices:
ADS device | Port number |
---|---|
NC / NCI | 501 |
PLC runtime system 1 | 801 |
PLC runtime system 2 | 811 |
PLC runtime system 3 | 821 |
PLC runtime system 4 | 831 |
Cam controller | 901 |