Mitsubishi Electronics FX5 ユーザーズマニュアル

ページ / 306
196
19  BUILT-IN I/O FUNCTION
19.7  PWM Function
List of Special relays/special registers
The list of special relays/special registers used in PWM output is shown below.
R/W: Read or write
R: Read only
Details of special relays/special registers
Details of special relays/special registers used in PWM output are explained below.
Operation monitor
This monitor is a device for monitoring the in operation/stopped status of PWM output.
Corresponding devices
The device numbers corresponding to each channel are as follows.
Update timing
The timing of device update is as follows.
Special relays/
special 
registers
Function
Description
Default
R/W
SM5300
Operation monitor (CH1)
The operation/stopped status of PWM output on the target 
channel can be checked.
OFF: Stopped
ON: In operation
OFF
R
SM5301
Operation monitor (CH2)
SM5302
Operation monitor (CH3)
SM5303
Operation monitor (CH4)
SD5301, SD5300
CH1 number of output pulses
The number of pulses to output are stored.
0
R/W
SD5303, SD5302
CH1 pulse width
The pulse width is stored.
0
R/W
SD5305, SD5304
CH1 period
The period is stored.
0
R/W
SD5307, SD5306
CH1 Number of output pulses 
current value monitor
The current value of the number of output pulses is stored.
0
R
SD5317, SD5316
CH2 number of output pulses
The number of pulses to output are stored.
0
R/W
SD5319, SD5318
CH2 pulse width
The pulse width is stored.
0
R/W
SD5321, SD5320
CH2 period
The period is stored.
0
R/W
SD5323, SD5322
CH2 Number of output pulses 
current value monitor
The current value of the number of output pulses is stored.
0
R
SD5333, SD5332
CH3 number of output pulses
The number of pulses to output are stored.
0
R/W
SD5335, SD5334
CH3 pulse width
The pulse width is stored.
0
R/W
SD5337, SD5336
Ch3 period
The period is stored.
0
R/W
SD5339, SD5338
CH3 Number of output pulses 
current value monitor
The current value of the number of output pulses is stored.
0
R
SD5349, SD5348
CH4 number of output pulses
The number of pulses to output are stored.
0
R/W
SD5351, SD5350
CH4 pulse width
The pulse width is stored.
0
R/W
SD5353, SD5352
CH4 period
The period is stored.
0
R/W
SD5355, SD5354
CH4 Number of output pulses 
current value monitor
The current value of the number of output pulses is stored.
0
R
CH1
CH2
CH3
CH4
SM5300
SM5301
SM5302
SM5303
ON
OFF
• PWM output driven by HIOEN instruction
• PWM instruction ON execution
• PWM output stopped by HIOEN instruction
• After end of output of the specified number of pulses
• PWM instruction OFF execution
• Activation contact turned OFF
• Power  OFF
ON, reset, RUNSTOP/PAUSE