Sending RS-232 through IR Port
undrtkr
Posts: 35
I need to control an RS-232 device and don't have enough serial ports on the controller. Here is what I've setup.
DEFINE_DEVICE
dvDevice1 =5001:7:0
DATA_EVENT[dvDevice1]
{
ONLINE:
{
SEND_COMMAND DATA.DEVICE,"'SET MODE SERIAL'"
SEND_COMMAND DATA.DEVICE,"'CARON'"
SEND_COMMAND DATA.DEVICE,"'SET BAUD 9600,N,8,1'"
}
}
Are these the correct commands? Whenever I send strings to the port I'm not seeing the LED light. Should I?
DEFINE_DEVICE
dvDevice1 =5001:7:0
DATA_EVENT[dvDevice1]
{
ONLINE:
{
SEND_COMMAND DATA.DEVICE,"'SET MODE SERIAL'"
SEND_COMMAND DATA.DEVICE,"'CARON'"
SEND_COMMAND DATA.DEVICE,"'SET BAUD 9600,N,8,1'"
}
}
Are these the correct commands? Whenever I send strings to the port I'm not seeing the LED light. Should I?
0
Comments
I haven't used this in ages myself, so I can't say whether you should expect to see the activity LED blink when you send data. Best bet for debugging might be to run the cable back into a real RS232 port, or run it to your computer's COM port and either open the terminal in Studio or use Hyperterminal.
- Chip
Dear Chip,
Can I use AXB-IRS4 to control RS232 Device ??
J.Y.
Some brands:
DIGI
Lantronix
Moxa
HI
Can i use the IR port to receive feed back from a device. I dont want to control the device
i mean can i use either as TX or RX??