Dm (Data Memory) Area; Operation - Omron K3HB - MANUAL 2 Manual

Digital indicators
Hide thumbs Also See for K3HB - MANUAL 2:
Table of Contents

Advertisement

Programming Example 2: Connecting to a PLC
Pin number
DPM-A DPM-B DPM-C
29
---
---
HOLD
---
29
---
HOLD
---
---
29
HOLD
30
---
---
RESET
---
30
---
RESET
---
---
30
RESET
31
31
31
POL
Note
1-6-2

DM (Data Memory) Area

IR 000
IR 010
IR 020
1-6-3

Operation

Signal
Signal
name
direction
Input
HOLD input A
Input
HOLD input B
Output
HOLD input C
Input
RESET input A
Input
RESET input B
Input
RESET input C
Output
Data polarity signal
(1) I/O allocations marked with an asterisk are not used in this programming
example.
(2) The pin numbers shown in the above table are the pin numbers of the D-
sub connector on the special BCD output cable (sold separately).
Read data is stored in the memory, as shown below.
IR 001
IR 011
IR 021
In this programming example, IR 00113 in the CPU Unit of the PLC is turned
ON to read the measurement value of the three Digital Indicators (A, B and C)
to the PLC and store them in the DM area. No matter how long IR 00113
remains ON, data is sampled only once for each of Digital Indicators A, B and
C.
Meaning
Output Unit, IR 0210*
Output Unit, IR 0211*
Output Unit, IR 0212*
Output Unit, IR 0213*
Output Unit, IR 0214*
Output Unit, IR 0107
IR 002
Polarity (bit 00)
4
10
digit (bits 00 to 03)
3
10
digit (bits 12 to 15)
2
10
digit (bits 08 to 11)
1
10
digit (bits 04 to 07)
0
10
digit (bits 00 to 03)
IR 012
Polarity (bits 00)
4
10
digit (bits 00 to 03)
3
10
digit (bits 12 to 15)
2
10
digit (bits 08 to 11)
1
10
digit (bits 04 to 07)
0
10
digit (bits 00 to 03)
IR 022
Polarity (bit 00)
4
10
digit (bits 00 to 03)
3
10
digit (bits 12 to 15)
2
10
digit (bits 08 to 11)
1
10
digit (bits 04 to 07)
0
10
digit (bits 00 to 03)
Section 1-6
I/O allocation
DPM-A data
DPM-B data
DPM-C data
11-11

Advertisement

Table of Contents
loading

Table of Contents