Gate changes

Discussion about Gate Builder and variables database creation.
joqr231210
Posts: 5
Joined: Fri Jun 16, 2017 5:43 am

Gate changes

Postby joqr231210 » Fri Jun 16, 2017 5:50 am

Hi Sielco Support Team,

I have a few doubts about the development software ( I have Winlog Pro 3)

1. How can i change the value of a gate, 0 to 1, (from the 1st device), when a gate (from another device) change from 0 to 1 ? I know that its only a conditional logic, but i have not find how to do this.

2. Winlog can access to devices via a VPN? such as PLCs or something in other network?

Thanks a lot team. :geek:

User avatar
admin
Site Admin
Posts: 322
Joined: Tue Nov 17, 2009 1:18 pm

Re: Gate changes

Postby admin » Wed Jun 21, 2017 2:48 pm

Dear Sir,
about your question:
1 - You have to use code:

Code: Select all

Function void setValue()
#startup

    while(WindowIsOpen())

        if (GetDigGateValue("MyFirstGate", 0) != GetDigGateValue("MySecondGate", 0)) then
            SetDigGateValue("MySecondGate", 0, GetDigGateValue("MyFirstGate", 0));
        end

        Sleep(500);
    end
end


2 - Yes, but vpn (or other network) must be set on Microsoft Windows.

Best regards


Return to “Tags - Gate Builder”

Who is online

Users browsing this forum: No registered users and 0 guests