Handshaking Flags
Unconfirmed Data Flag
Peak Reset Bit
Peak Read Bits
Peak Flags
Writing Data
and the other bits are used to control and monitor reading of peak input val-
ues.
Bit
Ouput word: IR n
00
(PC Busy Flag)
01
(PC Write Finished Flag)
02
(PC Read Finished Flag)
03
Not used.
04 to 06
Not used.
07
Peak Reset Bit
08
Peak Read Bit 0
09
Peak Read Bit 1
10
Peak Read Bit 2
11
Peak Read Bit 3
12
Peak Read Bit 4
13
Peak Read Bit 5
14
Peak Read Bit 6
15
Peak Read Bit 7
Bits 00 through 02 of both the input and output words are system handshak-
ing flags and cannot be used in programming. The status of these bits deter-
mines whether or not the I/O READ and I/O WRITE instructions will be
executed as desired (see Reading Data and Writing Data below).
This bit turns ON when data has not been confirmed (for example, when the
power has just been turned on). Be sure this flag is OFF before reading data.
This bit is turned ON with one or more of the Peak Read Bits to reset the
peak values of the input points designated by the Peak Read Bit.
If the Peak Reset Bit is OFF, these bits are turned ON to read the peak val-
ues. The peak value for each ON bit will be read in the next time READ(88) is
executed for the input word. If the Peak Read Bit is turned ON for an input
point, the data read with the next READ(88) will be the peak value; if the
Peak Read Bit is turned OFF for a point, the data read with the next
READ(88) will be the normal input value. Here, however, "the next
READ(88)" is the next one following the next I/O refresh period. The Peak
Flags can be used to check to see whether peak values have been reached.
The Peak Read Bits are also used with the Peak Reset Bit to reset the peak
values.
The Peak Flags turn ON to indicate that the input value for the input point
has reached a peak value. input points for which peak values have been
read instead of normal input values.
WRIT(87) is used to transfer operating parameter directly to the Analog I/O
Module and is executed only when both the A/D Busy Flag (IR n+1, bit 00)
and A/D Read Finished Flag (IR n+1, bit 01) are OFF. If either of these flags
is ON when WRIT(87) is reached in the program, WRIT(87) will be executed
as NOP. After WRIT(87) has been executed, the PC Write Finished Flag (IR
n, bit 01) will turn ON for one scan and the Equals flag ( SR 6306 or SR
25506) will turn ON.
Section 4--3
Input word: IR n+1
(A/D Busy Flag)
(A/D Read Finish Flag)
(A/D Write Finish Flag)
Unconfirmed Data Flag
Not used.
Not used.
Peak Flag 0
Peak Flag 1
Peak Flag 2
Peak Flag 3
Peak Flag 4
Peak Flag 5
Peak Flag 6
Peak Flag 7
Need help?
Do you have a question about the SYSMAC C2000H and is the answer not in the manual?