![background image](http://html1.mh-extra.com/html/omron/prt1-com/prt1-com_operation-manual_744566154.webp)
7-3
Section
Counter Units
144
3. Setting of the set values 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 made with perfect accuracy during count operation.
BCD (Data Code Switching Bit OFF)
Word n+1
Word n
Set the output conditions with 3 bits.
000:
Present value
≥
Set value
→
Output ON
Not 000: Present value
≤
Set value
→
Output ON
(Whether output is actually made depends on the settings
of the External Output Enable Bits, word n+2 bits 08, 09)
Set the sign with 1 bit.
0: Positive
1: Negative
Hexadecimal (Data Code Switching Bit ON)
Word n+1
Word n+2
Set the output conditions with 3 bits.
000:
Present value
≥
Set value
→
Output ON
Not 000: Present value
≤
Set value
→
Output ON
(Whether output is actually made depends on the settings of
the External Output Enable Bits, word n+2 bits 08, 09)
When setting negative numbers, use the 24 bit 2’s com-
plement (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 com-
plement)
→
FF D8F0 Hex (24-bit 2’s complement)
Reading Set Values 1 and 2
By switching ON the Set Value 1 Reading Bit (word n+2, bit 04) or the Set Value 2
Reading Bit (word n+2, bit 05), the set values can be read and stored in words m,
m+1 of the input area. When this is performed, the set output conditions will also
be read. The format of the stored value will be the same as that at setting.
Note
The values will be stored in either BCD or hexadecimal, according to the setting
of the Data Code Switching Bit (word n+2, bit 03).
The Counter Unit is allocated output word 3 and input word 3 in the allocated
area of the Master. Readings of the settings and status of the Counter Unit are
made from the Master via this area.
This section describes the functions of the words that the Counter Unit uses.
In the following explanation, word n refers to the first word in the output area, and
m word refers to the first word in the input area.
Note
1. For details about allocation in the allocation area in the Master, refer to the
PROFIBUS-DP Master Operation Manual (W349)
.
2. If the power supply from the I/O unit interface to the Counter Unit stops, the
Counter Unit will stop count operations. If this happens, it will be necessary
to start up the Counter Unit again. Furthermore, when this is carried out, the
present value, the set values, and the count modes will all be cleared and so
these settings will also have to be made again.
Word Functions
Содержание 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 ...