hapetter
Member
Hi.
I have an application where Im going to read and write commands to/from a laser sensor. The sensor has RS232 serial interface. How can I read and write to the sensor using TwinCAT?
Ex. of a command I like to write:
Code>
How to implement in TwinCAT?
Best Regards
Hans Pettersson
I have an application where Im going to read and write commands to/from a laser sensor. The sensor has RS232 serial interface. How can I read and write to the sensor using TwinCAT?
Ex. of a command I like to write:
Set Sample Interval
2-8 bytes ASCII Code: S <Interval>
(20 <= Interval <= 9999999)
Default: 200000 (5 Samples/second) Input switch code: 8<Sample Rate
(20 <= Interval <= 9999999)
Default: 200000 (5 Samples/second) Input switch code: 8<Sample Rate
Code>
How to implement in TwinCAT?
Best Regards
Hans Pettersson