Please login or register.

Login with username, password and session length

Author Topic: AMX and Powerlinc 1132b  (Read 30264 times)

AMXoldhack

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 43
AMX and Powerlinc 1132b
« on: March 06, 2011, 09:39:28 PM »

Well,
after another night of fruitless searches to find a block of code I could use as a starting point to learn more about
AMX axcess string manipulation for the 1132b x10 controller I found this site had added a AMX forum.
Since this forum was empty I thought I'd post.
I'm an mid to low level programmer who got out of it back when the newest AMX Thing was MONOchrome LCD touchscreens.
Netlinx, what's that?  ;)
With axcess parts going for 1 cent on the dollar on _bay I will stay with it a while.
Seriously, though, I'd be interested in hearing from others that are in to this lonely and highly proprietary
automation.
Ever gone on to a programmers group and asked for help and gotten flamed?
Ouch.  :'(
I've been driving x10 tabletop controllers with amx through relay cards for over 15 years now.
The AMX axcess x10 card amx put out was not worth a ---- and was never updated. Due to the PHAST days? ???
To update I need a better handle on string manipulation.
I'm glad I still have my programming manuals and copies of old code I wrote.
I'm still banging my head on it.

P.S.
I did Find a axcess script to run a cm11a: ryanwright.com
registered freeware
Logged

AMXoldhack

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 43
Re: AMX and Powerlinc 1132b
« Reply #1 on: March 09, 2011, 02:43:50 PM »

Update-
Rummaging around in my old X10 stock I discovered I had a CM11a.
downloaded http://www.ryanwright.com/automation/x10/amx_cm11a_v1.0.txt and renamed it into a .AXS file
It compiled in AXCESS with no bugs.
It's a rainy day and the wife is sleeping in. Good day to do some programming.
I'll load the file into my testing system and see what I can do.
Results to be posted...

Update#2
Spent 4 hours trying to make this program work successfully.
On a hunch swapped out master card version 1.80 for a 4.02 version and got it to work. CM11a issues commands
WAY to SLOWwwwy... for my use.
Way too much handshaking and error checking going on.
the AMX Program does not seem to stack x10 commands
I'd have to write that in.
I believe the buffer in the CM11a is underutilized.
At this point,  I have been unable to get allon and alloff commands to work- I have to reset everything.
No self correcting routines in the program. one bad bit into the X10_COMMAND buffer and everything locks up.

Time for a beer and to sit back and think about this. Worse case I'll just use the CM11a to listen for x10 talk
on the powerline and keep my Franken-steined relay driven tabletop controller for now.  :P
« Last Edit: March 09, 2011, 09:57:17 PM by AMXoldhack »
Logged

AMXoldhack

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 43
Re: AMX and Powerlinc 1132b
« Reply #2 on: April 16, 2011, 03:56:39 PM »

Update #3
I've stayed with the relay matrix for now. I had written my X10 macros with WAIT statements to prevent command collisions in amx.
I installed an opto -isolator in series with the status indicator on the front of the X10 command console.
This feeds back to an input card which in turn decrements a counter.
This allows me to use WAIT_UNTIL's instead of having to guestmate with things like WAIT(3).
The macros do run faster. My main speed limitation now seems to be the buss update speed- about 100 mSec.
Total program length is about 4750 lines of code including REMs
11 discrete pieces of amx gear, 15 DEVICES total.
I'll have to find a way to speed my program execution time.
learn and write a SYSTEM CALL or find some way to limit the amount of PUSH statements.
Maybe split program duties between two masters.
I will experiment on a spare system and see what is slowing down buss speed.
All I know about mainline and buss speed is from the ver 2.1 axcess tutorial, the ver 2.1 programming guide,  some experiments, and AMX programming classes 1&2 in the early 1980's.
It's what is Not in the manual that is slowing me down.
For those who are curious here is one of my X10 macros:

(*********************** LEAVE HOUSE NIGHT TIME ******************************)

PUSH[TP,92]    (* TOUCH PANELS *)
PUSH[SP,8]      (* SOFTWIRE PANEL *)
IF (TOUT = 0)
{
GO = 40           (* FEEDBACK FROM X10 CONSOLE TO DECREMENT COUNTER *)
PCODE = PX   (* TIMER TO BROADCAST HOUSE CODE P TO PUT ALL MY OTHER X10 MODUALS ASLEEP *)
[TP,92]=1
[SP,8]=1
SEND_STRING TP,'          LEAVE HOUSE NIGHT TIME     '
HC = L
UC = ALLOFF
WAIT_UNTIL (GO = 39)
UC = 13
WAIT_UNTIL (GO = 38)
UC = ONN
WAIT_UNTIL (GO = 37)
{
HC = J
UC = ALLOFF
}
WAIT_UNTIL (GO = 36)
{
HC = H
UC = ALLOFF
}
WAIT_UNTIL (GO = 35)
{
HC = I
UC = ALLOFF
}
WAIT_UNTIL (GO = 34)
{
HC = H
UC = 15
}
WAIT_UNTIL (GO = 33)
{
UC = ONN
[TP,92]=0
[SP,8]=0
TOUT = 0
}
}

Logged

AMXoldhack

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 43
Re: AMX and Powerlinc 1132b
« Reply #3 on: July 26, 2011, 07:13:37 PM »

 ???
1700+ reads and no posts?. Oh well.
I've been slowly picking up off of EBay color video or color graphic panels as the months roll by as
I have wanted to upgrade so as to do things like through up a picture of who's at the front door when the doorbell rings, etc. The graphic panels will allow me to throw up my home theater computer as well.
Started trying to see how to keep all of my old EL AND LC panel files and incorporate them into these "G3"
panels I have been slowly picking up.
I picked up 3 almost NEW AXD-CG10's and one AXD-CA color panel last couple of weeks and EBay for
under $200.00 INCLUDING shipping and I knew I had to get the ball rolling.
Spent most of the day banging my three brain cells together and finally figured out a back door to do what I wanted.
I've been using TPDOC for storing and sending files for lots of years now but it's not near enough for G3
(software revisions 3.0 and up).
Could not bridge the two different panel generations through either TPDOC, TPDESIGN, or TPDESIGN 3
(The Buggy version 3.13)
Finally used TPDOC to convert an El file to a LC file (You in the know know all the proper file extensions)
I then used TPDESIGN to hunt up were the TPDOC file was and it recognized it. HOT D___!
Spent the afternoon putting all these cool graphics into my main page ( as well as learn how to run
TPDESIGN 3). Thankfully even though AMX keeps there software close to there chest manuals can still be
downloaded.


Logged

Brian H

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 305
  • Posts: 13295
Re: AMX and Powerlinc 1132b
« Reply #4 on: July 26, 2011, 07:58:48 PM »

There may not be many AMX users that have found this section of the forums.
The only module I recognize is the discontinued Smarthome 1132B Interface. That I still have a few of.
Logged

dave w

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 139
  • Posts: 6116
Re: AMX and Powerlinc 1132b
« Reply #5 on: July 26, 2011, 08:49:15 PM »

AMX?
That was a ""muscle car" made by American Motors   -:)
Although the words  Muscle Car and American Motors have no business appearing in the same sentence.  :'
Logged
"This aftershave makes me look fat"

AMXoldhack

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 43
Re: AMX and Netlinx
« Reply #6 on: August 09, 2017, 06:37:18 PM »

What a dead forum! nobody has posted in the last 6 years?
any body know how to get netlinx panels running on a axcess language system? >*<
Logged

Brian H

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 305
  • Posts: 13295
Re: AMX and Powerlinc 1132b
« Reply #7 on: August 09, 2017, 07:01:47 PM »

I would not expect many posts here on AMX.
Seems you are the only one posting in this section.

Most likely not popular to members here.

Logged

HA Dave

  • Hero Member
  • *****
  • Helpful Post Rating: 175
  • Posts: 7127
Re: AMX and Netlinx
« Reply #8 on: August 09, 2017, 07:23:22 PM »

What a dead forum! nobody has posted in the last 6 years?
any body know how to get netlinx panels running on a axcess language system? >*<

OMG! Six years later.... and you check back.... and STILL working on this. You are one patient person.

No chance you've been helping Authinx develop new products is there?  rofl
Logged
Home Automation is an always changing technology

dave w

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 139
  • Posts: 6116
Re: AMX and Netlinx
« Reply #9 on: August 09, 2017, 08:00:44 PM »

No chance you've been helping Authinx develop new products is there?  rofl

Coffee just shot out my nose! Best laugh I had today.  #:)
Logged
"This aftershave makes me look fat"
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.