Writing Eeprom - Omron SYSMAC C Series Operation Manual

Analog i/o units
Hide thumbs Also See for SYSMAC C Series:
Table of Contents

Advertisement

User Programming Examples
Pulse Signal Flag
(bit 11 of word n+1)
Normal Operation
Pulse Signal
Flag
Timer T001
Abnormal Operation

9-5-4 Writing EEPROM

Function
Setting Procedure
1, 2, 3...
190
Example:
A 1.5-s timer is used to monitor pulse signal ON timing. Bit A remains OFF when
the pulse signal is normal, but is turned ON when pulse signal is abnormal.
Turns ON bit B for 1 cycle when pulse signals turn ON.
The timer starts counting after 1 cycle. If pulse signal turns
ON and OFF every 0.5 second, the timer is reset before
timeout occurs, leaving bit A turned OFF. Otherwise, the
timer expires after 1.5 seconds, causing bit A to turn ON.
0.5 s
0.5 s
1 cycle
Count
Pulse Signal
Flag
Timer T001
If pulse signal OFF timing is also to be monitored, a 0.8-s timer is used to monitor
both pulse signal ON and OFF timing.
Data can be written from RAM to EEPROM. Data in RAM will be lost when the
power is turned OFF. Therefore, if data needs to be stored, use this function to
write it to EEPROM.
1. Word 59 in RAM or EEPROM (Total EEPROM Write Count) is read and
stored in DM.
2. The value stored in DM is written to word 61 in RAM (Total EEPROM Write
Count Setting).
0.5 s
0.5 s
1 cycle
1.5 s
Count
Reset
1.5 s
Count
Section
9-5
1.5 s
Reset

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents