Jump to content

Recommended Posts

Hello to all.

I am working on a project in which I will only get PLC data to an external control system, we will do it in MODBUS.

Everything works correctly, but I find two problems:

The addressing mapping is 1: 1 accessible from MODBUS, so they could read any record.

The same is reproduced in writing, so that accidentally (or not) they could overwrite important values of my program.

Could we limit the reading to a certain number of records?
Could we limit the writing?

Thanks in advance!

Share this post


Link to post
Share on other sites

Hi HexMan,

This option exist for the enhanced models – Please make sure to use the latest OS:

1 Set in SI165 the start address of MB the user will be able to access

2. Set in SI166 the end address of MB the user will be able to access

3. Set in SI167 the start address of MI the user will be able to access

4. Set in SI168 the end address of MI the user will be able to access

5. Set SB305 to activate the MODBUS limit.

 

For example if you will set the following:

SI165 = 1000

SI166 = 1999

SI167 = 1000

SI168 = 1999

SB305 = 1

 

The MODBUS master will be able to access only to MB1000 – MB1999 and MI1000 – MI1999.

 

If anyway one tries to access the restricted operands SL46 will increment.

 

You have to arrange MIs and MBs in sequence.

 

There is ni separate limitation for read and write.

B.R.

 

  • Like 2

Share this post


Link to post
Share on other sites
7 hours ago, Joe Tauser said:

Also - let somebody know that the link to the Visilogic version changes loads the Bug Report document, not the Version Changes.

Joe T.

I don't know from what version number it works, I'm at 9.8.80

Share this post


Link to post
Share on other sites

Since none of what has been presented here is documented anywhere, including Visilogic, is there a document that can be made available for these ranges?  It seems that MODBUS access security is going to become very important with the new cybersecurity laws being passed in California and elsewhere and it would be nice to find out if there are any undocumented features or other methods to implement cybersecurity in our PLCs.  I noticed that the information presented by @AlexUT is not documented in Visilogic 9.8.80.

Share this post


Link to post
Share on other sites

Until we will update RN/Help, you can use next to check if MODBUS limitation is working or not in your version:

As soon as you can write into stated SI/SB, MODBUS limitation should work.

*System registers are write protected, if not used for additional functions.

At this time only MIs and MBs MODBUS limitation works.

We added request to wish loist for feature implementation.

B.R.

 

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.


×
×
  • Create New...