Need to read SLC float to Controllogix

JJT_MO

Member
Join Date
Nov 2008
Location
Sao Jose dos Campos
Posts
4
OK, having a brain **** here, anyone remember if it's possible to read a floating point value from a 5/04 from a controllogix? Trying to do this via DH+. Hardware already set up and functioning. Just can't remember if it's even possible as a float is actually a 2 element structure in an SLC.

o_O
 
Bom Dia
It is always easier to msg from the CL5K to a SLC or PLC5 do to the path having extra steps on the CL5K side. Just set up an array (controller scope) select as the source and pick your float in the SLC and go. see the attached MSWord doc. Oh yeah condition the msg instruction with a timer.
 
Why not just read the variables you're using to create the float from the 5/04 and do the calculation in the controllogix?
 
I'm reading from some legacy code and was trying not to reinvent the wheel. There are a lot of calculations going on to get to the final result, including captures at various times and so forth to attempt to move that over at this point would be time consuming and I'm pushed for that precious commodity at this time. But thanks!
 
OK, having a brain **** here, anyone remember if it's possible to read a floating point value from a 5/04 from a controllogix? Trying to do this via DH+. Hardware already set up and functioning. Just can't remember if it's even possible as a float is actually a 2 element structure in an SLC.

o_O

I just tried it on one of my systems, and it worked with no problems. I used a SLC Type Read, specified F8:0 as the Source and SLC_FLT_RD2 Typed Real as the Destination, Elements 2, and Voila, live Data. That particular 5/04 only has two Floats defined, so that is all I could read out of it.

Stu....
 
OK, thanks! Went back and tried it again, went back to step 1 and limited the number I was reading to just a few and it worked. Apparently the limit is 58 elements per read. DH+ packet size limits the number I would imagine. Anyway, I'm back on the road again, thanks all!
 

Similar Topics

I have a client asking for an inductive automation IGNITION SCADA system for a new lab in which they will test various engines that use a variety...
Replies
4
Views
2,446
Need good example/sample of aoi RSLogix5000 code to read&write through RS232 port on Need good example/sample of aoi RSLogix5000 code to...
Replies
0
Views
1,843
Dear All, We have to read the time gap of two rising pulse which is in micro second how can we do it in plc.(any plc) thanks in advance.
Replies
6
Views
2,165
welcome sir i need to open this attach file to see ladder program for siemens s7-200 because i dont have software program [email protected] thanks
Replies
0
Views
1,422
Hi all: I have a customer with two Toshiba EX28B PLC's. They had identical programs. One of them lost its program. I purchased a used EX2040PRGD...
Replies
5
Views
1,906
Back
Top Bottom