|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
LOGO! Soft Comfort
Spts Origin Script New Direct-- New Origin script style local results = await all({ SPTS.fetch_async("sensor_01"), SPTS.fetch_async("sensor_02") }) for each in results do SPTS.process(each) end Execution time drops to ~110ms total because the fetches overlap. While the update is largely stable, early adopters have reported three common issues. Here is how to solve them: wget https://cdn.spts.org/origin/scripts/new/origin_v4.lua -O /etc/spts/origin.lua Before activating the new script, maintain a fallback: spts run /etc/spts/origin.lua --dry --verbose Look for the line: [STATUS] Origin script new loaded successfully - Asynchronous mode enabled . Migration is not always automatic. While the new script is backward compatible, you should refactor your old routines to leverage the performance gains.
-- New Origin script style local results = await all({ SPTS.fetch_async("sensor_01"), SPTS.fetch_async("sensor_02") }) for each in results do SPTS.process(each) end Execution time drops to ~110ms total because the fetches overlap. While the update is largely stable, early adopters have reported three common issues. Here is how to solve them: wget https://cdn.spts.org/origin/scripts/new/origin_v4.lua -O /etc/spts/origin.lua Before activating the new script, maintain a fallback: spts run /etc/spts/origin.lua --dry --verbose Look for the line: [STATUS] Origin script new loaded successfully - Asynchronous mode enabled . Migration is not always automatic. While the new script is backward compatible, you should refactor your old routines to leverage the performance gains.
Вся номенклатура Siemens LOGO! |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||