Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
PLUS+1 GUIDE / Re: CAN communication with Siemens PLC
« Last post by pinias on May 17, 2023, 05:27:25 PM »
Daan,

ok checking the datasheet for the siemens CAN module it works on CANopen

So on the danfoss side all what you need is to use the CANopen function blocks and create your CAN COB ID mapping.

the CANopen function blocks can be downloaded from the Danfoss Update center

and no, Danfoss does not have specific docummentation to work with CANopen, all what you can get is the manuals embedded on the CANopen Function blocks.

the atatched picture may give an idea of how to use the CANopen function blocks, other than that it is all what I can help out

Regards
22
PLUS+1 GUIDE / Re: CAN communication with Siemens PLC
« Last post by Daan on May 17, 2023, 08:39:42 AM »
Good morning Tom and Pinias

If this is not too much work, could you recommend a good site where I can find these applications? I've been looking for a while but can't find the appropriate sites or documentation. Also on youtube I can't find much anymore besides the video of Danfoss itself. Maybe I overlooked this or I'm not typing the right search terms. If you'd rather not do this, I can understand. Everyone has work to do, of course.

To reply to you Pinias, I didn't write my previous post so clearly on reflection. It is for the siemens PLC (ET200SP) that I use a CAN module (6ES7 137-6EA00-0BA0). On the Danfoss controller I use the CAN ports that can be found on the controller itself. I think I already know the Danfoss function blocks you are talking about from the Danfoss video about CAN communication. However I'm still trying to figure out exactly how to hook these up though.

I'm going to use the siemens PLC as master and the Danfoss controller as slave.

If you need some more info that will make it easier for you to help me, I'd be happy to do so!

Thank you for all the responses, you are a great help!
23
PLUS+1 GUIDE / Re: CAN communication with Siemens PLC
« Last post by pinias on May 16, 2023, 07:33:16 PM »
Daan,

no, you do not need separate CAN module.

but let´s make clear this

The siemens PLC CAN port, what protocol works with exactly? from what I have seen most industrial PLC´s that work with CAN use CANopen so that you got a Master-slave communication.

so it sounds you are familiar with CANopen since you have communicated with 2 siemens PLC using the CAN protocol.

the Danfoss controller does not have a preoloaded mapping for the COB ID´s as per CAN open, you have to do that, you have to create all the CANopen functions by using the Danfoss Function blocks. that is what I am trying to say in case you are not aware of that.

hopefully I made myself clear
Regards  8)
24
PLUS+1 GUIDE / Re: CAN communication with Siemens PLC
« Last post by FluidPowerTom on May 16, 2023, 06:04:12 PM »
The nice thing about PLCs, in my limited experience, is that any sort of fieldbus they use, like CAN, is usually integrated into the platform in such a way that you don't have to really learn any low level details of the communication.  That's especially the case if it's between modules of the same brand.  I'd guess that operating within the Siemens platform that almost all of the details about CAN communication like the CAN ID format and endianness is not required knowledge.

Mobile controllers seem to more often require you to learn more about the details of the communication.  I think you are going to have to spend some time reading some fundamental CAN bus application articles if you have not already.  There is a lot available out there fortunately.
25
PLUS+1 GUIDE / Re: CAN communication with Siemens PLC
« Last post by Daan on May 16, 2023, 09:43:51 AM »
Hey Tom and Pinias

I know how to communicate between 2 siemens CAN modules, but otherwise I have relatively little knowledge about this.

To answer your question Pinias, I use an XL-104 because I am making a hydraulic test bench on which many different types of valves, cylinders, installations can be tested. I need enough inputs and outputs for this. The more normal consumers are operated via the siemens plc and the more exotic consumers via the Danfoss controller.

Do you also mean that I need a separate CAN module for every consumer that is sent to the Danfoss controller via the siemens CAN module?

Thanks in advance for the quick response and all the help!
26
PLUS+1 GUIDE / Re: CAN communication with Siemens PLC
« Last post by pinias on May 15, 2023, 06:04:42 PM »
Hey Daan,

just curious why you need the siemens PLC since you got a "huge" Danfoss controller? will it be just to interface the HMI.

sounds like what you need is CANopen of course the danfoss controller can work that way just keep in mind that in such case you need to create all functions for CANopen -as a slave- using the Danfoss function blocks.

hope this gives a little help

regards

27
PLUS+1 GUIDE / Re: CAN communication with Siemens PLC
« Last post by FluidPowerTom on May 15, 2023, 05:06:07 PM »
Are you pretty familiar with applying CAN on other platforms, or are you newer to CAN bus in general?  Depending on your answer it might be worth a phone call to your distributor to schedule a 30-45 minute discussion.
28
Controllers / Re: OutputMode 3 vs 6
« Last post by FluidPowerTom on May 15, 2023, 05:01:29 PM »
I'm unaware of exactly what the difference is between the two output modes, 3 and 6.  They both appear to be duty cycle control.  My expectation is that mode 6 turns on some additional internal diagnostics and/or optimizes some parameters for the internal signal generator (such as PID loop) for specifically controlling PVE valves.

You would actually want to use mode 4 or 5 for drive any generic proportional Cetop DCV or other proportional valve.  The current control modes will yield more consistent results as the coil heats up or is ever replaced.

You actually don't need to use the 'correct' function block as was mentioned last.  It's recommended because those function blocks provide useful scaling and support diagnostic conditions well.  They save time.
29
Controllers / Re: OutputMode 3 vs 6
« Last post by Lukey on May 15, 2023, 10:43:23 AM »
Hi flno,

Yes correct OutputMode 6: PVE Output, 0 - 10000 [0.01% of PVE Power] is for driving Danfoss PVE radiometric coils.

OutputMode 3: PWM Output, 0 - 10000 [0.01% pos duty] is for driving any/generic PWM coils up to 4000hz and 3Amp, such as a proportional Cetop DCV or pressure relieving/reducing valve etc.

You will also need to use the correct Function Block for the OutputMode nominated.
There is dedicated PVE and PWM blocks found in the Outputs Library that can be used.

I wouldn't worry too much about the 10VDC you are reading I'm assuming is just the latency of your multimeter, I think you'd need a CRO to see the exact valves.
30
PLUS+1 GUIDE / CAN communication with Siemens PLC
« Last post by Daan on May 15, 2023, 08:20:08 AM »
Good morning

I would like your help regarding CAN communication. For a project I use the Danfoss XL-104 as a slave and a Siemens ET200SP as a master with a CAN module connected to it. Via the CAN module, various analog signals are forwarded to the CAN connections of the XL-104. However, I don't know much about Danfoss and I don't really understand the CAN components in the danfoss program. I've watched the Danfoss video (https://www.youtube.com/watch?v=CwE74gq-mgQ) several times but I don't really understand what to connect from the input line to the CAN module. By this I mean reading out the data that must be connected to the CAN module, but also what I still have to place on the other connections to properly convert / transport the analogue signals from the Siemens plc. Is there a video or a document where I can refer to this information?

Thank you in advance!
Pages: 1 2 [3] 4 5 ... 10