Supported Instructions and File Types
QB Expert Alpha Controller
158
Instructions
Description
MEQ
Masked Comparison for Equal
Use the MEQ instruction to compare data at a source address with data at a compare address.
Use of this instruction allows portions of the data to be masked by a separate word.
The source is the address of the value to compare. The mask is the address of the mask through
which the instruction moves data. The mask can also be a hexadecimal value (constant). The
compare is an integer value or the address of the reference.
If the 16 bits of data at the source address are equal to the 16 bits of data at the compare
address (less masked bits), the instruction is true.
MSG
Message
Use MSG to send an instruction directly to the CPU. Can be used to send messages to trailing
Alpha controllers. Proper syntax is required.
Text editor syntax: MSG # XXXXH HW LW: where # is spindle number, XXXXH is the command,
HW is High Word and LW is Low Word. High Words and Low Words contain information
provided by the instruction.
The user must be trained by a STANLEY trainer to use this instruction.
MON
Monitor
Use MON to monitor for a CPU event and use as a trigger. Can be used to send messages to
trailing Alpha controllers. Proper syntax is required.
Text editor syntax: MSG # XXXXH HW LW: where # is spindle number, XXXXH is the command,
HW is High Word and LW is Low Word. High Words and Low Words contain information
provided by the instruction.
The user must be trained by a STANLEY trainer to use this instruction.
MOV
Move
This output instruction moves the source value to the destination location. As long as the rung
remains true, the instruction moves the data each scan.
MUL
Multiply
Use the MUL instruction to multiply one value (source A) by another (source B) and place the
result in the destination.
MVM
Masked Move
The MVM instruction is a word instruction that moves data from a source location to a
destination, and allows portions of the destination data to be masked by a separate word. As
long as the rung remains true, the instruction moves the data each scan.
NEG
Negate
Use the NEG instruction to change the sign of the source and then place it in the destination.
The destination contains the two’s complement of the source.
NEQ
Not Equal
Use the NEQ instruction to test whether two values are not equal. If source A and source B are
not equal, the instruction is logically true. If the two values are equal, the instruction is logically
false.
NOT
This instruction performs a bit-by-bit logical NOT. The operation is performed using the value at
source A. The result (one’s complement of A) is stored in the destination.
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: ......