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 #1168 background imageLoading...
Page #1168 background image
High-speed counter instructions
1167
Part IV Tool Instructions
Hsc_TargetValue
Match_Reset
Target value match OFF (high-speed counter)
This non-inline instruction is part of the tool instructions for high-speed counters. For a detailed
description of the instruction(s) used internally, please refer to the online help:
F167_HighSpeedCounter_Reset (see page 904)
To validate the combination of channel and Y output, the compiler requires the following name pattern for
global variables:
%sHsc_TargetValueMatch_Channel%d_Y%d%s
Always use this pattern for global variables in target value match control.
Channel%d must be a high-speed counter channel number enabled in the system registers
Y%d must be an explicit output address supported by the PLC
FP-, FP0, FP-e:
Y0–Y7
FP- (V3.1 or higher), FP0R:
Y0–Y1F
FP-X: Y0–Y29F
%s is an optional descriptor at the beginning and the end of the pattern
Optiona
l
Fixed pattern Optional
g_b
Hsc_TargetValueMatch_ChannelA_Y11F _MotorOn
This global variable generates the code for channel A and output Y11F.
PLC types See 1327
Input variable Data type Function
bExecute
BOOL
A rising edge activates the function; evaluate the high-speed counter
control flag using HscInfo_IsActive (see page 1157)
iChannel
INT
FP
: 0, 2
FP-X R: 0, 1
FP-X 16K C14T: 0, 1, 2
FP-X 32K C30T, C60T: 0, 1, 2, 3
FP0R: 0, 1, 2, 3
FP0, FP-e: 0, 1
pYOutput
POINTER
Pointer result obtained by GetPointer from a global variable that supplies
the channel number and output relay
diTargetValue
DINT
Specify a 32-bit data value for the target value within the following range:
FP0, FP-e: -838808–+8388607
FP
, FP-X, FP0R: -2147483467–+2147483648
Description
If the elapsed value matches the target value diTargetValue of the high-speed counter channel
specified by iChannel, the output relay specified by pYOutput immediately turns to FALSE.
Data types

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