Babuino Project is powered by Creative Minds.

October 25, 2009

Modbus communication. Babuino Master - PC Slave

This video shows Babuino as a Modbus Master transfering data between two Slaves running in Modbus Slave software.




A larger video in Youtube: http://www.youtube.com/watch?v=3SAREezBLwg


Bye

Configuring Modbus in Babuino with Cricket Logo

Current Modbus tests are being performed in Cricket Logo because it is much faster to make changes than in Logo Blocks.
This is how Modbus configuration for Babuino in Logo code looks likes.


; ===================================
; --- LOGO CODE FOR READING/WRITING
; --- TO MODBUS MEMORY
global [var temp]

to start
modbus_memory
modbus_config

loop
[
; --- setdp parameters start from 0 ---
setdp 1
setvar recall
wait 1

setdp 3
settemp recall
wait 1

setdp 5
record var + temp
wait 1
]
end
; ===================================


; ===================================
; --- MODBUS DATA MEMORY
to modbus_memory
resetdp
record 00 ; holding register 1
record 01
record 00 ; holding register 2
record 02
record 00 ; holding register 3
record 03
record 00 ; holding register 4
record 04
record 00 ; holding register 5
record 05
record 00 ; holding register 6
record 06
record 00 ; holding register 7
record 07
record 00 ; holding register 8
record 08
end
; ===================================


; ===================================
; --- MODBUS CONFIGURATION MEMORY
; --- Function 3 - Read Holding Registers
; --- Function 6 - Write Single Register
to modbus_config

setdp 16
record 5 ; slave adr
record 3 ; Modbus function
record 1 ; Function parameter
record 3 ; slave adr
record 3 ; Modbus function
record 6 ; Function parameter
record 3 ; slave adr
record 6 ; Modbus function
record 8 ; Function parameter

setdp 47
record 3 ; # of polls

end
; ===================================

October 18, 2009

Babuino new feature: Modbus - More than a robot

After a long time of inactivity here we are again.

Following our plan to expand Babuino capabilities beyond Handy Cricket and Gogo Board we are introducing Modbus communication protocol in Babuino Project.

Now it is possible to program Babuino, configure it as a Modbus Master using all softwares discussed in previous posts, and have it working in a Modbus network. You can use your Babuino to read data from/write data to any Modbus RTU Slave device.

Next release of Babuino software will provide us with full capability to set Babuino to work either as Modbus Master or Modbus Slave.

The way we should configure the Modbus network with available software (Cricket Logo, Logo Blocks) is not user friendly, but we will soon have an iconic based software supporting this and other upcoming new features.

I'll show how we can make Babuino a Modbus Master in next posts.


We will keep working in Babuino FREE/Open Source platform.

October 06, 2009

Babuino Project vs INEX

As you all know we have been working in a LOGO interpreter for Arduino board. The platform is compatible with some softwares available for download somewhere in web.

Today INEX requested me to remove the link to their website. Their argument is that LOGOBLOCKS is a software dedicated to their iBOX hardware.

See the e-mail below:


Dear Sir,

it has came to our knowledge that you have used our software from our website WITHOUT any permission from us whatsoever.
We request that you remove our i-BOX III 1.31 (text + blocks) download link from your website immedaitely ,
http://babuinoproject.blogspot.com/
before we take action on this.

Please be reminded that the i-BOX III 1.31 (text + blocks) software is only allowed to be used with our IBOX as in its license.

Much Thanks
Sincerely,
xxx



And after my reply I received a second e-mail:


Dear Sir,

i-BOX III is inex production and LOGOBLOCKS is dedicated to IBOX-III and not your board

We request again that you remove our link from your website

Thanks
xxx



We will keep working on our project and I know we will do a great, FREE platform.
In addition to this, we will soon anounce new partner that will join our project providing us with a Iconic software compatible with our platform.

Thank you.

October 01, 2009

Babuino software and Arduino bootloader

Guys,

Just to clarify one point, when you upload Babuino software to your Arduino using ARP/Arduino Uploader you will NOT lose the bootloader. You are just using the bootloader to uploade Babuino software to your board.
This mean you can alternate between Babuino software and any other Arduino sketch with no problem.