www.beck-ipc.com
www.beck-ipc.comwww.beck-ipc.com  | ImprintImprint
FAQFAQ  | SearchSearch  |
  |LoginLogin

TCP server

Questions and discussions about the CoDeSys editor V2.3.

TCP server

Postby jlm7860 » 05.10.2013, 15:56

Hello,
I want to add to an application that is currently running a TCP server function (PRG-ST).
my current setup is

1) Codesys 2.3.9.19, parameter communication target PC address 192.168.1.2, Port: 1200
2) Target: SC23L
3) RTOS: V1.40
4) integrated library SysLibSockets.lib 29/03/10
5) integrated library EasyIP.lib 29/03/10

I wrote to test the library SysLibSockets.lib, a UDP function on my LAN to a IMAC is OK

1) is it possible to recover a file. Example ".pro" server to inspire me?
2) I do not want to change myrts.exe
2) do I need to change the file chip.ini? (attached)

thank you in advance for your participation

jlm


CHIP.INI

[IP]
GATEWAY=192.168.1.254
NETMASK=255.255.255.0
ADDRESS=192.168.1.2
DHCP=0
UPLOAD = 1
DOWNLOAD = 1
TCPIPMEM=250

[FTP]
USER0=http
PASSWORD0=http
USER1=ftp
PASSWORD1=ftp
DRIVE1=1
ROOTDIR1= \

[WEB]
DRIVE=3
ROOTDIR=\HTTP
UPLOAD=1
UPLOAD_PATH=B:\uploads

[NTP]
IPADDRESS=212.37.192.31
UTC_OFFSET=2

Return to CoDeSys Editor V2.3


Who is online

Users browsing this forum: No registered users and 0 guests


cron