Developing firmware to support Modbus Protocol


Thread Starter


I am developing a firmware which need to be communicated to a PLC which support modbus.

My data from the controller is an output of a register, exactly output of ADC register.

My problem is do i need to change the data to give it to the PLC. This is the first time i am using PLC

It is known that this PLC support modbus. Intially i am using USART (RS232) module of the controller to out the data.

And i will get the data in the hyper terminal as hex or decimal.

For eg: if the data from the register is 10.

what should i do to give this data to the specific PLC. My question is that do i need to change the data format and all.