C500TS502 Omron, C500TS502 Datasheet - Page 41

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
5- -4- -3
Writing Data to the Module - I/O Write
This section describes the use of the pointer word with the I/O write ladder
instruction. For additional information regarding the I/O write instruction, see
the CV Operation Manual W202 .
There are two rules when using the pointer word with the I/O write instruc-
tion.
1.
• The module writes the value of this word to the pointer word location in the
• This value now becomes the first memory location to be read in subsequent
• The pointer word retains this value unless another 1 word I/O write is
2.
• The module interprets the first word as a temporary pointer value which
• If the value of first word is 0000, then the module updates the memory map
• If the first word is greater than 0 and less than 25, the module sets the un-
• If the temporary pointer value is greater than 24, the module writes the data
module memory map (24).
I/O read instructions.
executed, or the system power is cycled. If the value has been saved to the
EEPROM in the module, then it is automatically uploaded on power up.
does not replace word 24 in the module memory map.
beginning at location 25 with the remaining words transferred. This is the
first word of the write area in the module memory map.
confirmed data error flag because an attempt has been made to write to a
read only area of the module memory map. The data sent is ignored.
following the temporary pointer value into the module memory map begin-
ning at the location specified by the temporary pointer value. The temporary
pointer value is then discarded.
If the number of words transferred (specified in the instruction) to the
module is one:
EXAMPLE:
Note The I/O read instruction can transfer a maximum of 127 words. If
If the number of words transferred to the module is greater than one:
EXAMPLE:
Execute a 1 word I/O write to the module. The value of the word
transferred is 0022. The module sees the number of words is 1,
and places the value 0022 into memory map location 24.
Execute an I/O read instruction specifying the number of words to
be read as 0016.
The module returns 16 words to the PLC, beginning with module
memory map location 22 thru 37.
Execute a 10 word I/O write to the module. The value of the first
word transferred is 0025.
The module sees the number of words is greater than one, and
reads the first word as the temporary pointer value. The module
then updates its memory map with the remaining nine words begin-
ning at location 25.
the read request is from a pointer location for a number of words
that goes past the end of the table, those locations beyond word
83 will return the value 0000.
Section 5- -4
35

Related parts for C500TS502