rem This program reads a value from discrete input ports and writes it to the discrete rem output port. 100 in A out A goto 100 end $