Sign in to follow this  
Followers 0
Roze

Modbus Serial Passthrough

1 post in this topic

Hi,

is it possible to pass a com-port from the computer to a simulated PLC-session in CX-Programmer? I can't get enough budget from my boss to buy a play-PLC for bus-experimenting, but I can buy a RS485 to RS232 adapter.

Since I can't emulate MODBUS messages, I'd like to connect to a physical network during simulation.

 

Edit:

Also, if anyone would be so kind: Would this be a sane way of implementing serial communication?

https://gist.github.com/RozeDoyanawa/0939f08db3fea6dc496a785403476364

//Kind regards.

Edited by Roze

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
Sign in to follow this  
Followers 0