Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

PCMCIA-RS485/2 connected to RS422

I want to connect PCMCIA-RS485 (DB9) with a RS-422 board (DB25) in other computer. Which connectors and cable I need?
0 Kudos
Message 1 of 13
(6,795 Views)
You will need to determine the pinout of the other board, and then connect TX+ to RX+, TX- to RX-, etc. This may require a custom cable.
0 Kudos
Message 2 of 13
(6,794 Views)
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?
0 Kudos
Message 3 of 13
(6,794 Views)
How can I configure PCMCIA RS-485/2 to work with the RS-422 protocol?

If I need a clock signal, which pin is used as clock?
0 Kudos
Message 4 of 13
(6,794 Views)
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.
0 Kudos
Message 5 of 13
(6,794 Views)
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):

SENT ----- RECEIVED

3 ----- 7E00
4 ----- 1F00
5 ----- 7D00


Do you guess what can be the problem?
0 Kudos
Message 6 of 13
(6,794 Views)
Are you using the PCMCIA-485 as a sync serial port? Or is this a VISA setting?
0 Kudos
Message 7 of 13
(6,794 Views)
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
0 Kudos
Message 8 of 13
(6,794 Views)
Does the PCMCIA-485 uses NRZ encoding?
0 Kudos
Message 9 of 13
(6,794 Views)
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.
0 Kudos
Message 10 of 13
(6,795 Views)