Jump to content

1 Project but 2x V1040


Recommended Posts

Good Day

 

Scenario :

1x vehicle fitted with 2x V1040's

 

What i want to know is if i have a door sensor for example, i would have to take a wire to an input on both V1040's to get them to both see that the door is open.

As 1 V1040 will be in the cab and the other at the back of the vehicle.

 

Is there not a way to get the 2 V1040's to talk to each other so that i only need to wire to 1 V1040's input and for the other V1040 to see it  ?

Link to comment
Share on other sites

Hi mckruger,

 

You can use modbus RTU to communicate with the 2nd V1040.

It's very easy, just spend some time to watch the Unitronics webinar about Modbus.

http://www.unitronics.com/support/webinars/modbus

Thanks ive gone through that webinar.

Going to try and figure out instead of writing a value to a textbox i would like to switch on a output or read an input.

Link to comment
Share on other sites

  • MVP 2014

I might be coming in a bit late on this one, but I prefer UniCAN to link the PLCs in this way.  The main advantage is that UniCAN can be event-driven from either end.  Modbus must be polled using a master/slave arrangement.  With UniCAN either PLC can send changes to the other PLC as soon as something happens.  Also the CANbus hardware is on the V1040 PLC as a built-in option, which leaves your serial ports free for other uses.

 

On this final point I am willing to be corrected, but I also think the CANbus physical layer is slightly easier to deal with than RS485.  Just follow the rules, use the proper cable and it usually works.  RS485 works well once it is up and running, but can be difficult to figure out initially.

 

As with Modbus, there is a webinar:

http://www.unitronics.com/support/webinars/canbus-unican

  • Upvote 2
Link to comment
Share on other sites

I might be coming in a bit late on this one, but I prefer UniCAN to link the PLCs in this way.  The main advantage is that UniCAN can be event-driven from either end.  Modbus must be polled using a master/slave arrangement.  With UniCAN either PLC can send changes to the other PLC as soon as something happens.  Also the CANbus hardware is on the V1040 PLC as a built-in option, which leaves your serial ports free for other uses.

 

On this final point I am willing to be corrected, but I also think the CANbus physical layer is slightly easier to deal with than RS485.  Just follow the rules, use the proper cable and it usually works.  RS485 works well once it is up and running, but can be difficult to figure out initially.

 

As with Modbus, there is a webinar:

http://www.unitronics.com/support/webinars/canbus-unican

Thanks,

I have watched the webinars on the UniCAN and its what i was looking for.

Although i still need to study it and learn how to apply it to my project.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...