4 Operational Check Details
4.6.2 Serial Port C Communication (RS-422/485)
This serial port is provided for the RAS function.
Read "Chapter 5: RAS Function Supplementary Information," and proceed with the RAS preparatory
steps.
The verification program performs a full-duplex transmission. Connect the self-loop communication
serial cable. (Refer to Figure 4.3: RAS connection diagram)
Launch a console window. Execute the command indicated below, and confirm that 10 bytes are sent
and received. Refer to the Readme file for details about the serial sample.
[root@localhost contec]# setserial /dev/ttyS2 irq 4
[root@localhost contec]# ./serial 0 0x22
micon: Set rs485 status complete. cmd [0x93h], dat [0x3h], sta [0x6h]
micon: Get rs485 status complete. cmd [0x94h], dat [0x3h], sta [0x6h]
Starting...
Sending Serial Data
send = 10
sending data tx[000]-[009] 01 02 03 04 05 | 06 87 08 09 0a
TX End
rece = 10
receiving data rx[000]-[009] 01 02 03 04 05 | 06 87 08 09 0a
Recv success.
Terminating...
Special note:
The interrupt configuration of the RS-422/485 communication port is IRQ7 (fixed) in the BIOS.
The device cannot share interrupts.
On the other hand, Linux initially sets IRQ7 to interrupt sharing with other devices.
During RS-422/485 communication, interrupt may not occur when interrupt sharing is necessary, resulting
in communication failure. In order to avoid this, reassign the IRQ assignment from 7 to 4.
20
BX-220 CentOS7.3 64bit Operational Check Manual
Need help?
Do you have a question about the IPC Series and is the answer not in the manual?