Typical Programming Examples - Omron SYSMAC C Series Operation Manual

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

Advertisement

User Programming Examples
5-7-6

Typical Programming Examples

Example 1: Configuring the
Scaling Function
Execution
condition
Q000114
Q000113
Latch
Q000114
Q000401
Q000400
Latch
Q000401
Q000403
Q000402
Latch
A50013
Always ON
100
Examples 1 through 4 are typical ladder diagrams that show the flexible access
to the Unit set up and advanced functions.
This example shows how to configure the scaling function for specific input
points. Refer to 5-6-2 Scaling for information on using the scaling function.
(191)
[
WRIT
#0003
D00418
A50006
= Flag
(191)
[
WRIT
#0002
A50006
= Flag
(191)
[
WRIT
#0002
A50006
= Flag
(190)
[
READ
#0047
I0003
Step 1: Set the scaling low and
Q0002
]
high limits for input point 5.
D00418 = 0063 (Pointer)
D00419 = 0010 (Low)
D00420 = 0500 (High)
Q000113
Value in DM0419 is written to
( )
Unit memory map location 63,
D00420 to location 64.
Latch
Q000114
( )
Step 2: Turn ON the scaling
D00416
Q0002
]
enable bit for point 5 to Unit
memory map location 49.
D00416 = 0049
Q000400
D00417 = 0010
( )
Latch
Q000401
( )
Step 3: Turn ON the input
D00414
Q0002
]
point enable bit for input
point 5 in word 47 of the
Unit memory map.
D00414 = 0047 (Pointer)
Q000402
D00415 = 0010
( )
Latch
Q000403
( )
]
D000000
Step 4: Read first 47 words
from Unit memory map-store
in D00000 to D00046
Section
5-7

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC C Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents