<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for Ben Lewis</title><link href="https://forge.codesys.com/u/egret/activity/" rel="alternate"/><id>https://forge.codesys.com/u/egret/activity/</id><updated>2023-09-13T05:12:36.901000Z</updated><subtitle>Recent activity for Ben Lewis</subtitle><entry><title>Ben Lewis posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/47e3c3a4aa/?limit=25#2c9e" rel="alternate"/><published>2023-09-13T05:12:36.901000Z</published><updated>2023-09-13T05:12:36.901000Z</updated><author><name>Ben Lewis</name><uri>https://forge.codesys.com/u/egret/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/47e3c3a4aa/?limit=25#2c9e</id><summary type="html">I have a J1939 network (ISOBUS) connected to my PLC. I can receive various PGNs such as 65256 (Vehicle Direction/Speed) and 65254 (Time/Date). However, I cannot receive 65267 (Vehicle Position). PGN 65267 (VP) contains SPN 584 (Latitude) and SPN 585 (Longitude). On the network both SPNs return a value of -210 (meaning the CAN message payload is zero in both cases). The conversion settings are the default values and appear to be correct (see attached screenshot). Using a CAN analyser I can see that...</summary></entry><entry><title>Ben Lewis modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/890e82898a/?limit=25#3e74" rel="alternate"/><published>2023-07-18T01:23:16.141000Z</published><updated>2023-07-18T01:23:16.141000Z</updated><author><name>Ben Lewis</name><uri>https://forge.codesys.com/u/egret/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/890e82898a/?limit=25#3e74</id><summary type="html">The Codesys online help makes it clear that the RTR option is only available for transmit PDOs (see attached screenshot "RTR.png"). https://content.helpme-codesys.com/en/CODESYS%20CANbus/_can_edt_canopen_device_pdos.html Given that this is the intended behaviour I need to find a work around. The device that I'm working with is an Axiomatic AX021101 CANOpen valve controller. Here is a link to the user manual. https://products.axiomatic.com/Asset/UMAX021101.pdf Section 3.1.14 (p. 54) makes it clear...</summary></entry><entry><title>Ben Lewis posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/890e82898a/?limit=25#3e74" rel="alternate"/><published>2023-07-18T01:20:49.289000Z</published><updated>2023-07-18T01:20:49.289000Z</updated><author><name>Ben Lewis</name><uri>https://forge.codesys.com/u/egret/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/890e82898a/?limit=25#3e74</id><summary type="html">The Codesys online help makes it clear that the RTR option is only available for transmit PDOs (see attached screenshot "RTR.png"). https://content.helpme-codesys.com/en/CODESYS%20CANbus/_can_edt_canopen_device_pdos.html Given that this is the intended behaviour I need to find a work around. The device that I'm working with is an Axiomatic AX021101 CANOpen valve controller. Here is a link to the user manual. https://products.axiomatic.com/Asset/UMAX021101.pdf Section 3.1.14 (p. 54) makes it clear...</summary></entry><entry><title>Ben Lewis posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/890e82898a/?limit=25#79a3" rel="alternate"/><published>2023-07-16T23:55:25.836000Z</published><updated>2023-07-16T23:55:25.836000Z</updated><author><name>Ben Lewis</name><uri>https://forge.codesys.com/u/egret/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/890e82898a/?limit=25#79a3</id><summary type="html">For clarity, I've attached screenshots of the RPDO and TPDO configuration dialog boxes.</summary></entry><entry><title>Ben Lewis posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/890e82898a/?limit=25#9404" rel="alternate"/><published>2023-07-14T08:17:21.139000Z</published><updated>2023-07-14T08:17:21.139000Z</updated><author><name>Ben Lewis</name><uri>https://forge.codesys.com/u/egret/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/890e82898a/?limit=25#9404</id><summary type="html">I have a CANOpen device that does not allow the RTR option on PDOs (both receive and trasmit). When configuring this device in Codesys I can edit the TRANSMIT PDO and untick the RTR option, but there is no tick box for the RECEIVE PDO. As a result, errors are raised during initialization (abort code 16#06090030) and the RPDO does not function. I then have to manually override the COB-ID used by RPDO to get it working. Is there a reason why the RPDO editor is missing the RTR tick box? Can anything...</summary></entry><entry><title>Ben Lewis posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a59c546300/?limit=25#8331" rel="alternate"/><published>2023-07-14T05:57:54.528000Z</published><updated>2023-07-14T05:57:54.528000Z</updated><author><name>Ben Lewis</name><uri>https://forge.codesys.com/u/egret/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a59c546300/?limit=25#8331</id><summary type="html">Oops! I was looking at the wrong example project. It makes sense now. Thanks for your help.</summary></entry><entry><title>Ben Lewis posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a59c546300/?limit=25#481c" rel="alternate"/><published>2023-07-13T07:21:21.203000Z</published><updated>2023-07-13T07:21:21.203000Z</updated><author><name>Ben Lewis</name><uri>https://forge.codesys.com/u/egret/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a59c546300/?limit=25#481c</id><summary type="html">I've had a look at the example code you pointed me to. Unfortunately, I can't see any examples of a write function that does not use SDO messages. Can you be more specific about which function block might work?</summary></entry><entry><title>Ben Lewis posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a59c546300/?limit=25#76a2" rel="alternate"/><published>2023-07-11T08:36:22.877000Z</published><updated>2023-07-11T08:36:22.877000Z</updated><author><name>Ben Lewis</name><uri>https://forge.codesys.com/u/egret/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a59c546300/?limit=25#76a2</id><summary type="html">Thank you for your reply and sorry for my delayed response. I was not able to test your suggestion until now. I've created a program using the SDO_WRITE4 function block and I can now write SDOs. For example, I can change the baud rate of a CANOpen device. However, I don't understand how to use SDO_WRITE4 to write LSS messages. This function block takes in the destination node-id on the DEVICE input. However, LSS messages use special reserved COB-IDs without node-ids. Is there a way to get around...</summary></entry><entry><title>Ben Lewis posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a59c546300/?limit=25#6695" rel="alternate"/><published>2023-06-08T07:22:08.891000Z</published><updated>2023-06-08T07:22:08.891000Z</updated><author><name>Ben Lewis</name><uri>https://forge.codesys.com/u/egret/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a59c546300/?limit=25#6695</id><summary type="html">I have an Axiomatic AX021101 CANOpen valve controller that I'd like to configure. Here's a link to the user manual. https://products.axiomatic.com/Asset/UMAX021101.pdf Section 3.0.1 states: "The only means by which the Node-ID and Baudrate can be changed is to use Layer Setting Services (LSS) and protocols as defined by CANopen standard DS-305." I've seen a number of posts online that indicate that this can be done by writing a small Codesys program. Here are two examples: https://forge.codesys.com/forge/talk/CODESYS-V2/thread/1490774df6/...</summary></entry></feed>