9.3 Read/Write of PLS/PWM Counter Elapsed Value
9.3 Read/Write of PLS/PWM Counter Elapsed Value
9.3.1 Elapsed Value When Power Turns On
● The default for the elapsed value when the power turns on is ""0"".
● The count value when the power turns on can be set to any value as necessary. It can be set
to an arbitrary value in the configuration menu of the tool software or user programs.
9.3.2 Reading PLS/PWM Counter Elapsed Value
The elapsed value can be read from the unit memory area.
Example) Program to read the elapsed value of the counter CH0 for pulse
output/PWM output
9.3.3 Changing PLS/PWM Counter Elapsed Value
The elapsed value can be set to an arbitrary value using a user program as necessary.
Example) Program to change the elapsed value of the counter CH0 for pulse
output/PWM output to 100000
■
Unit memory (UM) allocation
Signal name
PLS/PWM counter
elapsed value area
(Note 1)
Values cannot be written into the "PLS/PWM counter elapsed value" area of the channel to which the
positioning function has been set for the H type.
9-12
CH0
CH1
UM00170-UM00171
UM00172-UM00173
CH2
CH3
UM00174-UM00175
UM00176-UM00177
WUME-FP7MXY-06