Gate read error

Discussion about Gate Builder and variables database creation.
Post Reply
yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Gate read error

Post by yuangga23 »

Dear sir
I have a problem
Some numerical gate read error
Please help me
Thanks before

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

Re: Gate read error

Post by admin »

Dear Sir,
sorry but we need more information about the problem. Please give me more details.

Thanks

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

There are several read gate error when it s connected by SIEMENS PLC, meanwhile this address with plc already same. please tell us how could we solve it?

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

Re: Gate read error

Post by admin »

Dear Sir,
please post your application.

Thanks

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

Dear sir,
If in siemen plc use db type int, what type gate and addressing db in winlog?

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

Re: Gate read error

Post by admin »

Dear Sir,
use "db" address and type int32 or double.

Best regards

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

I have a trouble when upgraded winlog PC log from 2nd to 3rd version, I used tcp Ip winlog protocol , when I connected winlog HMI to server, there is error indication was displayed such as " KO device", then please How could I solve it?

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

Re: Gate read error

Post by admin »

Dear Sir,
what license are you using? Please post your client and server application.

Best Regards

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

Im using winlog x runtime
When i use laptop status device ok
When i use pclog winlog status device ko
I upgrade pclog existing from 2nd version to 3rd version

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

Re: Gate read error

Post by admin »

Dear Sir,
from project manager go in "Help" menu -> "About" and send me a print screen.

Thanks

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

This is my print screen
Attachments
Screenshot_20171106-162800_1.jpg
Screenshot_20171106-162800_1.jpg (124.35 KiB) Viewed 10182 times
Screenshot_20171106-162810_1.jpg
Screenshot_20171106-162810_1.jpg (163.99 KiB) Viewed 10182 times

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

Re: Gate read error

Post by admin »

Dear Sir,
are you sure that the date and time of the client and server pc are correct?

Best Regards

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

Date and time client same date time server
Attachments
Screenshot_20171106-164351_1.jpg
Screenshot_20171106-164351_1.jpg (150.14 KiB) Viewed 10178 times

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

Re: Gate read error

Post by admin »

Dear Sir,
send us yours client adn server application.

Best regards

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

I have done sent to your email
Please check, thanks before

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

dear sir,
you have done received my email?

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

Re: Gate read error

Post by admin »

Dear Sir,
first of all you have to fix the problems you have in the code. You used many while (WindowIsOpen ()) without inserting at least one sleep. Your project is impossible to run and verify in this state. Fix the problems and then send it to me.

Best Regards

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

Dear sir,

One function one sleep or one end one sleep?

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

Re: Gate read error

Post by admin »

Dear Sir,
in each cycle While (WindowIsOpen ()) you have to put a sleep.

Regards

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

Dear sir, if one cycle one sleep, i have done insert sleep in my project

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

Re: Gate read error

Post by admin »

No, ou haven't done:
for example in file "date_time_timestamp" you put sleep() out of cicle. The correct position is at line 29, before the end of the while cycle.

Regards

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

I have done sent to your email
Please check your email
Thanks for explain me
Im newbie in winlog :lol:

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

Dear sir,
You have done receive my email?

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

Re: Gate read error

Post by admin »

Dear Sir,
I tried your application with the latest version 3.02.08 and I have no communication problem.
What is your development license model?

Thanks

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

My server use runtime x license, and my client use pclog
I upgrade server and pclog version from 2nd version to 3rd version
I try to communicate pc log with siemen plc, communication is oke but if i try to communicate pclog with server ( i use winlog tcp ip protocol) communication is ko
This problem is from pclog, pclog can't communicate with server, but if i change pclog with laptop communication is oke
I upgrade soft license pclog 2nd version to runtime x dongle 3rd version
Last edited by yuangga23 on Thu Nov 09, 2017 10:51 am, edited 1 time in total.

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

I use w-net/I2+

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

Re: Gate read error

Post by admin »

Hi,
I reply to you by email.

yuangga23
Posts: 41
Joined: Mon Jun 12, 2017 7:58 am
Contact:

Re: Gate read error

Post by yuangga23 »

Dear sir,
After i change region date and time connection winlog tcp protocol between server and client now oke

Thanks for your fast support

Post Reply