Shop OBEX P1 Docs P2 Docs Learn Events
PLC com via WIFI & GSM — Parallax Forums

PLC com via WIFI & GSM

DuaneMartinDuaneMartin Posts: 2
edited 2006-01-29 00:29 in General Discussion
I am new to the whole Basic stamp, and at 54 years old, I am just too busy to learn the whole thing.
I need a basic stamp program/device that will poll 2 ports [noparse][[/noparse]one on WIFI and the other on a rs-232 to GPRS device] to see which one is alive, then funnel communications from a PLC to that one.
Can you suggest someone to do this for me?
Thanks
Duane Martin
[noparse][[/noparse]plc == programmable logic controller]

Comments

  • Steve JoblinSteve Joblin Posts: 784
    edited 2006-01-24 13:47
    What is the format of the communications both on receiving and transmitting? That is, do both the WIFI device and the GPRS send out serial information? If so, you can use the SERIN command to receive the data from each of these sources... then in turn, you can send out serial instructions to the PLC using the SEROUT command.
  • nick bernardnick bernard Posts: 329
    edited 2006-01-24 14:20
    how fast does it have to respond between sentences? if speed isnt a major issue then this becomes mostly a hardware problem where you have to condition the signals (to ttl levels) for the bs2. you'd also have to convert the bs2 signals to something that the plc will read, probably rs485.

    also is the plc a master device that will poll your stamp for data? or does it have a dedicated listening port?

    and how long are the sentences? the stamp can only handle so much, unless you use some external ram which will slow down the device ever more.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    engineer, fireman, bowler, father, WoW addict [noparse];)[/noparse]
  • SN96SN96 Posts: 318
    edited 2006-01-24 15:21
    This·Duane sent me two duplicate PM's with the exact text--word for word--as in this thread. ·This is not a good way to get help from the community. May I suggest practicing some patience?


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Mike

    ·
  • John R.John R. Posts: 1,376
    edited 2006-01-24 15:51
    I believe a number of us received the PM. He also posted the same thing to the Basic Stamp forum (that thread has been locked and references this thread.) His profile was also created yesterday. I suspect he just wasn't paying attention, and/or didn't realize how the forums worked...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John R.

    8 + 8 = 10
  • Steve JoblinSteve Joblin Posts: 784
    edited 2006-01-24 16:16
    I got two PM's from him as well... Did he send PM's to everyone?
  • ForrestForrest Posts: 1,341
    edited 2006-01-24 17:32
    Hmm, I only got 1 PM from him tongue.gif
  • SN96SN96 Posts: 318
    edited 2006-01-24 19:39
    He· must not of liked you as much Forrest.smilewinkgrin.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Mike

    ·
  • T&E EngineerT&E Engineer Posts: 1,396
    edited 2006-01-24 20:32
    I got a PM too from him.
  • John R.John R. Posts: 1,376
    edited 2006-01-24 20:47
    Did anyone NOT get a PM from him?

    How did he send them all without filling up his PM mailbox?

    The worst part is, the gentleman was really looking for help, and all he's getting is traffic on his botched attempt to get help.

    Duane:

    On the WIFI, do you have an actual device that has WIFI that you want the Stamp to communicate with, or are you thinking of the WIFI as part of the stamp system?

    What you're asking to do isn't terrible in concept, but as they say, "the devil is in the details". Determining what format to get/send the data in could be the hard part.

    If you're just looking to outsource this, including the design, you might want to make that clear also.

    Reading your post, one is left with one of two choices for an initial impression:

    Either you are trying to go from zero to full speed on a non-trivial application with no patience for a learning curve - "I am just too busy to learn the whole thing."

    Or

    You really are looking for someone to contact you, and provide a "turn key" solution for you - "Can you suggest someone to do this for me?"

    There certainly are resources on this formum to do the second, and if you can find the time and energy, certainly the folks to help with the first.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John R.

    8 + 8 = 10
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2006-01-28 17:18
    I got a PM too. YOU ALL might consider the posibilty that this was a software glitch in the system and Duane really may not have been so ambitious. The Internet has been getting a bit buggy lately.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)

    ······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • RsadeikaRsadeika Posts: 3,837
    edited 2006-01-28 18:12
    Since I also received two PM's, I hope this is not somebody trying to figure out how to let loose a spambot on the members here. I already belong to a yahoo group where spambots have made some headway. now I have to spend extra time cleaning out my PM account of spam that comes in via group membership.

    Duane, please step up and tell me that ain't so.

    Ray
  • Tim-MTim-M Posts: 522
    edited 2006-01-28 19:40
    I received a PM too. Duane are you out there....??

    Tim
  • kelvin jameskelvin james Posts: 531
    edited 2006-01-29 00:29
    Well, aside from the PM thing, i think everyone got one, there still might be some useful info involved with the original idea. I found a company that delevoped a sysytem to do I / O remote control with GPRS and other communications. It is a computer based system, and looks like it needs a provider for the communication service. But who knows, maybe this can be incorperated into a micro application. Just think of the possibilities of being able to remote control something no matter where it is. Like if the kid has the car out for the night? Lots of ideas? Check the link.

    kelvin


    traceme.tv/io.html
Sign In or Register to comment.