The purpose is to activate and deactivate a contactor every x seconds.
This simple script made in FBeditor does not work
The objects are virtual objects, not used in other functions. No errors in the logs.
Scripts added
FB Event for 32/1/30
require('custom.fbeditor20.Control')
Pulse_width = 1
Cycle = 70
Enable = event.getvalue()
out, out_not, state = fbe_oscillator(Pulse_width, Cycle, Enable, 'fb__New_diagram__fbe_oscillator__id')
if out ~= nil then
grp.write('32/1/31', out)
end
This simple script made in FBeditor does not work
The objects are virtual objects, not used in other functions. No errors in the logs.
Scripts added
FB Event for 32/1/30
require('custom.fbeditor20.Control')
Pulse_width = 1
Cycle = 70
Enable = event.getvalue()
out, out_not, state = fbe_oscillator(Pulse_width, Cycle, Enable, 'fb__New_diagram__fbe_oscillator__id')
if out ~= nil then
grp.write('32/1/31', out)
end