Examples Of Program - Mitsubishi Electric MELSEC iQ-F FX5 User Manual

Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

Examples of program

An example of a program using the PWM function is explained below.
Outline of operation
An example of a program using output Y0 on the CPU module to output one pulse with a delay is explained below.
Parameter setting
This program assumes that parameters are set as follows.
CH2, CH3 and CH4 need not be set.
Item
Output destination
Output pulse logic
Pulse width
Cycle
Program
An operation diagram and program are shown below.
■Operation diagram
X0 input
Y0
Delay time: 50 ms
PWM output
PWM output start
CH to be used
CH1
Y0
Negative logic (Output from OFF)
50 ms
60 ms
1 pulse output
10 ms
19 HIGH-SPEED INPUT/OUTPUT FUNCTION
19.7 PWM Function
19
227

Advertisement

Table of Contents
loading

Table of Contents