[?]: how to define "double indication" with Intouc

Прочие SCADA: iFix, InTouch, Citect, ...
lhnhan
Posts: 34
Joined: Tue Oct 16, 2007 5:40 pm
Location: Vietnam

[?]: how to define "double indication" with Intouc

Post by lhnhan »

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.
PLC_ITA
Posts: 265
Joined: Sat May 27, 2006 6:46 am
Location: Europe

Post by PLC_ITA »

I havent' idea. It's a beautiful question.
I you discover how to do, please share

thank you
most
Posts: 431
Joined: Sat Oct 22, 2005 7:17 am
Location: Europe

Post by most »

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

Image
Last edited by most on Sat Nov 08, 2008 12:43 am, edited 2 times in total.
bunglehead
Posts: 109
Joined: Thu Oct 19, 2006 7:00 am
Location: Russia

Re: [?]: how to define "double indication" with In

Post by bunglehead »

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.
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.

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..)