Sign in to follow this  
Followers 0
Captain10

Mitsubishi QJ71MT91 w/ Keyence NQMP8L & Keyence FD-R50

4 posts in this topic

Good morning all. I am working with a Mitsubishi Q series PLC (Q03UDECPU) with a QJ71MT91 communicating with a Keyence I/O Link Block NQMP8L and a FD-R50 flow meter. 

I am currently doing a bench test with all of these components and have great success getting all the hardware to communicate. No major issues establishing coms. There was a learning curve migrating from Rockwell to Mitsubishi, but I have enjoyed the challenge.

To the question, The way Keyence brings the process data in from the sensor itself is a 32 bit dword shown here. 

66b4a5a173333_KeyenceScreenshot.png.1657

I am strictly dealing with the temperature aspect of the data at this point. The flow rate works fine. I can parse the data just fine and get a whole number temperature reading. However, if I want to parse the decimal points is where I am struggling. The customer hasn't stated they require the decimal point, but I would still like to know how jut to grow in my understanding.

Currently I am bringing the raw data into D4003. Moving that data into D400 and using the SFR instruction shown here.

66b4a692e9a83_Keyencelogic.thumb.png.5fa

I have tried converting the raw data into a float but could never get the logic to work right to get a temperature reading of lets say 24.3.

Any help would be sincerely appreciated. 

 

Keyence Screenshot.png

Share this post


Link to post
Share on other sites

It looks like the Temperature is in whole units. (1 unit - 1C/1F). What does note (*3) read?

Share this post


Link to post
Share on other sites

Posted (edited)

You actually brought something to my attention I neglected. I had to format the data coming from the sensor to accept the decimal format. 

66b4c7c62e941_KeyenceScreenshot.png.7619

I went ahead and wrote the changes to the flow meter. This is the solution I came up with. Let me know if this is the only way, or if there is a more efficient way to accomplish the desired outcome. 

 

66b4cf219d2cd_Keyencelogic.thumb.png.a20

 

 

 

 

 

 

Edited by Captain10
1 person likes this

Share this post


Link to post
Share on other sites

That's the way I would do it as well. Glad you found a solution!

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0