Floating Point Multiply OMRON PLC

lachuupriya

Member
Join Date
Dec 2010
Location
F**K Land
Posts
14
Hi all,

I'm not able to multiply decimal values in OMRON PLC CP1E-N20

I would like multiply one constant (+0.125)(multiplier) and one variable (multiplicand).
I'm using *F (456), able to see multiplicand and multiplier values in floating decimal.
But when it comes to result. +1.02e8 like that.
Variable multiplicand is nothing but second value.
Because I'm just multiplying time and speed.
Speed defined from OMRON NS10. input will be in m/min.

Is there any other function I need to use..!!!
Please help me out.
 
Use MOVL (long move - moves 2 words). Make sure you allocate 2 words for all floating point and 4 words for long floating point (64 bits).
For screen display select REAL for the word type and then you can manipulate whole numbers and decimals.
This is all in the manuals and also the online help for CX-P.
 

Similar Topics

I need to check an axis actual travel position, and to compare it to the master travel position. To do this I have to multiply the axis travel...
Replies
6
Views
2,562
We have AOIs for projects, which handle material dosing (by hand or by pipes and pumps), obviously they have comparison between setpoint and...
Replies
50
Views
14,205
Hi eveyone. I need transfer signal from system 1 to DCS via modbus. System 1 only can send 32 bit floating point. DCS receive 16 bit integer. How...
Replies
20
Views
10,586
Hi, In my ladder logic, I've got a data register D60 whose value is -0.001 (when using monitor mode to see values). D406 is 0.250. But then...
Replies
5
Views
1,307
Hi, can anybody tell that how can we move floating point data from one Regiter to another register in Fatek PLC.?
Replies
0
Views
1,550
Back
Top Bottom