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   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old November 25th, 2017, 05:27 AM   #1
shailesh_vb
Member
India

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.


Regards,
Shailesh

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

JordanCClark is offline
 
JordanCClark's Avatar
 
Join Date: Mar 2007
Location: Michigan
Posts: 455
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

https://rockwellautomation.custhelp....il/a_id/727197
__________________
_____________________________
Jordan

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, 10:29 AM   #3
damica1
Member
United States

damica1 is offline
 
Join Date: Aug 2015
Location: Illinois
Posts: 423
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 / www.mei-tech.com

PLEASE READ: https://www.prlog.org/12642091-marsh...-industry.html

PLEASE READ: https://www.prlog.org/12680572-marij...hold-word.html
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


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 6th, 2017 11:09 PM
SCL Array Initialization and Passing variables ajaysharma LIVE PLC Questions And Answers 12 August 10th, 2016 03:44 PM
INT To REAL CLX Brabender Feeder pmolive LIVE PLC Questions And Answers 2 September 5th, 2014 05:15 PM
Ideas needed for Siemens S7 program tesalmin LIVE PLC Questions And Answers 12 March 4th, 2004 12:40 PM
S7 Real to Int ? PLCdave LIVE PLC Questions And Answers 4 June 13th, 2003 07:20 PM


All times are GMT -5. The time now is 03:32 PM.


.