Run_PLC
Member
I am new to PLC programming, so maybe this is a no brainer:
I am using a DINT array with a negative value of -34000 as one of the elements in an SQO. The destination is another DINT (it works fine when negative values are entered either manually to the DINT or by a MOV). However, the SQO outputs a different positive value into the destination DINT when that step is called.
This is on RSLogix5000 with a compactlogix PLC, advice on how to do this correctly or any workarounds for the same effect would be much appreciated.
I am using a DINT array with a negative value of -34000 as one of the elements in an SQO. The destination is another DINT (it works fine when negative values are entered either manually to the DINT or by a MOV). However, the SQO outputs a different positive value into the destination DINT when that step is called.
This is on RSLogix5000 with a compactlogix PLC, advice on how to do this correctly or any workarounds for the same effect would be much appreciated.