Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SIMPL Windows Programming] MC2E/TPS-4000L (Relay Toggle via Cresnet) Demo
#1
I don't know where else to post this, so here it is...

It's been a little while working with all this stuff doing mainly installations, and I didn't have much to work with previously because most of this stuff on average, and just even for the touchpanels is about $5000 and up. Here's a quick and easy demonstration of a system I put together and programmed, in which switches the internal low voltage relays. I got lots of help from the people over on an AV forum and another guy who've i've been emailing with back and forth for helping me understand SIMPL Windows programming in more detail.

It's a bit dark and I was tired after this... I spent nearly all day updating the firmware for my TPS-4000L and the MC2E control processor. Connection was via a belkin USB to serial adapter, and I created addresses for both these connections in the Crestron Toolbox. Connection to the TPS-4000L was forgiving, it was a pass through from the MC2E via Serial/RS-232 (COM port 3) through Cresnet.

Same thing for project/system uploads, GUI (VTpro project) to the Touchpanel, and the actual core programming compiled into a file in SIMPL Windows and uploaded to the MC2E 2 series control processor.

I have a video uploading to Youtube right now, it will take a little while because I didn't compress it or anything, it's just a direct MOV format from my iTouch I was using to record my screen while I was typing and doing the demo.

Basically, after all was said and done, it was fairly easy. Lots of starting headaches though, I had the Cresnet ID for the Touchpanel set to 04 instead of 03 in the beginning and my SIMPL project referred to the Touchpanel on NET ID 03, thus there was no communication and I spent 2 hours of troubleshooting to finally see the problem.

I have my Digital joins on 11, 12, and 13 for respectively Relay Up, Relay Down, and Relay Stop events. These are simplified over in the SIMPL Windows project for both the press number inputs and the feedback's. I'm only using 2 of the 4 low voltage relays though as you can see in the SIMPL program view, (A1 & A2). One of the lines in the logic module for the interlocked relay up/down, isn't being used, so it has to be commented out so that we can compile and upload to the MC2E.

The VTPro project itself is only a 1 page project, but 3 button objects on that page, therefore we only really needed 3 lines to occupy on the TPS-4000L module block in the SIMPL Windows test project I made here.

Basically the Touchpanel gets powered through the control processor via Cresnet on 24 and G, the other 2 in the twisted pair are for the data.

Next thing to do, make my room cooler with auto dimming lights and a nice sound system! :laugh:

The video on youtube has about 2 hours left to upload, so you'll see a demo of this before I head off to bed today. It's a bit dark, but the scanlines are just a result of the way my iTouch interprets the image on my monitor.

[yt]http://www.youtube.com/watch?v=85GLn9xCNy8&fmt=100[/yt]

Note: I don't have the relay output's hooked up to anything so all you can hear is the clicking and see on the touchpanel visually when the relays switch on and off.

Images:
[Image: SjfiG.jpg]

[Image: BAgDP.jpg]

[Image: I6vtn.jpg]

[Image: WD3Og.jpg]
Reply


Messages In This Thread
[SIMPL Windows Programming] MC2E/TPS-4000L (Relay Toggle via Cresnet) Demo - by AceInfinity - 09-08-2012, 09:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  LF Programming Buddies Akai 0 475 07-01-2012, 06:48 PM
Last Post: Akai
  If programming languages were religions... ven0m 6 1,080 05-31-2012, 07:22 PM
Last Post: Retribute
  I Need Programming Ideas AceInfinity 19 4,207 05-25-2012, 09:13 PM
Last Post: itsupportlondon2012
  Programming Mahn 8 1,131 04-22-2012, 11:53 AM
Last Post: AceInfinity
  Anyone know a good programming forums? Epicly 9 1,734 07-07-2011, 05:24 PM
Last Post: B3cnoc

Forum Jump:


Users browsing this thread: 2 Guest(s)