EasyManuals Logo

Panasonic FP Series User Manual

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #613 background imageLoading...
Page #613 background image
Comparison instructions
612
Part III FP Instructions
F64_BCMP
Block data compare
s1 specifications
16# 1 0 04
A = Starting byte position of data block specified by s3
1: Starting from higher byte
0: Starting from lower byte
A B C
B = Starting byte position of data block specified by s2
1: Starting from higher byte
0: Starting from lower byte
C = Number of bytes to be compared
range: 16#01–16#99 (BCD)
The compare operation result is stored in the special internal relay R900B. When s2 = s3, the
special internal relay is in the ON-state.
This instruction also exists as a P instruction (for FP2/2SH, FP3/5, FP10/10SH PLC types), which
is only executed at the rising edge of the EN trigger. Select [Insert P instruction] from the
"Instructions" pane if you require a P instruction. To facilitate reuse, the instruction then appears
under "Recently used" in the pop-up menu. Press <Ctrl>+<Shift>+<v> within the programming
area to open the list of recently used elements.
PLC types
Availability of F64_BCMP (see page 1326)
The flag R900B used for the compare instruction is renewed each time a
compare instruction is executed. Therefore the program that uses R900B should
be just after F64_BCMP.
Variable Data type Function
s1_Control WORD control code specifying byte positions and number of bytes to
be compared
s2_Start starting 16-bit area to be compared to s3
s3_Start
ANY16
starting 16-bit area to be compared to s2
The variables s2 and s3 have to be of the same data type.
For Relay T/C Register Constant
s1 WX WY WR WL SV EV DT LD FL dec. or hex.
s2, s3 WX WY WR WL SV EV DT LD FL -
Description
Compares the contents of data block specified by s2 with the contents of data block specified by s3
according to the contents specified by s1 if the trigger EN is in the ON-state.
Data types
Operands

Table of Contents

Other manuals for Panasonic FP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP Series and is the answer not in the manual?

Panasonic FP Series Specifications

General IconGeneral
MountingDIN rail
TypePLC
Communication InterfaceRS-232, RS-485, Ethernet (depending on model)
Input Voltage100-240V AC or 24V DC (depending on model)
Output TypeRelay, Transistor
I/O PointsVaries by model
Operating Temperature0°C to 55°C
DimensionsVaries by model
WeightVaries by model

Related product manuals