provide a good basic framework for the comm part. You should also
be aware that the Modbus data needs to be appropriately encoded and
decoded. For example, that 0A 04 00 00 00 0A 71 76 string goes out
something like this:
Code:
PRINT #1, CHR$(&H0A); CHR$(&H04); CHR$(&H00); CHR$(&H00); PRINT #1, CHR$(&H00); CHR$(&H0A); CHR$(&H71); CHR$(&H76);
------------------
Tom Hanlin
PowerBASIC Staff
Leave a comment: