Home
Help
Search
Login
Register
AdvancedHMI Software
»
General Category
»
Open Discussion
»
Interfacing advancedHMI to arduino
« previous
next »
Print
Pages: [
1
]
Author
Topic: Interfacing advancedHMI to arduino (Read 1237 times)
francis
Newbie
Posts: 15
Interfacing advancedHMI to arduino
«
on:
March 03, 2020, 03:35:36 PM »
Am using digitalpanelmeter to read temperature from arduino. In serial monitor, am getting 27 degrees and getting strange readings on the panel meter, 6298 degrees. What could be the cause?
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Interfacing advancedHMI to arduino
«
Reply #1 on:
March 03, 2020, 03:44:49 PM »
How are you reading from the Arduino?
Logged
francis
Newbie
Posts: 15
Re: Interfacing advancedHMI to arduino
«
Reply #2 on:
March 03, 2020, 03:47:53 PM »
Am using Ethernet. I have set my PLC address to 40001. I have included modbus.h library in the arduino code
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Interfacing advancedHMI to arduino
«
Reply #3 on:
March 03, 2020, 04:28:38 PM »
Have you tried changing the swap byte and swap word properties?
Logged
francis
Newbie
Posts: 15
Re: Interfacing advancedHMI to arduino
«
Reply #4 on:
March 03, 2020, 05:11:15 PM »
Thanks Archie,
Swapping bytes did the trick. Now able to read the same value seen in serial monitor.
Logged
Print
Pages: [
1
]
« previous
next »
AdvancedHMI Software
»
General Category
»
Open Discussion
»
Interfacing advancedHMI to arduino