Справочник Пользователя для Inside Secure ACCESSO

Скачать
Страница из 63
Coupler - Reference manual
RM 13
Version 1.1
READ_STATUS
Use
This command is used to get coupler parameters (communication speed…).
Prototyping
"
Command sent : F2h
"
Command type : ISO out
Host
80h
F2h
P1
P2
01h
Coupler
F2h
Read 
bytes
90h
00h
Parameters
P1: type of parameter to read
b7 - b2
b1 - b0
0 (RFU)
Parameter 
location
b1-b0 : Parameter location
$
00 : Parameter value is read in coupler’s EEPROM (setting when power
on)
$
01 : Coupler’s I/O
$
10 : Reserved for Future Use
$
11 : Parameter value is read in coupler’s RAM (current setting)
P2: set the parameter address to read
Valid values for P2 according to P1 value:
$
EEPROM:
00h to FFh.
$
I/O:
05h and 07h.
$
Parameter:
50h to 6Fh.
Response : byte value at the transmitted address + status word
Note: When reading the I/O, the Read byte returned indicates the IN1, OUT1, OUT2 pin
states as follows: (OUT2P is connected to VDD via a 1kÙ- resistor).
I/O  Address
b7
b6
b5
b4
b3
b2
b1
b0
05h  :  Output
-
-
-
-
OUT2
OUT1
-
-
07h  :  Input
-
-
-
-
-
-
-
IN