voltage regulator 4-20ma circuit
Software bugs ..
In LOOP0 change the value from 444 to 244 ..
In FREEZE, after the line:
if w3<70 ...
add:
if w3<45 then tweakup
With these changes implemented, after initial 4mA (or so) - on power on - when you press the button PICAXE should start the cycle and the sinking current should rise to 12mA (or so), wait a while, and rise to 20mA (or so) and the fall down back to 4mA (or so), wait a while and continue the cycle ..
As far as calibration is concerned, w4 is responsible for the current levels:
w4=80 for 4mA
w4=244 for 12mA
w4=408 for 20mA
If these values do not match try to change them +/- as much as required ..
Regards,
IanP