Vision device in the ERROR state
Camera function blocks switch between the ERROR and INITIAL state
Situation | The instance of the function block FB_VN_Gev_CameraControl or FB_VN_SimpleCameraControl alternately returns In the eState := fbCamera.GetState()
In the TCVN_CS_INITIAL state, either function block method OpenCamera() or StartAcquisition() is called. The call fails and the instance returns to state TCVN_CS_ERROR. eState := fbCamera.GetState() or eState := fbCamera.GetState() |
Solution 1 | Check the physical connection to the camera and the power supply of the camera. |
Solution 2 | Check the settings for the camera connection (IP address of the camera, network port). |
Function block permanently in the ERROR state
Situation | The instance of the function block fbCamera.Reset();
|
Solution 1 | The symbol instance must be linked to the Image Provider - each instance of a Proceed as follows:
The FB_VN_GevCameraControl can only be linked to the Image Provider of a camera. The FB_VN_FileSourceControl can only be linked to the Image Provider of a File Source Control. The FB_VN_SimpleCameraControl can be linked to the Image Provider of a camera or to the Image Provider of a File Source Control. |
Solution 2 | The instance of Check the method calls of the instance of
|