AH500 Module Manual 
9-16 
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
 and m
2
 exceed the range, the operation error occurs, the instruction is not 
executed, SM0 is ON, and the error code in SR0 is 16#2003. 
2.  If D
1
~D
1
+n-1 exceed the device range, the instruction is not executed, SM0 is ON, and the 
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  Description 
16#2003 
Please refer to point 1 and point 2 in the 
additional remark. 
16#200B 
Please refer to point 3 in the additional 
remark. 
16#1400 
An error occurs when the data is accessed 
through the auxiliary processor. 
16#1401 
An error occurs when the data in the I/O 
module is accessed. 
16#1402 
The arrangement of the I/O modules is not 
consistent with the module table. 
16#1407 
A communication error occurs when the 
data is accessed through the auxiliary 
processor.