Appendix D How to Use PLC Function
|
Revision June 2008, 04EE, SW--PW V1.11/CTL V2.11
D-47
Explanations:
1.
Operand D occupies 3 consecutive devices.
2.
See the specifications of each model for their range of use.
3.
The contents in S1 and S2 are compared and the result will be stored in D.
4.
The two comparison values are compared algebraically and the two values are signed
binary values. When b15 = 1 in 16-bit instruction, the comparison will regard the value as
negative binary values.
Program Example:
1.
Designate device Y0, and operand D automatically occupies Y0, Y1, and Y2.
2.
When X10 = On, CMP instruction will be executed and one of Y0, Y1, and Y2 will be On.
When X10 = Off, CMP instruction will not be executed and Y0, Y1, and Y2 remain their
status before X10 = Off.
3.
If the user need to obtain a comparison result with
≥
≤
, and
≠
, make a series parallel
connection between Y0 ~ Y2.
X10
Y0
Y1
Y2
CMP
K10
D10
Y0
If K10>D10, Y0 = On
If K10=D10, Y1 = On
If K10<D10, Y2= On
4.
To clear the comparison result, use RST or ZRST instruction.
X10
RST
M0
RST
RST
M1
M2
X10
ZRST
M0
M2
Содержание AC Motor Drive VFD-E
Страница 1: ......
Страница 2: ......
Страница 3: ......
Страница 13: ...This page intentionally left blank...
Страница 27: ...Chapter 1 Introduction 1 14 Revision June 2008 04EE SW PW V1 11 CTL V2 11 This page intentionally left blank...
Страница 233: ......
Страница 237: ...Appendix A Specifications A 4 Revision June 2008 04EE SW PW V1 11 CTL V2 11 This page intentionally left blank...
Страница 272: ...Appendix B Accessories Revision June 2008 04EE SW PW V1 11 CTL V2 11 B 35 B 11 DIN Rail B 11 1 MKE DRA...
Страница 274: ...Appendix B Accessories Revision June 2008 04EE SW PW V1 11 CTL V2 11 B 37...
Страница 275: ...Appendix B Accessories B 38 Revision June 2008 04EE SW PW V1 11 CTL V2 11 This page intentionally left blank...
Страница 349: ...Appendix D How to Use PLC Function D 66 Revision June 2008 04EE SW PW V1 11 CTL V2 11 This page intentionally left blank...