Skip to content
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

Reading PLC 5 Data File #360

Open
oOICEMANOo opened this issue Dec 18, 2023 · 5 comments
Open

Reading PLC 5 Data File #360

oOICEMANOo opened this issue Dec 18, 2023 · 5 comments

Comments

@oOICEMANOo
Copy link

When trying to read a PLC5/40B using DHRIO I can get values using say B17:5/1 but when I try to read if a output is on ex. O:051/3 I get a ErrorBadParam. Is it possible to read the output file?

CIP Path: 1,2,A:5:5

image

image

@timyhac
Copy link
Collaborator

timyhac commented Jun 15, 2024

Hi @oOICEMANOo - I have never used PLC5 but you may get more luck by adding detail to your question such as suggested in the Contributions guidance.

@kyle-github
Copy link
Member

This is not fixed yet but there is an issue tracking it.

Also note that all numbers must be DECIMAL only. Octal is not currently supported.

@raentzmi
Copy link

raentzmi commented Jun 15, 2024 via email

@kyle-github
Copy link
Member

Hmm, @raentzmi, that is the most cogent argument I've heard for a while about why to support octal. Is there something that lets you know the number is octal? Leading zero? If so, I will prioritize the parsing of data-file style names.

I did only a little programming of PLC/5 systems. Almost all the times I touched them it was converting a PLC/5 to a ControlLogix. Or a PLC/5-250 to a ControlLogix (every tried to find parts for those things?).

You can get to the O file, but you need to put in the data file number, which is zero. Similarly the I input data file needs the data file number which is 1 (one).

I actually have a PLC/5 and a MicroLogix, so I can do some testing eventually.

@raentzmi
Copy link

raentzmi commented Jun 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants