Hello every buddy,
I am using RCM3750 module for ethernet to RS485 conversion.
Flow of program :-(See the attached file)
My Ethernet communication (From PC to RABBIT MODULE) is working fine, but The communication from MODULE to DEVICE (Modbus communication) is taking more time(more then 500 ms),
Currently after sending Request (from MODULE to Device)i have used the Delay routnes and then received the responce.But it is approximate method, I need interrupt based SERIAL ROUTINE. It means When DATA will come from Device then only it should go to ISR (interrupt Service routine) otherwise it should do its normal work, So please tel me how can i write SERIAL ISR for reeive in my case?
Hello every buddy,
I am using RCM3750 module for ethernet to RS485 conversion.
Flow of program :-(See the attached file)My Ethernet communication (From PC to RABBIT MODULE) is working fine, but The communication from MODULE to DEVICE (Modbus communication) is taking more time(more then 500 ms),
Currently after sending Request (from MODULE to Device)i have used the Delay routnes and then received the responce.But it is approximate method, I need interrupt based SERIAL ROUTINE. It means When DATA will come from Device then only it should go to ISR (interrupt Service routine) otherwise it should do its normal work, So please tel me how can i write SERIAL ISR for reeive in my case?
Hello every buddy,
I am using RCM3750 module for ethernet to RS485 conversion.
Flow of program :-(See the attached file)
My Ethernet communication (From PC to RABBIT MODULE) is working fine, but The communication from MODULE to DEVICE (Modbus communication) is taking more time(more then 500 ms),
Currently after sending Request (from MODULE to Device)i have used the Delay routnes and then received the responce.But it is approximate method, I need interrupt based SERIAL ROUTINE. It means When DATA will come from Device then only it should go to ISR (interrupt Service routine) otherwise it should do its normal work, So please tel me how can i write SERIAL ISR for reeive in my case?[ul]
[/ul] Hello every buddy,
I am using RCM3750 module for ethernet to RS485 conversion.
Flow of program :-(See the attached file)
My Ethernet communication (From PC to RABBIT MODULE) is working fine, but The communication from MODULE to DEVICE (Modbus communication) is taking more time(more then 500 ms),
Currently after sending Request (from MODULE to Device)i have used the Delay routnes and then received the responce.But it is approximate method, I need interrupt based SERIAL ROUTINE. It means When DATA will come from Device then only it should go to ISR (interrupt Service routine) otherwise it should do its normal work, So please tel me how can i write SERIAL ISR for reeive in my case?
Hello every buddy,
I am using RCM3750 module for ethernet to RS485 conversion.
Flow of program :-(See the attached file)My Ethernet communication (From PC to RABBIT MODULE) is working fine, but The communication from MODULE to DEVICE (Modbus communication) is taking more time(more then 500 ms),
Currently after sending Request (from MODULE to Device)i have used the Delay routnes and then received the responce.But it is approximate method, I need interrupt based SERIAL ROUTINE. It means When DATA will come from Device then only it should go to ISR (interrupt Service routine) otherwise it should do its normal work, So please tel me how can i write SERIAL ISR for reeive in my case?
Hello every buddy,
I am using RCM3750 module for ethernet to RS485 conversion.
Flow of program :-(See the attached file)
My Ethernet communication (From PC to RABBIT MODULE) is working fine, but The communication from MODULE to DEVICE (Modbus communication) is taking more time(more then 500 ms),
Currently after sending Request (from MODULE to Device)i have used the Delay routnes and then received the responce.But it is approximate method, I need interrupt based SERIAL ROUTINE. It means When DATA will come from Device then only it should go to ISR (interrupt Service routine) otherwise it should do its normal work, So please tel me how can i write SERIAL ISR for reeive in my case?