{}

Our Brands

Schneider Electric USA Website

Welcome to our website.
How can we help you today?
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 USA

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 USA

Users group

Discuss this topic with experts

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

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
move-arrow-top
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.