Page 1 of 1

COM1 + COM2 with TD700

Posted: 08/02/2016, 14:55
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

Re: COM1 + COM2 with TD700

Posted: 08/02/2016, 15:05
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.

Re: COM1 + COM2 with TD700

Posted: 08/02/2016, 15:23
by user10683
Ok I'll try this.

Thank you

Re: COM1 + COM2 with TD700

Posted: 09/02/2016, 8:48
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).

Re: COM1 + COM2 with TD700

Posted: 09/02/2016, 13:55
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.

Re: COM1 + COM2 with TD700

Posted: 10/02/2016, 12:37
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 ?

Re: COM1 + COM2 with TD700

Posted: 10/02/2016, 12:58
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.

Re: COM1 + COM2 with TD700

Posted: 10/02/2016, 13:04
by user10683
I'm not using your GSM module indeed, but sometimes SMS is sent so your block works with my GSM modem.

Re: COM1 + COM2 with TD700

Posted: 10/02/2016, 14:30
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

Re: COM1 + COM2 with TD700

Posted: 10/02/2016, 14:46
by user10683
Excellent I was starting to write my own code :)