easy800/MFD control
commands
180
09/10 MN05013007Z-EN
Table 90:
Operand overview
Table 91:
Index 0 – Bit IO
Table 92:
Index 1 - Mode
Index
(hex)
Operand
Read
ing
Writing
00
Bit IO,
x
01
Mode,
x
02
First operand
I1
x
c
1)
03
Second operand
I2
x
c
1)
04
Result
QV
x
1) The value can only be written if it is assigned to a constant in
the program.
h
The data for index 2 to 4 is transferred as a 32-bit value in
Intel format (Data 1 – Low Byte to Data 4 – High Byte).
Bit
7
6
5
4
3
2
1
FB output Data 3
–
–
–
–
–
ZE
1
CY
2)
1) Status 1 if the value of the function block output QV
(the calculation result) equals zero
2) Status 1 if the value range is exceeded
Data 1
(hex)
00
ADD
Add (I1 + I2 = QV)
01
SUB
Subtract (I1 – I2 = QV)
02
MUL
Multiply (I1
x
I2 = QV)
03
DIV
Divide (I1 : I2 = QV)
Содержание EASY222-DN
Страница 10: ...Contents 6 09 10 MN05013007Z EN...
Страница 34: ...30 09 10 MN05013007Z EN...
Страница 258: ...254 09 10 MN05013007Z EN...
Страница 274: ...Glossary 270 09 10 MN05013007Z EN...
Страница 284: ...Alphabetical index 09 10 MN05013007Z EN 280...