I have built a 4-wire cable TX+ -> RX+ RX+ -> TX+ TX- -> RX- RX- -> TX- I send a frame from the RS-422 board but receive nothing in the NI RS-485. I only want to see the bytes belonging to that frame using a simple tool like TALBreakOut. Is necessary to perform some configuration in the board?
RS-485 will work with RS-422 without any changes as the voltage levels are essentially the same. However this is an async port (driven by a UART), so no clock is available.
OK, I must work in ASYNC mode. So, I have configured both boards in ASYNC mode with the following parameters Bits per second = 9600 Data bits = 8 Parity = None Stop Bits = 1 Flow Control = None
Then, I send a frame of 1 byte but receive a different value in 2 bytes (the second is 00):
I think that as a sync serial port because I only configure the following: - Device Manager > Ports(COM & LPT) - Double click the Port - Port Settings: 9600 / 8 / None / 1 /None - Advanced: Transceiver Mode -> 4 wire
The PCMCIA-485 is a UART-based device. The data frame is identical to that of a built-in RS-232 port, the only difference being the transceivers and voltage levels.