Read_Actual_Configuration - Omron CQM1-ARM21 Operation Manual

As-interface master unit
Table of Contents

Advertisement

Setup Mode
4-5-3-4

Read_Actual_Configuration

Function
Command Code
Command Argument 1
Command Argument 2
Command Status
Command Return Value
Example
Send 'No_Command'
Send Command
40
Read the ID code and I/O code of an actual slave connected to the AS-
Interface line.
5 (
)
0101
Slave address (2 digits BCD).
Not required.
1
Command processed, and Return Value is valid.
2
Error in processing the command
(invalid argument value or Slave read error).
other
Master is busy.
Actual Configuration Data for slave [Command Argument 1].
1 byte hexadecimal code, representing I/O Code and ID Code.
15 14 13 12 11 10 9
IR n
See Appendix B, AS-Interface Slave Profiles, for a list of ID codes and I/O
codes.
Try to read the configuration data of the (non-existing) slave with address 18.
Command
IR101
IR100
-
-
-
-
-
-
0 2
-
-
-
-
1 8 5 2
8
7
6
5
4
3
2
0
0
0
1
Response
IR001
X X X D Master in Setup Mode
(X = previous data)
0 0 0 D Master Ready
0 0 2 D Command Error
Slave not detected
Section 4-5
1
0
1
Setup Mode
Command Status = OK
I/O Code
ID Code

Advertisement

Table of Contents
loading

Table of Contents