Panasonic FP Series Programming Manual page 1036

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

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
GVL
In the global variable list, you define variables that can be accessed by all POUs in the project.
DUT
The DUT F168_PulseOutput_Trapezoidal_DUT 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.
Body
When X0_bMotorSwitch turns to TRUE the function is executed.
LD
ST
When programming with structured text, enter the following:
IF
DF(X0_bMotorSwitch)
F168_PulseOutput_Trapezoidal(s_dutDataTable
n_iPulseOutputChannel
END_IF;
Relay
-
-
-
-
-
-
-
-
Set
permanently
for an instant
THEN
:= 0);
T/C
Register
-
-
DT
-
-
-
-
-
If
 channel number or values of the data table are outside the
permissible range
 initial speed < 40
 initial speed > maximum speed
:= dutTrapez,
Pulse output instructions
Constant
-
-
-
dec. or hex.
1035

Advertisement

Table of Contents
loading

Table of Contents