Iris _

Pixsys Forum

everybody's effort for the same goal

COM1 + COM2 with TD700

Post Reply
user10683
Posts: 51
Joined: 02/03/2015, 15:29

COM1 + COM2 with TD700

Post by user10683 »

Hi,

Is it normal when I connect a GSM on COM1 my Modbus network on COM2 no longer answer ?

As soon as unplug COM1 my Modbus network is OK (my Modbus network is configured on COM2 not on COM1.

Eric
Pixsys tecnico 1
Moderatore
Posts: 1665
Joined: 29/10/2010, 10:09
Contact:

Re: COM1 + COM2 with TD700

Post by Pixsys tecnico 1 »

Hi,
probably you are using a standard DB9 cable to COM1. Some pin of DB9 are used by RS485 COM2 port so signals annoy each other.

You must connetct to DB9 only the wires used with COM1 RS232 port, cutting the others.
user10683
Posts: 51
Joined: 02/03/2015, 15:29

Re: COM1 + COM2 with TD700

Post by user10683 »

Ok I'll try this.

Thank you
user10683
Posts: 51
Joined: 02/03/2015, 15:29

Re: COM1 + COM2 with TD700

Post by user10683 »

Ok it was that but I have a problem with SMS.

My GSM modem works great but SMS are not always sent !

I try with a very simple example (my phone number, a little text and a boolean to send SMS).

Sometimes everything is OK I receive the SMS and sometimes nothing (the boolean return from TRUE to FALSE so it seems to work but no SMS).
Pixsys tecnico 1
Moderatore
Posts: 1665
Joined: 29/10/2010, 10:09
Contact:

Re: COM1 + COM2 with TD700

Post by Pixsys tecnico 1 »

Hi,
if the boolean return from TRUE to FALSE means that the GSM modem has received the command, so TD700's software works good. I think is a problem of the GSM modem.
user10683
Posts: 51
Joined: 02/03/2015, 15:29

Re: COM1 + COM2 with TD700

Post by user10683 »

I just tested with hyperterminal directly with AT command my modem works perfectly I receive all messages.

So there is an issue with your block I think.

There is a way to see debug messages ?
Pixsys tecnico 1
Moderatore
Posts: 1665
Joined: 29/10/2010, 10:09
Contact:

Re: COM1 + COM2 with TD700

Post by Pixsys tecnico 1 »

Hi,
are you using our Pixsys GSM module, cod. 2200.20.002 ?

This block function interfaces to the Pixsys GSM module (2200.20.002), it isn't a general block because every GSM module has its command words etc.
user10683
Posts: 51
Joined: 02/03/2015, 15:29

Re: COM1 + COM2 with TD700

Post by user10683 »

I'm not using your GSM module indeed, but sometimes SMS is sent so your block works with my GSM modem.
Pixsys tecnico 1
Moderatore
Posts: 1665
Joined: 29/10/2010, 10:09
Contact:

Re: COM1 + COM2 with TD700

Post by Pixsys tecnico 1 »

I think there are some instructions not compatible or missing. Here the function block not encrypted,
import to your project, modify and use to adapt to your GSM modem.
SMS_Alert_free.zip
You do not have the required permissions to view the files attached to this post.
user10683
Posts: 51
Joined: 02/03/2015, 15:29

Re: COM1 + COM2 with TD700

Post by user10683 »

Excellent I was starting to write my own code :)
Post Reply