Write To Control Register - Hitachi HIDIC EH-150 Applications Manual

Programable controller; ethernet module(eh-eth)
Hide thumbs Also See for HIDIC EH-150:
Table of Contents

Advertisement

Sample program 9
When FUN201 command is executed at R200 = 1, WM110 to WM119 will be putting on control register.
R7E
R1
CR write
Request bit
R200
R201 R202
Execute
Normal
Error
flag
flag
flag
R200
R201 R202
Execute
Normal
Error
flag
flag
flag
R201 R202
Normal
Error
flag
flag
R204
Normal
condition
R205
Error
condition

Write to control register

WR00B = H3
WR00C = H200
ADRIO (WR00D, R100)
ADRIO (WR00E, WM110)
WR00F = 10
R200
Execute
flag
FUN201 (WR008)
R203
During
execution
R204
Normal
condition
R205
Error
condition
R1 = 0
:
Normal end procedure
:
R1 = 0
:
Abnormal end procedure
:
8-18
Chapter 8 Register Structure
To set S parameter area
(00001)
The request of status register putting
To set the target area(Unit 0, slot2)
To configure R200 as the control bit I/O No.
To configure WM110 as the starting area of
source
To configure 10 words for sending size
(00002)
To set execution bit by setting R1=1
(00003)
FUN201command execution
(00004)
To detect FUN201 command status
The process is normal completion
(00005)
FUN 201 is in status of wait for instruction.
The process is abnormal completion
FUN 201 is in status of wait for instruction.
(00006)
Normal end procedure
(00007)
Abnormal end procedure
Slot No.
0
1
2
EH-ETH
-
-
*

Advertisement

Table of Contents
loading

Table of Contents