signed long...modbus plus

Question

Member
Join Date
Jul 2005
Location
waterloo
Posts
1
We are reading a signed long via modbus plus into a quantum PLC using fast trac software. We receive the data in two consecutive registers. Now we need to concatenate the 2 16 bit registers into one and use that data throughout the program. What would be the best way to achieve this?
 
If you are using FasTrac software then your program is actually written in 984 Ladder Logic.

Why do you want them in one register?
The maximum value a 16 bit register can only handle is 65535. 984LL does not support 32 bit registers. 984LL double precision math instructions use two consecutive registers in order to handle values up to 99,999,999.

Do you want to take two seperate 16 bit integers and "create" a double precison word using two consecutive registers?
 

Similar Topics

Hi guys, I have a problem with setting up the parameters for PowerFlex 525. So we have 4x motor connected in parallel to 1 PowerFlex, each motor...
Replies
8
Views
1,079
I set up a Mitisubishi test system on the bench. Q03UDSPU Q173DCPU MR-J3-40B HF-KP43 HMI is a LS XP50 TTA/KP43 I am trying to use a signed...
Replies
1
Views
394
I'm having to make an AOI to use with a generic ethernet device because the manufacturer does not provide an AOP. I just want to do a sanity check...
Replies
13
Views
1,260
Is there a way in CX-Programmer to ad UINTs together with an instruction without a compiler warning. Ladder Rung: Warning: Instructions...
Replies
2
Views
1,250
Replies
3
Views
1,344
Back
Top Bottom