aldas / modbus-tcp-client

PHP client for Modbus TCP and Modbus RTU over TCP (can be used for serial)
Apache License 2.0
194 stars 56 forks source link

Implement missing (serial) functions (7,8,12,20,21,24,43) #55

Open aldas opened 4 years ago

aldas commented 4 years ago

Implement missing serial functions (7,8,11,12,17,20,21,24,43)

Modbus spec: http://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf

If anyone needs some of them let me know

thanhnvh01 commented 10 months ago

i need 17 (0x11)

aldas commented 10 months ago

This may not be relevant anymore for you @thanhnvh01 but FC17 is implemented now: ReportServerIDRequest / ReportServerIDResponse

thanhnvh01 commented 10 months ago

This may not be relevant anymore for you @thanhnvh01 but FC17 is implemented now: ReportServerIDRequest / ReportServerIDResponse

Can you do FC17 with go https://github.com/aldas/go-modbus-client.git I want scan slave id but i dont find any library in golang to do this

aldas commented 10 months ago

Yes, I can add FC there.

aldas commented 10 months ago

@thanhnvh01 I have added FC17 also to Go library. Try it out and report problems in that repository. Thanks.