Jak vám dnes můžeme pomoci?
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
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]
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
Exception: Access violation,
Address: 675579CD 00:000069CD oms.dlm: Koohi.cpp:line 1155
Or
Application has halted,
Exception: Access violation,
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]
Publikováno pro: Schneider Electric Česká republika
Potřebujete pomoc?
Nástroj pro výběr produktů
Rychle a snadno vyhledávejte správné produkty a příslušenství pro vaše aplikace.
Získejte nabídku
Poptejte se nás online a náš lokální specialista se s vámi spojí!
Kde nakoupit?
Jednoduše najděte nejbližšího distributora výrobků Schneider Electric ve vašem okolí.
Centrum nápovědy
Zdroje podpory pro všechny své potřeby najdete na jednom místě.