Moeller XC201 PLC to XV442 HMI via CANOpen

renns

Member
Join Date
Apr 2009
Location
Earth
Posts
2
Greetings! I'm playing with a Moeller XC201 PLC, and am trying to sort out communications via CANOpen with a Moeller XV442 HMI, and am not having any luck. I'm new to this type of network communications, so I'm wondering if someone can advise if I've missed something obvious.

PLC
  • Programmed via Xsoft (CoDeSys)
  • in PLC Config, I right-clicked on the tree, and added CANMaster, Node ID 1, auto-start. Various CANopen libraries are automatically added to the resources tree at this point.
  • Under Global Variables, created two new categories, called Network_Transmit and Network_Receive.
  • Network_Transmit is configured as Write, Cyclic, Transmit on Change, COB_ID=250.
  • Network_Receive is configured as Read, Request on bootup, COB-ID=200.
  • Under the Network_Transmit category, I've declared a BYTE variable "PLC_Inputs", which I'm attempting to send to the HMI.
  • Under the Network_Receive category, I've declared a BYTE variable "TestByte", to be received from the HMI.

HMI
  • Programmed via Galileo.
  • Under 'Select PLC' page in Config menu, I've selected 'CAN Open - polling', as it seems the best fit. Info pages says it's configured for CANOpen Slave, SDO Polling, 4 bytes (DWord) memory alignment.
  • Under 'Tags', a SendByte and ReceiveByte tag were created.
  • SendByte tag address format is "Index %d,Sub %d.%d". It's been set to 200.0.0, in the hopes the first number is the COB-ID to match the Receive on PLC end. There's no mention of COB-ID in the Galileo software, so I'm grasping at straws here...
  • ReceiveByte tag address is set to 250.0.0 for same reason as above.

When programs sent to PLC and HMI, I can see the CAN led on the HMI flicker at about 1 Hz, which seems to indicate something is happening, but no data is transferred, and HMI indicates 'Communications Error' with SendByte address.

I have the Moeller manuals, which is what has got me this far, but I'm stumped at the moment. Any hints would be most appreciated!
 
Do you have to use Canopen to do the comms?

It would be much easier to use Ethernet between the HMI and PLC. In that case you could put all tags for HMI use into its own global variable file which you set up for a symbol file export. Then you can import this symbol file into Galileo software and all the tags will be there ready for you to use.
 
No, I don't have to use CANOpen, but was hoping to do so for educational purposes. I was expecting given it's all Moeller hardware & software, that the devices would be selected from drop-down lists, and somehow easily communicate with one another, but this is clearly not the case with CAN at least.
 
No, I don't have to use CANOpen, but was hoping to do so for educational purposes. I was expecting given it's all Moeller hardware & software, that the devices would be selected from drop-down lists, and somehow easily communicate with one another, but this is clearly not the case with CAN at least.

CAN is great for I/O but we did one HMI on CAN about 10 years ago and that was enough for us.

Even with the I/O, you have to know what you are doing but it is easier. If you want to play with CAN I'd get an XNE CanOPEN gateway and a couple slices of I/O.

I call CANOpen "Devicenet for Cowboys". Sometimes it seems the only thing "standard" about the CANOpen standard is the name :).
 

Similar Topics

Hello I try to write data from the xc201 to a via ethernet connected PC. But i not get a file on the PC. Any solutions? regards Bernhard
Replies
6
Views
2,866
Hi group, We have a bit of an issue which I am sure you guys have heard before, I did look at the previous threads but could not see if there...
Replies
0
Views
530
I am looking for leads on getting a manual in English for the Klockner Moeller VTP HMI software. The software is VTP and was DOS based. From what...
Replies
0
Views
553
Hi, First i'm a beginner and not a very good in english so i will try my best to be clear ! I work on an used installation and me and my team has...
Replies
0
Views
668
Hello! I have a friend who now lives on his boat in a different country and he has reached out to me for some help. I am familiar with the PS4...
Replies
1
Views
1,650
Back
Top Bottom