Supported Instructions and File Types
QB Expert Alpha Controller
156
Instructions
Description
CTD
Count Down
Counts false-to-true transitions.
When rung conditions for a CTD instruction have made a false-to-true transition, the
accumulated value is decremented by one count, provided that the rung containing the CTD
instruction is evaluated between these transitions.
The accumulated counts are retained when the rung conditions again becomes false. The
accumulated count is retained until cleared by a reset (RES) instruction that has the same
address as the counter reset.
This Bit
Is Set When
And Remains Set Until One of
the Following
Count Down
Underflow Bit
OV (Bit 11)
Accumulated value wraps
around to +32,768 from -32,767
A RES instruction having the same
address as the CTD instruction
is executed OR the count is
incremented greater than or equal
to +32,767 with a CTU instruction
Done Bit DN (Bit
13)
Accumulated value is equal to or
greater than the preset value
The accumulated value becomes
less than the preset value
Count Down
Enable Bit CU
(Bit 14)
rung conditions are true
Rung conditions go false or a RES
instruction having the same address
as the CTD instruction is enabled
CTU
Count Up
Counts false-to-true rung transitions.
When rung conditions for a CTU instruction have made a false-to-true transition, the
accumulated value is incremented by one count, provided that the rung containing the CTU
instruction is evaluated between these transitions.
The accumulated value is retained when the rung conditions again become false. The
accumulated count is retained until cleared by a reset (RES) instruction that has the same
address as the counter reset.
The count value must remain in the range of -32768 to 32767. If the count value goes above
32767 the overflow (OV) bit is set. If the count value goes below -32768, the counter status
underflow (UN) bit is set. A counter can be reset to zero using the reset (RES) instruction.
This Bit
Is Set When
And Remains Set Until One of
the Following
Count Up
Overflow Bit OV
(Bit 12)
Accumulated value wraps
around to -32,768 from
+32,767
A RES instruction having the same
address as the CTU instruction
is executed OR the count is
decremented less than or equal to
+32,767 with a CTD instruction
Done Bit DN (Bit
13)
Accumulated value is equal to
or greater than the preset value
The accumulated value becomes
less than the preset value
Count Up Enable
Bit CU (Bit 15)
Rung conditions are true
Rung conditions go false or a RES
instruction having the same address
as the CTU instruction is enabled
Summary of Contents for QB Expert
Page 8: ......
Page 23: ...Introduction Instruction Manual 15 ...
Page 24: ......
Page 36: ......
Page 37: ...3 QB Expert Alpha Controller Programming SETUP Area SERVICE Area ANALYZE Area ...
Page 94: ......
Page 109: ...Instruction Manual 101 ...
Page 110: ......
Page 123: ...Instruction Manual 115 Tool Operation ...
Page 124: ......
Page 132: ...Input and Output Connector QB Expert Alpha Controller 124 Inputs example ...
Page 133: ...Controller Connections Instruction Manual 125 Outputs Sourcing example ...
Page 157: ...Controller Connections Instruction Manual 149 ...
Page 158: ...MODBUS TCP QB Expert Alpha Controller 150 ...
Page 175: ...Embedded PLC Instruction Manual 167 ...
Page 176: ......
Page 183: ...Multiple Spindle Instruction Manual 175 ...
Page 184: ... QB Expert Alpha Controller 176 ...
Page 201: ...Instruction Manual 193 Maintenance ...
Page 202: ...QB Expert Alpha Controller 194 ...
Page 203: ...10 QB Expert Alpha Controller Appendix A Torsion Compensation Angle Validation ...
Page 206: ......
Page 207: ...11 QB Expert Alpha Controller Glossary ...
Page 210: ......