Panasonic FP Series Programming Manual page 835

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data transfer within the PLC
P13_EPWT
Using this instruction data will be copied from the data area (DT) to the EEPROM/ Flash-ROM.
Description
The EEPROM memory is not the same as the hold area. The hold area stores data in real time.
Whenever the power shuts down, the hold data is stored in the EEPROM memory. The
P13_EPWT instruction sends data into the EEPROM only when the instruction is executed. It also
has a limitation of the number of times you can write to it (see table below). You must make sure
that the P13_EPWT instruction will not be executed more often than the specified number of writes.
For example, if you execute P13_EPWT with R901A relay (pulse time 0.1s), the EEPROM will
become inoperable after 100,000 * 0.1 sec=10,000 sec (2.8 hours). However if you want to hold
your profile data such as positioning parameters or any other parameter values that are changed
infrequently, you will find this instruction very useful.
Availability of P13_EPWT (see page 1329)
PLC types
One of the two input variables 's2' or 'd' has to be assigned constant number
value.
Data types
Variable
Data type
BOOL
EN
INT, WORD
s1
DINT, DWORD
s2
DINT, DWORD
d
BOOL
ENO
Operands
For
s1
s2, d
834
EEPROM write to memory
Function
Activation of the function (when EN changes from FALSE to
TRUE, the function will be executed one time)
DT start address of the block(s) that you want to save
Number of blocks to write (1 block = 64 words/ 2048 words
(DTs))
EEPROM start block number
When the function was executed, ENO is set to TRUE.
Helpful at cascading functions with EN-functionality
Relay
-
-
-
-
DWX DWY
DWR
-
T/C
Register
-
-
DT
-
-
DSV
DEV
DDT
-
-
Constant
-
dec. or hex.

Advertisement

Table of Contents
loading

Table of Contents