Modicon basic question

i am having very basic question related to Float to Interger conersion

i am using 984LL for Modicon Quantum CPU

The programe is haveing Scaled value for Level in 400100 & 400101 i.e 0 -100 %
in which register the current level will get loaded i.e 400100 or 400101 ?

if i convert it to Float to Interger then in which destion register i will get integer value



Thanks
Sandy
 
If I remember correctly the value is stored as a double precision

integer in the 2nd and 3rd implied registers in the 2nd node. I think that the EMTH convert instruction uses 4 registers (ie. the value in the 2nd node is the 1st of 4, 1 assigned and 3 implied).

Hope this helps.

(8{)} :) .)
(Yosi)
 

Similar Topics

Hello All, I am stumped on how to convert a %MW to a %MF using Machine Expert Basic and a Modicon M221. The help files show a word to a double...
4
Replies
5,292
Views
Hey Programmers, Heres todays puzzle I was trying to solve... I have a Modbus TCP network with two Modicon M221 controllers live on my work bench...
0
Replies
1,498
Views
Hello Everyone, Is there a procedure in the Schneider EcoStructure Machne Basic program to save the controllers runtime memory word data (ie...
4
Replies
4,314
Views
I need someone who has some other versions of Modsoft or LModsoft to see if this is just me or not. I've tried loading this program into Lmodsoft...
6
Replies
107
Views
I'm on site with an old TSX PLC and I have a rewritable card available for online debugging, but I can't figure out how to use the "MEM EXTRACT"...
1
Replies
69
Views
Top