Jump to content

COMUNICATION GPRS MODEM


Julio Rodriguez

Recommended Posts

Hi 

 

I'm working in a proyect to the Variadores S.A Company in bogota, Colombia.

 

They need communicate the plc with the pc vía GPRS, ussing the program Remote Access and two ENFORA modems.

 

I have two SIM CARDs one for the modem and one for the other. Claro S.A provides me two IP address whit a APN Server; this is a private network.

 

 

In  my program i have:

 

- name of the PLC ---- Visio570.

- Com init ---- i connect my modem in the port #2.

- gprs configuration and gprs registration.   int the grps registration I'm going to set a MI where the program save the ip address (this is the ip address of the MODEM PLC). You also have to set the APN Server.

- IP to ASCII --- With This function Block the OPCL save your IP Address.

-Start Call ----> I configured the remote tcp/ip port   the number 20257 but i'm no sure about that (unitronics have a video with this proyect but in the video the por tcp/ip is 5000) I am confused about that.  I also cofigured the ip addres of the second modem, the second modem is the PC modem.

- end call

-listen mode ---> i configured the port --- 20257.

- end listen mode.

-unregistered.

 

 

I connected the network and inicializated the two modems, one for the PLC side modems and the other for PC side modems.

 

when I turn on the plc and the modems, the plc save the modem ip address and displayed on the screen. when I pressing the button LISTEN, the bit connectect turn on. But the bit Call status neve turn on, when I pressing the button Call , The PLC diplayed the message MODEM TIME OUT ERROR.

 

I have to do I have to do something very similar to the video on youtube with the name WEBINAR-MODEM.

 

Please this proyect is urgent for the company. 

 

THANKS FOR YOUR HELP!!!!!!!!!!!!!!!!!!!

Link to comment
Share on other sites

  • 1 year later...

Could you help me determining the cause of the error when I become connected to PLC using GPRS (with connected on status bar), when I try to online, I get a runtime error of '13' then followed by '440'. Is this software or system related?


this error occur on both visilogic and remote access.


 


Thank you very much in advance.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...