Home
Help
Search
Login
Register
AdvancedHMI Software
»
General Category
»
Open Discussion
»
error modbus rtu and tcp
« previous
next »
Print
Pages: [
1
]
Author
Topic: error modbus rtu and tcp (Read 1802 times)
abdala
Jr. Member
Posts: 56
error modbus rtu and tcp
«
on:
May 03, 2018, 11:20:22 AM »
error modbus rtu and tcp
Logged
Godra
Hero Member
Posts: 1438
Re: error modbus rtu and tcp
«
Reply #1 on:
May 03, 2018, 05:23:31 PM »
What are those other errors you have in Immediate Window, prior to the error in your picture?
If you set this driver's DisableSubscriptions property to True and run the program, does the window show at all?
Logged
abdala
Jr. Member
Posts: 56
Re: error modbus rtu and tcp
«
Reply #2 on:
May 03, 2018, 05:42:37 PM »
When the value changes, the program does not run
This problem exists even in previous versions
You have tried changing the value and the program does not work
«
Last Edit: May 03, 2018, 05:48:00 PM by abdala
»
Logged
Godra
Hero Member
Posts: 1438
Re: error modbus rtu and tcp
«
Reply #3 on:
May 03, 2018, 05:50:15 PM »
If your program doesn't run when you set this driver's DisableSubscriptions property to True, it means that something else is not working properly.
Can you take a picture of Immediate Window errors (extend its size to fit all the errors)?
Logged
abdala
Jr. Member
Posts: 56
Re: error modbus rtu and tcp
«
Reply #4 on:
May 03, 2018, 06:08:33 PM »
This error does not always come but it is present in all versions of the program
Logged
abdala
Jr. Member
Posts: 56
Re: error modbus rtu and tcp
«
Reply #5 on:
May 03, 2018, 06:09:50 PM »
What is your Facebook account to communicate with you
Logged
Godra
Hero Member
Posts: 1438
Re: error modbus rtu and tcp
«
Reply #6 on:
May 03, 2018, 06:15:16 PM »
I don't have a Facebook account.
This forum communication should be sufficient to help resolve the errors.
If you remove the driver all together from your project and the program still doesn't run then that should indicate problems with something else.
Logged
Godra
Hero Member
Posts: 1438
Re: error modbus rtu and tcp
«
Reply #7 on:
May 03, 2018, 06:27:24 PM »
Here is a picture of the form that I just deleted all drivers from.
It still runs and the controls show the error.
Logged
abdala
Jr. Member
Posts: 56
Re: error modbus rtu and tcp
«
Reply #8 on:
May 03, 2018, 06:34:09 PM »
Add ModbusRTUCom1 and you will see what song
DisableSubscriptions=true
Do not read
Logged
abdala
Jr. Member
Posts: 56
Re: error modbus rtu and tcp
«
Reply #9 on:
May 03, 2018, 06:44:58 PM »
How to read timer in modbus rtu
Logged
Archie
Administrator
Hero Member
Posts: 5269
Re: error modbus rtu and tcp
«
Reply #10 on:
May 03, 2018, 06:45:19 PM »
What controls do you have on your form? There is a control that is subscribing prior to OnCreateControl. You could begin deleting controls until the error goes away to see which one is the culprit.
Logged
abdala
Jr. Member
Posts: 56
Re: error modbus rtu and tcp
«
Reply #11 on:
May 03, 2018, 06:51:44 PM »
ok Thank
How to read timer in modbus rtu
Logged
Archie
Administrator
Hero Member
Posts: 5269
Re: error modbus rtu and tcp
«
Reply #12 on:
May 03, 2018, 06:53:33 PM »
Timers typically map to a 4000 series address
Logged
abdala
Jr. Member
Posts: 56
Re: error modbus rtu and tcp
«
Reply #13 on:
May 03, 2018, 07:00:16 PM »
It seems that the company PLC ls has improved communication
modbus rtu and tcp
I am using now
Example:
TMR 1=4001
Try it now on PLC LS XGB does not work
read D0 NOT TIMR 0
«
Last Edit: May 03, 2018, 07:09:30 PM by abdala
»
Logged
abdala
Jr. Member
Posts: 56
Re: error modbus rtu and tcp
«
Reply #14 on:
May 03, 2018, 07:32:27 PM »
Thanks for finding the solution to the problem of reading the Taimer
Logged
Print
Pages: [
1
]
« previous
next »
AdvancedHMI Software
»
General Category
»
Open Discussion
»
error modbus rtu and tcp