Mapp Vision Process Variables

Hello

I am doing my first project with a vision system. I want to record an object and analyse it with the Blob vision function. The operation is done with a visualisation on a power panel. I can trigger the camera from my PP and the image is displayed on the panel. Now I would like to display the variables of the Blob function (Area, Length, Width) on the panel, but this does not work.

I use:
Power Panel: 4PPC80-101.10B
Camera: VSS112F24.M51P
AS: V 4.12
mappVision: 5.28.0
mappView: 5.24.4

MappVision displays the process variables as required.

If I trigger the image with my CPU, only the FunctionProcessingTime is displayed. Does anyone have an idea how I can solve this problem?

Any help would be greatly appreciated.

Hi @Patrick_Christen

is it your input EnhancedBlobInformation in your Program active like in your screenshot?

You could check the status direct in the I/OMapping:
image

BR
Vanessa

Hi

Yes, I have the same settings in the programme as in the mappVision HMI.

Wenn you trigger the camera via your code, mappVisionHMI is closed?

mappVisionHMI must be closed, if you want to see the results in AS.

Because in your screenshot, I don’t see the CameraStatus value.

Yes, the mappVisionHMI is closed and the camera status is = 0

I set EnableBlob = True and trigger a picture. Do I have to do anything else that the blob function is executed?

It shoud be all.

Did you try to see, if there is more information /warnings / errors in the Logger?

Yes, but I don’t see anything wrong with it. But I also don’t see any messages from the blob function when I take a picture

Ok, no, Blob doesn’t show any messages in Logger

Looking at the results, you have NumResults = 0, which means that it did not find any results.

Did you remember to save the Vision Application when you “taught” the blob?

Also an important point to note is that it is really easy to overwrite the Vision Applications with a Transfer from Automation Studio. It is a good practice to either use Vision Applications saved under names not used in the Automation Studio project, or remember to do a Online → Compare Automation Components and copy the modified Vision Applications to the Automation Studio project before transferring.

Yes, I have saved the settings, compared the automation components and applied the settings to my project.

Okay, that looks good.

Have you verified how the picture looks when taken from the application instead of mapp Vision HMI?

Might be that you have different lighting settings from mappVision HMI and application?

I display the image on my panel, and it looks identical to the mappVision HMI. SetFocus and ExposureTime are also identical.

I found an error, but I don’t know how to fix it. If anyone can help me, that would be great. So far, I’ve only been paying attention to the CompletedAcquisationCnt, but the FailedAcquisationCnt is also counting up.

Hi @Patrick_Christen ,

did you check the backlight and camera synchronization?
Here you can find an example, how I did the synchronization.

Yes, I have done the synchronization with the B&R training documents (TM 1610) and all settings. Everything looks fine when I use the default 5 * gPLK_CYKLE_TIME. If I change this to 6* RTInfo01.cycle_time, the image and the backlight are no longer synchronized.

But it could also be that something is wrong with my triggering of the image. Do you have a suggestion or an example?