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.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!

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

PLC training tools sale

Thread Tools Display Modes
Old November 25th, 2017, 06:27 AM   #1

shailesh_vb is offline
Join Date: Jun 2013
Location: Pune
Posts: 40
Combine two INT in one Real value in CCW

Hello Everyone,

I am working on CCW 9.0 software with PLC Micro820.
I am communicating with Energy meter over Modbus RTU.
I want to combine two consecutive integers/words into one Real value.
Like in RSLogix500 we have CPW instruction to combine to words, what instruction do we need to use in CCW?

Please post any example, if anyone have it.


Last edited by shailesh_vb; November 25th, 2017 at 06:42 AM.
  Reply With Quote
Old November 25th, 2017, 10:18 AM   #2
Lifetime Supporting Member
United States

JordanCClark is offline
JordanCClark's Avatar
Join Date: Mar 2007
Location: Michigan
Posts: 490
There is a User Defined Function Block here:

CCW : Converting two INTs into a REAL
727197 | Date Created: 08/04/2015 | Last Updated: 07/01/2016
Access Level: Everyone

Any man that can hitch the length and breadth of the Galaxy, rough it, slum it, struggle against terrible odds, win through and still know where his towel is, is clearly a man to be reckoned with.
-- Hitchhiker's Guide to the Galaxy
  Reply With Quote
Old November 25th, 2017, 11:29 AM   #3
United States

damica1 is offline
Join Date: Aug 2015
Location: Illinois
Posts: 635
Add Int_1 + Int_2 = Sum then convert sum to real.
Attached Images
File Type: jpg Sample.jpg (28.9 KB, 29 views)
David M. Camp

Marshall Electric /

Please Download from our download section "Monitor and Control" .pdf.
  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
Transition to Siemens bobwithdana LIVE PLC Questions And Answers 28 April 7th, 2017 12:09 AM
SCL Array Initialization and Passing variables ajaysharma LIVE PLC Questions And Answers 12 August 10th, 2016 04:44 PM
INT To REAL CLX Brabender Feeder pmolive LIVE PLC Questions And Answers 2 September 5th, 2014 06:15 PM
Ideas needed for Siemens S7 program tesalmin LIVE PLC Questions And Answers 12 March 4th, 2004 01:40 PM
S7 Real to Int ? PLCdave LIVE PLC Questions And Answers 4 June 13th, 2003 08:20 PM

All times are GMT -5. The time now is 12:19 PM.