We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: Vladimir Djukovic
Last Updated: 2013-01-11
Package Version: 1.0.0.0
Category: Communication
Downloaded: 3316 times
Followed by: 3 users
License: MIT license
This project contains some library code aimed to be used for developing slave PLC type controllers using microcontrollers for their hardware configurations
Do you want to subscribe in order to receive notifications regarding "Modbus RTU Implementation & Ladder Logic" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "Modbus RTU Implementation & Ladder Logic" changes.
Do you want to report abuse regarding "Modbus RTU Implementation & Ladder Logic".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1357504037_modbus_rtu_imple_mikroc_pic.mpkg [960.29KB] | mikroC PRO for PIC |
|
Hello World!
If You have any questions, suggestions, whatever... feel free to email me or post a comment here...
NOTE: There is no RS-232 connection to PC on the photo. It is a picture after loading Modbus_RTU_Slave.hex test example from the package file
View full imageReady for PIC board with PIC18F45K22 and parallel SRAM 128Kx8bit memory. The PIC on the board serves as a serial driver between the main MCU (the same chip on the main development board) and memory. It is programmed by Slave_SPI.hex file contained in the
View full imageNOTE: Although the SRAM chip has 128K capacity space it is used 64K (A0-A15, A16 = ground) for this slave configuration
Watch on YouTubeThis is a test program that was made in order to be used for the external memory block functionality testing. Considering that this external memory has an important role in the entire system behavior, before it was used as a functional system component it had had to be well established the internal communication between the main MCU and the external memory block. This is one of assistant programs made in order to help in developing this Modbus RTU library code for slave controllers. Obviously this external memory block is an impractical solution but with some reasons it serves well in an experimental sense. It should be replaced with a common SRAM chip with SPI interface.