Omron SYSMAC C Series Operation Manual page 116

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

Advertisement

User Programming Examples
Example 2: Configuring the
Alarm Function
Execution
condition
Q000405
Q000404
Latch
Q000405
Q000407
Q000406
Latch
Q000407
Q000409
Q000408
Latch
A50013
Always ON
This example shows how to configure the alarm function for specific input points.
Refer to 5-6-6 High/Low Alarms for general information on using the high/low
alarms.
(191)
[
WRIT
#0005
A50006
= Flag
(191)
[
WRIT
#0003
A50006
= Flag
(191)
[
WRIT
#0002
AR50006
= Flag
(190)
[
READ
#0047
I0003
Step 1: Set the low and high
D00472
Q0002
]
alarm limits for input points 10
and 11 in Unit memory map
locations 73, 74, 75, 76.
D00472 = 0073 (Pointer)
Q000404
D00473 = 0006
( )
D00474 = 0200
D00475 = 0127
Latch
D00476 = 4020
Q000405
( )
Step 2: Turn ON the low
D00469
Q0002
]
and high alarm enable bits
for input points 10 and 11
in Unit memory map
Q000406
location 53 and 54.
D00469 = 0053 (pointer)
( )
D00470 = 0600
Latch
D00471 = 0600
Q000407
( )
Step 3: Turn ON the input
D00467
Q0002
]
point enable bits for input
points 10 and in Unit
memory map location 47.
D00467 = 0047
Q000408
D00468 = 0060
( )
Latch
Q000409
( )
Step 4: Read the first 47
]
DM00000
words from the Unit memory
map and store the values in
D00000 to D00046
Section
5-7
101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents