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

Single variable Read #1

Open
ghost opened this issue Mar 5, 2018 · 1 comment
Open

Single variable Read #1

ghost opened this issue Mar 5, 2018 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Mar 5, 2018

I want to read

M_ME_TF_1(36) | Short measured value (FLOAT32) with CP56Time2a asdu adress:2063259
from iec60870 server with c# form application but i don't read. Because i don't understand function of lib60870 like a asdureceivedhandler.

Briefly i want to read one variable (m_me_tf_1(36)) and i want this value assign to label1.text. How can i do this?

Thanks for all....

Best regards...

@mzillgith
Copy link
Contributor

You can e..g use the Read method of Connection (see https://support.mz-automation.de/doc/lib60870.NET/latest/classlib60870_1_1_c_s104_1_1_connection.html#aeaa8a8dbf8e2449d0222837b9d5ae3d8 to read a single variable and have to evaluate the response in the ASDUReceivedHandler. See the examples on how to use the ASDUReceivedHandler.

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

No branches or pull requests

1 participant