Dear all
I have problem when i programed intouch HMI. Problem is double indication.
I have 02 I/O discrect tag and I want to define double indication with :
- 00: error .
- 01: open .
- 10: close .
- 11: error .
And how can define it with acknowlege , alarm and history.
Can someone help me to solve it?
Best regard.
[?]: how to define "double indication" with Intouc
-
- Posts: 34
- Joined: Tue Oct 16, 2007 5:40 pm
- Location: Vietnam
-
- Posts: 431
- Joined: Sat Oct 22, 2005 7:17 am
- Location: Europe
I always try to run away from scripts, for me is hard
you have two (A and B) imputs with 4 variable, if you create 3 tags [error(c), close(D), open(E))
tag C a==0 and b==0 or a==1 and b==1 .... is error
tag D a==1 and b==0 .... is close
tag E a==0 and b==1 .... is open
with this 3 tags that you create it is simple to send for event log with out any script
i test this in Cx-supervisor and it works
you have two (A and B) imputs with 4 variable, if you create 3 tags [error(c), close(D), open(E))
tag C a==0 and b==0 or a==1 and b==1 .... is error
tag D a==1 and b==0 .... is close
tag E a==0 and b==1 .... is open
with this 3 tags that you create it is simple to send for event log with out any script
i test this in Cx-supervisor and it works
Last edited by most on Sat Nov 08, 2008 12:43 am, edited 2 times in total.
-
- Posts: 109
- Joined: Thu Oct 19, 2006 7:00 am
- Location: Russia
Re: [?]: how to define "double indication" with In
It's very simple. Just define another tag with Log Events (and alarm defined). Then trigger it for your '11' and '00' on a condition script.lhnhan wrote:Dear all
I have problem when i programed intouch HMI. Problem is double indication.
I have 02 I/O discrect tag and I want to define double indication with :
- 00: error .
- 01: open .
- 10: close .
- 11: error .
And how can define it with acknowlege , alarm and history.
Can someone help me to solve it?
Best regard.
A better way for me is to rework your PLC program (or something from where do you read) to use one Integer status tag with Hi and Lo alarms in it (with ot without logging as you wish). This's much more scalable (no need to add scripts for every valve or what are you controlling..)