Reading Data From The Unit - 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
5-7-5

Reading Data from the Unit

I/O READ Instruction
(READ) and the Pointer
Word Operation
1, 2, 3...
Example 1: READ Alarm
and Conversion Data from
the Unit
98
This section describes the use of the pointer word with the I/O READ ladder
instruction. For additional information regarding the I/O READ instruction, refer
to the Operation Manual for your PC.
There are three rules when using the pointer word with the I/O READ instruction.
1. The default value of the Pointer word is 0, except when the value has been
modified and this modified value saved to the EEPROM in the Unit. On
power up, the Unit uploads this value from the EEPROM into RAM prior to
execution.
2. When an I/O READ instruction is executed, the Unit reads the value of the
pointer word and returns the number of words requested beginning with the
location specified by the pointer word in the Unit memory map. The pointer
word value can be 0000 to 0153.
3. If the number of words requested extends beyond the end of the table given
a value in the pointer word, then the remaining words transferred up to 127
will be filled with zeros (0000).
This example shows how to read the first 46 words from the Unit Memory Map.
This data includes the Conversion Data, Alarm Data, and Peak Hold Data.
A50013
Always ON
Section
(190)
[
READ
#0046
I0003
D00000
5-7
]

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents