Activity for nlsri

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks a lot for the explanation, I will give that a try. I have a related question - does the standard allow for both string data as well as binary data of different sizes, for the same class, instance and attribute? If so, how exactly are they differentiated, or would the user have to know in advance the format of the data and process the response accordingly?

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I seem to be making some progress here, but please see attached for a discrepancy that I don't understand. Supposedly the request got a 15 byte response? The response should actually be 14 bytes, as can be seen in the other screen capture. The Codesys string display also has the first character missing, and and only shows 13 characters. What is the 21262 number shown for uiLength? All this is extremely confusing.

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Please see attached for what I need, how can that be coded with the function block in CodeSys?

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Are there any practical examples of how the Ethernet/IP service function blocks are used in PLC programs? https://help.codesys.com/webapp/_cds_obj_function_block;product=codesys;version=3.5.17.0 - this says that "insert with arguments" should show the input and output arguments, but that didn't seem to be happening. The video at https://www.youtube.com/watch?v=-YcEYccH88U shows the visualization, but not the usage. I looked at https://help.codesys.com/webapp/8kboBg6ZzK46zifJPwfAWmWbaa0%2Ffld-Function-Blocks;product=EtherNetIP%20Services;version=3.5.17.0,...

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks a lot, that brought up the values. The "Always update variables" at the bottom of the display is confusing, I thought it meant that they would be displayed regardless, didn't know about the separate controls elsewhere. Perhaps this needs to change.

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    After a lot of experimentation, I am finally able to get the Ethernet/IP link established between the Pi and the device, I am still not sure what exactly was preventing it earlier, have to go back and see whether I can find the issue. Everything is green on the Devices tree, status is good. My question now is about the IO Mapping tab, it shows a grayed out "Not updated" for the Current Value field of all the variables. Do the variables have to be mapped to something in the PLC_PRG for the values...

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    What does the "Adapter not configured yet ..." diagnostic message mean, along with the "Not running" status of Ethernet/IP? The IP address of the adapter is correct, it has been added by using an EDS file, it can be pinged from the laptop as well as the Pi. What other configuration is expected? These devices work fine with a Rockwell PLC, using the exact same EDS files, and the Class 1 connection gets established right away.

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Making progress here, I deleted the Ethernet section and added it again, that added the proper tasks which were missing earlier, I had used the demo program to start with. I did not get the IP address warnings, was able to download and run. Now I have the issue reported in https://forge.codesys.com/forge/talk/Engineering/thread/5efa115498/, but the problem there seemed to be something related to the device not being on, that is not the case here. Please see attached screenshot, would appreciate some...

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    By double-clicking on the Ethernet in the Device Tree, I was able to see where the 192.168.0.1 address was being set, and I changed it to the IP address of the Pi. But the warning message does not clear.

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks, will try that out. Where do I set the scanner IP address, please see attached, this looks different from what I see in videos and pdf's? The warning message indicates 192.168.0.1, but I don't know where that is being set. The scanner will be the Pi, so I would need to use its static IP address.

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks for the feedback. Are you saying that I can use the built-in port on the Pi for both communications, or that I definitely need an adapter? Regarding the kiosk mode, is https://desertbot.io/blog/raspberry-pi-touchscreen-kiosk-setup what you are referring to?

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    My application is to use the Pi for Ethernet/IP communications with another device, and I would be grateful for some advice. Is it possible to use the on-board Ethernet port for both the CodeSys control communications with a laptop as well as the Ethernet/IP communications with the other device, if the laptop, the Pi and the device are connected to an Ethernet switch? Or do I have to use a USB to Ethernet adapter on the Pi to create two ports, and connect that to the switch as well? The device also...

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    That seemed to work, finally! Please see attached. Thanks for all the help, greatly appreciated. Will there be some changes so that we don't have to go through all these manual edits every time?

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Changed to MC SL in the project tree, but still getting the "No device is responding to scan request" message. The "Scan" in the Tools -> Update Raspberry Pi window works, it is able to get the IP address. The Scan Network works, it is able to find "raspberrypi" on the Gateway-1 (localhost, port 1217). Gateway icon shows green circle, but target icon has red circle, both with "raspberrypi" and with the IP address selection in the pull-down menu. I finally ended up setting the device user name and...

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Ah, that might be an issue! The example projects that I am trying to load seem to have SL in the tree. Is there a way to change them to MC? Also, why would that discrepancy not be flagged with a message? Is there also an issue with a SL project not being able to run on a MC Pi, I can understand that the opposite is not possible? Thanks.

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    It is a Pi 3B, which is multicore, as opposed to the very early models or even the Pi Zero which is single.

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks for the directives via the other email. Per the directions, I deleted the csv and csv_ files in the /var/opt/codesys folder on the Pi. The last line in the codesys config file is uncommented to disable user password management. Please see the attachments. If the device is "raspberrypi" in the network window, it keeps asking for the entry of a device user name and password even with this disabled, the popup window keeps coming up if I answer No. If I change the device from "raspberrypi" to...

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I think that the entry for the user name and password was done when I had the Pi with the latest Bullseye release, and now I am on the earlier Bullseye release. Are these user names and passwords stored on the Pi or on the host machine?

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I recall one screen where it asked for them, and entered the same pi/raspberry. I am just trying to get the demo projects going, that is all. How can this be reset or disabled? More importantly, how to resolve the gateway configuration messages or device not responding messages even when there is communication? I do not understand the logic here.

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I tried uncommenting that line in the cfg file, and it still asks for a device user name and password. This doesn't seem to be an intuitive system to navigate and manage, way too many stumbling blocks just to open a demo project and get it to run, let alone create new projects and get them working!

  • nlsri nlsri modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    I installed the earlier version of Bullseye and while things went better, I am still unable to log on to the device. The Pi shows up in the Scan Network, and when selected, it asks for a user name and password. Are they the default pi and raspberry, or something else? The other issue is that the active path cannot be set, it keeps coming back with the "No device is responding to the scan request" error message, even though the right IP address is selected in the device selection pull-down. If I can...

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I installed the earlier version of Bullseye and while things went better, I am still unable to log on to the device. The Pi shows up in the Scan Network, and when selected, it asks for a user name and password. Are they the default pi and raspberry, or something else? The other issue is that the active path cannot be set, it keeps coming back with the "No device is responding to the scan request" error message, even though the right IP address is selected in the device selection pull-down. If I can...

  • nlsri nlsri modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Yes, the latest release from Jan 28th was what I had flashed on the SDHC card. Is there a recommended release, perhaps Nov 8th, and is the Legacy version better? Will Codesys work with the Lite versions?

  • nlsri nlsri modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Yes, the latest release from Jan 28th was what I had flashed on the SDHC card. Is there a recommended release, perhaps Nov 8th, and is the Legacy version better? Will Codesys work with the Lite versions?

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Yes, the latest release from Jan 28th was what I had flashed on the SDHC card. Is there a recommended version, perhaps Nov 8th, and is the Legacy version better? Will Codesys work with the Lite versions?

  • nlsri nlsri modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    I think that I have crossed this hurdle, but am running into a new one. The Scan Network in Communication Settings does not seem to show the Pi, even though Tools -> Update Raspberry Pi shows it. The Gateway-1 shown there seems to be a local host with port 1217. Am I supposed to add another gateway with the IP address of the laptop Ethernet port with a specific port number and protocol?

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks, I will give that a try. Is there a video which will guide me through these specific steps for the Pi?

  • nlsri nlsri posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I am just trying to get started with the Codesys 3.5 SP17 Patch 3 software and the Raspberry Pi 4.2.0.0 package, and while I am able to communicate with the Pi, download the package and start the runtime application, I am not able to open any projects. All of them give multiple errors related to this one particular library. I have installed all the libraries in the "CODESYS Control for Raspberry PI > 4.2.0.0 > Libraries" folder, which includes IoDrvGPIO. Does that path have to be included somewhere?...

1