Ladder Programming - Omron SYSMAC CPM2B Operation Manual

Hide thumbs Also See for SYSMAC CPM2B:
Table of Contents

Advertisement

Application Procedure
6-4-4

Ladder Programming

1,2,3...
I/O Word Allocations
Bit
15
14
1
0
Word n+1
1
0
Word n+2
1
0
Word n+3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Ladder programming is used to control the Analog I/O Board's range code
settings and start conversion operations, as follows:
1. Setting range codes
2. Reading input (after A/D conversion) data
3. Writing output (D/A conversion source) data
Analog I/O Boards are allocated I/O words following those words allocated to
the CPU Board or a previously connected Expansion Board. The number of
words allocated to the Analog I/O Board depends on the model of the Board
used.
Model
CPM2B-MAD63
CPM2B-MAD42
CPM2B-MAD21
m: The last input word allocated to the CPU Board or to the previous Board if
one is already connected.
n: The last output word allocated to the CPU Board or to the previous Board
if one is already connected.
Analog I/O Board Word Allocations
The following table shows the input word data.
Input words
CPM2B-MAD63
Word m+1
Input data 1
(4-digit hexadecimal)
Word m+2
Input data 2
(4-digit hexadecimal)
Word m+3
Input data 3
(4-digit hexadecimal)
Word m+4
Input data 4
(4-digit hexadecimal)
Word m+5
Input data 5
(4-digit hexadecimal)
Word m+6
Input data 6
(4-digit hexadecimal)
Output Word Data (Range Code Settings)
13
12
11
10
09
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
The CPM2B-MAD21 uses word n+1 only. The CPM2B-MAD42 uses words
n+1 and n+2 only.
Input words
Words m+1 to m+6 (6 words)
Words m+1 to m+4 (4 words)
Words m+1 to m+2 (2 words)
CPM2B-MAD42
Input data 1
(4-digit hexadecimal)
Input data 2
(4-digit hexadecimal)
Input data 3
(4-digit hexadecimal)
Input data 4
(4-digit hexadecimal)
---
08
07
06
05
Analog output 1
Analog input 2
Analog output 2
Analog input 4
Analog output 3
Analog input 6
Section 6-4
Output words
Words n+1 to n+3 (3 words)
Words n+1 to n+2 (2 words)
Word n+1 (1 word)
CPM2B-MAD21
Input data 1
(4-digit hexadecimal)
Input data 2
(4-digit hexadecimal)
---
04
03
02
01
00
Analog input 1
Analog input 3
Analog input 5
111

Advertisement

Table of Contents
loading

Table of Contents