Questions tagged [canopen]

48 questions
3
votes
1 answer

Different CAN-BUS specs on the same bus

I have several questions about different combinations of CAN-Bus nodes that are able to work together with realiability: CAN2.0A and CAN2.0B nodes can work on the same bus at the SAME speed? CAN2.0A and CAN2.0B nodes can work on the same bus at…
Emco
  • 31
  • 2
2
votes
1 answer

Consumer heartbeat time configuration in CANopen

I have the following situation. I have a master (consumer) and a slave (producer), the slave has to be between nodes 1-127, in this case the slave is in the node 125. I'm trying to syncronize both of them, for that, after some research I found about…
Linux
  • 21
  • 3
2
votes
0 answers

How to design CANopen OD and PDO mapping

I'm new to CAN and CANopen so I may still have some fundamental misunderstanding. What I'm trying to understand is how one would design the PDO mapping for a network with many of the same sensor/actuator. For illustration let's say I have 10 fridges…
Otus
  • 167
  • 5
2
votes
0 answers

Best approach to program a PLC using dbc file? (CAN communication)

I'm pretty new using CAN Communication but I need to program a Phoenix Contact PLC in Structured Text. The PLC should communicate with a motor that uses CANOpen protocol. The only resource I have is the dbc file. I'm kinda lost about where to start.…
2
votes
0 answers

Home automation using CAN bus

I am planning to make a prototype for wired home automation devices, and I am thinking of using CAN bus for communication between nodes and Gateway. The way I am planning to build it, there is one gateway with CAN bus capabilities, let's say up to 4…
awakrim
  • 21
  • 3
2
votes
3 answers

Process Data Objects - CANopen - How do they work?

I'm searching for information about PDO and the protocol CiA 301 V4.2.0 at topic 7.2.2.5.1 does not exactly show how PDO's work. Every PDO contains 8 bytes of data. I know that there are 4 different PDO's. PDO TX 1 - COB ID = 0x180 + Node ID PDO RX…
euraad
  • 1,025
  • 11
  • 30
2
votes
1 answer

STM32 Unexpected Interrupt causes program to jump in infinite loop

Struggling with this issue for days now and can't find a solution. Maybe someone saw something like this before and can give me a hint. I have FreeRTOS running on an STM32L4 with different tasks. One of these tasks should handle CAN…
po.pe
  • 2,548
  • 1
  • 10
  • 25
2
votes
1 answer

Canbus, Opencan and ISO BUS

Quick question, I know about CanBus protocol. I'm interesting about ISOBUS and CanOpen. I know that those are exentsion of the CanBus protocol. So my question is: Do ISOBUS and CanOpen need different hardware? Do ISOBUS and CanOpen can operate on…
oak
  • 174
  • 9
1
vote
1 answer

How does CANopen support many devices with limited PDO

I'm pretty new to canbus and CANopen and can't seem to wrap my head around PDOs. I understand that a PDO must be defined and agreed upon ahead of time, and that multiple OD entries can be packed into a single PDO. What I'm not understanding is how…
Otus
  • 167
  • 5
1
vote
1 answer

CAN physical layer flexibility

I'm considering designing a CAN bus (CANopen) where part of the bus, closest to each node, does not use twisted pair. Partially the bus will run in a DSUB, but partially through stackable header or single wires / traces. The length of this sections…
1
vote
2 answers

Can CANopen coexist with CAN2.0B on the same bus?

I am new to CAN protocol so I have questions about combinations of CAN-Bus nodes on same network: Is it possible to communicate with two different devices one having CAN in Automation (CiA) CANopen DS 301 and other device having CAN2.0B, 11 standard…
MICRO
  • 510
  • 4
  • 25
1
vote
1 answer

Can a CANopen node receive the SDO block upload between another pair of nodes?

I know that with PDO there can be more than one receiver, but I wonder if that also applies to SDO block upload, so if I can have node A acting as a client, node B as a server and having some "eavesdropping" node C receiving a copy of the payload…
Joan
  • 1,403
  • 1
  • 9
  • 11
1
vote
1 answer

Multiple CANOpen SDO requests "in the air" at once

In CANOpen, expedited SDO requests and responses include the index and sub-index of the request. All CANOpen master implementations that I've looked at require only one SDO per device be sent at once, for example: Client: Initiate Upload Request,…
skinnynerd
  • 113
  • 3
1
vote
2 answers

When should I use normal SDO transfer in CANopen?

CANopen have two types of methods for transferring and receiving data between server and client. Expedited mode = Send fixed bytes (maximum 4 bytes) Normal mode = Send maximum 7 bytes at the time If I want to send for example an uint32_t value…
euraad
  • 1,025
  • 11
  • 30
1
vote
2 answers

Why are NMT masters acting as SDO clients and not SDO masters in CANopen?

According to CSSeletronics. What is the SDO service? The SDO service allows a CANopen node to read/edit values of another node's object dictionary over the CAN network. As mentioned under 'communication models', the CANopen SDO services utilize a…
euraad
  • 1,025
  • 11
  • 30
1
2 3 4