<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CANOopen; SDO ParamRange mapping</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/631bc2925b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/631bc2925b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/631bc2925b/</id><updated>2020-02-27T13:58:07.150000Z</updated><subtitle>Recent posts to CANOopen; SDO ParamRange mapping</subtitle><entry><title>CANOopen; SDO ParamRange mapping</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/631bc2925b/?limit=25#07cd" rel="alternate"/><published>2020-02-27T13:58:07.150000Z</published><updated>2020-02-27T13:58:07.150000Z</updated><author><name>chab</name><uri>https://forge.codesys.com/u/chab/</uri></author><id>https://forge.codesys.com190919a8ae66f84f3c9cd62e55f5f7f39088097e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you for your reply Tim.&lt;/p&gt;
&lt;p&gt;I recognize that CoDeSys is also doing some parametrization to the devices. And I think the two do not mix well.&lt;br/&gt;
Luckily CoDeSys has the NoInitialize option for the RemoteDevices.&lt;/p&gt;
&lt;p&gt;When using a SDO_Write function block, and doing parametrization manually, the steps are:&lt;br/&gt;
- listen to boot-up messages&lt;br/&gt;
- parametrize the device &lt;br/&gt;
- set the device to operational&lt;/p&gt;
&lt;p&gt;That is a lot of functionality!&lt;/p&gt;
&lt;p&gt;I think I'll miss-use some PDOs to get the parameter-data to the slaves.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANOopen; SDO ParamRange mapping</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/631bc2925b/?limit=25#4141" rel="alternate"/><published>2020-02-27T13:58:06.438000Z</published><updated>2020-02-27T13:58:06.438000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com5784640df8da90c813e11362c63abd53362a4db8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The SDO data comes from the .eds file. These are normally the default settings of the slave.&lt;br/&gt;
When you change these settings, the CAN master (PLC) will first send these settings to the CAN slave before it will put it in operation mode.&lt;/p&gt;
&lt;p&gt;In your case, when you don't know these settings, or when they need to be changed during operation, you need to use the specific SDO_Write function block to change the parameters in the slave.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANOopen; SDO ParamRange mapping</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/631bc2925b/?limit=25#929f" rel="alternate"/><published>2020-02-27T13:58:06.207000Z</published><updated>2020-02-27T13:58:06.207000Z</updated><author><name>chab</name><uri>https://forge.codesys.com/u/chab/</uri></author><id>https://forge.codesys.comd39f78ddb9aea0bba67f297632aa4da52789b1ac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In the slave local device, I can map a SDO ParamRange to a variable. See CANOpen_01_slave_local_SDO_param_variable_mapping.JPG&lt;br/&gt;
In the master, I do not see any SDO ParamRange in the 'CANopen I/O Mapping' tab. See CANOpen_02_master_SDO_param_variable_mapping_missing.JPG&lt;br/&gt;
The master has an SDO tab, where I can specify a constant. See CANOpen_03_master_SDO_param_constant_value.JPG&lt;/p&gt;
&lt;p&gt;Here is my problem: Some of the data in the SDO ParamRange is not known at compile time, at the office. It becomes available in the factory, where it is a constant at installation.&lt;/p&gt;
&lt;p&gt;Did somebody figure out, with a work-around, how to map a variable to a SDO ParamRange, in the master?&lt;/p&gt;
&lt;p&gt;I use 3S' CANopen libraries. CoDeSys V3.4 and V3.5.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: CANOpen_03_master_SDO_param_constant_value.JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=329"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: CANOpen_02_master_SDO_param_variable_mapping_missing.JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=328"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: CANOpen_01_slave_local_SDO_param_variable_mapping.JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=327"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>