Sending RS-232 through IR Port
undrtkr
Junior Member
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?
Comments
-
You want SET MODE DATA. I'd also remove the CARON command, as that's only pertinent to IR, and might possibly screw up data mode...
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 -
That worked like a charm and getting LED activity as well, thanks Chip.
-
Chip Moody wrote:You want SET MODE DATA. I'd also remove the CARON command, as that's only pertinent to IR, and might possibly screw up data mode...
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. -
No. Only AXcent3, and the NetLinx IR devices (depending on firmware version) are cabable to use the IR port as RS232.J.Y. wrote:Dear Chip,
Can I use AXB-IRS4 to control RS232 Device ??
J.Y. -
undrtkr wrote:
If this device is something you want feedback strings from I would recommend an Ethernet to RS-232 adapter. There are many brands and some can be had online for as little as $100 dollars. For slightly more you can get multiple RS-232 to to IP adapters. There are models that can do 422 & 485 as well.I need to control an RS-232 device and don't have enough serial ports on the controller.
Some brands:
DIGI
Lantronix
Moxa -
IR to receive Feed backs
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?? -
No. IR ports in data mode are only oneway transmit, this is because the original IR mode and so the hardware of the port is only transmitting.Binu wrote: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??
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums
