CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Sat Nov 18, 2017 3:41 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Apr 21, 2011 4:15 pm 
If I have a V3 PLC that I know is at a defined IP address, what is the best way to connect to that controller with PLC Handler? The V3 connection methods seemed to be limited only to the device name or CoDeSys address. Both of these will change from device to device but the IP is fixed on every controller.

Is there a way to resolve a device name or address from the IP address?


Top
   
PostPosted: Thu Jun 02, 2011 8:25 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 2238
if your plc support CmpBlkDrvTcp then you could connect via the IP address:
this snippet is from the plc-handler documentation 5.1.1.2:

Starting from version V3.4 SP2 there is also the possibility to use
the CmpBlkDrvTcp to communicate to the PLC.

Parameter name Description:
IpAddress Tcp/Ip address of the PLC
Port Tcp/Ip port number of the PLC. If not specified, the default value 11740 is used.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited