Joylei / eip-rs

rseip - EIP&CIP client in pure Rust, for generic CIP and AB PLC
MIT License
47 stars 6 forks source link

Float values #10

Closed crimsondamask closed 1 year ago

crimsondamask commented 1 year ago

Hi,

I really appreciate this crate. Thank you for putting it together.

I am new to Ethernet/IP and I have a question.

When trying to read float type tags, I get a compiler error saying that Encode Decode are not implemented for f32. What's the best way to read and write f32 values for REAL type tags on AB PLCs?

Thanks

Joylei commented 1 year ago

closed as it's been fixed.