MIAC - MODBUS
Posted: Mon Dec 12, 2016 11:32 pm
Good evening all,
Maybe a bit stupid question, but I am struggeling a bit with using the FC7 and a new dsPIC MIAC(without wireless/bluetooth).
Till now I was working with CANbus communication and that works very fine. (both standard and extended messages)
Now I want to communicate onto the RS232 with MODBUS RTU, but I cannot get this working...
MODBUS is quite new to me, I am working in the automotive world and there is everthing about CANbus, no MODBUS.
(hope that you will help me starting with this stuff...)
I am looking for a very simple example to get a MIAC communicating onto Modbus, both as slave and as master.
Have found the examples on the Flowcode Wiki, but I think I made some mistakes is setting up the communication, because I cannot find any data with my laptop onto the RS232 output of the MIAC.(using the CAS MODBUS scanner)
To be sure about the connections/jumpers inside the MIAC:
On page 11 of the datasheet is a picture of the jumpers inside, which one is correct for MODBUS on RS232?
http://www.flowcode.co.uk/old_site/resources/file ... C-60-3.pdf
Connecting the RX, TX and GND is enough to get the MODBUS working, isn't it? I can't find a proper answer if I need the CTS and RTS also...
Thanks in advance!!
Maybe a bit stupid question, but I am struggeling a bit with using the FC7 and a new dsPIC MIAC(without wireless/bluetooth).
Till now I was working with CANbus communication and that works very fine. (both standard and extended messages)
Now I want to communicate onto the RS232 with MODBUS RTU, but I cannot get this working...
MODBUS is quite new to me, I am working in the automotive world and there is everthing about CANbus, no MODBUS.
(hope that you will help me starting with this stuff...)
I am looking for a very simple example to get a MIAC communicating onto Modbus, both as slave and as master.
Have found the examples on the Flowcode Wiki, but I think I made some mistakes is setting up the communication, because I cannot find any data with my laptop onto the RS232 output of the MIAC.(using the CAS MODBUS scanner)
To be sure about the connections/jumpers inside the MIAC:
On page 11 of the datasheet is a picture of the jumpers inside, which one is correct for MODBUS on RS232?
http://www.flowcode.co.uk/old_site/resources/file ... C-60-3.pdf
Connecting the RX, TX and GND is enough to get the MODBUS working, isn't it? I can't find a proper answer if I need the CTS and RTS also...
Thanks in advance!!