EnglishУкраїнськаmRussian
Login/New
Topic with no new replies

Input the same state that output


Author Message
Written on: 30. 01. 2012 [18:43]
OPMOTOR
OP MOTORS
Topic creator
registered since: 21.01.2011
Posts: 13
Dear friends,

I little question, I create a so basic template to , on – off a indicator by the logic level:

if (bot == false) botl=false;
else
botl=true;

bot ( boolean, input, full access, public constant )
botl ( boolean, output, read only, constant )

when I check the parameter that use this template at logic level, and “click” the bot ( boton), it's supposed that the botl ( botonl) have the same state !,

results expected
if bot “on”------- then ( botl “ on”)
if bot “off”------- then ( botl “ off”)
but that not happen!, ( see image 1 & 2).
results obtained
if bot “on”------- then ( botl “ off”)
if bot “off”------- then ( botl “ on”)

do you have any idea about what I must to set, to obtain “real time” equality between the “bot” and “botl”on the parameter at logic level?.

I know it is so basic, but it don't work!. What i am doing wrong?.
Attachment

images 1&2.png (File type: image/png, Size: 70.19 kilobytes) — 2296 downloads
Written on: 30. 01. 2012 [19:43]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"OPMOTOR" wrote:

bot ( boolean, input, full access, public constant )

Why do you use "public constant" and what into "Template config" tab about that?

"OPMOTOR" wrote:

botl ( boolean, output, read only, constant )

I do not see that attributes on your image!

"OPMOTOR" wrote:

do you have any idea about what I must to set, to obtain “real time” equality between the “bot” and “botl”on the parameter at logic level?.

I know it is so basic, but it don't work!. What i am doing wrong?.

I have not any like problems. Write template correct and see examples into DemoDB!

Learn, learn and learn better than work, work and work.



5139