3--5 Four-Word Operation - Omron SYSMAC C2000H Operation Manual

Analog i/o units
Hide thumbs Also See for SYSMAC C2000H:
Table of Contents

Advertisement

4--3--5
Four-word Operation
IR Bit Allocations
Bit
IR n
00
01
02
03
04
05
06
Writing data
07
08
09
10
11
12
13
14
15
Point Control Bits
Normal/Peak Control Bit
Peak Reset Bit
A/D Conversion Bit
Point Read Flags
Disconnection Flag
With four-word operation, IR n and IR n+2 are used as dedicated output and
input words, respectively. IR n+1 is used to control data transfer and IR n+3
is used to monitor data transfer.
To write data, move the desired data to IR n and then set the proper control
bits to designate what data has been set. The data will be read in at the next
I/O refresh period. To read data, set the proper control bits and then move
the data input to IR n+2 to the desired storage location after checking the
flags to confirm that the desired data has been input.
Individual control bits and flags are described following the allocations table
below.
Output
IR n+1
Point 1 Control Bit
Point 2 Control Bit
Point 3 Control Bit
Point 4 Control Bit
Point 5 Control Bit
Point 6 Control Bit
Point 7 Control Bit
Point 8 Control Bit
Normal/Peak Control Bit
Not used.
Peak Reset Bit
A/D Conversion Bit
PC Write Completed Bit
PC Read Completed Bit
Turn ON one of the Point Control Bits to designate the desired input point
when writing the number of sampling counts for the mean value and when
reading binary-converted data. When using peak hold, turn the A/D Conver-
sion Bit OFF. When not using peak hold, turn this flag ON.
Turn this flag and the A/D Conversion Bit ON to read normal binary-con-
verted values and turn this flag and the A/D Conversion Bit OFF to read peak
values.
Turn this bit ON to reset an input point for which the peak value is being read.
Turn this flag ON when reading normal data, and turn it OFF when reading
peak values or writing the number of sampling counts for the mean value.
One of these flags turns ON to designate the input point for which data is be-
ing read.
When the signal line of the point designated by the Point Read Flags is
burned out or disconnected, this flag turns ON. The offset must be set to at
least 1 V (4 mA) for this flag to work.
Input
IR n+2
Point 1 Read Flag
Point 2 Read Flag
Point 3 Read Flag
Point 4 Read Flag
Point 5 Read Flag
Point 6 Read Flag
Reading data
Point 7 Read Flag
Point 8 Read Flag
Disconnection Flag
Normal/Peak Flag
Not used.
Not used.
A/D Read Completed Flag
A/D Write Completed Flag
Section 4--3
IR n+3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c1000h

Table of Contents