EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-F FX5 - Cautions when using the PWM function; Examples of program

Mitsubishi Electric MELSEC iQ-F FX5
958 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
Loading...
25 HIGH-SPEED INPUT/OUTPUT FUNCTION
25.7 PWM Function
339
25
Cautions when using the PWM function
Set the pulse width and period for each module as follows.
Set the value so that pulse width period.
The PWM/DPWM instruction is not executed when a channel number not selected for PWM output in parameters setting is
specified by the PWM/DPWM instruction.
If the all output disable flag (SM8034) is turned ON while PWM is output, PWM output is stopped. However, when the
number of output pulses is "0" (unlimited output), the operation restarts when SM8034 is turned OFF.
In a program with interruption priority 1, the HCMOV/DHCMOV instruction specified with the following devices cannot be
executed.
- Number of output pulses
- Pulse width
- Period
For functions that share outputs with the PWM function, refer to Page 290 Functions that share inputs and outputs.
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 FX5U 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.
Module Pulse width Period
FX5S CPU module 5s or more 10s or more
FX5UJ CPU module 2s or more 5s or more
FX5U/FX5UC CPU module
High-speed pulse input/output module
Item CH to be used
CH1
Output destination Y0
Output pulse logic Negative logic (Output from OFF)
Pulse width 50 ms
Cycle 60 ms

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-F FX5

Related product manuals