CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Thu Dec 13, 2018 8:01 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Jan 15, 2018 4:34 pm 
Offline

Joined: Wed Jul 26, 2017 10:22 am
Posts: 2
Hi CODESYS community,

I'm programming a machine where different operators can log in. I try to shoot an alarm in the alarm table when a new operator logs in. I tried to use the alarm class "Change" but I dont get it to work, It doesn't triger the alarm when the value changes. Since the name is a STRING variable I've been trying to trigger the alarm with a digital class like:

sUser <> sLastUser

It triggers the alarm but when I try to use <TRIGGERVALUE> or <CURRENTVALUE> it only shows TRUE and not the name of the user. Is it possible to show the STRING name of the operator in the Alarmtable?

Regards
Salomon


Top
   
PostPosted: Sat Oct 27, 2018 8:07 pm 
Offline

Joined: Mon Apr 30, 2018 8:14 am
Posts: 9
I am having the same problem, did you ever find a solution?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited