CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Wed Dec 19, 2018 4:26 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Nov 14, 2018 4:25 pm 
Offline

Joined: Tue Jan 30, 2018 11:11 am
Posts: 5
Hi

I am setting up a test rig to test Modbus TCP. The user can enter in one of 250 parameters to either read or write. I don't want to make 500 channels for reading and writing the parameters, when I can make 2 and change the offset value. How do I do this, do I need some sort of pointer or global variable?

Currently the offset is 0 for both, see attached.

Thanks


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Wed Nov 14, 2018 4:46 pm 
Offline

Joined: Fri Feb 23, 2018 3:41 pm
Posts: 73
Hi Blewl,

as far as I know, you can't use your scanner. Instead use a ModbusTCPSlave FB, or build it from CAA.NetBaseServices.
For schneider PLC, they provide SE_Communication lib with include a TCPSlave FB.

Best regards,
dFx


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 2 guests


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