CogNdmProfinet SetProfinetConfig Method Cognex VisionPro 9.20
Sets the PROFINET specific NDM settings. Use this method to set the PROFINET Station Name.

Namespace: Cognex.VisionPro.Comm
Assembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 80.0.0.0
Syntax

public virtual void SetProfinetConfig(
	CogNdmProfinetConfig profinetConfig
)
Exceptions

ExceptionCondition
ArgumentNullException Thrown if profinetConfig is null.
CogFfpInvalidOperationException Thrown if the StationName is set to an invalid value.

EXAMPLE 1 “device-1.machine-1.plant-1.vendor”

EXAMPLE 2 “device-1.bögeholz“ is coded as “device-1.xn-bgeholz-90a“

  • 1 or more labels, separated by [.]
  • Total length is 1 to 240
  • Label length is 1 to 63
  • Labels consist of [a-z0-9-]
  • Labels do not start with [-]
  • Labels do not end with [-]
  • The first label does not start with "port-xyz" or "port-xyz-abcde" with a,b,c,d,e, x, y, z = 0...9
  • Station-names do not have the form n.n.n.n, n = 0...999
  • Labels do only start with 'xn-' if RFC 3490 is applied
  • The definition of RFC 3490 shall be applied.
See Also