Descargar Imprimir esta página

Stanley SC Serie Manual De Instrucciones página 107

Publicidad

Instructions
Description
LEQ
Less Than or Equal
Use the LEQ instruction to test whether one value (source A) is less than or equal to another
(source B). If the value at source A is less than or equal to the value at source B, the
instruction is logically true. If the value at source A is greater than the value at source B, the
instruction is logically false.
LES
Less Than
Use the LES instruction to test whether one value (source A) is less than another (source B).
If source A is less than the value at source B, the instruction is logically true. If the value at
source A is greater than or equal to the value at source B, the instruction is logically false.
LIM
Limit Test
Use the LIM instruction to test for values within or outside a specified range, depending on
how limits are set.
If the Low Limit has a value equal to or less than the High Limit, the instruction is true when
the Test value is between the limits or is equal to either limit. If the Test value is outside the
limits, the instruction is false.
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 One Box 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 One Box 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
SC Series Controllers
Embedded PLC
107 / 1032

Publicidad

loading

Este manual también es adecuado para:

Scn