![background image](http://html1.mh-extra.com/html/omron/prt1-com/prt1-com_operation-manual_744566153.webp)
7-3
Section
Counter Units
143
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.
BCD (Data Code Switching Bit OFF)
Word n+1
Word n
Sign
For 1-digit hexadecimal
set in the following way:
0: Positive
F: Negative
Hexadecimal (Data Code Switching Bit ON)
Word n+1
Word n
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).
Содержание PRT1-COM
Страница 1: ...Cat No W900 E2 1 PROFIBUS DP MULTIPLE I O TERMINAL PRT1 COM GT1 Series ...
Страница 2: ...PRT1 COM GT1 Series PROFIBUS DP MULTIPLE I O TERMINAL Operation Manual Produced December 1999 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x ...
Страница 187: ...Cat No W900 E2 1 Note Specifications subject to change without notice December 1999 Authorized Distributor ...