-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List all tags in Omron NJ: ErrorUnsupported #371
Comments
In the core C library there is commented out code that guarded against the use of tag listing for Omron. Based on the fact that it is not commented out, I am not sure if it actually supported with Omron PLCs. Could you turn debugging on to level 4, capture the output, and attach it here? Then we can tell if the PLC is telling us that tag listing is not supported or if it is something in the library. Usually the error you see is returned by the PLC. |
Hi @kyle-github I think the device does support it because there is commercial software installed on the machine and it shows all tags By the way, can I downgrade to the latest version that still supports this function to try? If so, could you know the version? Thank you very much. |
Here is the request sent to the Omron PLC:
55 - the command to get tag information, this is getting multiple attribute of multiple objects Here is the response.
The important part is The The The tag listing commands for Rockwell PLCs are documented by Rockwell, but they may be Rockwell-specific. It certainly seems like it. Without documentation or working code I can reverse engineer, listing tags looks like it is not supported on Omron. |
Dear @kyle-github Thank you very much |
Hi @kyle-github When I use path=2,0", I get error PLCTAG_ERR_REMOTE_ERR I have attached the log file: NJ Document: page 250 about CIP command Could you pls give me any idea to make it works? Thank you very much |
From what I have seen (I do not have an Omron PLC), you need to use a path like this |
Thank you. Let me try now.. |
@kyle-github I got a very long log, looks like it cannot connect when using P/S: we have a commercial software keepware that can show list of tags in the device Regards, |
Maybe that's not your IP, as @kyle-github suggested, you need to change 10.1.2.3 for your IP, in this .txt you sent the IP 10.22.72.10 seems to be yours. |
10.22.72.10 |
Hi @zN3utr4l 1/IP: 10.22.72.10 2/ IP: 10.1.2.3 I also tried path="18,0" but received ErrorBadGateway |
are you sure about that IP? I use |
the paths are in the form of port/link address. So 2,0 means "use port 2 and go to link address 0." Port two is only available on some types of module. It is the external port on a network module. Since you are coming in on an Ethernet connection, you are coming in on port 2. Port 1 is the backplane. The first two parts of a path are almost always 1,x where x is the slot in which the next module is placed. Often the CPU is the target and often that is in slot 0. Most people are finding that a path of "1,0" works for Omron but the original testing showed that you often needed it to look like a bridged connection. In that case 18,w.x.y.z seemed to work. The "w.x.y.z" part is the IP address such as 192.168.14.3. "18" is the following in binary: 001 - logical segment So port two. The logical segment means a string, in this case the IP address. As @zN3utr4l said, check your IP addresses. |
@kyle-github @zN3utr4l Thank you very much for your detailed instructions. Let me study more. |
@kyle-github @zN3utr4l It only does not work when I want to list tags using @tags. ` var tags = new Tag<TagInfoPlcMapper, TagInfo[]>()
Could you please provide some more hints? Thank you |
Item navigation is not supported on Omron |
@zN3utr4l There is a commercial software, it can show all tags on my device. So it is possible |
#359 (comment) look here. aphytcomm |
Hi all, Thank you very much for support from @MountainKing91 |
Dear All,
I am using the latest libplctag 1.2.0 and NativeImport 1.0.37.
I want to list all tags in my device Omron NJ but I got the error ErrorUnsupported
Could anyone help me to solve it?
Thank you
The text was updated successfully, but these errors were encountered: