Write_Parameter - Omron CQM1-ARM21 Operation Manual

As-interface master unit
Table of Contents

Advertisement

Setup Mode
4-5-3-9

Write_Parameter

Function
Command Code
Command Argument 1
Command Argument 2
Command Status
Command Return Value
Example
Send 'No_Command'
Send Command
46
Set the Parameter Bits of an actual slave connected to the AS-Interface
network.
F (
)
1111
Slave address (2 digits BCD).
Actual Parameter Data for slave [Command Argument 1].
4 bits as below:
15 14 13 12 11 10 9
IR m+1
The meaning of Parameters P0~P4 is slave specific.
1
Command processed successfully.
2
Error in processing the command
(invalid argument value or Slave write error).
other
Master is busy.
Result of the Write_Parameter Command (error flag).
If all error flags are off, and Command Status =1, the command was
processed successfully. If not, the following flag indicate the type of error:
15 14 13 12 11 10 9
IR n
SND
The slave specified by Command Argument 1 was not detected on
the network.
Set the actual parameter data for the slave with address 2 as
P0=0, P1=1, P2=1, P3=0
Command
IR101
IR100
-
-
-
-
-
-
0 2
-
-
-
6
0 2 F 2
8
7
6
5
4
3
2
P3 P2 P1 P0
8
7
6
5
4
3
2
0
0
1
0
Response
IR001
X X X D Master in Setup Mode
(X = previous data)
0 0 0 D Master Ready
0 1 2 D Slave 2 not detected
Section 4-5
1
0
Parameter Data
1
0
1
Setup Mode
Command Status = Error
Slave not detected [SND]

Advertisement

Table of Contents
loading

Table of Contents