AH 5 00 Pr ogr am m ing Ma n ua l6-3166.15.2 Explanation of Module InstructionsAPI Instruction code Operand Function1400 D FROM P m 1, m 2, m 3, D 1, D 2, n Reading the data from the controlregister in the special moduleDevice X Y M S T C HC D L SM SR E PR K 16# “$” DFm1 m2 m3 D1 D2 n Pulse instruction 16-bit instruction (13 steps) 32-bit instruction (13 steps)AH500 AH500 AH500Symbol:m 1 : Rack code Word/Double wordm 2 : Slot code Word/Double wordm 3 : Control register number Word/Double wordD1 : Device in which the data isstored Word/Double wordD 2 : Device in which the errorcode is stored Word/Double wordn : Data length Word/Double wordExplanation:1. Users can use this instruction to read the data from the control register in the special moduleinto the AH500 series PLC.2. The operand m 1 should be within the range between 1 and 8. 1 represents a main rack, and2~8 represent extension racks.3. The operand m 2 should be within the range between 0 and 11. If the rack code is 1, the slotcode should be within the range between 0 and 11. If the rack code is within the rangebetween 2 and 8, the slot code should be within the range between 0 and 7.4. The operand m 3 specifies the control register number.5. When the instruction FROM is executed, D 2 is set to 0. When an error occurs, D 2 is not set to 0.Please refer to the additional remark below for more information about the error codes.6. The operand n used in the 16-bit instruction should be within the range between 1 and 256,and the operand n used in the 32-bit instruction should be within the range between 1 and 128.7. Only the 32-bit instructions can use the 32-bit counter.8. Please refer to the regulation of the operands in the instruction TO for more information aboutthe numbering of the special modules.9. Special modules include analog I/O modules, network I/O modules, and position I/O modules.Example:Suppose the first special module at the right side of the CPU module is AH50010SCM-A5. When