{}

Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
Search FAQs
Why Vijeo Designer runtime crash when I perform a snapshot using recipes?
Problem
A crash of Vijeo Designer Runtime can occur when use Recipe with a lot ingredients as string variable. (Using SoMachine)
The crash appears when the user push the button 'Snapshot button'
Two possible messages
Application has halted,
Exception: Access violation,
Address: 675579CD 00:000069CD oms.dlm: Koohi.cpp:line 1155
Or
Application has halted,
Exception: Access violation,
Address: 67398C8C 02:00007C8C ScanDriverV2.dlm: Koohi.cpp:line 1155

Root cause
In the user manual, the maximum of recipe is 1024 ingredients
However due to some limitation of Codesys brick, the number max of ingredient could be less than expected
If the user set some String variable in SoMachine without specify the variable size, Vijeo Designer will take the maximum size (80 bytes) and in this case the user cannot reach of maximum of ingredient

Solution / Workaround
Reduce the number of ingredient
Reduce the ingredient size (action to perform in SoMachine side)
STRING[5] instead of STRING (by default STRING = STRING[80]

Schneider Electric Egypt and North East Africa

Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.