This tab provides:
To configure the communication parameters
To select a camera
To activate
Example with Controller is TCP-Sever selected.
Legend |
Item |
---|---|
1 |
Module TCP-Role |
2 |
TCP-Server configuration / TCP-Client configuration (depending on the selected Module TCP-Role) |
3 |
TLS Settings Server / TLS Settings Client (depending on the selected Module TCP-Role) |
4 |
Trigger |
5 |
Camera selection |
The Use TLS-Communication check box is activated by default.
Always use the secured communication if your camera supports TLS-communication (Transport Layer Security).
If your camera does not support TLS-communication, you can deactivate the check box. If you deactivate the check box, a message is displayed and you are prompted to confirm establishing an unsecured communication.
You can select one of the following options for the Module TCP-Role:
Controller is TCP-Sever. Camera is TCP-Client
Controller is TCP-Client. Camera is TCP-Sever
Depending on the selected Module TCP-Role, you can define the corresponding:
TCP configuration (TCP-Server configuration / TCP-Client configuration)
TLS settings (TLS Settings Server / TLS Settings Client)
If you selected Controller is TCP-Sever for Module TCP-Role, you only need to enter the Port for the IP address.
If you selected Controller is TCP-Client for Module TCP-Role, you need to enter the IP address of the camera and the Port used.
If you select Use default TLS Settings, you can not modify the settings. The settings used are described in the TcpUdpCommunication Library Guide:
If you select Use custom TLS Settings, you can adapt the following settings to your needs:
Certificate Nmae
Certificate Verify Mode
Protocol
Hostname for SNI
The method Trigger is called with a rising edge of the property xTrigger. The property xTrigger can be set by you or by your program.
For Used Trigger type you can select on of the following options:
External
Timer
Distance
External
If you select External, you must set the property xTrigger of the camera. Every time the variable is set to TRUE the method Trigger is called once.
Timer
If you select Timer, you must set the following timer parameters:
Timer period [ms]: Time between two trigger signals. The value must be greater than Time trigger on, otherwise the value will not be accepted.
Timer trigger on [ms]: Duration, the property xTrigger is set to TRUE. The value must be greater then 0 and less than Timer period, otherwise the value will not be accepted.
Distance
If you select Distance, you must set the following timer parameters:
Distance period [mm]: Distance of the position source, between two trigger signals. The value must be greater than Trigger on distance, otherwise value will not be accepted.
Trigger on distance [mm]: Distance, the property xTrigger is TRUE. The value must be greater than 0 and less than Distance period, otherwise value will not be accepted.
Position phase offset [mm]: Trigger position shift. The value must be less than Distance period, otherwise value will not be accepted.
Compensation time activation: Time compensation to activate the trigger signal.
Compensation time deactivation: Time compensation to deactivate the trigger signal.
Rollover value: Internal phase shift. The value must be greater than 0, otherwise value will not be accepted.
IEC name of position source: Position source for the trigger signal. To search for an axis, click the button Scan for position source, then select the axis that is used as position source.
If you select
, no IP address is needed.
If you select
, an IP address is needed and the additional tab is displayed.Refer to General Information on Cognex Camera Configuration.
Generate targets
If you select
, the tab is displayed.Refer to Generate targets.