sthays
Member
Hey All -
Hope you can help with a quick question:
I am trying to set up an analog input on an IDEC Microsmart PLC.
It is Analog Module 4, Channel 1.
I have an absolute pressure transducer that has an output of 0 to 10V and needs to have a data range of -4095 to +4095.
So I think I should have the following lines set up:
MOV (W) 0 D827
MOV (W) 0 D828
MOV (W) 1 D829
MOV (W) -4095 D830
MOV (W) 4095 D831
That should set it all up properly, but when I try to put -4095 in the MOV command for word D830, it gives me a "Constant out of range" error.
Does a word (W) need to be a positive number? All my other bits are set up with words. Does this need to be an integer?
Any help is much appreciated. Thanks
Steve
Hope you can help with a quick question:
I am trying to set up an analog input on an IDEC Microsmart PLC.
It is Analog Module 4, Channel 1.
I have an absolute pressure transducer that has an output of 0 to 10V and needs to have a data range of -4095 to +4095.
So I think I should have the following lines set up:
MOV (W) 0 D827
MOV (W) 0 D828
MOV (W) 1 D829
MOV (W) -4095 D830
MOV (W) 4095 D831
That should set it all up properly, but when I try to put -4095 in the MOV command for word D830, it gives me a "Constant out of range" error.
Does a word (W) need to be a positive number? All my other bits are set up with words. Does this need to be an integer?
Any help is much appreciated. Thanks
Steve