Hitachi HIDIC EH-150 Applications Manual page 29

Devicenet master module(eh-rmd)/ slave controller(eh-iocd)/ discrete i/o slave unit (rdx16d,rdy16tp,rdy16r)
Hide thumbs Also See for HIDIC EH-150:
Table of Contents

Advertisement

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
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.
6] Transfer source (destination) header
s+6
I/O No.
s+7
7] Size
Description of read/write control bit table
+0
1] Execution flag
+1
2] Normal end flag
+2
3] Abnormal end flag
* Description of borders
User setting area
User write prohibited area
Chapter 5 Master Module Specifications
1] Error code:
The result of FUN201 command execution is set.
→ =0
Normal end
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:
b15
b11
Unit No.
Slot No.
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".
5-6
b7
b0
Word location

Advertisement

Table of Contents
loading

Table of Contents