Mathematic-based instructions.

:confused: Hi there!

Kinda desperate for helps right now. I been working on Mitsubishi's MELSEC FX-32MR plc with MELSEC Series GPP for Windows to develop some mathematic-based functions. The problem is I couldn't find any standard instruction to be used to carry out those functions.

Anyone could help?

TQ.
Hairi-Malaysia.
 
[SUB D1 D2 D3] = Subtract D1 from D2 and place the result in D3
[MUL D1 D2 D3] = Multiply " " " "
[DIV D1 D2 D3] = Divide
[ADD D1 D2 D3] = Add

The above are 16 bit math
to make them 32 bit you add a D infront of the math sigh (DSUB)
but this uses 2 consequetive D registers.
 
Hi Goody!
TQ for your help,it really helps. Can you advice me on some advance mathematic like mod, square, squareroot, area and volume calculation. Also some statistical intructions like min, variation and standard deviation.

Have a nice day.
Hairi.
 

Similar Topics

Hello! I'm trying to make a number from 0-9 using four inductive sensors, the idea is not to make a binary code using mathematic instruction...
4
Replies
679
Views
Really pulling my hair out here, yet again. I have RSLogix 500 on a Windows 11 laptop. I am trying to get it running on a different Windows 11...
2
Replies
243
Views
I've been building a PLC simulator that runs in the browser, and I'd like some honest opinions from people in the industry. The thing that's...
0
Replies
285
Views
We are using an IDEC FC6A-D16R1CEE PLC with an FC6A-J8A1 analog input module, and we have run into an issue with inconsistent 4–20 mA readings...
0
Replies
182
Views
It's hard to believe after so many years in industrial automation that this is the first time I've had to address this issue. My customer has a...
9
Replies
542
Views
Top