Page 1 of 1

Loop Routine

Posted: Tue Sep 26, 2006 5:23 pm
by Pedromlo
Hi,
The security controller HAI, is a slave device.
I need to send the request string (HEX) every second, so i can read the security zones changes and then execute some tasks.
Can you give me a clue on how to do that?
Also i want to connect a Modbus device which also needs to be read periodicaly.

Thanks

Posted: Thu Sep 28, 2006 12:26 am
by bjlamarca
To give you a start: Create a task that has a conditon that runs when the "System Time.Time is Not Equal to 12:00am." This task will fire every second (except 12:00:00). Then setup the serial device to send the hex data

Re: Loop Routine

Posted: Fri Jul 23, 2010 7:55 pm
by Marchi
Hello

This is my first post in CeBotics. I want to address Modbus serial HVAC and Diesel Generators using CeBotics.

From my limited knowedge of Modbus, this requires that I send a message to the devices and read the responses.

My question is: Has anyone already done this?

If so, I would greatly appreciate your input in setting this up.

Regards