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

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

Advertisement

7.3 Read/Write of Elapsed Value

7.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.

7.3.2 Reading 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 external inputs
R0

7.3.3 Changing 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 external inputs to
100000
R0
DF
 Unit memory (UM) allocation
Signal name
Counter elapsed
UM00110-UM00111
value area

7.3.4 Resetting/Presetting Elapsed Value

The counter elapsed value can be preset by the output ChxRST.
Example) Program to change the elapsed value of the counter CH0 for external inputs to a
preset value.
R0
DF
 Unit memory (UM) allocation
Signal name
Counter preset
UM00118-UM00119
value
MV.SL
MV.SL
CH0
CH1
UM00112-UM00113
MV.SL
K100000
CH0
CH1
UM0011A-UM0011B
7.3 Read/Write of Elapsed Value
S1:UM00110
DT100
K100000
S1:UM00110
CH2
UM00114-UM00115
Y110
S1:UM00118
CH2
UM0011C-UM0011D
CH3
UM00116-UM00117
CH3
UM0011E-UM0011F
7-11

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents