Jump to content
Sign in to follow this  
vasovas

Modbus and Scada

Recommended Posts

Hi,

I want to read ML and MF from SM35 J R20 using Ignition SCADA. I get readings, but not the proper values. To make sure, 2 quick questions:

1. In PLC ladder, do I need HR reading FB, or Modbus SCAN EX is enough?

2. Start address for ML is 5100 and for MF is 7700?

Share this post


Link to post
Share on other sites

1.  Yes, all you need in the SM35 are a Modbus config and SCAN_EX blocks for it to be a slave.  Is this serial or Ethernet?

 2.  Look in the Help for Slave Address Tables for the Enhanced Vision series.  The offsets are given in hex, and your SCADA probably is looking for decimal values.  If you can enter the addresses in hex it will be easier.

MLs - 7000h or 28672 = ML 0

MFs - 4000h or 16384 = MF 0

You may also have a problem with the byte order, as these are 32 bit values.  You may have to byte swap in Ignition to get the right value.  

Also, each register takes up two places in the SM35's memory.  Don't forget this when you determine addresses, i.e.  ML 2 = 28676.  

I'd start your testing by reading MIs, which are 16 bit and start at 0.  If Ignition follows standard Modbus addressing, this will be holding register 1.

Give us some examples of the exact addresses you're looking for and we can check the value you're reading.  Also post a screenshot of the Modbus config table from Ignition, as I am not experienced with this package.

Joe T.

 

Share this post


Link to post
Share on other sites

Hello, Mr. Tauser,

At first Happy and Prosperous New 2020!

Thank you for your advises, most of the issues solved now. Attached you can find ML tags that I can read now (L1...L6), plus Ignition Modbus Address Map, as requested by you. To get the right readings, I had to reverse the word byte order, as you supposed. Reading MI was piece of cake, so I did not attached anything, except Double-Single Tag, which is visible on the  Tag Browser (file Tags).

What still does not work, is MF tags reading - can you please double check the starting address, since I could not find the proper help file?

 

Ignition Modbus Address Map.PNG

ML.PNG

Tags.PNG

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...