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

S7200 Smart can't Access Timer and Counter #531

Open
e70123456 opened this issue Jun 24, 2024 · 1 comment
Open

S7200 Smart can't Access Timer and Counter #531

e70123456 opened this issue Jun 24, 2024 · 1 comment

Comments

@e70123456
Copy link

Expert:
It is normal to read and write other types of registers(V,M,Q,I) now. I use Step7-Micro download plc program, The plc is running normally.

      Then, i try to read T37(my plc program used it), the respond is"

Connected to PLC.
Error: Received error from PLC: Accessing object not allowed.
Connection closed."

       C# caller is "int timer = (int)plc.Read(DataType.Timer, 37,  0,  VarType.Timer,  1);"

I don't know whether parameters configuration is correct,and other error?

@e70123456
Copy link
Author

the other caller is “byte[] TimerBytes = plc.ReadBytes(DataType.Timer, 37, 0, 1);” , it has same respond.
This is an explanation of it in the help document:
image

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

1 participant