Br4zzor

Ladder Logic socket communication

4 posts in this topic

Hi everyone, I'm a newbie in the ladder logic programming languages.

For my thesis project I've to develop a scenario but I'm stuck with the creation of a socket connection from the Modicon M340 PLC to a server for transfer continuous data given from sensors or similar.

Does anyone have a sample program that could have such a functionality so that I can change it based on my needs?

Thanks in advice for any further reply!

Share this post


Link to post
Share on other sites

Thanks for the reply but I'm searching a Ladder Logic program with integrated a socket connection to a specify IP address (e.i. server)

For trasnfer and receive data from or to the PLC.

I'll keep in consideration your link as well!

Share this post


Link to post
Share on other sites

I guess you could use "Read_Var" and "Write_Var" to read and write.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now