Read/Write Of Pls/Pwm Counter Elapsed Value; Elapsed Value When Power Turns On; Reading Pls/Pwm Counter Elapsed Value; Changing Pls/Pwm Counter Elapsed Value - Panasonic FP7 User Manual

Multi input/output unit
Hide thumbs Also See for FP7:
Table of Contents

Advertisement

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
R0

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
R0
DF
 Unit memory (UM) allocation
Signal name
PLS/PWM
counter elapsed
UM00170-UM00171
value area
(Note): Values cannot be written into the "PLS/PWM counter elapsed value" area of the channel to which the
positioning function has been set with the H type.
9.3 Read/Write of PLS/PWM Counter Elapsed Value
MV.SL
MV.SL
CH0
CH1
UM00172-UM00173
S1:UM00170
DT100
K100000
S1:UM00170
CH2
UM00174-UM00175
CH3
UM00176-UM00177
9-11

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents