I WOULD LIKE TO CONNECT A MODBUS PLC (MODICON) WITH RS-485 LINE TO AN LCD 4X20 CHAR.(PARALLEL) ,TO SEND SOME STRINGS OF CHARACTERS TO LCD AND CONTROL SOME I/O AT LCD BOARD .I THINK TO USE A PIC16F887 AND A SN-75176 AS RS-485 BUS TRANSCEIVER . IN THAT CASE THE LCD WILL WORK AS SLAVE AND THE PLC AS MASTER. THE PROTOCOL IS MODBUS ASCII. IS IT POSSIBLE TO USE GCB TO MAKE THE CODE? IS THERE SOME SAMPLE CODE IN PIC BASIC FOR MODBUS PROTOCOL AND 4X20 LCD, TO ADD TO GCB CODE, IF I WILL USE GCB TO MAKE THE CODE? IF NOT, IS THERE ANY OPINION FOR THE CODE IN PIC BASIC?
MANY THANKS IN ADVANCE.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I used to work around Modbus at work to communicate with a DCS. I had wanted to make device to monitor the lines but never accomplished that. I retired a year ago.
But I did accumulate a few files( not in GCB) for examples. If you would likw those files I would send them to you. Please PM me with your email. Don't put your email out on this forum.
I never delt with modbus in ascii mode only in RTU.
BR '
mmotte
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I WOULD LIKE TO CONNECT A MODBUS PLC (MODICON) WITH RS-485 LINE TO AN LCD 4X20 CHAR.(PARALLEL) ,TO SEND SOME STRINGS OF CHARACTERS TO LCD AND CONTROL SOME I/O AT LCD BOARD .I THINK TO USE A PIC16F887 AND A SN-75176 AS RS-485 BUS TRANSCEIVER . IN THAT CASE THE LCD WILL WORK AS SLAVE AND THE PLC AS MASTER. THE PROTOCOL IS MODBUS ASCII. IS IT POSSIBLE TO USE GCB TO MAKE THE CODE? IS THERE SOME SAMPLE CODE IN PIC BASIC FOR MODBUS PROTOCOL AND 4X20 LCD, TO ADD TO GCB CODE, IF I WILL USE GCB TO MAKE THE CODE? IF NOT, IS THERE ANY OPINION FOR THE CODE IN PIC BASIC?
MANY THANKS IN ADVANCE.
I used to work around Modbus at work to communicate with a DCS. I had wanted to make device to monitor the lines but never accomplished that. I retired a year ago.
But I did accumulate a few files( not in GCB) for examples. If you would likw those files I would send them to you. Please PM me with your email. Don't put your email out on this forum.
I never delt with modbus in ascii mode only in RTU.
BR '
mmotte