Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 901

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• This instruction outputs the on time specified by (s1) and the pulse of the period specified by (s2) to the output module
specified by (d).
ON
OFF
(s1) ms
(s2) ms
• A value in the range from 1 to 65535 (0001H to FFFFH) can be specified in (s1) and (s2). (The value specified in (s1) must
be less than the value specified in (s2).)
• No processing is performed in the following cases.
• (s1) and (s2) are 0.
• (s1)(s2)
• The PWM instruction is executed more than once.
Operation error
There is no operation error.
• The PWM instruction stores the device data of the argument in the work area of the CPU module, and
performs the actual output operation using system interrupts. (The device data stored in the work area of
the CPU module is cleared by turning off the execution command or setting it to STOP then RUN.) The
interrupt interval of the CPU module is 1ms. The PWM instruction can be used only once in all programs
running in the CPU module.
• Do not change the argument of the PWM instruction during pulse output by the instruction (the execution
command is on). To change the argument, turn off the execution command in advance.
7 APPLICATION INSTRUCTIONS
7.17 Pulse Related Instructions
7
899

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents