C500TS502 Omron, C500TS502 Datasheet - Page 42

no-image

C500TS502

Manufacturer Part Number
C500TS502
Description
RTD INPUT MODULE
Manufacturer
Omron
Datasheet

Specifications of C500TS502

Leaded Process Compatible
No
Peak Reflow Compatible (260 C)
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Programming Examples of 2-Word Mode
Example 1
WRITE Data Memory to the Module Memory Map
This example show how to write the entire Module Memory Map Write area (Locations 25-77). These are the
user configurable locations in the Module Memory Map that enable the various module functions. The Data
Memory in the programmable controller can be set up using the module configuration worksheet in Appendix
D of this manual. The first word is the temporary write pointer.
Example 2
WRITE to Selected Locations in the Module Memory Map
This example shows how to write a specific value to a single Module Memory Map Location.
5- -4- -4
I/O Read Instruction (Read 190)) and the Pointer Word Operation
36
Reading Data from the Module - - I/O Read
000000
000000
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, see
the CV Operation Manual # W202.
There are three rules when using the pointer word with the I/O read instruc-
tion.
1.
2.
3.
Q000100
Q000102
I000000
I000001
Latch
Latch
Start
Start
The default value of the Pointer word is 0000, except when the value
has been modified and this modified value saved to the EEPROM in the
module. On power up, the module uploads this value from the EEPROM
into RAM prior to execution.
When an I/O read instruction is executed, the module 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 module memory
map. The pointer word value can be 0000 to 0083.
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).
Q000101
Write
complete
Q000103
Write
complete
=Flag
=Flag
A50006
A50006
[
[
(191)
WRIT
(191)
WRIT
#0054
#0002
D00354
D00224
Q0002
Write complete
Q000102
Q0002
Q000103
Q000100
Q000101
Latch
Write
Complete
( )
( )
Latch
( )
( )
]
]
This example writes
1 word to the module
memory map.
D00354 = the module
memory map location
temporary pointer.
D00355 = the value to put
in the module memory
map location specified in
D00354.
Section 5- -4
Write 53 words to the
module memory map
beginning with module
memory map location
25. This example
writes the entire write
area of the module
memory map.
D00224 = 0025 (point-
er) or 0000 defaults to
0025.
D00225 to D00277 =
values to be entered in
module memory map.

Related parts for C500TS502