Author Topic: Siemens S7-226/XM  (Read 7071 times)

Cissen

  • Making baby steps
  • Posts: 3
    • View Profile
Siemens S7-226/XM
« on: October 21, 2007, 05:58:58 pm »
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

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Siemens S7-226/XM
« Reply #1 on: October 21, 2007, 11:16:39 pm »
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

  • Making baby steps
  • Posts: 3
    • View Profile
Re: Siemens S7-226/XM
« Reply #2 on: October 22, 2007, 07:08:24 pm »
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 ...