Commands; No Command - Omron CQM1-ARM21 Operation Manual

As-interface master unit
Table of Contents

Advertisement

Setup Mode

4-5-3 Commands

!
Caution
4-5-3-1

No Command

Function
Command Code
Command Argument 1
Command Argument 2
Command Status
Command Return Value
Example
Select Setup Mode
(X = previous data)
Send 'No_Command'
Note: It is also possible to select Setup Mode AND send 'No_Command' in the same PLC scan by changing
IR100 from XXX0 to XX02.The above method is safer if the output data of slave 1 needs to be held during
execution of Setup Commands.
In Setup Mode, the user can issue a range of commands as defined in the
AS-Interface Specification, that provide the possibility to completely configure
an AS-Interface network without the use of additional programming or
addressing tools.
The method to issue a command is always the same:
1. The 'No Command' code is set prepare the master for a new command
code. The 'No Command' code requires no command arguments.
2. The user checks that the Command Status is cleared (= 0)
3. The user enters a command code, and the arguments for that command,
making sure that the arguments are available to the master at the
moment that the command code is set.
4. The user checks the Command Status, and if applicable, the Command
Return Value.
This sequence can be repeated as required, or it can be interrupted in any
stage by changing to Configuration Mode (Mode Control Bit).
The user is to make sure that the Mode Flag is ON before a command is sent.
If the Mode Flag is OFF, e.g. due to the MOD switch forcing the unit to stay in
Protected Mode (switch=ON), the master will interpret the command and
argument data as output data for slaves 1 through 5.
Prepare the master for the reception of a new command from the PLC. Must
be set after entering into Setup Mode, and before each new command.
0 (
)
0000
Not required.
Not required.
0
Ready for new command.
Other
Master is busy.
Not applicable (set to 00).
Enter Setup Mode and prepare for first command
Command
IR101
IR100
X X X X X X X 2
-
-
-
-
-
-
0 2
Response
IR001
X X X D Master in Setup Mode
(XXX = Last input data from slaves 1-3)
0 0 0 D Master Ready
Section 4-5
37

Advertisement

Table of Contents
loading

Table of Contents