MLB Member M Join Date Jan 2004 Posts 1 Jan 6, 2004 #1 I have a print out for PLC2/30 with the following display for an output (-), what does the - represent? Last edited: Jan 6, 2004
I have a print out for PLC2/30 with the following display for an output (-), what does the - represent?
Doug-P Member Join Date Jun 2003 Location Pa Posts 1,248 Jan 6, 2004 #2 MLB said: I have a print out for PLC2/30 with the following display for an output (-), what does the - represent? Click to expand... Subtraction There should be two GETs preceding this instruction, the first is the minuend, the second is the subtrahend - as in 400 401 443 ----(GET)---(GET)--------(-)------- The value in 401 is subtracted from the value in 400 and the result is stored in 443. Another math function you might see is: --(+)-- addition
MLB said: I have a print out for PLC2/30 with the following display for an output (-), what does the - represent? Click to expand... Subtraction There should be two GETs preceding this instruction, the first is the minuend, the second is the subtrahend - as in 400 401 443 ----(GET)---(GET)--------(-)------- The value in 401 is subtracted from the value in 400 and the result is stored in 443. Another math function you might see is: --(+)-- addition