You should be able to do it in Logicator but Basic would probably be easier.
That 'line of code' was a textual representation of what the flowchart cells would be and what is inside them.
One of the advantages of Basic is that it's purely textual so easy to say replace -
Code:
Main:
:
gosub RL1_OFF
:
RL1_OFF:
if pinA.0=0 then
serout A.4, N2400, (254, 128, " ERROR ")
serout A.4, N2400, (254, 192, " RL1 SHORT ")
gosub prc_ALARM
end if
return
With -
Code:
Main:
:
if pinA.0=0 then
serout A.4, N2400, (254, 192, " RL1 SHORT ")
gosub ShowTopLineErrorAndSoundAlarm
end if
:
It is harder to do that when the programming language is visual, and what is actually being done is hidden behind those visuals.
Bookmarks