
FRB-200U/200/100 User Manual (Ver.1.3, Jun.2008, fmh-001-12) ---- 29
A1.3 Port Select Register
(Read/Write): wBase+3
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
1 1 1 1
NS1
Port1
NS0
Port0
Port0=0
Æ
Select FRB-200U/200/100 Port 0.
Port0=1
Æ
Deselect FRB-200U/200/100 Port 0
outportb(wBase+0x03,0xfe); // Select Port 0, disable node status
outportb(wBase+0xc0, LSB); // Send the Low byte to SA0
data=inportb(wBase+0xc0); // Receive the Low byte from RA8
Port1=0
Æ
Select FRB-200U/200/100 Port 1.
Port1=1
Æ
Deselect FRB-200U/200/100 Port 1
outportb(wBase+0x03,0xfb); // Select Port 1, disable node status
outportb(wBase+0xc0, LSB); // Send the Low byte to SA0
data=inportb(wBase+0xc0); // Receive the Low byte from RA8
NS0=0
Æ
Enable Port0 node status.
NS0=1
Æ
Disable Port0 node status.
outportb(wBase+0x03,0xfd); // Enable Port0 node status
bStatus=inportb(wBase+0xc0); // Receive node 8-15 status of Port0
NS1=0
Æ
Enable Port1 node status.
NS1=1
Æ
Disable Port1 node status.
outportb(wBase+0x03,0xf7); // Enable Port1 node status
bStatus=inportb(wBase+0xc0); // Receive node 8-15 status of Port1
bStatus :
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Node 15
Node 14
Node 13
Node 12 Node 11 Node 10 Node 9
Node 8
Node n=0: Communication of Remote SAn to FRB Series RAn is not active.
Node n=1: Communication of Remote SAn to FRB Series RAn is active.
note : n= 8~15
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru