
Dado (Customer) asked a question.
Please, by any chance anyone knows if there is an error reference guide for The MODBUS/ETH?
Please,
The MODBUS/ETH communication is working but I keep getting a warning message, which I don understand the meaning. Is by any chance any reference guide for the error/warnings?
Thank you
Dado
The warning you are referencing is the Base Sync Timeout??
Yes, you are correct.
I believe you couldn't open the attachment. I attaching the text below.
Please, this better explains my question.
09:20:03.092 -> Modbus TCP Server and Module I/O Example
09:20:06.493 -> Slot 1: P1-16ND3
09:20:06.493 -> Slot 2: P1-15TD2
09:20:06.493 -> Slot 3: P1-08ADL-2
09:20:06.493 -> Slot 4: P1-08DAL-1
09:20:06.493 ->
09:20:07.056 -> Done with setup()
09:20:11.650 -> Client Accept:10.11.0.176
12:57:46.081 -> Base Sync Timeout
14:30:59.532 -> Base Sync Timeout
17:23:03.255 -> Base Sync Timeout
17:23:24.258 -> Base Sync Timeout
17:41:27.486 -> Base Sync Timeout
18:17:58.687 -> Base Sync Timeout
19:14:39.339 -> Base Sync Timeout
21:53:46.043 -> Base Sync Timeout
21:55:38.369 -> Base Sync Timeout
21:55:38.557 -> Base Sync Timeout
00:03:14.008 -> Base Sync Timeout
This example will use the "P1.isBaseActive" functions to demonstrate how the Base Controller can be monitored for a loss of 24V power. When this occurs, the Base Controller will need to be re-initialized using P1.init(). USB will need to be connected for serial communication and power.
https://github.com/AutomationDirect/P1AM-Examples/tree/master/P1AM-100_IsBaseActive
Thank very much
I am testing it, if works OK, otherwise i will let you know.
Again
Thanks
dnjGa,
I still get the warning message.
16:06:20.224 -> Modbus TCP Server and Module I/O Example
16:06:23.614 -> Slot 1: P1-16ND3
16:06:23.614 -> Slot 2: P1-15TD2
16:06:23.614 -> Slot 3: P1-08ADL-2
16:06:23.614 -> Slot 4: P1-08DAL-1
16:06:23.614 ->
16:06:24.880 -> Done with setup()
16:06:24.880 -> P1 Base controller is Active? (1 YES): 1
16:06:24.880 -> Analog Input 24V Present (0 is OK): 0
16:06:24.880 -> Analog Output 24V Present (0 is OK): 0
16:06:27.474 -> Client Accept: 10.11.0.176
16:06:42.476 -> Base Sync Timeout
Thanks
Dado
Can you paste your code? If so please you the code insertion button (< / > below)
Do you have 24V and USB plugged in at the same time? Is your 24V unstable?
Thanks
Adam
Adam,
Thanks for helping.
Would you recommend a Linear PS instead of a switching PS?
Thank you
Aldo Grossi (Dado)
Hey Aldo,
Thank you for the additional info. I do not believe it's an issue with your power supply.
A couple things:
Let me know if that helps.
Thanks
Adam
Line 59 - while (!Serial){}// wait for serial port to connect - tells the P1AM to wait for the serial monitor to connect before continuing with code execution. You should remove that line if you don't want to require the serial monitor to be open.
Are all your modules signing on correctly? After getting the base timeout error, do you ever see the base re-init?
Adam/Kevin,
Thank you again for your prompt help.
Both Correction were made line 59 and 61.
Module are signing in correctly and no Reinit after timeout error.
System start without having the PC connected to the USB after power OFF-ON.
16:22:57.214 -> Slot 1: P1-16ND3
16:22:57.214 -> Slot 2: P1-15TD2
16:22:57.214 -> Slot 3: P1-08ADL-2
16:22:57.214 -> Slot 4: P1-08DAL-1
16:22:57.214 ->
16:22:57.776 -> Done with setup()
16:22:57.776 -> P1 Base controller is Active? (1 YES): 1
16:22:57.823 -> Analog Input 24V Present (0 is OK): 0
16:22:57.823 -> Analog Output 24V Present (0 is OK): 0
16:23:02.793 -> Client Accept: 10.11.0.176
Dado