Chapter 5 Master Module Specifications
5-6
5.6.1
Reset command specification
It uses FUN201 command to reset EH-RMD from the rudder program.
The specification of the S parameter to use in the FUN201 command is as follows.
And for the details of this command, refer to EH-150 application manual (NJI-280*(X)).
The details of the S parameter
Description of read/write control bit table
1] Error code:
The result of FUN201 command execution is set.
Normal end
→
=0
Abnormal end
→
≠
0
The details of the error code, refer to the EH-150
application manual.
2] System area:
This is used by the system processes of the FUN201
command when the FUN201 command is executed.
This area cannot be used by the user.
3] Control type:
Specifies the control type.
HA55A:Software reset
4] Header of target area:
Unit No. : Sets “0”
Slot No. : Sets the loading slot of the EH-RMD( 0 –2 )
Word location : Sets “0”
5] Read/write control bit I/O No. :
Sets the actual address of R,L, and M in this area
using the ADRIO command.
6] Transfer source ( destination ) header I/O number :
In the software reset, this area isn’t used.
Sets “0”.
7] Size :
In the software reset, this area isn’t used.
Sets “0”.
1] Execution flag :
Set to “1” using a user program when performing
software reset using FUN201 command. When this
command is complete, the FUN201 command resets
this to “0”.
2] Normal end flag :
This flag is set to “1” when FUN201 command is
normally completed. When the Execution flag is set to
“1”, the FUN201 command resets this to “0”.
3] Abnormal end flag :
This flag is set to “1” when FUN201 command is
abnormally completed. When the Execution flag is set
to “1”, the FUN201 command resets this to “0”.
s+0
1] Error Code
s+1
2] System area
s+2
( not available to user )
s+3
3] Control type
s+4
4] Header of target area
s+5
5] Read/write control bit I/O No.
s+6
6] Transfer source (destination) header
I/O No.
s+7
7] Size
b15 b11 b7
b0
Unit No.
Slot No.
Word location
+0
1] Execution flag
+1
2] Normal end flag
+2
3] Abnormal end flag
* Description of borders
User setting area
User write prohibited area