Author Topic: connecting cellphone to the plc port#1  (Read 13015 times)

gregor

  • Guest
connecting cellphone to the plc port#1
« on: September 11, 2006, 09:04:11 AM »
Hi all,

I'm wondering if it is possible to connect a cellphone direct to the plc communication port#1 and let it send out a sms with a custom function.
I have try this with the cellphone connect to the pc serial port and this works fine.(at-command via hyperterminal)
Is there somebody who knows how to write a custom function so that the following command is sent out to the plc communication port#1

AT+CMSS=1,,145[enter] so that the cellphone sent out an sms from memory 1.

Thanks in advance
GREGOR

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:connecting cellphone to the plc port#1
« Reply #1 on: September 11, 2006, 10:13:07 AM »
If your cell phone has built-in RS232 port that you can send SMS using hyperTerminal, then there is a good chance that the PLC can do the same via its COMM1 port.

YOu may like to refer to the sample program "DialModem.PC5" in your "samples" folder to see how to use the PLC to send AT command to a modem. It should be quite similar technically.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

jwcalderon

  • Newbie
  • Posts: 4
  • I'm a llama!
    • View Profile
Re:connecting cellphone to the plc port#1
« Reply #2 on: October 02, 2006, 02:08:50 PM »
Hi,

Please tell me the cable config to connect a Tri PLC to a Enfora GSM modem.

Thanks

FQ-ONG

  • Jr. Member
  • Posts: 61
    • View Profile
Re:connecting cellphone to the plc port#1
« Reply #3 on: January 09, 2007, 02:31:01 AM »
May I know which model of mobile phone has built-in RS232 port?
« Last Edit: January 09, 2007, 02:31:36 AM by FQ-ONG »

gregor

  • Guest
Re:connecting cellphone to the plc port#1
« Reply #4 on: January 10, 2007, 11:40:41 AM »
HI
 
First of all thanks for the reply's and tips so I finally find the way to let the PLC send out a SMS true a cellphone.
All I have to to is branch the cellphone to plc port 1 with a datacable(rs232)and change a few wires and write a simple custom function to sent a  predefined SMS.
I use a old siemens C55 but I think it works with any cellphone with build in modem..

Regards
Gregor