sending tcp message (at command) from s7-1200

apetkov5

Member
Join Date
Aug 2007
Location
x
Posts
101
Hi all!

I have s7-1200 cpu 1214c and Coner ER75i router.

Router have settings to send SMS by AT commands.

Also there is settings in router that AT messages can be recieved via TCP port (not rs232 like usual)

So, I have router that listen on TCP port 2000, and wait s7-1200 to send it AT commands (to form and send sms).

Is there any example what function (and how) to use in s7-1200 (in tia portal) ?

Tnx in advance!
 
Hi all!

I have s7-1200 cpu 1214c and Coner ER75i router.

Router have settings to send SMS by AT commands.

Also there is settings in router that AT messages can be recieved via TCP port (not rs232 like usual)

So, I have router that listen on TCP port 2000, and wait s7-1200 to send it AT commands (to form and send sms).

Is there any example what function (and how) to use in s7-1200 (in tia portal) ?

Tnx in advance!

To send TCP commands, use the T_Send_C block. See sample code in this library: https://support.industry.siemens.com/cs/us/en/view/109476781

However, this is just basic TCP. If you want a specific set of commands, you will probably have to build your TCP message manually, and then send it with the built in commands.
 

Similar Topics

I am working with a Siemens Open Controller (6ES7 677-2AA40-0AA0) and a 3rd party transmitter. I am trying to communicate to this transmitter to...
Replies
1
Views
1,708
I’m attempting to send a temperature from a SLC-5/02 to an EZiMarquee display. The vendor said to use a MSG instruction to send the data to the...
Replies
1
Views
95
Hi I need to send a null command down a comms port. But in the crimson software when i used /x00 it coming back "Cannot use null character is...
Replies
2
Views
426
I've been having some trouble figuring out how to get the ip address for the mail relay server, is it something that I need to create separately...
Replies
10
Views
921
Hi Everyone, We have Silo System which has temperature sensor and these sensor data will be communicating through RTU unit to the Dedicated PC...
Replies
2
Views
620
Back
Top Bottom