Hitachi HIDIC MICRO-EH Applications Manual page 96

Table of Contents

Advertisement

Program example
X00000 DIF0
WR0000
X00001 DIF1
WR0000(WM000)=WX0000
X00002 DIF2
WR0000
X00003 DIF3
WR0000(WM000)=WR0000(WM001)
Program description
1] The value of WX0000 is substituted into WR0000 at the leading edge of input X00000.
2] The value of WX0000 is substituted into the WR number designated by WR0000 + WM000 at the leading edge of input
X00001.
1) When WM000 = H0010, it holds the same meaning as WR0010 = WX0000.
3] The word number of the I/O advanced by the amount designated by WR0000 + WM001 due to the I/O assignment is
substituted into WR0000 at the leading edge of input X00002.
1) When WM001 = H0010, it hods the same meaning as WR0000 = WR0010.
4] The I/O value designated by WR0000 + WM001 at the leading edge of input X00003 is substituted into the I/O of the value
designated by WR0000 + WM000.
Example) When WM000 = H0010 and WM001 = H0015, it holds the same meaning as WR0010 = WR0015.
=WX0000
=WR0000(WM001)
5-46
Chapter 5 Instruction Specifications
1]
2]
Array variables are used at the
substitution destination
3]
Array variables are used at the
substitution source
Array variables are used at both
4]
substitution destination and source

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents