Panasonic FP Series Programming Manual page 1067

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Pulse output instructions
Operands
For
s_dutDataTable
n_iPulseOutputChannel
Error flags
No.
IEC address
%MX0.900.7
R9007
%MX0.900.8
R9008
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
The DUT F172_PulseOutput_Jog_Type0_DUT_0 is predefined in the FP Library.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
LD
When programming with structured text, enter the following:
ST
IF
(bActivateJog)
dutJog.diSpeed:=diSpeed;
END_IF;
IF
(bActivateJog)
F172_PulseOutput_Jog(s_dutDataTable
END_IF;
1066
Relay
-
-
-
-
-
-
-
-
Set
If
permanently
 channel number or values of the data table are outside the
permissible range
 FP0R/FP-X: pulse output has not been set in the system registers
for an instant
THEN
THEN
T/C
Register
-
-
DT
-
-
-
:= dutJog, 0);
Constant
-
-
-
-
-
dec. or hex.

Advertisement

Table of Contents
loading

Table of Contents