RSView Studio ME V4.00 Current Logged In User

kiwi sparky

Member
Join Date
Sep 2006
Location
Auckland
Posts
51
Is it possible to read the current logged in user from a Panelview Plus, like you do with global connections and display numbers etc. I have tried global connection macros without sucsess. I am currently inhibiting screen navigation using security codes, but would like to inhibit some of my machine functions that are not controlled by PanelView depending on what security level was currently logged in
 
I use this method also for visibillities / screen navigation. I am looking to get this info back to PLC somehow for usage elsewhere in PLC code.
 
Hi Sparky from NZ,

I set up a macro within studio which writes the current logged in user to the PLC (via a STRING file)....

Hope this helps!

Rob

Studio_Macro1.jpg
 
That looks like what he was after, when do you trigger the macro?

I'm thinking that you could even just use the user's security code as well, make it a bit easier to manage in PLC??
 
That is what I am looking for thanks. How is Macro Triggered? Or does it just poll the PLC. I will use current security code if possible. Like Scott Murphy says, easier to compare with a known set of strings (a,b,c etc) than a list of opperators names.
 
It should poll the PLC as you stated. Just check what 'System Tags' are available, from memory there aren't that many...


Regards,


Rob
 
I have got it working. Thanks for everybodys help with. I created the macro:

if CurrentUserHasCode(a) then 1 Else if CurrentUserHasCode(b) then 2 Else if CurrentUserHasCode(c) then 3 else 99

this writes a value to a DINT tag in my PLC depending on current user code. The macro is called when a user logs in or out(in user accounts setup)

I tried to just write CurrentUserHasCode()to a string tag like Kidblue had, but got syntax errors telling me I had to have a letter between the brackets.
 

Similar Topics

Hello to all the knowledgeable people inside the computer screen, my problem at the moment is like the title says, l can't open projects in...
Replies
1
Views
1,318
Hi Working with some project guys who have replaced a controllogix processor previously using RSLogix 5000 V11 for a controllogix 5588E using...
Replies
10
Views
3,978
We have an older laptop here at work that has RSView Studio on it that isn't used for anything. They only use Red Lion HMI's now. I was thinking...
Replies
2
Views
1,503
I have an RSView SE 3.0 distributed application running on a Client/Server. Can I use FTView 7.0 to develop some new screens and or modify...
Replies
1
Views
3,897
Hello I am trying to get certain screen components to be visible unless an h/o/a switch is turned to manual I:0/8 being the input for the...
Replies
1
Views
1,342
Back
Top Bottom