News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Siemens S7-226/XM

Started by Cissen, October 21, 2007, 05:58:58 PM

Previous topic - Next topic

Cissen

Hi,

I'm building a new house right now and i was thinking about putting in a PLC-based domotica system controlled by a Siemens S7-226/XM. Is there any way this PLC-board could communicate with Linuxmce and if it doesn't exist right now, what would i need to do to get them work together ?


tschak909

basically, if it is a serial device (RS232), you would just have to create a new device template of the appropriate category, and add the appropriate commands it supports, and data it needs to do them... then you fill in the blanks for what needs to be sent out the port to execute those commands.

It is documented on the wiki.

-Thom

Cissen

Thx Thom,

yes its a serial device. eg : "PAR3002=001CRLF" = put light 1 ON. You can also read out the status of different lights and so on. So now i know it should work i can start putting together a test-system and i'll ask the Siemens dealer if i can have a PLC-board on test for a couple of days.

to be continued ...