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 Feb 27, 2020 7:10 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 

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?


PostPosted: Sat Oct 27, 2018 8:07 pm 

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

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 2 guests

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