Inside Secure M300 Manuel D’Utilisation

Page de 29
Page 17
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 
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 1kW  - resistor).
I/O  Address
B7
B6
B5
B4
B3
B2
B1
B0
05h : output
-
-
-
-
OUT2
OUT1
-
-
07h : Input
-
-
-
-
-
-
-
IN
Couplers - Reference Manuel V1.3