Setup Mode
Section 4-5
37
4-5-3
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.
4-5-3-1
No Command
Function
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.
Command Code
0 (
0000
)
Command Argument 1
Not required.
Command Argument 2
Not required.
Command Status
0
Ready for new command.
Other
Master is busy.
Command Return Value
Not applicable (set to 00).
Example
Enter Setup Mode and prepare for first command
Command
IR101 IR100
Response
IR001
Select Setup Mode
X X X X
X X X 2
(X = previous data)
X X X D Master in Setup Mode
Send ’No_Command’
-
-
-
-
-
-
0 2
(XXX = Last input data from slaves 1-3)
0 0 0 D Master Ready
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.
!
Caution
Содержание CQM1-ARM21
Страница 1: ...CQM1 ARM21 AS Interface Master Unit OPERATION MANUAL Cat No W357 E1 1...
Страница 2: ......
Страница 3: ...CQM1 ARM21 AS Interface Master Unit Operation Manual Produced April 1999...
Страница 4: ...iv...
Страница 6: ...vi...
Страница 8: ...viii...
Страница 10: ...x...
Страница 30: ...AS Interface Network Installation Section 2 3 16...
Страница 38: ...Performance Section 3 3 24...
Страница 62: ...Setup Mode Section 4 5 48...
Страница 76: ...62...
Страница 80: ...66...
Страница 84: ......