AdAstra

Micro820 serial communication

1 post in this topic

Hi, 

I'm trying to test the serial communications with my Micro820. I acquired a 2080-SERIALISOL so I could have "someone" to talk to.

I want to use RS485, so I figured that I'd have to connect:

  • Modbus pin 1 (D+) to serialisol pin A1 (+485)
  • Modbus pin 2 (D-) to serialisol pin B4 (-485)
  • Modbus pin 3 (GND) to serialisol pin A2 (GND)

Now when it comes to CCW, the thing gets a little harder. I know I need to use the MSG_MODBUS block (in fact I need 2, one for the modbus and another one for the serialisol), and I guess I specify the interface I'm using on the TargetCfg field (data type MODBUSTARPARA).

But how do I figure out that the Addr (UDINT) and Node (USINT) values are for my Modbus and Serialisol?

Or am I doing it wrong?

Does anybody know of any place where I can get some more guidance or even a funcional ladder program?

Thank you in advance

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