Panasonic FP Series Programming Manual page 1223

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Pulse output instructions
PulseInfo_GetCurrent
Speed
This instruction returns the current speed in Hz of the pulse output channel specified by iChannel.
Description
See also: Pulse output tool instructions in the online help
see page 1329
PLC types
Data types
Variable
iChannel
dutMemory
diCurrentSpeed
In this example the function has been programmed in ladder diagram (LD) and structured text (ST).
Example
The same POU header is used for all programming languages.
DUT
Use the following predefined DUT: PulseInfo_GetCurrentSpeed_DUT
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
LD
1222
Returns current speed on pulse output channel
Data type
Function
INT
Pulse output channel:
FP
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: 0, 1
FP-e: 0, 1
PulseInfo_GetCurrentSpeed_DUT
DINT
Current speed in Hz
: 0, 2

Advertisement

Table of Contents
loading

Table of Contents