Huxley Posted September 26, 2012 Report Posted September 26, 2012 I'd like to use a CJ1M controller to receive data via the 9 pin serial port on the unit. I'd like to capture the live data and port it to a DM file. I have an idea that Host link is involved but, but I'm hoping that someone can point me to some past examples, or give me some advice. Baud Rate: 115 200 Thank you! Quote
Mendon Systems Posted September 26, 2012 Report Posted September 26, 2012 Take a look at the RXD(235) instruction. It will receive up to 256 bytes of data at a time and store it directly into D registers. The TXD(236) instruction is the corresponding transmit instruction. Quote
Michael Walsh Posted September 26, 2012 Report Posted September 26, 2012 Using RXD and TXD, requires that the port be set up for a MODE of RS232C in the settings window for the Host Link port. This means that it is using a "no protocol" mode with the RXD / TXD instructions. Quote
gtsuport Posted September 27, 2012 Report Posted September 27, 2012 Welcome to the forum. What device will be sending the data? The "Host Link" port can be configured in different ways depending on the connected device. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.