escoplcguy
Member
Hey guys,
I am starting to sort of understand what is going on in the mitsubishi world of programming, but i am still at a loss when it comes to these math instructions. I have an example and i really hope someone can help me fully understnad this, cause its all i really have left to this program puzzle i was left with...
i have a rung that says..
M8000
---| |----[DEMUL D957 D971 D248]
__________________5.0 185.0 27.942
This makes no sense to me because if you do the acutal math 27.942 is obviously not that answer.
Further details:
D957 gets its value, i think, from this instruction
[FLT D235 D957]
________5 5.00
But then further down the program there is this
[DEDIV D244 E600 D957]
_________90.624 5.00
Then Further down i have
[DEDIV D248 E28.32 D957]
__________27.942 5.00
Then of course theres
[DEMUL D954 E600 D957]
__________833.30 5.00
Problems like this are all through out this program and it doesnt make any sense to me... also how can a value be in a register when there are multiple values being either moved or multiplied to that register.... I'm so confused...
I am starting to sort of understand what is going on in the mitsubishi world of programming, but i am still at a loss when it comes to these math instructions. I have an example and i really hope someone can help me fully understnad this, cause its all i really have left to this program puzzle i was left with...
i have a rung that says..
M8000
---| |----[DEMUL D957 D971 D248]
__________________5.0 185.0 27.942
This makes no sense to me because if you do the acutal math 27.942 is obviously not that answer.
Further details:
D957 gets its value, i think, from this instruction
[FLT D235 D957]
________5 5.00
But then further down the program there is this
[DEDIV D244 E600 D957]
_________90.624 5.00
Then Further down i have
[DEDIV D248 E28.32 D957]
__________27.942 5.00
Then of course theres
[DEMUL D954 E600 D957]
__________833.30 5.00
Problems like this are all through out this program and it doesnt make any sense to me... also how can a value be in a register when there are multiple values being either moved or multiplied to that register.... I'm so confused...