Jmp (Jump) And Jend (Jump End) - IDEC FC4A-C10R2 User Manual

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

JMP (Jump)
and JEND (Jump End)
The JMP (jump) instruction is usually used in combination with the JEND (jump end) instruction. At the end of a program,
the JMP instruction can also be used with the END instruction, instead of the JEND instruction.
These instructions are used to proceed through the portion of the program between the JMP and the JEND without pro-
cessing. This is similar to the MCS/MCR instructions, except that the portion of the program between the MCS and MCR
instruction is executed.
When the operation result immediately before the JMP instruction is on, the JMP is valid and the program is not executed.
When the operation result immediately before the JMP instruction is off, the JMP is invalid and the program is executed.
When the input condition to the JMP instruction is on and the JMP is executed, other instructions between the JMP and
JEND are executed as follows:
Instruction
SOTU
SOTD
OUT and OUTN
SET and RST
TML, TIM, TMH, and TMS
CNT, CDP, and CUD
SFR and SFRN
Input conditions cannot be set for the JEND instruction.
More than one JMP instruction can be used with one JEND instruction.
Corresponding JMP/JEND instructions cannot be nested within another pair of corresponding JMP/JEND instructions.
Ladder Diagram
JMP
I0
I1
Q0
JEND
Timing Chart
ON
Input I0
OFF
ON
Input I1
OFF
ON
Output Q0
OFF
When input I0 is on, JMP is executed so that the subsequent
output status is held.
When input I0 is off, JMP is not executed so that the following
program is executed according to the actual input statuses.
Rising edges (ON pulses) are not detected.
Falling edges (OFF pulses) are not detected.
All are held in current status.
All are held in current status.
Current values are held.
Timeout statuses are held.
Current values are held.
Pulse inputs are turned off.
Countout statuses are held.
Shift register bit statuses are held.
Pulse inputs are turned off.
The output from the last bit is held.
Program List
Instruction
Data
LOD
I0
JMP
LOD
I1
OUT
Q0
JEND
« FC4A M
S
ICRO
MART
Status
U
'
M
»
SER
S
ANUAL
7: B
I
ASIC
NSTRUCTIONS
7-25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents