You are on page 1of 165

Cat. No.

W07E-RU-01A

Cat. No. W07E-RU-01A

CP1L

.: +7 495 648 94 50
: +7 495 648 94 51/52

CP1L-L14D-
CP1L-L20D-
CP1L-M30D-
CP1L-M40D-

" "
, 26
,

CP1L


17

25
35
75

www.omron-industrial.ru

Advanced Industrial Automation

: .
Cat. No. W07E-RU-01A

CP1L-L14D-
CP1L-L20D-
CP1L-M30D-
CP1L-M40D-

CP1L

:
OMRON , ,
, .

. ,
.
.

, , ,
. ,
.

, , ,
. ,
.

, , ,
,
.


Ch,
OMRON, Wd.
PLC () .
CX-Programmer PC,
.

1,2,3...

1. .


Windows Microsoft Corporation .
SYSMAC OMRON.

.

OMRON, 2007
. , -
- - -
(, , , )
OMRON.
, , -
. , OMRON
, , ,
.
. , OMRON -
. OMRON ,
, .


................................ 9
1
2
3
4

...................................................................
.......................................................................
.....................................................................................
.......................................................................................

10
10
10
10

1
CP1L........................................................... 11
1-1
1-2

CP1L .................................................................................................. 12
............................................................................ 14

2
............................................... 17
2-1
2-2
2-3
2-4

........................................................................
..........................................................
/
.........................................................................
............................................................................

18
20
22
24

3
................................................ 25
3-1
3-2
3-3
3-4

...........................................................................................
DIN-..............................................................................................
.........................................................................
CP1L......................................................................................

26
29
30
33

4
...................................................... 35
4-1
4-2
4-3
4-4
4-5
4-6
4-7

..........................................................................
...........................................................................
CX-Programmer .................................................................................
.........................................................................................
........................................................................................................
..........................................................................
.....................................................................................

36
42
45
48
51
68
71

5
...................................... 75
5-1
5-2

on-line......................................................................................... 76
/ on-line .................................................................... 83

.................................................................. 93
A-1
A-2
A-3
A-4

/ .................................................................................................. 94
.................................................................................................................. 99
CP1L ..................................................................................... 103
CP1L ..................................................................... 112

:
,
() CP , . CP
,
OMRON .
,
, ,
CP. ,
.
,
SYSMAC CP.
SYSMAC CP1L.
, ,
.
,
, .

. .

.
1 CP1L, .
2 CP1L
.
3 CP1L DIN-,
/, .
4 CX-Programmer
.
5 .
,
CP1L, CP1L.


, CP.
.


W462
SYSMAC CP Series CP1L
CPU Unit Users Manual

W451

SYSMAC CP Series
CP1H/CP1L CPU Unit
Programming Manual

W446

SYSMAC CX-Programmer
Operation Manual

,
,
/, /

.
, ,

.
CP:







CP1H CP1H Programmable Controllers
Operation Manual (W450).

CX-Programmer
, .


, ,
. - , ,
, OMRON.


OMRON ,
( )
OMRON
, .
OMRON
, ,

,

.
,
,
,
. OMRON
-
.


OMRON ,
,
,
, ,
,
,

.
OMRON
-
,
OMRON.
OMRON
,
,
, OMRON,
,
, ,
,
,

.



OMRON , ,

.
OMRON
,
,

.

, ,
.
,
.

, :
,
,
, .
,
, , ,
, , ,
,

.
, ,
.
,
.
,

,
, ,
OMRON
,
.


OMRON
, ,
- , .





.

,
. ,

- .
,
,
.

OMRON.



,
, .





.
,
OMRON,
.


OMRON.


, ,
, , ;
, OMRON
.



() CP .

.
,
.
1
2
3
4

. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

10
10
10
10


,
(- ..).
, .
, .
,
.



, .
,
,
, , ,
, , ,
, ,
,

,
OMRON .
,
, ,
, .

. ,
, ,
.

,
,
,
.
,
OMRON.

, /

. . ,
, ,
.

0,5 .

.

online-, ,

. .

10

,
.

1
CP1L
CP1L,
, .
1-1 CP1L............................................................... 12
1-2 ......................................... 14

CP1L

1-1 CP1L
CP1L
() 14, 20, 30 40 /.

1
CP1L

CP1L A-4, .

14 / (CP1L-L14D-)
8 6 .
/ 54
/ CP.

20 / (CP1L-L20D-)
12 8 .
/ 60
/ CP.

12

SYSMAC CP1L -

1-1 CP1L

30 / (CP1L-M30D-)
18 12 .
/ 150
/ CP.

1
CP1L

40 / (CP1L-M40D-)
24 16 .
/ 160
/ CP.

SYSMAC CP1L -

13

1-2

1-2
14 /
.

1
CP1L

14 /

14

(1)


(15).

CP1L, . ,
CP1L
( ).

(2)

USB
.
.

(3)


, A642CH
( ) 0 255.

( ).

(4)


0 10
A643CH ( )
0 256. .

(5)

DIP-
,
,
, .
2-1,
CP Series CP1L CPU Unit User's Manual (W462).

(6)

SYSMAC CP1L -

1-2

(7)


CP1L. ,
, ,
USB.
,
,
.

(9)


,
.

CP1L

(8)

(10)

RS-232C (16)
RS-422A/485 (17).
14/20 /
.
30/40 / 2
.
(11) /
/
CP . 14/20 /
.
30/40 / 3 .
(12)
, ()
.
(13)
:

24 =,
300 .
.
: .
(14) DIN-
DIN-.
(15) ()
-.
(1).
(16) RS-232C
(10).
(17) RS-422A/485
(10).

SYSMAC CP1L -

15

1-2

z
CP1L .

1
CP1L
POWER
()
RUN
()

ERR/ALM
()


INH
()

PRPHL
()

BKUP
()

.
.
CP1L RUN ()
MONITOR ().
PROGRAM, -
.
( FALS)
( (WDT)).
CP1L ,
.

( FAL).
CP1L .
.
(A500.15) .
.
.
( )
USB.
.
,
/
- ( ).
,
, ,
DM ( )
/ .
,
.
: ,
.

16

SYSMAC CP1L -

2


CP1L
.
, ,
.
2-1 .................................... 18
2-2 ...................... 20
2-2-1 .......................................................... 20
2-2-2 .................................................... 21

2-3 /
...................................... 22
2-4 ........................................ 24

2-1
2 5
CP1L, ,
. .

2.
,
, , /
.
3. CP1L,
.
4. CP1L
.
5. ,
CP1L, , .

, ,

.

,
,
.

18

SYSMAC CP1L -

2-1

z

CP1L.
.
2-3 /
/


.

3-2 DIN-
3-3
.

CP1L

3-4 CP1L.

4-1
.

USB
CP1L



CX-Programmer


4-2
, 4-3
CX-Programmer, 4-5 ,
4-6 /
4-7 .

5-1 online.
CP1L
online
CP1L
PROGRAM.

online



/
online

5-2 /
online.

5-1 online.

SYSMAC CP1L -

19

2-2

2-2
.

2-2-1

.
,
5 .
,
.

,
, .

.

20

SYSMAC CP1L -

2-2

2-2-2
,
. .

CP1L ( 14 /,
)

z
CX-Programmer

USB (A-B)

z
: PB1
: PB2
: PB3
: SEN1
: SEN2
,
: LS1
,
: LS2

z
: MO1
: MO2

SYSMAC CP1L -

21

2-3 /

2-3 /

/ CP1L
, .

PB1

0.00

PB2

0.01

PB3

0.02

SEN1

0.03

SEN2

0.04

LS1

0.05

LS2

0.06

22

MO1

100.00

MO2

100.01

SYSMAC CP1L -

2-3 /

z / ( CP1L 14 /)
8
0 CH (0.000.07)

100 CH (100.00100.05)
6

100 CH

14

13

12

11

10

09

08

07

06

05

04

03

02

01

15
0 CH

00

: 8
: 6

14 / 8 0,00
0,07 ( 00 07 0CH).
6 100.00 100.05 ( 00 05 100CH).
( 08 15)
. ,
( 06 15)
.

SYSMAC CP1L -

23

2-4

2-4
( - )
. 4.

0.04

T0000

W0.00

W0.00

W0.00
TIM
0000

#50
0.04
CNT


T0000

0000

#3

C0000

A200.11

P_First_Cycle
C0000

0.00

0.01

0.05

100.01

100.00


100.00

0.02

0.01

100.01

0.03

24

SYSMAC CP1L -

0.06

100.00

100.01

3

CP1L
DIN-, /,
.
3-1 ....................................................... 26
3-2 DIN- .......................................................... 29
3-3 ...................................... 30
3-3-1 ............... 30
3-3-2 / .......................... 31

3-4 CP1L .................................................. 33

3-1

CP1L .


:
0C 55C.
, ,
.
10 % 90 %.

.
,
.
, .
, .
, , .

()
:

.
.
.

.


CP1L
/
CP1L .

z
CP1L
0 55C. .
.
,
(, ,
).
55C,
.

26

SYSMAC CP1L -

3-1

(2)

(3)

(1)

z


.

1000 1600 .
, /,


. .
, , ,
.

z
,
.
200
.

. 200

CP1L

. 200

,
.

SYSMAC CP1L -

27

3-1

z
CP1L
, .

W1

W2

CP1L-L14D-

86

76

CP1L-L20D-

86

76

CP1L-L30D-

130

120

CP1L-L40D-

150

140

DIN-
DIN- , 3 .
M4. 210
(6 ). 1,2 .
CP1L 3
CP Series
CP1L CPU Unit Users Manual (W462).

28

SYSMAC CP1L -

3-2 DIN-

3-2 DIN-
CP1L DIN-.

1.

DIN-(1).

CP1L DIN- (1) (. ).

3.

DIN- (1),
CP1L.

SYSMAC CP1L -

2.

29

3-3

3-3
CP1L ( 14 /,
).


.
,
( ) .
, ,
.

3-3-1

.


(A) CP1L.

(A)

4
1
NC

NC
NC

. 6,2
NC

(1)
100 240 ~, 50/60 .
: 85 264 ~.
, -
,
.

.
( 1:1)
.

30

SYSMAC CP1L -

3-3

,
.
(2) LG
LG .
,
LG GR D
( 100 ).
(3) GR
GR
.
D ( 100
) (2 2 ).

D (
100 ).
,
L2/N.

.
.

(4)
,

.
0,5 .

3-3-2 /
14 /
CP1L , .

(1)

(2)

SYSMAC CP1L -

31

3-3

1.

, ,
2-3 /
.

1.

, ,
2-3 /
.

3-5-4
/ 14 /
CP Series CP1L CPU Unit Users Manual (W462).

32

SYSMAC CP1L -

3-4 CP1L

3-4 CP1L
CP1L, .


CP1L
.

(
,
.).

2.
3.
4.

CP1L.

1.

2 , CP1L.
CP1L.
[POWER] [RUN] CP1L.

CP1L RUN
().

5.

CP1L.

SYSMAC CP1L -

33

3-4 CP1L




/ .
,
, ,
/, .

.

102
CP Series CP1L CPU Unit
Users Manual (W462).


, CP1L ( ).
6-5
CP Series CP1L CPU Unit Users Manual (W462).

34

SYSMAC CP1L -

4

,
CX-Programmer
, CP1L.
CX-Programmer
.
4-1 ....................................... 36
4-1-1 CX-Programmer? .......................................... 36
4-1-2
USB .......................................... 37

4-2 ....................................... 42
4-2-1 .......................................................... 42
4-2-2 ................................................. 44

4-3 CX-Programmer..................................... 45
4-3-1 CX-Programmer ................................................ 45
4-3-2 ............................................................ 46

4-4 ..................................................... 48
4-5 .................................................................... 51
4-5-1
4-5-2
4-5-3
4-5-4
4-5-5
4-5-6
4-5-7
4-5-8

............................................ 51
.............................................................. 54
............................................... 57
.............................................................. 59
.............................................................. 61
................................. 64
............... 66
END ................................................................ 67

4-6 ...................................... 68
4-6-1 .......................................... 68
4-6-2 .................................................. 69
4-6-3 ........................................................ 70

4-7 ................................................. 71
4-7-1 /.... 71
4-7-2 .................. 72
4-7-3 .................................................. 73

4-1
,
: CP1L , USB ..

4-1-1 CX-Programmer?
CX-Programmer
( ),
, CP1L.
, CX-Programmer ,
CP1L, : ,
, ,
.

CX-Programmer
Windows 98 SE, Me, NT 4.0 (SP6a), 2000 (SP3 ) XP.
CX-Programmer 1-1
CX-Programmer CX-Programmer
Introduction Guide (R132).
CX-Programmer CX-Programmer
Operation Manual (W446).

36

SYSMAC CP1L -

4-1

4-1-2 USB
CX-Programmer CP1L
CX-Programmer.
CP1L .

CX-Programmer 7.1 .
CP1L USB.
, USB,
CP1L.

z,
Windows 98, Me, 2000 XP

CX-One (CX-Programmer)

USB

USB

USB 1.1 ( 2.0) (A-B), 5

z USB
USB
CP1L .

CP1L. CP1L.
USB, on-line.
USB, off-line.
USB on-line, :
[Windows 2000, XP]
USB
CX-Programmer on-line.
CX-Programmer off-line, USB,
CX-Programmer on-line.
[Windows 98, Me]
USB on-line
.
.

SYSMAC CP1L -

37

4-1

USB
CP1L
Windows XP.
CP1L Windows 2000
1-3-1
USB CP Series CP1L CPU Unit Users Manual (W462).

1.

CP1L .

2.

USB (2) USB (3)


CP1L USB (1).

CP1L, .

.
USB.

3.

38

CP1L .


[No, not this time] (, )
[Next] ().

.
4.

SYSMAC CP1L -

4-1

4.

[Install from a list of specific location (Advanced)]


( ) [Next] ().

5.

, [Include this location in the


search] ( ),
[C:\Program Files\OMRON\CX-Server\
USB\Win2000_XP\Inf]. [Next] ().
.
,
.

SYSMAC CP1L -

39

4-1

,
[Continue Anyway] ( ).

6.

40

[Finish] ().
USB .

SYSMAC CP1L -

4-1


, .

1.

[Start] (),
[My Computer] ( ).
.

2.

[Properties] ().
.
Hardware ()
[Device Manager] ( ).
.

4.

[Universal Serial Bus controllers]


( ).

5.

,
[OMRON SYSMAC PLC Device].
, USB .

6.

3.

[OMRON SYSMAC PLC Device] ,


USB.
USB 1-3-1
USB CP Series CP1L CPU Unit Users
Manual (W462).

SYSMAC CP1L -

41

4-2

4-2
, , 2
. .

4-2-1

.
2-2-1 .

1
3

.
(1) :
, .
OPEN () CLOSE ()

.
.
(2) :
,
.
()
.
(3) :
, .
,
.
. 5
.

CP1L.
CP1L .

42

SYSMAC CP1L -

4-2

z /

(1) :
, ,
.
(2) :

.

,
.

.

SYSMAC CP1L -

43

4-2

4-2-2
.

0.04

T0000

*1
W0.00

*3

W0.00
*4

*1 . 4-5-2 .
*2 . 4-5-2 .
*3 . 4-5-2 .
*4 . 4-5-3 .

*2
W0.00

TIM
0000

*5

#50
0.04
CNT


T0000

0000

*6

#3

C0000

*5 . 4-5-4 .
*6 . 4-5-5 .
*7 . 4-5-6 .

A200.11

P_First_Cycle First *7
C0000

0.01

0.05

100.01

100.00

0.00

100.00

0.02

100.01

0.01

0.06

100.00

100.01

0.03
*8

*8 . 4-5-7 .


CX-Programmer.

44

SYSMAC CP1L -

4-3 CX-Programmer

4-3 CX-Programmer

CX-Programmer.

4-3-1 CX-Programmer
1.

[Start] () [All Programs]


( ) [OMRON] [CX-One] [CX-Programmer]
[CX-Programmer].
CX-Programmer.
, .

CX-Programmer 1
CX-One CX-One Introduction
Guide (R145).

SYSMAC CP1L -

45

4-3 CX-Programmer

4-3-2
,
CX-Programmer.
CX-Programmer CX-Programmer Operation
Manual (W446).

z
1
2

4
5
7

6
8
9
10

(1)
, CX-Programmer.
(2)
CX-Programmer.
(3)
()
.
.
/ ,
View () Toolbars ( ).
.
(4) /(6)
.
.
/ ,
[View] () [Windows] () [Workspace] (
).
(5)
(),
.
(7)
.
(8) /
, / /
, .

46

SYSMAC CP1L -

4-3 CX-Programmer

(9)
/ ,
[View] () [Windows] () [Output] ( ).
:
:
.
:
, .
:
, .

(10)
, , (off-line/on-line)
.
on-line
,
. / ,
[View] () [Windows] () [Status Bar]
( ).

(1)
(2)
(3)
,
.
(4)

, CX-Programmer.
/ ,
[View] () [Windows] () [Information Window] ().

SYSMAC CP1L -

47

4-4

4-4
CX-Programmer CX-Programmer,
, , . ,
.

CX-Programmer

1.

CX-Programmer [F1].
.


CX-Programmer .

1.

48

[Start] () [All Programs]


( ) [OMRON] [CX-One] [CX-Programmer]
[CX-Programmer Help] ( CX-Programmer).
CX-Programmer.

SYSMAC CP1L -

4-4

z CX-Programmer

1.

[Help] () [Help Contents]


( ).
CX-Programmer.



(PLC Instruction Sets).

SYSMAC CP1L -

49

4-4

z CX-Programmer

1.

[Help] () [Instruction Reference]


( ) [CS/CJ-Series and CP-Series] ( CS/CJ
CP).
CP.

1.

50


[Instruction Help] ( )
New Instruction ( ).
CP.

SYSMAC CP1L -

4-5

4-5
, CX-Programmer, .

4-5-1
CX-Programmer
. ,
.

[File] [New] ( ).
.

2.

[CP1L].

SYSMAC CP1L -

1.

51

4-5

3.

[Settings] ().
.

4.

. [OK].
.

52

SYSMAC CP1L -

4-5

5.

,
[USB]. [OK].

.
.

[USB],
4-1-2 USB
USB.

SYSMAC CP1L -

53

4-5

4-5-2
.
4-2-2 .

1.

[C].
New Contact ( ).

2.

4. [].
4. Edit Comment
( ).

3.

/ Light
detection sensor ( ).
[].
,
.

54

SYSMAC CP1L -

4-5

1.

.
[].
.

4
[W].
New Contact OR ( ).

3.

W0. [].
W0. Edit Comment
( ).

4.

Work Area ( ).
[].
, .

2.

SYSMAC CP1L -

55

4-5

1.

- .
.

2.

, [/].
New Closed Contact ( ).

3.

T0. [].

T0. Edit Comment


( ).

4.

Timer ().
[].
, .

56

SYSMAC CP1L -

4-5

4-5-3
.

1.

[O].
New Coil ( ).

4
W0. [].
W0. Edit Comment
( ),
/.

3.

[].

2.

SYSMAC CP1L -

57

4-5

4.

2 - .

.


.
,
, END.
, ,
.
CX-Programmer .

, .

58

SYSMAC CP1L -

4-5

4-5-4
1.

[C]. W000.
[] ( Edit
Comment).
4-5-2 .

[I].
New Instruction ( ).

3.

TIM 0 #50. [].


TIM 0 #50. Edit
Comment ( ),
/.
TIM 0 #50 5,0 ,
T0000.

SYSMAC CP1L -

2.

59

4-5

4.

[].

5.

3 - .

.

60

SYSMAC CP1L -

4-5

4-5-5
1.

[C]. 004.
[] ( Edit
Comment).
4-5-2 .

[I].
New Instruction ( ).

3.

CNT 0 #3. [].

2.

CNT 0 #3. Edit Comment


( ),
/.
CNT 0 #3 ,
3 C0000.

SYSMAC CP1L -

61

4-5

4.

/ Counter
(). [].

4

.
(TIM 0000).

5.

62

, 1.

SYSMAC CP1L -

4-5

6.

T0000.

7.

2 - .

.

SYSMAC CP1L -

63

4-5

4-5-6
(),
.

.
CP1L.

1.

[W]. C0000 .
[] (
Edit Comment).
4-5-2 .

2.

[].
.

64

SYSMAC CP1L -

4-5

3.
4.

- .

5.

A20011. [].

[W].
New Contact OR ( ).

SYSMAC CP1L -

65

4-5

4-5-7
1.

4-2-2 ,
10001
.

2.

[].
.

3.

[W].
New Contact OR ( ).

4.

3. [].
Edit Comment ( ).

5.

/ Car detection
sensor ( ). [].
,
, .

6.

003.
Edit Contact ( ).

66

SYSMAC CP1L -

4-5

7.

[Detail] ().

8.

[Up] ().
[OK].

,
.

4-5-8 END
END ().
CX-Programmer END
. END .
,
END, [END].

SYSMAC CP1L -

67

4-6

4-6
.
, .

4-6-1
.

1.

[PLC] [Compile All PLC Programs]


( ).

.

.

2.

68

,
.
, .
.

SYSMAC CP1L -

4-6

4-6-2
.
.

1.

[File] [Save As] ( ).


CX-Programmer.

2.

.
[Save] ().
CX-Programmer .

SYSMAC CP1L -

69

4-6

4-6-3
CX-Programmer.
.

1.

[File] [Open] ( ).
CX-Programmer.

2.

. [Open]
().
CX-Programmer
.

70

SYSMAC CP1L -

4-7

4-7
CX-Programmer .
/ .

4-7-1 /
/
.

1.

[Edit] [I/O Comment]


( /).

/.

SYSMAC CP1L -

71

4-7

2.

,
.
/ .
/.

4-7-2
.

72

1.

,
.
Rung Properties ( ).

2.

General
().

SYSMAC CP1L -

4-7

3.

.
.

4-7-3
.


z/

1.

. [Delete]
().
.

1.

.
.

2.

[Delete] ().
.

SYSMAC CP1L -

73

4-7

/
.
:

1.
2.

.
[Ctrl], -
.
.

(1)
(2)
:
[Ctrl] - .
:
[Ctrl] - .
:
[Ctrl] - .
:
[Ctrl] - .

,
, .

/ //
z/

1.
2.

3.

.
[Ctrl] [V].
.

[Ctrl] [C].
.

74

1.

, .
.

2.

[Ctrl] [C].
.

3.

,
. [Ctrl]
[V].
.

SYSMAC CP1L -

CP1L
CP1L
( on-line).
, CP1L,
on-line (..,
CP1L).
5-1 on-line ..................................................... 76
5-1-1
5-1-2
5-1-3
5-1-4

CP1L .................................... 77
.......................................... 78
/ ................................... 80
.................................................. 82

5-2 on-line ........................... 83


5-2-1
5-2-2
5-2-3
5-2-4
5-2-5
5-2-6

.................................................................... 83
/ ............................... 86
...................................... 88
.............................................................................. 88
on-line................................ 91
..................................... 92

5-1 on-line
CP1L, ,
, CP1L ( on-line).

1.
2.

CX-Programmer .
[PLC] [Work Online]
( ).
on-line.

3.

[Yes] ().
.

on-line
-.

CP1L
on-line. CP1L ,
CX-Programmer, CP1L.
5-1-3 /
.

76

SYSMAC CP1L -

5-1 on-line

on-line,
.
,
[NewPLC1[CP1L]Offline] .
4-5-1 .

5-1-1 CP1L
CP1L .
CX-Programmer. CP1L
,
.

CX-Programmer.
4-6-3
.

2.

[PLC Clock] ( ).
PLC Clock ( ).

3.

[Options] [Set PLC Clock]


( ).
Set PLC Clock ( ).

SYSMAC CP1L -

1.

77

5-1 on-line

4.

. OK.
.

5.

[File] [Exit] ( ).
CP1L .

5-1-2
PROGRAM ().
.

1.

78

[PLC] [Operating Mode] [Program]


( ).

.

SYSMAC CP1L -

5-1 on-line

2.

[Yes] ().
.

CP1L
CP1L : PROGRAM (),
MONITOR () RUN (). ,
.
.

.
.
, , ,
, /.
MONITOR ()
.
online-, /,
/. ,

.

.
.

SYSMAC CP1L -

79

5-1 on-line

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

OK

/
/

,

CX-Programmer

5-1-3 /
CX-Programmer CP1L.

1.

80

[PLC] [Transfer] [To PLC]


( ).
.

SYSMAC CP1L -

5-1 on-line

2.

[OK].
.

3.

/
9 //
CX-Programmer Operation Manual (W446).

[Yes] ().

, [Yes] ().

. Download ().

SYSMAC CP1L -

81

5-1 on-line

4.

[OK].
.

5-1-4
.
.

, .

82

,
.

1.

[PLC] [Operating Mode] [Run]


( ).

.

2.

[Yes] ().
.

SYSMAC CP1L -

5-2 / on-line

5-2 / on-line
,
.

5-2-1


(.., ) .
.

CP1L .

1.
2.

[PLC] [Monitor] [Monitoring]


( ) .

SYSMAC CP1L -

83

5-2 / on-line


.

.
1

(1)


.
4 .

84

SYSMAC CP1L -

5-2 / on-line


/ , .

1.

[PLC] [Monitor] [Monitoring] (


) .

2.

[View] [Windows] [Watch] ( )


.

3.

.
/.
0 .

: [ . ].
, (0 CH, 04 bit)
: 0,04.

.
, , .

SYSMAC CP1L -

85

5-2 / on-line

5-2-2 /
CX-Programmer /
/ .

.

/ /
, , .
/ .

1.
2.

86

CP1L .
,
/.

SYSMAC CP1L -

5-2 / on-line

3.

[PLC] [Force] [On]


( ).

() [On],
() [Off].
/ ,
[Cancel] ().
/
:
CIO ( /, ,
, /
), (WR), ,
(HR),

SYSMAC CP1L -

87

5-2 / on-line

5-2-3
.

1.
2.

CP1L .

3.

. [OK].
.

, .
Set Timer/Counter Value
( /).

5-2-4

,
, .
.
:

(, )
,
()
,

88

SYSMAC CP1L -

5-2 / on-line

1.

[View] [Windows] [Address Reference


Tool] ( ).
.

2.

. [Find] ().

SYSMAC CP1L -

89

5-2 / on-line

. ,
, .



. , , ,
.

90

1.

2.

[].
,
.

SYSMAC CP1L -

5-2 / on-line

5-2-5 on-line
CP1L on-line.

4.

CP1L , online-

.
,
, ,
off-line,
.

1.
2.
3.

online-, ,

.
.

CP1L .
, .
[Program] [Online Edit] [Begin]
( Online- ).
,
.

SYSMAC CP1L -

91

5-2 / on-line

5.

[Program] [Online Edit] [Send Changes]


( Online- ).
CP1L.

5-2-6

1.
2.

92

CP1L .
.
.


A-3-2 .

SYSMAC CP1L -


,
, CP1L.

CP1L, ,
, , .

A-1 / .............................................................. 94
A-2 ............................................................................... 99
A-2-1 ..................................................... 99
A-2-2
/ ................................................. 100

A-3 CP1L.................................................. 103


A-3-1 ......................... 103
A-3-2 ................................ 105

A-4 CP1L ................................. 112


A-4-1
.....................................................112
A-4-2 ..................................115
A-4-3
.......................................119
A-4-4 .................... 125
A-4-5
............................................ 130
A-4-6
...................................................... 135
A-4-7
(1) ................................................................. 141
A-4-8
(2) ................................................................. 148
A-4-9 CP1L................... 158


A-1 /
CP1L () (CH) ()
.
16 .
: [ ] +
[ ( 00 15)].
.
, ,
.
CX-Programmer ( CX-P)
, 0.
, 0000CH 0.
: [ .
]. 00 15.

()

()
CX-P

CX-P

00 ... 199

0 ... 199

00000 ... 19915

0,00 ... 199,15

1:1

3000 ... 3063 CH

3000 ... 3063

300000 ... 306300

3000,00 ... 3063,00

3100 ... 3189 CH

3100 ... 3189

310000... 318915

3100,00 ... 3189,15

3800 ... 6143 CH

3800 ... 6143

380000 ... 614300

3800,00 ... 6143,00

W000 ... W511 CH

W000 ... W511

W00000 ... W51115

W0.00 ... W511.15

H000 ... H511 CH

H000 H511

H00000 ... H51115

H0.00 ... H511.15

CIO

A000 ... A959 CH

A000 ... A959

A00000 ... A95915

A0.00 ... A959.15

D00000 ... D32767*

D0 ... D32767*

T000 ... T511

T0 ... T511

T000 ... T511

T0000 ... T0511

C000 ... C511

C000 ... C511

C000 ... C511

C0000 ... C0511

DM

* 14/20 /: D0 ... D9999, D32000 ... D32767.


CIO
.
W000 ... W511CH.

94

SYSMAC CP1L -

A-1 /

z
16- , (/)
.
,
.
,
.
MSB
( )

LSB
( )

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

23

22

21

20

23

22

21

20

23

22

21

20

23

22

21

20

(1 = ,
0 = )

(Hex)

0F7C (Hex).

z
, CP1L, .

#0000 ... 9999 (BCD)

/, - (BCD)
..

#0000 ... FFFF (Hex)

, ,
(BIN) ..

&0 ... 65535


( .
CX-Programmer / ).

z
:
( ).

,
.

W00000

MOV

(021)
H010
D00010

, W00000
,
H010CH DM D00010.


(.., ),
.
@.

W00001

@MOV (021)
H020
D00020

W00001
,
H020CH DM D00020.


( @). UP(521)/DOWN(522)
DIFU(013)( )/
DIFD(014)( ).
SYSMAC CP1L -

95

A-1 /

z

. .
.

CX-P

ER

P_ER


,
- ,
.

(,
).

AER

P_AER

CY

P_CY



.


.

P_EQ

,
.
,

0.

<>

P_NE

,
.

>

P_GT

,
1> 2.

>=

P_GE

,
1 >= 2.

<

P_LT

,
1< 2.

<=

P_LE

,
1=< 2.

P_N

,

1.

OF

P_OF

,
.

UF

P_UF

,

( ).

P_ON

.
,

.

P_OFF

96

SYSMAC CP1L -


,
.

A-1 /

z
, (/)
.


0,02

CX-P

0,02 c

P_0,02 c

0,02

0,01 0,01


0,1

0,1 c

P_0,1 c

0,1

0,05 0,05


0,2

0,2 c

P_0,2 c

0,2

0,1

1c

P_1 c

1.0

0,5

P_1

0,5
1

30


1,0

0,1

30

CX-Programmer ,
, [P]
.

SYSMAC CP1L -

97

A-1 /

z /

0,00 ... 99,15 (100 )

100,00 ... 199,15 (100 )

CP1L ( ) ( 0CH)
( 100CH) .
/
,
.
(/)

(/)

14
/

0 CH

100 CH

20
/

0 CH

100 CH

30
/

0 CH, 1 CH

100 CH, 101 CH

40
/

0 CH, 1 CH

100 CH, 101 CH

, 40 /,
0CH 1CH 100CH 101CH
() / .
(/)
, 2CH ,
, 102CH .

(/),
.

.

.

98

SYSMAC CP1L -

A-2

A-2
CP1L .
.

A-2-1
, C -,
, , -
(BCD). ,
, ,
,
.
,
CP ,
.

CX-Programmer.
CX-Programmer
4-4 .


z
,
,
. : MOV(021).

SYSMAC CP1L -

99

A-2

A-2-2 /
/
.

()

LOAD

LD

,
.

LOAD NOT

LD NOT

,
.

AND

AND

, .

AND NOT

AND NOT

,
.

OR

OR

, .

OR NOT

OR NOT

,
.

OUT

OUT

, 1, ,
0.

OUT NOT

OUT NOT

, 1, ,
0.

SET

SET

,
.
.

RESET

RSET

,
.
.

KEEP RELAY

KEEP(011)

CX-Programmer
() ()
, .


z LD (LOAD)/LD NOT (LOAD NOT)
.
000000

000001

100

SYSMAC CP1L -

A-2

z AND/AND NOT
, .

000000

000002

000001

000003

, AND/AND NOT, .

z OR/OR NOT
, .
000000

000004

000001

000005

, OR/OR NOT, .


z OUT/OUT NOT
OUT ,
. OUT NOT ,
.
000100

000101

,
OUT OUT NOT.
.

SYSMAC CP1L -

101

A-2

z SET/RSET (RESET)
SET
. RSET
.
000000
SET
000102
000001
RSET
000102

000000

000001

000102

( 000102) SET
RSET.

,
SET,
.

z KEEP(011) (KEEP RELAY)


KEEP
( ).
.
000000 SET
KEEP(011)
000001 RSET

000103

000103

000200

000000

000001

000103

( 000103)
.
, .

102

,
KEEP,
.

SYSMAC CP1L -

A-3 CP1L

A-3 CP1L
,
CP1L.

A-3-1
CP1L.

CX-Programmer

(RAM)

3
7

3
3

DM

DM

(.., )

(..,
)

(1)
(, CX-Programmer)
-
.
-
.
(2) DM
CX-Programmer
DM -.

DM -
.
(3) -
CX-Programmer .

-.
SYSMAC CP1L -

103

A-3 CP1L

(4)
() .

CX-Programmer

,
.
(5) /
( ) ()
() .
/ .
. , ,
, ,
.
:
( ) (
).

(6)

/,

,
, CXProgrammer. .
.
[ ]
,

,
.

CX-Programmer Operation Manual (W446).
(7) -
CP1L -.
,
( , )
, -
.
CX-Programmer
, .
, .

( )
- .
CX-Programmer -
DM /.

DM
.
- ,
,
. CX-Programmer
-
.
(8)
CX-Programmer ,
, /
.

.

104

SYSMAC CP1L -

A-3 CP1L

A-3-2
CP1L.


( ),
/, .
.


()
.
/.
(UM).
/ .

.
DIP-.
/.
.

: .
:
( , )
: /
( FALS)

:
/* / CP
* / .

, :
USB


-

Online-

SYSMAC CP1L -

105

A-3 CP1L

/
/ (
/)
/ .
.
/

: 2
: 2

/
CP

/ ,
. , /
.

/ CP1L /
(/) CP
:



IORF

z
/
.
/.

END

END

END

106

SYSMAC CP1L -

./.

A-3 CP1L

z


/,
/
.

!LD

0.00

0 CH

100.00

100 CH

./.
( /)
0
15 11

15
!OUT

15
!MOV 1 101

11

1 CH

101 CH

1.

2.

3.

15

/.
(/) CP
IORF.
- :
(16 ), .
:
(16 ).
S- (-):
.
D- (-):
.

z IORF (I/O REFRESH))


IORF ( /)
/
. IORF /
(/) CP.
IORF
D1

D1:
D2:
/ D1 D2.

D2

IORF .
.
. ,
.
4
CP Series CP1H/CP1L CPU Unit Programming
Manual (W451).

SYSMAC CP1L -

107

A-3 CP1L


( )
, ,

,
CX-Programmer (online) ..

, / / .
CP FINS.

.
, (
) , , .



USB

108


,
FINS Host Link
CX-Programmer,

USB
(.., , ,
/ online).
,

( ).


SEND, RECV CMND.

0 ... 7.
,

0 ... 7 .

( )
-.

( )
.

USB,
. 4 %
.

,
( ) .
[Set time to all events] (
) .

SYSMAC CP1L -

A-3 CP1L


,
.

z
,
:
= + +
( ) + /
+

/.
, .

0,4

( ).
.

4
CP Series CP1H/CP1L CPU Unit Programming
Manual (W451).


,

() .
.

,
0.

=
( :
+ + /
+ )

/

CP

.

(
),
(
).

/
2-7 CP Series CP1L CPU
Unit Users Manual (W462).

SYSMAC CP1L -

109

A-3 CP1L


USB



.
,
4 % ,

. ,
.
, ,
0,1 .
, 0 .
,
4 %
,
.
,
.

0,1 , ,
.
, 0 .



1.

2.

3.

110


.
,
4 % ,

. ,
.
0,1 , ,
.
0 .

.
(
, ; ,
,
)
/
CP ( 'protocol
macro'
).
,
USB
,

.
,
READY () .

, , 10 (
).

SYSMAC CP1L -

A-3 CP1L

z
4-2-2 .

0,4


LD: 0,55 x 6
OR: 0,68 x 6
AND NOT: 0,65 x 7
( ):
5,5 x 1
:
1,1 x 3
: 6,4 x 1
: 6,7 x 1
END: 6,2 x 1

0,04

---

--- ( )

--- ( )

0,44

:
CP1L 14 /.
.
( CX-Programmer ..).

SYSMAC CP1L -

111

A-4 CP1L

A-4 CP1L
, DIP-
.
CP Series CP1L
CPU Unit User's Manual (W462). CP1L
CP Series CP1H/CP1L CPU Unit Programming Manual (W451). CX-Programmer
CX-Programmer Operation Manual (W446).

A-4-1

z

(0 ... 10 )
(: 256).
(A643CH).
() , , ,
.

.


.
, .
, .

CP1L


.

0.00

100.00


2,0 (.) ... 27 (.)


, CP1L.

2,0 (.) ... 27 (.)

112

SYSMAC CP1L -

A-4 CP1L


z

0.00

1,4
(0,5 )

24 =

23456

CP1L


1 (0,25 )


100.00


z
0.00

T0010

100.00

100.00

P_On
BCD
A643
D0
+B
#20

D0
D1
100.00

0.00
TIM

0010

D1

(A): 2 ,
A643 - D0,
20(BCD), 2 D1.
(B): TIM ,
0,1 .

SYSMAC CP1L -

113

A-4 CP1L


z A643
A643CH (BCD)
281
100 (Hex)

256

0
0

10 11

()

11 =.
.

z CP1L


CP1L.
(A642CH)
0 255 (0 ... FF Hex).

114

SYSMAC CP1L -

A-4 CP1L

0.00

T0010

100.00

100.00

P_On
BCD

A642
D0
+B

#20
D0

D1
0.00

100.00

TIM

0010
D1

(A): CP1L
,
A643
A642.

A-4-2

z
, ,
30 ,
.
14 / 4-
. 20/30/40 /
6- .

SYSMAC CP1L -

115

A-4 CP1L

,
.
100 .
30 (.)

0.04
BCD
C0000

100

100

99

98

97
1

C0000


0.01

100.00

,
. ,
,
. ,
( ),
.
()
, .

.


z
0.04

0.01

CP1L

100.00

116

SYSMAC CP1L -

A-4 CP1L


(0.04)
[Quick] ().

1.
2.

CX-Programmer.
[Settings] ().

3.

Built-in Input ( ).

SYSMAC CP1L -

117

A-4 CP1L

4.

IN0 [Interrupt Input]


( ) [Quick] ().
() 0,04,
[IN0], () 0,04
0.

5.
6.

,
.


z
0.04
CNT

0.01

0000
#0100

C0000

100.00

118

SYSMAC CP1L -

A-4 CP1L

A-4-3


z

CP1L
: , ,
/, .
.

.
( ) ,
: ->
-> .
140 ... 145. .
,
( ).


(, )
.

, .

( )

1
2


( ) .

( 0)
0.04

1
0.00
2
0.01
3
0.02

0.05

100.00

100.01
1
100.02
2
100.03
3
100.04

SYSMAC CP1L -

119

A-4 CP1L


z
CP1L 14 /
0,04 ... 0,07.
0 0,04.
0 140.
3 0.02
2 0.01
1 0.00

( 0) 0.04
0.05

CP1L

100.00

3 100.04

100.01

2 100.03
1 100.02

z
0,04 [Interrupt] ().

1.
2.
3.

4.
5.
120

.
Built-in Input ( ).
IN0 [Interrupt Input]
( ) [Interrupt] ().
() 0,04,
[IN0], () 0,04
0.

.
,
.

SYSMAC CP1L -

A-4 CP1L


z

, MSKS
( ).
P_On
MSKS(690) 0

110
#0

MSKS(690) 0

100
#0

100.02
SET
100.01

1
100.03

2
100.04

3
0.05
RSET

100.00
RSET
100.01
RSET
100.02
RSET
100.03
RSET
100.04

SYSMAC CP1L -

121

A-4 CP1L

0 ( 0,04)

140.
. 0
140.
0.00

0.01

0.02
SET

100.00

0.00
SET

140

100.02

0.01
SET
2

100.03

0.02
SET

122

SYSMAC CP1L -

100.04

A-4 CP1L

1.


[NewPLC1[CP1L]Offline].
[Insert Program] ( ).
[NewProgram2 (Unassigned)]
( 2 ( )).

2.

[NewProgram2 (Unassigned)].
[Properties] ().
Program Properties ( ).

SYSMAC CP1L -

123

A-4 CP1L

3.

General ().
Task type ( ) [Interrupt Task 140]
( 140).

4.
5.

6.

( ) .
,
[Section1] [NewProgram1(00)] .

124

[NewProgram2 (Int 140)] [Section1] ( 1).

SYSMAC CP1L -

A-4 CP1L

A-4-4

z
CP1L .
, .


.
:
: 17:30 20:30
, : 10:00 21:15

CP1L

CP1L


100.00

SYSMAC CP1L -

125

A-4 CP1L


z
100.00
<=(315)

>=DT(346)

<DT(343)

A354

#38

#38

#5

A351

A351

D0

D10

>=DT(346)

<DT(343)

>=(325)

A354

#38

#38

#6

A351

A351

D20

D30

(A): (.., A354 []


),
17:30 ( A351 [::]
D0 [17:30:00])
20:30 ( A351 [::]
D10 [20:30:00]).
(B): (.., A354 []
),
10:00 ( A351 [::]
D20 [10:00:00])
21:15 ( A351 [::]
D30 [21:15:00]).
>=DT <DT .


z CP1L

.

126

SYSMAC CP1L -

A351.00 ... A351.07

: 00 ... 59 (BCD)

A351.08 ... A351.15

: 00 ... 59 (BCD)

A352.00 ... A352.07

: 00 ... 23 (BCD)

A352.08 ... A352.15

: 01 ... 31 (BCD)

A353.00 ... A353.07

: 01 ... 12 (BCD)

A353.08 ... A353.15

: 00 ... 99 (BCD)

A354.00 ... A354.07

: 00 ... 06 (BCD)
00: , 01: , 02: ,
03: , 04: , 05: , 06:

A-4 CP1L

z
.
: 0,00 = = 13:00:00, 100.00
.
,
(A351 ... A352)
(D100 ... D102).

0.00

100.00
=DT

5 4

D0

S1

A351

S2

D100

1 1

D0

2 1 0
0

D0=0038Hex

0 0


15

9 7

15

0
S2:

D100

9 7

A351

A352

S2+1: D101

13

A353

S2+2: D102

00

00

SYSMAC CP1L -

127

A-4 CP1L

z DM
DM - (BCD)
.

1.
2.

D0

3000

30 00

D1

0017

17

D2

0000

D10

3000

30 00

D11

0020

20

D12

0000

D20

0000

00 00

D21

0010

10

D22

0000

D30

1500

15 00

D31

0021

21

D32

0000

CX-Programmer.
[Memory] ().

128

SYSMAC CP1L -

A-4 CP1L

3.

[D].
.

A
DM.

5.

[Save in Project] ( ).
.

6.

CP1L.
1) , CP1L
( online) .
2) [Online] [Transfer to PLC]
( ).
.
3) . [Transfer to
PLC] ( ).
.

4.

SYSMAC CP1L -

129

A-4 CP1L

A-4-5


z


. CP1L
,
CP1L.

,
, .

, .



, , .


:
0.02
: ()
100.00
:
100.01

100.02

100.03
,
3550

3500
3000

()
(A270)


A531.00 (
)


3500 ... 3550,
(100,02). 3550,
(100,03).

130

SYSMAC CP1L -

A-4 CP1L

(: 24 =)

, E6B2-CWZ6C,
NPN-

24 =

+B=
0 (.)

B
B

100 ... 240 ~


0.02

CP1L-L14DR-A

100.00

100.01

100.03

..

100.02

.
.

SYSMAC CP1L -

131

A-4 CP1L

z
0.

1.
2.

3.

[Use high speed counter 0]


( 0).

4.

[Counting mode] ( ) [Linear mode]


( ).

5.

Reset () [Software
reset(comparing)] ( ()).

6.

Input Setting ( )
[Differential phase input] ( ).

7.
8.

Built-in Input ( ).

132

,
.

SYSMAC CP1L -

A-4 CP1L

1
.

.

z
// .

0.02

W0.00
DIFU

A531.00

100.00

100.00

100.01

A270

(A270)
W0.00
3500 (0DAC Hex),
.

#0BB8
>=(325)
A270

#0DAC

.
W0.00

0.02

W0.01

W0.01
>=(325)

<(310)

A270

A270

#0DAC

#0DDE

>=(325)
A270
#0DDE


,
100.02

(A270) 3500
(0DAC Hex) 3550 (0DDE Hex).


100.03
,
(A270)
, 3550 (0DDE Hex).

SYSMAC CP1L -

133

>=(325)

(A270)
3000 (0BB8 Hex),
.

A-4 CP1L

2
CTBL ( )
.
,

.

z
CTBL
.
0.02
RSET

W0.02

A531.00
0

CTBL(882)
#0

#0

D600

SET
100.00

.
W0.02

100.02
>=(325)

<(310)

A270

A270

,
(A270)

3500 (0DAC Hex) 3550 (0DDE Hex).

#0DDE

#0DAC

100.03
>=(325)

,
(A270)
, 3550 (0DDE Hex).

A270
#0DDE


1 (3000), 04.


04

P_On
SET
100.01

134

SYSMAC CP1L -

A-4 CP1L


2 (3500), 05.
P_On
RSET
100.00

05

RSET
100.01

SET
W0.02

z DM
CTBL ( )
D600 D606 DM.

D600

0002

: 2

D601

0BB8

1: 3000 BCD (BB8 Hex)

D602

0000

D603

0004

1:
4
2: 3500 BCD (DAC Hex)

D604

0DAC

D605

0000

D606

0005

2:
5

A-4-6

z
, ,

2 .


,
.
,
A B.

A B

SYSMAC CP1L -

135

A-4 CP1L

z

/ (
, ,
, ..)
.

0.02

0.06

10


2000 /4

CCW ( )



2000 /4

1000
CW ( )

CW


(CW).

Methd 0



--
.

Invers 1

( )

.

Mode 1


.
.

z
:
: 50
/: 2000 /4
: 0
2
CCW

-1000

B
CW
100000

(1)
A (-1000) (
).
(2) A B (100000)
( ).
(3) A B .
,
(3) (1).

136

SYSMAC CP1L -

A-4 CP1L


0.02
0.00

0.01

A
B
0.03
0.04
0.05

24 =

R7D
+

CN1

CP1L-L14DT

1,6
(*)
(*)

CW
100.00 CCW
100.01

1
2
3
4

CW
CW
CCW
CCW

8
9

ECRST
ECRST

24V IN

(*)



100.04

RUN

10
11

Z
ZCOM

FG


A
B

100.02
100.03
100.05

* 1,6 ... 2,2


7 ... 15 .
* 20/30/40
( 0) 0CH10.

SYSMAC CP1L -

137

A-4 CP1L

z
0.

1.
2.
3.

.
Pulse Output 0 ( 0).
.

(Base Settings)

(Origin Operation)

Undefined Origin
(
)

Hold
(.)

Use define origin operation


( )

Limit Input Signal Operation


(
)

Always
()

Search Direction ( )

Limit Input Signal


( )
Search/Return Initial Speed
( /
)
Speed Curve
( )

NO
()

Detection Method
( )

CW

Methd 0
( 0)

0 pps
(./)

Search Operation ( )

Invers 1

Trapezoidal
()

Operating Mode ( )

Mode 1
( 1)

Origin Input Signal (


)

NO ()

Proximity Input Signal (


)

NO ()

Search High Speed (


)

10000 pps
(./)

Search Proximity Speed (


)

1000 pps
(./)

Search Compensation Value


(
)

4.
5.

138

Search Acceleration Ratio


( )

2000

Search Deceleration Ratio


( )

2000

Positioning Monitor Time (


)

0 ms ()

.
,
.

SYSMAC CP1L -

A-4 CP1L


z
.
0.01

A540.08

0.00

A540.09

.
0.03
@ORG(889)

ORG

#0

#0


CW/CCW

0.04

@PLS2(887)
A

PLS2

#0

#1

( )

D0

D6

0.05
@PLS2(887)
B

PLS2

#0

#1

( )

D10

D6

.
0.03
0.04
0.05
W0.00



B
A
W0.00
A280.06

100.05


0.04

A
W0.01

0.03

0.05

W0.01

A280.03

100.02
A


0.05

B
W0.02

0.03

0.04

W0.02

A280.03

100.03
B

SYSMAC CP1L -

139

A-4 CP1L

z DM

140

SYSMAC CP1L -

D0000

07D0

: 2000 (/4 )

D0001

07D0

: 2000 (/4 )

D0002

C350

: 50000 ()

D0003

0000

D0004

FC18

D0005

FFFF

D0006

0000

D0007

0000

D0010

07D0

: 1000 ()
: 0 ()
: 2000 (/4 )

D0011

07D0

: 2000 (/4 )

D0012

C350

: 50000 ()

D0013

0000

D0014

86A0

D0015

0001

: 100000 ()

A-4 CP1L

A-4-7 (1)

z Modbus-RTU
Modbus-RTU
Modbus- (, )
.
CP1W-CIF01
RS-232C

COMM

CP1W-CIF11

RS-422A/485

COMM

CP1L

15

Modbus-RTU

DM.

( 00 A640).

08 07

CP1L ,

(RS232C RS422A/485). 14/20 /
.
30/40 / .
Modbus-RTU
,
.
00

D32300

D32301

D32302

D32303


Modbus-RTU
( 00 A640)
( 1)

Modbus-RTU
CP1L

OMRON
CIMR-V7/CIMR-F7

DM,
Modbus-RTU, ,
Modbus.
DM, ModbusRTU ( ) .

DM.

DM,
Modbus-RTU, , 14/20
30/40- /.
CP Series CP1L CPU Unit User's Manual (W462).
SYSMAC CP1L -

141

A-4 CP1L



.
,
.

CP1L


60,00
55,00

50,00

(W0.00)

(W0.01)

(W0.15)

(W0.02)


. /
.


/ CIMR-V7
(OMRON) RS485 CP1L.

z
CIMR-V7

CP1L
CP1W-CIF11
COMM
RDA- RDB+ SDA- SDB+ FG

1
2
3
4
5

RDARDB+
SDASDB+
FG

RS485
50

CP1W-CIF11
( RS422/485)

142

SYSMAC CP1L -

SS+
RR+

(
. )

A-4 CP1L

z CP1W-CIF11
DIP- .
( )

DIP-

2/4-

2-

2/4-

2-

RS RD

S RD

z CIMR-V7
DIP- .
SW2-1: ( )
RS422/485
.

n003

RS-422/485

n004


RS-422/485

n019

5,0

()

n020

5,0

()

n151

RS-422/485


( ,

1
( ))

n152

RS-422/485

()

RS-422/485. :
0,01 ( ).

n153

RS-422/485


( ), 1

n154

RS-422/485

(
): 9600 / ( )

n155

RS-422/485

n156

RS-422/485

10


,
. 10 ( ).

n157

RS-422/485
RTS

RTS
( )

SYSMAC CP1L -

143

A-4 CP1L

z
1.

1.
2.
3.

.
Serial Port 1 ( 1).
.

4.

144

Baud (C)

9600 /

Format ()

8, 1, E

Mode ()

Serial Gateway
(
)

Response Timeout
(
)

0 ( )

SYSMAC CP1L -

A-4 CP1L


z
P_First_Cycle
MOV(021)

#0000
D32306
MOV(021)

.
(0: )
00,00

#0000
D32307
W0.00
MOV(021)

#0117
D32306
MOV(021)

#7000

(1: )

60,00 (1770 Hex)

D32307

W0.01
MOV(021)

#0115
D32306
MOV(021)

#7C00

(1: )

55,00 (157C Hex)

D32307
W0.02
MOV(021)

#0113
D32306
MOV(021)

(1: )

50,00 (1388 Hex)

#8800
D32307
W0.15
MOV(021)

#0000
D32306
MOV(021)

(0: )
00,00

#0000
D32307
Modbus .
Modbus.
P_On
TIM

0
#0010
TIM0

A640.00

Modbus-RTU
A640.01
Modbus-RTU

SYSMAC CP1L -

145

A-4 CP1L

z Modbus-RTU
( 1)
A640.00

A640.01

A640.02

(A): A640.00, ,
D32300.
DM .

1
D32300

D32301

07 ... 00

(00 ... F7 Hex)

15 ... 08

( 00 Hex)

07 ... 00
15 ... 08

( 00 Hex)

D32302

15 ... 00


(0000 ... 005E hex)

D32303 ... D32349

15 ... 00

(. 94 )

(B):
A640.01,
, D32350.

1
D32350

D32351

07 ... 00

(01 ... F7 Hex)

15 ... 08

( 00 Hex)

07 ... 00

15 ... 08
D32352

07 ... 00

15 ... 08

( 00 Hex)

D32353

15 ... 00


(0000 ... 03EA Hex)

D32354 ... D32399

15 ... 00

(. 92 )

(C):
A640.02, D32352.

146

SYSMAC CP1L -

A-4 CP1L

z DM
DM,
Modbus-RTU

DM D32300 ... D32305.
D32306 D32307 .
MOV /
.
1:

D32300

00

D3230 1
00

D3230 2

10

00

09

: D32303 D32349 ()

D3230 3
00

01

D3230 4
00

D3230 5

02

04

00

D3230 6
01

0202

D3230 7
5858

00

01

00

(, 60,0 (0258 Hex)
0002 [ ])


: 1 (Hex)


(, 0001 Hex 0001
[ (. )])


: 10 (Hex)
: 9 ,
. D32303
. D32307

: 4
(4 , . D32305 . D32307)
: 2
(2 : 0001 0002)

: 0001
( 0001)

( 0001 Hex) CIMR-V7


(1: )

/ (1: )

(1: EF0)

(1: )

1 (1: )

2 (1: )

3 (1: )

4 (1: )

5 (1: )

6 (1: )

10

7 (1: )

11 ... 15

( )

( 0).
Modbus-RTU
CRC-16 DM ,
.
SYSMAC CP1L -

147

A-4 CP1L

A-4-8 (2)

z

, OMRON (FB).


OMRON .

, ,
.
.

FB

Modbus-RTU
OMRON
CIMR-V7, CIMR-F7

CP1L


OMRON CIMR-V7/CIMR-F7
FB

_INV002_Refresh (*)

_INV032_MoveVelocity_Hz (*)


( )

,
.

_INV033_MoveVelocity_RPM


(
/)

,

/.

_INV060_Stop (*)

_INV080_Reset

_INV200_ReadStatus

_INV201_ReadParameter

_INV203_ReadAxisError

_INV401_WriteParameter

_INV600_SetComm

* .

148

(PDF-)
[FBL] [omronlib] [Inverter]
[INVRT] [Serial].
.

SYSMAC CP1L -

A-4 CP1L

z
(),
().
,
/.

.
, /
.
[ n]

[ 1]
A1

B1

X1

TIM
1
#0100

An

Xn

Xn

TIM
n
#0100

()

Y1

Bn

Tn

Yn

T1

An
Bn

Yn

Z1

Zn
Zn

1.
/ .
.
.
[ 1]

P On

Device Control

EN
Device Control
EN

ENO

ENO

A1

X1

B1

Y1

Z1

[ 2]
P On

Device Control

EN

ENO

A2

X2

B2

Y2

Z2

SYSMAC CP1L -

149

A-4 CP1L


A-4-7
(1).
60,00
55,00

50,00

(W0.00)

(W0.01)

(W0.02)

(W0.15)


. /
.

A-4-7
(1).
/ CIMR-V7
(OMRON) RS485 CP1L.
CIMR-V7

CP1L

COMM
RD-A RDB+ SD-A SDB+ FG

RS485

CP1W-CIF11
( RS422/485)

,
5K .
CP1L 14/20 / (
5K )
, CP1L
30/40 / ( 10K ).
CP1W-CIF11,
CIMR-V7 CP1L A-4-7
(1).

150

SYSMAC CP1L -

A-4 CP1L


z

(_INV002_Refresh)


( )
(_INV032_MoveVelocity_Hz)
_INV032_MoveVelocityHz

_INV002_Refresh
(BOOL)
EN



MV/RV

(INT)
UnitSelect
(INT)
PortNo
(DWORD)
Scanlist
(DWORD)
ModelTypeMV
(UINT)
IntervalCount
(WORD)
AreaID
(INT)
AreaNo
(WORD)
MSGAreaID

(BOOL)
ENO
(BOOL)
BUSY
(INT)
NodeAddr
(BOOL)
Error
(WORD)
ErrorID


(_INV060_Stop)

(BOOL)
EN
(INT)
NodeNo
(BOOL)
Execute
(REAL)
Velocity
(INT)
Direction
(WORD)
AreaID
(INT)
AreaNo

(BOOL)
ENO
(BOOL)
InVelocity
(BOOL)
Command Aborted
(BOOL)
Error
(WORD)
ErrorID

_INV060_Stop

(BOOL)
EN
(INT)
NodeNo
(BOOL)
Execute
(WORD)
AreaID
(INT)
AreaNo

(BOOL)
ENO
(BOOL)
Done
(BOOL)
Error
(WORD)
ErrorID

(INT)
MSGAreaNo

,
.

SYSMAC CP1L -

.

1
.
1


,
.

.
.

.

151

A-4 CP1L

z
W0.00
MOV(021)

#1770
D100

MOV(021)


60,00 (1770 Hex)
: (0)

#0
D2
W0.01
MOV(021)

#157C
D100

MOV(021)


55,00 (157C Hex)
: (0)

#0
D2
W0.02
MOV(021)

#1388
D100

MOV(021)

#0
D2

152

SYSMAC CP1L -


50,00 (1388 Hex)
: (0)

A-4 CP1L

P_On
FLT(452)
D100
D101

FLT(452)
#64
D103

/F(457)
D101
D103
D0
W1.00

100 (64 Hex)




D100
(REAL)
0,01


100
0,01 .

FB (MOV V)(D0).
,
6000/100=60,00

W0.00

(D100)


W0.01
B
W0.02
C
W1.01

W0.15
Z

FB .
P_First_Cycle
BSET(071)

#0

D9000

D9100

2CH.

SYSMAC CP1L -

153

A-4 CP1L

MoveV
_INV032_MoveVelocityHz

P_On

&1

W1.00,
D0,
D2,
*1

P_DM

DM
&9000

(BOOL)
EN
(INT)
NodeNo
(BOOL)
Execute
(REAL)
Velocity
(INT)
Direction
(WORD)
AreaID
(INT)
AreaNo

(BOOL)
ENO
(BOOL)
Velocity
(BOOL)
Command Aborted
(BOOL)
Error
(WORD)
ErrorID

W10.00

W10.01

W10.02
(MoveFB)

_INV060_Stop

P_On


&1

W1.01
*1

P_DM

DM
&9000

(BOOL)
ENO
(BOOL)
Done
(BOOL)

(WORD)
ErrorID

(BOOL)
EN
(INT)
NodeNo
(BOOL)
Execute
(WORD)
AreaID
(INT)
AreaNo

W10.03

W10.04
(StopFB)

*1

P_First_Cycle

#CCCC
: CP1L
&1

#00000002


#00000000
CIMR-V7
&10

*1

P_DM

DM
&9000
P_DM

DM
&9100

,
FB.

_INV002_Refresh
(BOOL)
EN

(BOOL)
ENO

(INT)
UnitSelect

(BOOL)
BUSY

(INT)
PortNo

(INT)
NodeAddr

(DWORD)
Scanlist

(BOOL)
Error

(DWORD)
ModelTypeM
V
(UINT)
IntervalCount

(WORD)
ErrorID

(WORD)
AreaID
(INT)
AreaNo
(WORD)
MSGAreaID
(INT)
MSGAreaNo

W7.00

W8

()

W9


( : 1)
31
3 2 1 0
0 0 0 1 0
0
2

(CIMR-V7:0, CIMR-F7:1)
31
3 2 1 0
0
0 0 0 0 0
0

154

SYSMAC CP1L -

A-4 CP1L


z
: _INV002_Refresh12.

1.

[File] [Function Block] [Load Function


Block from File] (
).

CX-Programmer.

2.

[FBL] [omronlib] [Inverter] [INVRT] [Serial].



.

SYSMAC CP1L -

155

A-4 CP1L

3.

[_INV002_Refresh12.cxf]. [Open] ().


[Function Blocks] ( )
_INV002_Refresh.

4.

,
_INV002_Refresh.

5.

[Insert] [Function Block Invocation]


( ).

New Function Block Invocation


( ).

156

SYSMAC CP1L -

A-4 CP1L

6.

.
[].
.

7.
8.

.
/ .
1) .
[].
New Parameter ( ).
2) . [].

SYSMAC CP1L -

157

A-4 CP1L

A-4-9 CP1L

z PLC Link
RS-422A/485 10-

CP1L/CP1H/CJ1M .


.

,
.


z
A: CP1L (. -)

B: CP1L (. - 0)

C: CP1L (. - 1)


CP1W-TS101


CP1W-TS101


CP1W-TS101

COMM

COMM

RDA- RDB+ SDA- SDB+ FG

COMM

RDA- RDB+ SDA- SDB+ FG

RDA- RDB+ SDA- SDB+ FG

1CH,2CH

1CH,2CH

2 Pt100

2 Pt100

CP1W-CIF11
CP1W-CIF11
( RS422/485) ( RS422/485)
CP1W-CIF11
1
2
3
4
5

158

RDARDB+
SDASDB+
FG

SYSMAC CP1L -

CP1W-CIF11

PLC Link

1CH,2CH

RDARDB+
SDASDB+
FG

1
2
3
4
5

2 Pt100
CP1W-CIF11
( RS422/485)
CP1W-CIF11
RDARDB+
SDASDB+
FG

1
2
3
4
5

A-4 CP1L

z DIP- CP1W-CIF11
( RS422/485)
( )

DIP-

.
.

.
. 0

.
. 1

,
,
.

2/4-

2-

2/4-

2-

RS RD

S RD

z
1.

1.
2.
3.

.
Serial Port 1 ( 1).
.

SYSMAC CP1L -

159

A-4 CP1L

A ()

4.

C ( 1)

Communication Settings
( )

Custom ( )

Baud ()

115200 /
7.2.E ( )

Format ()

B ( 0)

Mode ()

PLC Link (Master)


()

PLC Link (Slave) ()

Link Words (
)

10 ( )

PLC Link Mode


( PLC Link)

Complete Link
Method (ALL)

NT/PLC Link Max

0 ( )

PLC Link Unit No. (


,
PLC Link)


(Serial PLC link)

,
, .
() .
A
CP1L (. .)

C
CP1L (. . 1)

A_ 0
A_ 1

B_ 0
B_ 1

C_ 0
C_ 1

3100CH
3101CH

A_ 0
A_ 1

A_ 0
A_ 1

A_ 0
A_ 1

3109CH
3110CH
3111CH

B_ 0
B_ 1

B_ 0
B_ 1

B_ 0
B_ 1

C_ 0
C_ 1

C_ 0
C_ 1

C_ 0
C_ 1

0CH
1CH
2CH

100CH


(Serial PLC link) 3119CH
3120CH
3121CH

3129CH
3189CH

160

B
CP1L (. . 0)

SYSMAC CP1L -

A-4 CP1L

z
A
CP1L (. .)
P_On
XFER(70)
#2
1
3100


1CH, 2CH
3100CH, 3101CH

B
CP1L (. . 0)

C
CP1L (. . 1)

P_On

P_On
XFER(70)
#2
1
3110

XFER(70)
#2
1
3120


1CH, 2CH
3110CH, 3111CH


1CH, 2CH
3120CH, 3121CH

SYSMAC CP1L -

161

162

SYSMAC CP1L -

. . . . . . . . . . . . . . . . . . . . . . 94
. . . . . . . . . 14, 114


/ . . . . . . . . . . . . . . . . . . . 100
. . . . . . . . . . . . . . . . . . . . . . . . . 14

. . . . . . . . . . 148
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
. . . . . . . . . . . . . . . . . . . . . . 42
. . . . . . . . . 115

. . . . . . . . . . . . 57
. . . . . . . . . . . . . . . . . . . . 54
. . . . . . . . . . . . . . . 33

. . . . . . . . . . . . . . . . . . . 14, 112
. . . . . . . . . . . 116, 119
. . . . . . . . . . . . . . 91, 92, 109
. . . . . . . . . . 64
- . . . . . . . . . 104

. . . . . . . . . . . . . . . . . . . . 46
. . . . . . . . . . . . . . . . . . . . . 46

. . . . . . . . . . . . . . . . . . . 46
. . . . . . . . . . . . . 15
USB . . . . . . . . . . . . . . . . . . . . . 38

. . . . . . . 47
. . . . . . . . . . . . . . . 70
/ . . . . . . 80
CX-Programmer . . . . . . . . . . . . . 45

. . . . . . 88
. . . . . . . . . . . . . . 135
. . . . . . . . . . . . . . 16
. . . . . . . . . . . . . 47

. . . . . . . . . . . . . . . . . . . . . . . . . 49
. . . . . . . . . . . . . . . . . 61
. . . . . . . . . . . . . . . . . 59
END . . . . . . . . . . . . . . . . . . . . 67

. . . . . . . . . . . . . . . . . . . . . . . . . 99
/ . . . . . 71
. . . . . . . . . . . . . 72
. . . . . . . . . . . . . . . . . . . 68
. . . . . . . . . . . . . . . . . . . . . . . . . 54
. . 66

. . . . . . . . . 42, 44

14 / . . . 12
20 / . . . 12
30 / . . . 13
40 / . . . 13
. . . . . . . . . . . . . . . 15
. . . . . . . . . . . . . . . . . 13, 103
. . . . . . . . . . . . . . . . . . . . . . 83
CP1L . . . . . . . . . . . . . . . . . . . . 29

. . . . . 30
. . . . . . . . . . . . . . . 28
. . . . . . . . . . . . . . . . . . 77
. . . . . . . . . . . . . . 104, 117
. . . . . . 56

/ . . . . . . . . . . . . . 98
/
. . . . . . . . . . . . . . . . . . . . . . . . 107
/ . . . . . . 106

. . . . . . . . . . . . 90

. . . . . . . . . . . . . . . . . . . . . . . 108
. . . . . . . . . 85
. . . . . . . . . . . . . . . . . . . . . . . . . 83
. . . . . . . . . . . . . . . . . . . . . . . . . 16

(DM) . . . . . . . . . . . . . . 14
. . . . . . . . . . . . . . 46
on-line . . . . . . . . . . . 76
. . . . . . . 32
. . . . . . 32
. . . . . . . . . 38
. . . . . 30
. . 30
CX-Programmer
CP1L . . . . . . . . . . . . . . . . . . . . . . . . . . 37
SYSMAC CP1L -

163

ca
. . . . . . . . . . . . . . . . . . . . . . . . . . . 88
USB . . . . . . . . . . . . . . . . . . . . . . . . 14
. . . . . 141

/ . . . . 86
. . . . . . . . . . . . . . . . . . 83
. . . . . . . . . . . . . . 68
. . . . . . . . . . . . . . . . 36
. . . . . . . 101
. . . . . . . . . . . . . . . . . . . . . . . . . . 51

. . . . . . . . . . . . . . . 34
. . . . . . 46, 47
. . . . . . . . . . 46
/ . . . . . 22
on-line . . . . 91
. . . . . . . . . . . . 73
. . . . . . . . . . . . . . . . . . . . 78

PLC Link . . . . . . . . . . . . . 158


. . . . . . . . . . . . . . . . . . . . . . . . . 46
. . . . . . . . . . . . . . 130
. . . . . . . . . . . . . . . . . . . . . . . . . . . 94
. . . . . . . . . . . . 74
. . . . . . . . . . . . 69
. . . . . . . . . . . . . 99
. . . . . . . . . . . . . . . . . . . . . . . . . 48
. . . . . . . . . . . . . . 49

. . . . . . . . . . . . . . . . . . . . . . . . . 88
. . . . . . . . . . . . . . . . . 46

/ . . . . . . . . . . . . . . . . . 46
. . . . . . . . . . . . . . . . . . . . 55

164

SYSMAC CP1L -

. . . . . . . . . . . . . . . . 97
. . . . . . . . . . . . . . . . . . . 51

. . . . . . 73

. . . . . . . . . . . . . . . 64
. . . . . . . . . . . . . . . . . . . . . 96
. . . . . . . . . . . . 149
. . . . . . . . . . . . . 119

Modbus-RTU . . . . . . . . . . 141

. . . . . . . . . . 106

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
. . . . . . . . . . 125

CX-Programmer . . . . . . . . . . . . . . . . . . . 36
DIN- . . . . . . . . . . . . . . . . . . . . . . . 28
DIP- . . . . . . . . . . . . . . . 14