Structural Patterns Of High-Level Instructions - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

2.1 Structure of Instructions
In this example, a 0.1-second timer with the timer number 5 is set to 3.0 seconds. It starts
counting time when X100 is ON, and the contact T5 turns ON when the timer reaches 3.0
seconds.
Control Instructions
● These are a group of instructions that determine the order and flow for executing a program.
Conditions can be set to modify parts of a program to be executed, or to execute necessary
parts only.
● Major control instructions include the following.
Mnemonic
Name
MC-MCE
Master control relay
JP/LBL
Jump label
LOOP/LBL
Loop label
Step ladder instructions
● These instructions handle a section specified by SSTP to STPE as an independent
"process", and operate sequential execution or branch execution.
Subroutine instructions
● These instructions call and execute subroutines when necessary. Subroutines are programs
for repeated execution of operations, etc., as specified by SBL and RET.
Data comparison instructions
These are a group of instructions for comparing two sets of data. They operate as a contact that
turns ON and OFF in accordance with the comparison result.

2.1.2 Structural patterns of high-level instructions

Structure of high-level instructions
● Mnemonics indicate the specifics of operation (e.g. data transfer, arithmetic operation).
● Operation units indicate the units for operation triggered by instructions (e.g. US, SS, UL, SL,
SF, DF).
2-4
Function
When execution conditions are OFF, output between MC and MCE are
turned OFF.
Jumps to the LBL instruction with the same number when the
execution condition is ON. When LBL instruction is in an address that
comes after JP instruction, the programs between JP and LBL are not
executed, so the operation time is shortened.
When execution conditions are ON, the part of a program between LBL
and LOOP is repeated for specified times.
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents