Omron PRT1-COM Operation Manual page 153

Profibus-dp multiple i/o terminal, gt1 series
Table of Contents

Advertisement

Counter Units
BCD (Data Code Switching Bit OFF)
Sign
For 1-digit hexadecimal
set in the following way:
0: Positive
F: Negative
Hexadecimal (Data Code Switching Bit ON)
3. Count value setting can be performed regardless of whether or not count
operation is being carried out. Due to the communications time required for
remote I/O communications, however, timing for setting cannot be
performed with perfect accuracy during count operation.
Word n+1
Word n+1
When setting negative numbers, use the 24-bit 2's complement
(the last 24 bits of the 32-bit 2's complement).
Example: To set --10,000
--10,000 (decimal) → FFFF D8F0 Hex (32 bit 2's complement) →
FF D8F0 Hex (24 bit 2's complement)
Reading the Count Value
By switching ON the Count Value Reading Bit (word n+2, bit 06), the count value
can be read and stored in words m, m+1 of the input area. The format of the
stored value will be the same as that at setting.
Note
1. The value will be stored in either BCD or hexadecimal, according to the
setting of the Data Code Switching Bit (word n+2, bit 03).
2. Reading of the count value can be performed regardless of whether or not
count operation is being carried out. Due to the communications time
required for remote I/O communications, however, timing for reading cannot
be performed with perfect accuracy during count operation.
Setting of Set Values 1 and 2
Set values 1 and 2 can be set separately, to values in range --8,388,608 to
+8,388,607. When this is performed, the output conditions will also be set.
Setting of the set values can be performed in either BCD or hexadecimal.
Note
1. To make the set value settings, set the values in words n and n+1 of the
output area, as shown below, and switch the Set Value 1 Setting Bit (word
n+2, bit 00) or the Set Value 2 Setting Bit (word n+2, bit 01) ON.
2. Specify whether the setting will be made in BCD or in hexadecimal in the
Data Code Switching Bit (word n+2, bit 03).
Section
Word n
Word n
7-3
143

Advertisement

Table of Contents
loading

Table of Contents