I will admit, I am not a programmer just a user of the webcontrol hardware. I am using a PLC board to turn on and off a remote camera. I found this example in the CAI literature.
START
CALLSUB PERIOD
END
PERIOD:
TSTGE CH 23 RAM2
NOP
TSTLE CH 5 RAM3
NOP
OR RAM2 RAM3 OP1
RET
It works great but I really want it to do the opposite. On at 5 and off at 23. I have rearranged the values and tried about everything I can think of. It just can't be that hard.
Can somebody help me please?
START
CALLSUB PERIOD
END
PERIOD:
TSTGE CH 23 RAM2
NOP
TSTLE CH 5 RAM3
NOP
OR RAM2 RAM3 OP1
RET
It works great but I really want it to do the opposite. On at 5 and off at 23. I have rearranged the values and tried about everything I can think of. It just can't be that hard.
Can somebody help me please?