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

关于ADS读取指定长度的位,结果问题 #36

Open
Karlvision opened this issue Jan 16, 2023 · 0 comments
Open

关于ADS读取指定长度的位,结果问题 #36

Karlvision opened this issue Jan 16, 2023 · 0 comments

Comments

@Karlvision
Copy link

ADS位读取
例如 M100.0 ,长度10 ,布尔类型
获取结果 [M100.0] [False,False]
报文:
[调试] 2023-01-16 22:38:15.836 Thread [003] BeckhoffAdsServer[10086] : [127.0.0.1:10766] Tcp 接收:00 00 2C 00 00 00 C0 A8 A3 08 01 01 53 03 C0 A8 A3 09 01 01 BD 80 02 00 04 00 0C 00 00 00 00 00 00 00 12 00 00 00 21 40 00 00 20 03 00 00 0A 00 00 00
[调试] 2023-01-16 22:38:15.836 Thread [003] BeckhoffAdsServer[10086] : [127.0.0.1:10766] Tcp 发送:00 00 2A 00 00 00 C0 A8 A3 09 01 01 BD 80 C0 A8 A3 00 01 01 53 03 02 00 05 00 0A 00 00 00 00 00 00 00 12 00 00 00 00 00 00 00 02 00 00 00 00 00

而且第18个字节为0,不明白为什么?

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