Delta Electronics DVP10MC11T [186/375] Motion control instruction

Delta Electronics DVP10MC11T [186/375] Motion control instruction
4. Motion Control Instruction
4-142 DVP-MC operating manual
4.6.39. ZCP_DI
API
ZCP_DI
Compare 32-bit integer to the
values in one zone
Controller
166
10MC11T
Explanation of the instruction:
ZCP_DI is used for comparison of the signed 32-bit integer with one zone.
When EN is on, S value is within the range from Low value to High value, Q=On and nQ=Off; if S value is out
of the range from Low value to High value, nQ =On, Q=Off;
When EN is Off, the status of Q and nQ keeps unchanged.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “ZCP_DI” is executed as “EN” turns on. BOOL M,I,Q, constant
S The compared value DINT Constant,D
Low The lower limit for zone comparison DINT Constant,D
High The high limit for zone comparison DINT Constant,D
Q
As the instruction is executed and Low ≤S ≤High, the
“Q” bit is on.
BOOL M,Q
nQ
As the instruction is executed and HighS or SLow,
the “nQ” bit is on.
BOOL M,Q

Содержание

Скачать