You are not registered yet. Please click here to register!

plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!

Go Back - Interactive Q & A > - Interactive Q & A > LIVE PLC Questions And Answers

Thread Tools Display Modes
Old July 28th, 2020, 12:45 PM   #1
Supporting Member
United States

Cellularscada is offline
Join Date: Feb 2017
Location: Ga
Posts: 14
Modbus registers

I have a Master meter octave with a modbus module. I'm using a mirco820.
The MB register (net signed volume) int32 [long AB CD represention, 2 registers]. Need to convert the two register into one register using the Mirco820?? Any ideas. Thanks
  Reply With Quote
Old July 28th, 2020, 05:56 PM   #2
Ken Moore
Lifetime Supporting Member
United States

Ken Moore is offline
Ken Moore's Avatar
Join Date: May 2004
Location: North, West, South Carolina
Posts: 3,099
Copy both incoming registers to DINT's. Multiply the high word by 2^16, this will shift the bits to the left, then add to the low word.
Certified Siemens Functional Safety Professional,
ID: SFSP17010238
  Reply With Quote
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
IC695CPE310 writing to registers using modbus ryanneedshelp LIVE PLC Questions And Answers 4 January 8th, 2019 10:33 AM
Ethernet TCP/IP and Allen-Bradley CompactLogix (RSlogix 5000) CAAJ LIVE PLC Questions And Answers 14 December 18th, 2015 12:46 PM
Mitsubishi Q02H- Modbus comms issue. WitchFinder LIVE PLC Questions And Answers 4 October 21st, 2012 11:07 PM
Modbus Master not polling the Modbus Slave through an EtherNet/IP Connection mihiri LIVE PLC Questions And Answers 3 July 15th, 2010 03:41 AM
Mitsubishi Q Series Modbus TCP module QJ71MT91 set up help req'd... Pocko LIVE PLC Questions And Answers 0 July 30th, 2006 03:45 AM

All times are GMT -4. The time now is 02:19 AM.