Appendix D How to Use PLC Function
|
D-48
Revision June 2008, 04EE, SW--PW V1.11/CTL V2.11
API Mnemonic Operands
Function
11
ZCP P S
1
,
S
2
, S, D
Zone Compare
Bit Devices
Word devices
Program Steps
Type
OP
X Y M K H
KnX KnY KnM T
C
D
S
1
*
*
*
*
*
*
*
*
S
2
*
*
*
*
*
*
*
*
S
*
*
*
*
*
*
*
*
D
*
*
ZCP, ZCPP: 9 steps
Operands:
S1: Lower bound of zone comparison S2: Upper bound of zone comparison S: Comparison value
D: Comparison result
Explanations:
1.
The content in S1 should be smaller than the content in S2.
2.
Operand D occupies 3 consecutive devices.
3.
See the specifications of each model for their range of use.
4.
S is compared with its S1 S2 and the result is stored in D.
5.
When S1 > S2, the instruction performs comparison by using S1 as the lower/upper
bound.
6.
The two comparison values are compared algebraically and the two values are signed
binary values. When b15 = 1 in 16-bit instruction or b31 = 1 in 32-bit instruction, the
comparison will regard the value as negative binary values.
Program Example:
1.
Designate device M0, and operand D automatically occupies M0, M1 and M2.
2.
When X0 = On, ZCP instruction will be executed and one of M0, M1, and M2 will be On.
When X10 = Off, ZCP instruction will not be executed and M0, M1, and M2 remain their
status before X0 = Off.
Содержание 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...