I am working on Mduino 57r+ model it RS-485 communication. Internally there is a Max 485 converter and the data is logged in serial port 3 tx3 and rx3 but im unable 2 read r write the data in serial 3. I get a error has serial3 was not declared in this scope. I have initialized serial3.begin (9600). What should i do to access serial port 3. If any example of reading holding register in Industrial shields please do share.
I have one more question Rs485 communication through labview how can i fetch data from industrial shiels to labview using modbus communication. If the data is available in serial port 3 how can i read that in labview.
Any help is appreciated and thanks in advance
In order to work properly with our products we recommend using Arduino IDE, as all of Industrial Shields libraries are designed for it. First of all make sure that our Industrial Shield boards have been previously installed.
If not, check this link about how to install them:
Using the boards, it is necessary to take in account that our boards have default names for working with our PLCs. In order to use the RS485 communications you must call the functions by the name of RS485 instead of serial3.
Check this post where you can see the previous information with examples for learning how to work with the RS485:
Acerca de esta comunidad
Herramientas de las preguntas
|Preguntado: 26/9/20 3:08|
|Visto: 471 veces|
|Última actualización: 28/9/20 8:27|