News:

  • April 16, 2026, 11:23:22 PM

Login with username, password and session length

Author Topic: Selected read exposure  (Read 11008 times)

CReese

  • Hero Member
  • *****
  • Posts: 184
Selected read exposure
« on: June 10, 2014, 12:50:13 PM »
Is it possible to allow selected read access through an additional COM card? I assume that read/write privileges via MODBUS TCP/IP are the same.

Colin

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3803
    • Host Engineering
Re: Selected read exposure
« Reply #1 on: June 10, 2014, 01:28:02 PM »
Yes - create a user account in your Do-more CPU that has Data Read access (not Data Write), along with Program Read.  Anytime THAT user connects, they will only be able to read data.  That user's privilege will apply on ANY comm port, i.e. it is NOT port specific, but SESSION/user specific.

You will probably want to make the "Default" user be data read/program read (i.e. Default User is the user with a blank, or no, password).  Then have your "admin" or your user account (WITH a password), have full access (or whatever access).

See Help Topic DMD0259, Password Configuration for more details.

CReese

  • Hero Member
  • *****
  • Posts: 184
Re: Selected read exposure
« Reply #2 on: June 14, 2014, 03:18:14 PM »
The type of user access you reference is, if I understand it correctly, for data read/write through DMD software. What I'm referring to is read/write by dumb devices, e.g. from PLC to PLC or read/write from/to DM from a typical MB TCP/IP client. While I'm sure I could hack in a requirement to set a token register before a write operation, it would be nice if I could make an interface read-only.

Colin

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: Selected read exposure
« Reply #3 on: June 14, 2014, 04:28:09 PM »
There is no way to do that now. It would be pretty easy to add internal flags to the device to inhibit read and write access. You would use DEVREAD and DEVWRITE to access them. No help now though...
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO