Delta AH500 Manual page 346

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH5 00 Mod ule Manua l
Example:
Suppose the first special module at the right side of the CPU module is AH10/15EN-5A. When X0.0
is switched from OFF to ON, the instruction FROM is executed. The operation mode stored in CR#3
in AH10/15EN-5A is read into D100. Owing to the fact that no error occurs, the code stored in D110
is 16#0000.
The use of the parameters:
The module is placed on the main rack. Therefore, the rack code stored in D40 is 16#0001.
The module is inserted in the first slot. Therefore, the slot code stored in D41 is 16#0000.
The operation mode is stored in CR#3. Therefore, the control register number stored in D42 is
16#0003.
Owing to the fact that the operation mode occupies one register, the value in D43 is 1.
The data which is read from CR#3 is stored in D100.
Additional remark:
1.
If the values in m
1
executed, SM0 is ON, and the error code in SR0 is 16#2003.
2.
If D
~D
+n-1 exceed the device range, the instruction is not executed, SM0 is ON, and the
1
1
error code in SR0 is 16#2003.
3.
If the value in n exceeds the range, the operation error occurs, the instruction is not executed,
SM0 is ON, and the error code in SR0 is 16#200B.
4.
Due to the fact that the use of the instruction FROM decreases the execution efficiency of the
CPU module and that of the I/O module, users should use it less often.
5.
The descriptions of the error codes:
Error code
16#2003
16#200B
16#1400
16#1401
16#1402
16#1407
9 - 1 6
and m
exceed the range, the operation error occurs, the instruction is not
2
Description
Please refer to point 1 and point 2 in the
additional remark.
Please refer to point 3 in the additional
remark.
An error occurs when the data is accessed
through the auxiliary processor.
An error occurs when the data in the I/O
module is accessed.
The arrangement of the I/O modules is not
consistent with the module table.
A communication error occurs when the
data is accessed through the auxiliary
processor.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents