plc programming - eep - electrical engineering portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ...

253
CONTENTS PAGE K +PVTQFWEVKQP 9JCVKUC%QPVTQN5[UVGO 6JG4QNGQHVJG2TQITCOOCDNG%QPVTQNNGTU +PRWVCPF1WVRWV&GXKEGU 9JCVKUC2TQITCOOCDNG%QPVTQNNGT %QPXGPVKQPCN%QPVTQN2CPGNCPFKVUFKHHKEWNVKGU &KUCFXCPVCIGUQH%QPXGPVKQPCN%QPVTQN2CPGN 2.%2CPGNCPFVJGKTCFXCPVCIGU %QPXGTUKQPQH%QPXGPVKQPCN%QPVTQN%KTEWKVVQ2.% #5[UVGOCVKE#RRTQCEJQHEQPVTQNU[UVGO&GUKIP 2TQITCOOCDNG%QPVTQNNGT#RRNKECVKQP %QPUKFGT#5KORNG2TQLGEV 5[UVGO%QPHKIWTCVKQP %2/#%27%QORQPGPVU %2/#%27%QORQPGPVU 'ZRCPUKQP+17PKVU%QORQPGPVU %27CPF'ZRCPUKQP+17PKV%QPHKIWTCVKQP %2/#%QOOWPKECVKQPU *QUV.KPM%QOOWPKECVKQP /WNVKFTQR%QOOWPKECVKQPUVQ%QORWVGT VQ2.%%QOOWPKECVKQP.KPMU 06.KPM%QOOWPKECVKQP 2TQITCOOKPI'ZCORNGQH2.%.KPM$GVYGGP%2/#7PKVU %2/#%QOOWPKECVKQPU *QUV.KPM%QOOWPKECVKQP /WNVKFTQR%QOOWPKECVKQPUVQ%QORWVGT 0Q2TQVQEQN%QOOWPKECVKQP45%%QOOWPKECVKQP 06.KPM%QOOWPKECVKQP VQ2.%%QOOWPKECVKQP.KPMU %QORQ$WU5+1.KPM%QPPGEVKQPU 2GTKRJGTCN&GXKEGU 2TQITCOOKPI%QPUQNG 5[UOCE9KPFQY$CUGF5WRRQTVUQHVYCTG 6TCKPKPI-KV%QPHKIWTCVKQP 2.%'NGEVTKECN9KTKPI+1%QPPGEVKQP (GCVWTGUCPF(WPEVKQPU %2/#)GPGTCN #PCNQI5GVVKPI(WPEVKQP +PRWV+PVGTTWRV 3WKEM4GURQPUG+PRWVU(WPEVKQP +PVGTXCN6KOGT(WPEVKQP *KIJ5RGGF%QWPVGT %2/#)GPGTCN +PVGTTWRV(WPEVKQPU +PVGTTWRV+PRWVU +PVGTXCN6KOGT+PVGTTWRVU *KIJ5RGGF%QWPVGT +PVGTTWRV+PRWVU%QWPVGT/QFG www.PAControl.com

Upload: others

Post on 25-Feb-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

CONTENTS PAGE

!

"

#! $

$

% &

!% '

( !(!! )

(! *

( +! ,

-(. /

-/(. /

012. /*

.012. /&

-(!

3%4! /

-! //

%!%4 /)

5%4! /"

016%%478/-(. /"

-/(!

3%4! /*

-! /,

5!!9 //!: /$

5%4! /&

%!%4 /&

72 2%4! //'

! //

//

!87 8 ///

; //)

%0!!2! //"

-(<

( =! /

>!4=! )

=! )

3 "

-/(< *

=! ,

$

$

3 &

9-: '

www.PAControl.com

Page 2: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

CONTENTS PAGE

3

9!!4: '

01-

3 /

013 /

=!

!? )

( "

>!4=! "

-!=! *

-(

< !! )

!! )/

!-( )

27(! ))

-/(

< !! )"

!! )*

!-( )$

27(! )&

01.-(-/( )&

012(!-/( )'

)/

8 ))

)"

!"#

-(-/( "

. @ 5AB

! "

//! "

@ 5 "/

@ 58 "

.8 @ 5 "

8 @ 5 ")

+! ",

% "$

$ %&'(&

8! *

(!C 6 3! */

(!C/ 6! *&

(!C 6!!4-! *

(!C) 6 *

(!C" 6=2 *,

(!C* 6 *)

(!C, 6 *)"

(!C$ 6- *),

www.PAControl.com

Page 3: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

CONTENTS PAGE

(!C& 6( D!! *"

(!C'6(! *"$

(!C6(!%!< **'

(!C/6 7- **/

(!C60-!( ***

! !

(!C)6-%; *,$

(!C"64 *$

) &*

!! ,

=!4! ,

! ,)

%! ,"

52==! ,*

2!97!: ,,

! ,$

!%!E-! ,&

=! ,

%! ,)

5%!4(! ,*

%!4(! ,&

+ &&

%8 $

$/

2< $/

<! $

8 $)

=! % $"

, -./&0

%! &

=! &/

50 &/

=0 &/

.0 &

0 &)

=8! &*

-! &,

1 %2%!'3

(1 ( (

(1 7 7

(1

(1

(1 0

0

www.PAControl.com

Page 4: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

"!#$% &

" $

'( )

(* *

!#

!#

+ !

,

!

-

+ !

. # # &((

&/

www.PAControl.com

Page 5: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

0

!"#$%

&$' ($)

*0 12 .

+ !#+

!#

+

!# +

!#!3 +

' .

.

2 ! %

2

#

!#

2

+

& .

www.PAControl.com

Page 6: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

4

# ' !'(%

!# 5

" !# $ ' !#

+ !#

'

&"*$

!#

!

6

!#

'

+ !#

6,76** + !#

!#

'

# + !

2 ) ! '

www.PAControl.com

Page 7: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

8

"&"*$

!#

((+ !#

'

+

- ((

#

!# !#

www.PAControl.com

Page 8: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

9

'

!# ! 3"!3$

6 76+

!# 6,

+ 6,

'$

+! 3"!3$ !#

' 76% '

+

+

+ !##

+ : ;

<

!% ,+!+%

26.

! %,-$$+!-+%

2 . +

2 . -

2 .

./$0#'(

!

3"!3$

.

6

.

!

www.PAControl.com

Page 9: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

=

!$% 1 ' ,+!1'+%

)!26. >26. -

'

!,%1$$1 ' ,+!11'+%

))!26. ' 2 . )!26.

www.PAControl.com

Page 10: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

?

-+1

+ '

+

$#"$$

+ "$ @

!3 + 76

76

.

!3 2+

+.@

A9@

@

@@@

@@@

@@@ 0

!2612 .

!2612 . ,

763

www.PAControl.com

Page 11: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

B

*',##$"

C=@%C?@

+

) 5

+ 6

+

'

' *8

,*#*'

• + • . • + • ! • .

• ;

2&$*'

www.PAControl.com

Page 12: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

C

' ', -,*

5

+

' !# *9

-,*#'('

• -> (

• + B@D

• + !#

• +!#

• .

76

6

• !#

• + !#

+

• 76

'

• + !#

• !# +

3&$'('

www.PAControl.com

Page 13: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

@

*#*$"'(

14& 4

5 !& (

. . + .

!& !&+ .

4

+ !# !#

+ "!&$ "!&0$

4 +

*=

3

&.

5

/

+3

:

5

. "9$

.

!

1

!&

.

!&0

!

+-

www.PAControl.com

Page 14: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

"#$%&'

(%&&&&'

)

(*%&&&'

)

&&&

&&&

!

+

+ %,-'

+ !

!

(-

+

!

./

0

1

"

(

(*

)

)

+

.

/)" !+

$!*20−

3

#/.

/./.

#$

4

5!&&

5!&

www.PAControl.com

Page 15: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

*

"%&'()) +

678

4 !

. &. ( &7

) 7 )* *(* 9. 8

&&&78 &&"!8( &&*

!8%&4'+

%) '

( %) '

(*

!:

!:

!.:

!:

!:

!:*

!:*

!.:

(*

!:.

)* % ) '

) % ) '

(!8*797

:

)

!8

!

"!8(

#

*

9

2

,

;

*+ ' , $-

www.PAControl.com

Page 16: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

9

&

( (*

&&&9

)

*&&&

!#.

&&&&

*&&&

*&&&&&&

)% ) '

*&&

!8+

4:/#

&&&

*&&

&&

!8 )

!#.

<&&&(*

)*% ) '

&&&*

&&&9

&&*

"!8(

!#.

"#$ %&'

(!8

!

:

(

) )*

(*

+.:

#

.

!8

+

: !8

)

"!8(

#/.

/./.

3$!*20

. , $-

www.PAControl.com

Page 17: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

2

! !

=

/,01 /&&-',011 1 /

''

. 8 88 -

8 8

-$- ,2&

87 8 = 8 8 .

6 8 .8

= 7 8

8

. 8 8 8

7

6 8

8 6

878 = 8

( /11 &1&1

)87 6

. 77 .

7 7 7

4 8 #/. /./. 7

#/././.

8.

. #/. /./.

3 -

#6 7 8 8 =

8

4 $0

#7 8 8 $ 8

7 8 8 8

4 78 8 8 8

8 4 7

8 - 8 8 7

5 -,01

( 7 8

8 4 7

! >8 8

8 8. 8 88

www.PAControl.com

Page 18: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

,

/, ,"$///6/$$/!""",6

/

=

! )8

$

! )8

!

.

)

?@

4

8

!

!

!-

. :

?@

)

":+

)8 8

"

" )

# >

#

>

www.PAControl.com

Page 19: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

;

7'''/&&' 1

.8 8 ! A

• + A

• !8)8

• -+

• -: !

• !

• )

• 1 .

• !

• B+

• !

• ! +

• "

• +.

• .

• +

• ) +

+

• )+

• +

• 4! !

• )

• + !

• " " 4

+

• $-$+

• !

• . )8

• .! ) 8

• +

• !+

• ) +

• $8 +

• (4

• .8+

• ! !+

• ).

• ) 8! )8

• ! )8

• B ! )8

• 4 -!

www.PAControl.com

Page 20: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

1 /, &'8

)8

.- 8 4 7

--847 8(

4 876 8

C

- 8

8C

1 7 -

* 1 -847

-

9 1 -7 -

2 1 8(7 -

conveyor A (1003)conveyor B

PH1 (4)

LS3 LS1 (1) LS2 (2)

SOL2 (1001)(1000) SOL1

PB1 (0)

(counterclockwiserotation)(clockwise

rotation)

(Start button)(Detect workpiece)

(clockwiserotation)

(counterclockwiserotation)

(check grasp work)(3)

www.PAControl.com

Page 21: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

-,2& 709 -'9-

)

(

4

4

)

4 !-

#

!84#

"8)

1-

!84

4B1-

4: ! -

4

4

)*

:1-

)9

#

#

>

>

>

>

>

>

)9

#

#

#

)

) *

,)

4 7

).(/..#

7 4:+

/

( 7

www.PAControl.com

Page 22: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

D

( /11 :

", ",

&&&&& &&& )

&&&& ) && ) *

&&&&* )* &&* ) 9

&&&&9 )9 &&9 !84

&&&&2 A

&&&&,

&&&&;

3 -

$E+# -

+:

. --84 8(

# -)

# -*4-

# -9!84

# -2B

# -,4 -

&&&&& *&&&&

)

*&&&9

*&&&&

)

&&&&*&&&& &&&&* &&&

4 - 4- )*

&&&9*&&&& &&&& &&&*

B !8 4 )

&&&*&&&9 &&&&2 *&&&

!8F4 BA

&&&*

B

&&&* &&&&9 *&&&*

4 -

)9

&&&

B

*&&&9 *&&&2

&&&

4 -

www.PAControl.com

Page 23: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

*&

# -;:

# -:!>! "

# -)

# -D:

:

# -&"

&&& *&&&

)*

&&&&*

4 -

*&&& *&&&*

)9

&&&&9

&&&&, *&&&9

)

*&&&2

*&&&9

*&&&9 *&&&2

:

&&&&;

"%&'

www.PAControl.com

Page 24: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

*

• ',01-;1

!- !( -

1-;

8

@

4 8 @

4 8 @

! 4 8-@

• 1

)84

' !- !8

' !- 8

' . 8- 1":

' /$)8 !+4 :B:4+

* 1!-

' 1 !+4:B:4+7- 8

' !- ! $

9 . :

' /$ ! :/#+#.:-

:/#

' !- = 7

2 $

! 8

, )

' /)8 -

' 8

www.PAControl.com

Page 25: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

www.PAControl.com

Page 26: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

• !" #$%!&

#$%!& !" !$'

!"#

$$

!%"# & !% '&!(

$$ & !)!*'( +

*+ " #

$ * + "

#

!!*'"#

$$ (

''" # ,+-

$$ ,+-

• " #$%!&

& (

+ . + /

% / & $$

'( 0 0( / & ( +

.-+

• "" #$%!&

& 0

www.PAControl.com

Page 27: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

1

()()

()()

*()()

%

%

www.PAControl.com

Page 28: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

2

• !" #$%!&

#$%!& !" !$'

!"#

$$

!%"# & !% '&!(

$$ & !)!*'( +

!!*'"# *+ " #

$ * + "

#

''" # ,+-

!31

$$ , +-

!31

• " #$%!&

& (

+ . + /

% /& $$

'( 0 0( / & +

. (( 0

• "" #$%!&

& 0 &

+ . ( 0

• !+'&+

& "4 44#!54!5

• &$,&!+&

((,-" (( #. (.

-

www.PAControl.com

Page 29: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

5

• &

((,-" (( #. (.

((&(. -

• "$%!$$'

& !31 ((

3

$$/ & !31 ((

.+ ((

/ & !31 ((

.+ ((

• -!&.

&06(( 0%% %

• /!$%&

% %" .* .

( 736%#% 1 % %

www.PAControl.com

Page 30: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

8

• /!$ 0$

& '*'*

4&(

• '*4,!

• '*4,&

• '*4,&

9&(

'*9,

www.PAControl.com

Page 31: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

:

9&(

• '*9!

• '*9&

• '*9&

&(

&(

1

& (

2

& (

5 %

% %%

%

8

" %.* %. ( 73

6%#% % %%

www.PAControl.com

Page 32: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

9

* % (

'*'*,4

* &(

- -

* %%

%

1

%" %.* %. ( 73

6%#% 1 % %

( 73&(

'*3!&

www.PAControl.com

Page 33: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

;

( 73&(

,3

& , % ( + ( 73 ( 6

( - + ((

1 ,

& + ( 73 ((

2 %

( 76% %%

5

%" %.* %. ( 73

6%#% % %%

!#/!$ 0$1$'"&!$&+ '*%* 0

&+ '*%* 0

"2&1 0

&$!+

" "" 3&

"+.

#+"2&

* '*4,!*4 8 2

, '*4,!,

* '*4,!*4 9

, '*4,!,

* '*14,!*14 9

, '*14,!,

* '*24,!*24 2 8

, '*24,!,

www.PAControl.com

Page 34: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

4

&+ '*%

"2&1 0

&$!+

" "" 3&

"+.

#+"2&

* '*14,!*

, '*14,!,

, '*14,&,

14 9

, '*14,&,

* '*24,!*

, '*24,!,

, '*24,&,

24 2 8

, '*24,&,

* '*84,!*

, '*84,!,

, '*84,&,

84

18 2

, '*84,&,

&+ 0'*'*

"2&1 0

&$!+

" "" 3&

"+.

#+"2&

'*,!

'*,&

4 9 ,

'*,&

9 9 4 , '*9,

'*9!

'*9&

9 4 9 ,

'*9&

* * , '*'*,4

8 9 9 , '*3!&

www.PAControl.com

Page 35: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

4 $5"$%!$67

< 6 (( 1'! + (

(& ( !31 !32

*

8"$%!$"&

&+ ( . ( + '*.

'! (( &( " + -# 7' *&

( (

"$%!$#!&

#!&

' 33

3 <3&< 60( (

"3 & ((&(-/&6#

%

1 !31

!31 + ( - (.

,-. ((&(

www.PAControl.com

Page 36: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

"+$#&"$%!$"&

& + ( 1 % "'* 0# 7'

*& ( (

#!&!#!2+

&+ ( +*< 6 ((

! !' #+"2&

!31* '$4

!32*

- - ((

'$

% 7'*& (

("/11(#

='$4

6* -!31!32 7544*442

&((( +!32 544(

www.PAControl.com

Page 37: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

1

+ (

#!&

&( !3

36*!32* +(

(

%

1 !32

< 6 6

www.PAControl.com

Page 38: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

2

• "$%!$ $5

*6! '*.'.='.3!'

44<3 44<><<) * !31 * (6

! !' #+"2&

!31* - + ( '$4

www.PAControl.com

Page 39: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

5

• $5"$%!$

& 6 + '* (( &( &

!31 + .(

&6

! !' #+"2&

!31* - + ( '$4

• &'&!$'/!+18 $5-3$

'! ((&(

!31

!31

*

'*%

!31

!31

*

'* %!31

*

'*%

'?"#

444

'?"#

!49

,"4#

*0

511

3 +

'

3-

!-3-

'?"#

444

'?"#

!44

,"4#

*0

511

3 +

3-

'

!-

+ ( '

83,'8854@1444

(+ &83,'8854@1444

(+ &

9

www.PAControl.com

Page 40: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

8

"$%!$"%$

& '* (( + & + 0 +

(( / < 6. . & 6. 6

((

• 4 $5"$%!$

< 6 (( - 0 (( .

((+ ( (

( < 6 ((

'*!31

www.PAControl.com

Page 41: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

:

"+$#&"$%!$"&

% 1( .'!. + ( (

&+ ( !31 + .

( 0

&&*44(05?,

!31

&*44

!31

!31

&*44

!31

!31

&*44

!31

% 1

!31

7544*442 &*44

!32*295"& /544((#

!31

7544*442 &*44

!32*295"& /544((#

'$

'$

'$

% 1

7'*&

(

(

7'*&

(

(

&%$

&$,&!+&%$

www.PAControl.com

Page 42: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

9

• &%+"$%!$6"$%!$7

(( . -

&>,"29#!>,"2:# ((

!31

(( .0 ((

,'$ .+ *

!31-

7

3

!31

'*%%

'*%%

!31-

7

3

'*$4!31*

"&3 #

!31-

7

3

='$4!31*

"&3 #

'*%%

www.PAControl.com

Page 43: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

;

• $5"$%!$

& & 6 '* 0 '! ((

&(& + (( ( &&6

!31

• $5%"$%!$

* 6 + 58"!44444 !455#

+ '*.='.'*.3!'"?#. 44<><)<. -

'*. 3-& + (( (

& 6!31

&60 '* 08 .!44 !5 + (

6 '* ='. 44<3 44< <)<

8 .!44 !5 ='.44<3 44< <)<*

6'* + (!8 !81

www.PAControl.com

Page 44: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

4

• -"0 0 $5%$

* ( 736 6"( # +9 9

( 73' %3!'& (

( 736%

$ ( + '*%. ( 73 6

%A6 %&++

.'%

!2+

%+ ?&$ ( 736"3

+?&$ ((0(#

! #+"2& %$1$%!$

$ >7& 4 2 +.4:5((

?&$ ?&$.4:54

www.PAControl.com

Page 45: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

• &$,&!+:$%%$

'*'* (( ((

(3B3

• &'&!$'+

*='!44 44<!: (( '

'*. + (

! #+"2&

=' ((

"& #

='!4

44< ((

"44<+ #

44<!:

='!4

44<!:

'*%

'*%

44<"(#

44<2"2(#

www.PAControl.com

Page 46: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

• ;$#32!#"&13!&

*7'*& ( (3B3 '*

+ (

70!31

%%!31 > CDE443 > CDE443?

< 63+(

&> C 443-,35 > C 443?-,

3;

'*

'*

'*$4

!31

='$4

7'*&

( (

3B3

7'*&

( (

3B3

!31

www.PAControl.com

Page 47: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

1

! !' #+"2&

'$4!31* - + (

='$4

% 7' *&

( ("/11(#

='$4

!31 $ ( !31 (

"'*#

> C 443

> C 443?

3B3

" ? #

$ 7' *& (

("156.<,#

3B3 ?11

"$%!$$'6&7

3 % % (( 3 ((

3 $$ 3*

$' &$,&!+& & $'

' ,'8854 5 ,'8825 5 4/< 6

7

!

,'88544 4: ,'882844 4: 44/.44

4/.244

4/2.944

41/;.844

42/;.44

45/19.244

$(

+ (

,'88549 5 ,'882849 5 44"3 #

& /< 6. ;844 . : . . . -

0

www.PAControl.com

Page 48: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

! "#

$ !! %&'!!

( ) " "" *+,

)%&'!*#-$.&*&**$*!""

)%!-"! /

0! !0! &

12"20023""2""/

!! !( " 4 ! ! (/ '

"/ % */ )"5 6 7! */ "

!!/!!"

0,3189:0

!"

www.PAControl.com

Page 49: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3

• #$"%%$&'($"

)*+,-

)%-

$

00

$

0

$

0

$

0,

$

0

03

01

08

;

<=

0>

?>

-

%

70

!

+! >

0 3

?>'

@--A

("/

+

%

+*

+B)/

+ @--A

0>

$

00

0

0

0,

0

03

01

08

09

0:

0

70

<

%" +

www.PAControl.com

Page 50: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-1

• !"

• #$! %%−!%%$"

• &'(%' ) '"

• −*+− % , −*+−

−*+− %−*+− % "%%

% -.% -

%-- /$% "

• 0 ). % - %"-%

/-% - ' "0 ). %

"

• (-.%( /"12234"

--- 5.%6 % %

5 % % %6"

• (-.% % % %

%"-.% % /-(

7 // %' ' "

• ( -( % ) -

- '" %$'- ( "

• 8 )

-"

• +9−% %/−− %+9−% %/−− "

• % ) % + % 0

89"+9−% %)−− "

• 8-−%− / (%' -

- -:)/ "+9−% %/ "

• -- % 9' -- 9/

.9"

www.PAControl.com

Page 51: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-2

( - ( % ) - %

- '";/ ( % / %-

+'% '%5<*6"

/- 9+ %!

%#$!"

!"! #$ %&

-( 9+1

-( 9+1

Analog setting 0

Analog setting 1

* Philip screwdriver is required.

www.PAControl.com

Page 52: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-3

− !%/ −−%−!" (%= %%

%"

" ; %- %(/

' % -$ %%'"

" % $ - % - % 5 )876 %

-% ( ";

- %% - $ %" (

/3111"

/-%--$ "

'! ( '

−*+− ++

−*+−

−*+−

−*+−

++3

"

5)87 %6

>

**

#:*

-

+#

>

9<:

-

www.PAControl.com

Page 53: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-4

• )*+

−*+−?@ ( A ). %

−*+−?@*+−?@*+−?@(A ). "

5 %/A ). % "6

0 ). ( // - '

% %"

/- /0 ). / "

'! ( '' "!,

−*+−?@ ++

−*+−?@−*+−?@−*+−?@

++3

"

• -'

A %( /"12234

/"" --- 5−%6 % %

5 % % %6"

!

− B- / "

9 % % B "

Overseeingprocess

Program execution

I/O refreshing

Overseeingprocess

Program execution

I/O refreshing

"

'

Input signal (00003)

IR 00003

www.PAControl.com

Page 54: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-5

• .,+ !

( -−% / % % %

%"!-/ - -( 7

(/ ' "

! !*

− ... <−

+ C− ',! -− −%// $ /01 1")87 "1)87

3111 −D3DD3D-(

!3-( %

-%"

',!

C

!4/ %( %

-%"

% 56 %- "

0 0

0 0

0 0

0 0

0 1

0 0

0 0

2 +

9%

(

etc.

9+'

# %

www.PAControl.com

Page 55: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-6

2

• 3 ."

• #$! %3.!%%$"

$ / $ % / $ /- /

"

• ( .+9.%"

• ( - % % % E

* %%!* % /A '/

)87"-% %*// %

$ /A '/1)87"

• (/ / "

• ( - ( % ) - -

'/ $' % ( "

• ( "

• . *.*%. *.*(9' 7% "

www.PAControl.com

Page 56: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-7

(%/-)%/ -"

- $ % !! . 5

36 % /&& :" %

3"

-'

( -$ % /""

2 %' "

+ # !&

- !! . 5 3 % - %

5)876 % - % % - $ %"

% 3"

+,* ,.,+ !

!! . 536 %-%

5)871)876% -$ %( -

( / -( -" 2 % '

"

%/'/ /=

/ - ' -%" * - - $

'- %%% %

/" - % / -.' -

%"

/ / ' -% ' ' %

/-%=

→ → → →5 %- .

%6

( →8-.% "

. (

8-.%

) = > =

www.PAControl.com

Page 57: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-8

<' -!! . /&&:-

%% -$ %" %/

536"

:

:

9

:

-%

1

3

"1 "5/

:

-

$ 6

• -'

( 5 ="6 /"12234

" %= .% - $ %

% % . % $ %-

("

www.PAControl.com

Page 58: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-9

.% 9 % . %

$ %

%"

$ %

- ("

9 "132345!="6

"5/% $

/ -6

• ., !

!!//(/-.% =/-.%

$ /A ' / )87 % / /

5 %6"

(% .-.% % . "

8-9% 8-9%

5 %6

:

)

:

)

-(

+-

www.PAControl.com

Page 59: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-10

• # !&

5 %6 % !! .

3" (/ %' (% -

% - %%-%-"9 / 7 /

- / "

'(

#&

/01

!# -& ,!

1

3

)87 -

5&&&&6

* - 5

&&&&6

.

• (1., ! # +,* &

3 '

% - ( % ' -%

"; -( $ %"

! 3 - ( % -%

-% -% "

-( -

%

-( % -

%

-(

% - - -(

% -% -

www.PAControl.com

Page 60: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-11

'

- -- %/%'%

%- " %-

%%$ % 5 >6/-(-"

+ (1 # !&

$ % %/% >A

9>5 -%65% -%6"

4' / !5

/ . ! % % /

)87" % - /% -

--- 5"" $ - 6

( "

:

9 +

/A '

1

3

3111

5&&&&6

)87

>

!

!

!

!

+- .

%.

/%

+- .

%.

/%

+- .

%.

/%

+- .

%.

/%

www.PAControl.com

Page 61: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-12

• ., !

.-.% % !! .

"-.% /.% (% -

% -F - %%-%-"

#&

/01

'!#-& ,!

1)87 *// %

5.444344443D6

)87 E% %

5.444344443D6

!% %

5.444344443D6

%

53DDD16

-(

+-

%/ %%' "

4' /., !

!! . /-.%

$ / )87"!- F / - (

- $ % %(-/ '

"

!

%// ,

'!

6!

7!"

''!

88888 . ;

8888 <. * ; 9"

'(

88882 C. 5+ 659"6

',! *//

5$6

/01 1)87 )87 )87 )87

- .444344443D 3DDD1

3

!#2&

;%9+45-%-6%9+25/%-6

-

'

!3-( % -%

-% -% "

'

!4-5 %6%

-%"

',! C.-E/= + :

9+1:"

9/= 9+1 :"

www.PAControl.com

Page 62: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-13

:= " %/ %%' "

"; % / > - % % % %' +

%"

"<'/

%-. %% (% '

7% % 5 E%

% % 6" > % '

/% ( "

% 7 ' !! 5

.?@?@?@?@.?@.?@?@?@?@.?@6"

+ , ", 9!

!!

+ ,

",

7!

3(!1

6!

7!"

4 !95316%

9#*536

;5.6 !95316%5.6

8888

596

596

;

'(

888

596

596

*

;

/01 ")87 "222"287 ")87 ")87

, 87 "87 87 87

!"/01 , .. .. 8759"6 8759"6

! , .. .. 87 87

'!

%%

%%

'(/

3DDD1 .. ±3DDD1 ±3DDD1

%1 1G G 1G 1G

-'

/

H : H H

7%

/

: : H H

!

/

: : H H

',!

%1

/

: H : :

www.PAControl.com

Page 63: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-14

" ;-. % %%'"

" %% % /87('"

• 1,9!

<' --.% / /

/A ' % /% / /A '"

!! 5.?@?@*.*.?@?@*.96A %

% ' 7% "

!

%// ,

'!

6!

7!"

''!

88888 . ; '(

8888 <. * ; 9"

',! *//

576

9-. 9-. 9-.

/01 871875 '±87687)875 '±876

87)875 '±187659"68888 '(

#& 888

',! 9-.

/01 87)875 '876

01 GG5 /% /G6

1,9!1

" %%' "

" ;)87 '±87" # % -9H:5.6"

www.PAControl.com

Page 64: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-15

- % / % - / %

--" %( / 5<*6% 9+

"

!"! #$ %&

-( 9+1

-( 9+1

-/% (' ' "

• )*+

/ %/A ) 5% %.

)87-.% 6";A ). - -%

(%'- //"

9%

-

-

/

-

9%

-

/

56

www.PAControl.com

Page 65: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3-16

59"6 -%

1

3

/- ( %

/ "

(

9' 7% % '"

9"

( % '"

8-% % '"

5 %6 9"

% '"

0 ). 9"

9"

) % '"

" 0 ) 7 / /

3 -%/A ) %

"

" A ). % % -%

"

" % / A ) A ). 3"

%%A ). "

" %/ A ). "

/ - 5-- 6 % ' '

-- %" / - -% F

'-'% - /-%)--

%%"

'/ + +5226

%/9<952659!<+!:##:+H6"

#::&

9 :

& %

& %

www.PAControl.com

Page 66: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!" # !" $ !" !"

!"# "# $%&'"

("# ("#

)'*& !"# "#

$%'

+#%

',

- $%'

&&

" !"

)'''& .Ω" ,-/%*#"'

0&*"'

&&'* !12"/%*#0

&*"'3&4""#

5'"" −'%0*4 µ''"4','

'"-

/''& 61 6−"""061&&4

7 "' ,8-9:0;0&'2"'&*

, '%2"'"'-

*&3''& 6"' , 8-*"'&*9:0;0&'

"/" 4

4− 6

"/"0,- <7<,%*&0'-

"/",- (*&''

="'&%'1 .!

$%'*0" 4"'">4 "'"

,%&&'2%2'/%<2*

02**%" -

"# "# "# 6"# $?%*

!"# "# "# "#

54 =*'&2&'2*+#')?*'"'2*$?#&**%'

'02"*$?0*%*'!

www.PAControl.com

Page 67: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

%

!" # !" $ !" !"

"*0 0""*0

)&"*0 "/2*&&&'&0""02'*&''"*0'

$"" @000"

)'&* ''&%0''&

='2'&' A'&'&4

&'&'466'!'&'

+#&" A'&'&'4 6 µ'

&'&'4 !6µ',.'&-

$"&& %0'

$? ,

-

,

-

!,

-

,

-

.#""

)'

(*

+#'

)

77,

!-

,

-

)/' 7,(0'7-

/' 7,(0'7-

(3/',)B- /'4)B !,(0')B )B !-

&/',B- !/'4B ! ,(0'B ! )B -

="/',=B- /',=B=B6-

0/',B- ! /'4BB7,(0'BB7-

#/',B- /'4BB,(0'BB-

@3/',@B- /'4@B@B,(0'@B@B-

="'' "'&',=).5==).5= 6-

−"'"'4=).=). 6

−"'"'4=).=). 6

&"&'0'/&'

"" B0%4 %0',.. !-

B0−4 %0',..-

)&'' ',B''

"4 !"'"#

'

,B''"4 !"'"# -

."& BB."&'0&'"00

%'

."/&3 C'*""4?'"0"",B0-,5/

%0'-

&/&34.",B0(-*0/'#

""/'&, 0'"/"2 -

2−0'&2&' $?2,%&*0"-)/'0""2

$"&*&3' 5+5'&""',&'&*&300

-

*−'0& 431'−*' 31%−*',&"*0-

)&""04!,/'-

?%"04−! 66! 66,/'-

D&3−''' =*%**#'' ,. '%0*4 "'-

)"&' /'"' "'"'"'"'! "'"' "'

"'' &', A-

&A''0'/'&'0'%3/'

www.PAControl.com

Page 68: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

''(

)* + '

)B ) )B)B7

,%0'-

)B)B7

,/'-

)B)B7

,%0'-

)B)B7

,/'-

=*'/'&/&0*#

)"'

(3 )B )B !

,! %0'-

)B )B !

, /'-

(3/'&/2'0%**

"

B B ! B

, %0'-

B ! B

,!/'-

=*'/'''&2&2&''&*'

2'0&/'

=B =B=B6

,/'-

=*'/''0"'

5CC''"/&*'

B BB7

, %0'-

BB7

,! /'-

=*'/''00*

5CC''%*%'022

B BB

,%0'-

BB

, /'-

=*'/'''&2&2&''&*'

2'0&/'

@B @B@B

,%0'-

@B@B

, /'-

?'02403%**$

=" == 6,"&

"/'-!=*'""/''02/*

"'0&'

. B0% ..

777

. .

!

, %0'-

.0&/&&''0%0

' (0'E0

%**%'022

+ ..

, %0'-

?'0'*"2&&&0

&02'*&& =*'

%0'&/'0'00%

.%**2&'

/'0

B0− ..

77

,%0'-

/%2""

$ ..

,%0'-

?'0''"'*

&$

54 )B0@B/'*'02*&02&'&/'0'%3/'

=* &' 2 *B@B 0 0%. /&30/

&& *&&%/&3""2 0'

! (*&&''$="/''0'%00>%*&&''"C'*

'0'/0

..&/%2"*"/*&/&*02"

$*&

www.PAControl.com

Page 69: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

",+

=*2%/'*%'%*&*)B/'&0*)"'*$.'$?

0+#')?

-"

'."

% ' '' ' ''

/

'(

*'.

$.B '4

'4

!

$.B

$. B '4

'4

6

$. B

$.!B! '4

'4

6

! $.!B

$.B '4

'4

6

6

!'4

!!

'4

6

!!6

6

$.B

)5$?=A5

?=$?=A5

!

6

!

6

7

www.PAControl.com

Page 70: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

#

$ !" !" 0 !"

"# $%&'"

("#

"# )'*&

"#

+#%

',

-&& !"

,(**#%'0'&'

'*&&0*#%'%0/

*$%& -

)'''& .Ω" ,-/%*#"'

0&*"'

&&'* !12"/%*#0

&*"'3&4""#

5'"" −'%0*4 µ''"4','

'"-

/''& 61 6−"""061&&4

7 "' ,8-9:0;0&'2"'&*

, '%2"'"'-

*&3''& 6"' , 8-*"'&*9:0;0&'

"/" 4

4− 6

"0 <7<,%*&0'-

+" (*&''

="'&%'1 .!

$%'*0" 4"'"

4 "'"

,%&&'2%2'/%<2*

02**%" -

"# 7"# "# $?%*

6"# "# "#

+#')?%* ?'%* )'4!"#

?'%*'4 "#

?'%*'4 "#

)?'4 "#

"A')@3?'4 "#

www.PAControl.com

Page 71: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

%

"*0 ""*0

)&"*0 &&'&%*0&,)""02'*&/2"0%*

)BC,76- -

$"" @000"

)'&* ''&%0''&

='2'&' A'&'&'4

&'&'4'&''

+#&" A'&'&'4 7µ',@'&-

&'&'4 !6µ',.'&-

$"&& 7%0'

$? !' ' '.# )

' (*

+#'

)?

7'"# '"# '"#

)/' 7,(0''02/'&/'02%3/' -

/' 7,(0''02/'&/'02%3/' -

(3/',)B- /'4)B !,(0')B )B !-

&/',B- /'4B ,(0'B B -

="/',=B- /',=B=B6-

0/',B- ! /'4BB7,(0'BB7-

#/',B- /'44@BB !,(0'BB !-

@3/',@B- /'4@B@B,(0'@B@B-

="'' "'&',=).5==).5= -

"'"'4=.,-

"'"'4=).,-

"'"'4=).

''"'4=).@,-

&"&'45=

B'/&'45=B, -

?'""/'6%*&"'**'0

"'&,=.,-=).,-2"&''

"" B0(4 %0',.. 6-F

B04%0',..77-

$4%0',..-

F=*+@'&0. .

)&'' +#)'4

*0/*#',&"0-0*E&3'''

)"' ,&*00).0).0-

*0

,0%&-

**'0&4 31'*'31%*',@

&"*0-

4,'&"''&"'-

www.PAControl.com

Page 72: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

6

))'

,"0-

C','*/*#',&"0-0*

E&3''' -

''4,'*0/*#'0E&3

'''

$' =%'%*&&0&131&*0

0&&

%*%2"&&0&1310

0&&

=%'%*/0'

www.PAControl.com

Page 73: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

# ( ''

)* + '

)B ) )B)B7

,%0'-

)B)B7

,/'-

)B)B7

,%0'-

)B)B7

,/'-

=*'/'&/&0*

#)"'

(3 )B )B7

)B )B !

,%0'-

)B )B7

)B )B !

,7 /'-

(3/'&/2'0%**

"

B B B

, %0'-

B B

,/'-

=*'/'''&2&2&''&*

'2'0&/'

=B =B=B6

,/'-

=*'/''0"'

5CC''"/&*'

B BB7

, %0'-

BB7

,! /'-

=*'/''00*

5CC''%*%'0

22

B BB !

, !%0'-

BB !

,!/'-

=*'/'''&2&2&''&*

'2'0&/'

@B @B@B

,%0'-

@B@B

, /'-

?'02403%**

$

=" == ,"&

"/'-!=*'""/''02/*

"'0&'

B0% .

.777

.

. 6

, %0'-

.0&/&&''0%0

' (0'0

%**%'022

+ .

.

, %0'-

?'0'*"2&&&0

&02'*&& =*'

%0'&/'0'0

0%.%**

2&'/'0

.

B0− .

.77

,%0'-

/%2""

$ .

.

,%0'-

?'0''"'*

&$

)B0@B/'*'02*&02&&/'0'%3/'

=*&'2*B@B00%./&30/*

$??'/ )2*/'"02'*&2*'%/'0

'/

! (*="/' ''0'%00 * "&$'&&''0>%*

'0'/0'"C'&&''0

'..&/%2"*"/*&/&*0

2"$""&

=*"00..'02'*""

www.PAControl.com

Page 74: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

7

",+

"

$. ! ' ,)B)B-0

,)B)B-

' 6,)B)B6-0

!,)B)B!-

$. ' ,)B)B-0

,)B)B-

' 6,)B)B6-0

6,)B)B6-

$. !' ,)B)B-

,)B)B-0

,)B )B -

' 6,)B)B6-

6,)B)B 6-0

6,)B )B 6-

-

?!+#'?'&/&&0$?? )/'&0*+#'

?'/%**#/)%0'

=2+#'?/

"

' '' /

'(

*

$.+B

$.+=

' '

$.+=

' $.+

$.+B

$.+=

'

$.+=

$..

' ' $.B=

=*#'''0/&'/'0/$.

www.PAControl.com

Page 75: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

-"

-&

$. + +#' ) , '0'- '&&0 $?

%*!)'

*'. *''.

$??

,$. ! -

)B)B0

)B)B

)B)B60

)B)B!

+#')

,$. + -

)B )B )B )B 6

-#&

=*+#'?&&0$??%*!)'

*'. *''.

$??

,$. ! -

)B)B0

)B)B

)B)B60

)B)B!

+#')

,$. + -

)B )B )B )B 6

! )

,$..-

)B ! )B ! 0

)B)B

)B!)B!

+#')?

,$.+ -

)B)B )B)B

www.PAControl.com

Page 76: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

-" 1'2

-$&

=*+#'?&&0$??%*!)'

*'. *''.

$??

,$. ! -

)B)B0

)B)B

)B)B60

)B)B!

+#')

,$. + -

)B )B )B )B 6

! +#')

,$..-

)B!)B!6 5F

+#')?

,$.+B+=+=-

5F )B!)B!6

)2+#')?0'*'%0%/&0 =*'"'

2'

www.PAControl.com

Page 77: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

33

A2%'"*$@'2"1''%**'''2*

3/00''E0

=*$"/'*"0'

"0''02"'2"3

"02&'&&'#'"'

"0''0%*&**&'2""'

%**$@'&

"0''0#&*"**'/0

*$@ 5&*'&/"0*0

*"0

C?5 C= 5=

5= =B @B B

)C=

=). .

+9= 8 B

+@

)5

(B)=++B@B

.5=B

76

+ C

A !

5=

G

F

$@:

+=

B+

B++=

5 B

@ ?=

B?5

.5)=B

$B8B.

$B 6

+B .)

www.PAControl.com

Page 78: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

• 4%33

)02*$@"'2'"*"" =*"'

"0/'E&""0''*$""'

% 5−, "# 6−,#7 . '* /% 8 8

58# 6 # 69

C?5 C= 5=

5= =B @B B

)C=

=). .

+9= 8 B

+@

)5

(B)=++B@B

.5=B

76

+ C

A !

5=

G

F

$@:

+=

B+

B++=

5 B

@ ?=

H/0

""0

5"&

3'

www.PAControl.com

Page 79: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

/*'

=*$@*'''%0&*10&&'''" =*$@%'

"' 2 * ''%0 %* % ' 2' 0 2 "" &' '

'0 %* * $@ ' * "0 = * ''%0 '' * @B

.5=B@B3'

:,, ;

),<

=, , =, :,, ;

www.PAControl.com

Page 80: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3 3

+' ' " * "" 2 * $? ' 20 ' @@ @+B

=*""'2*0B0."&/0/

''*3/2''*.5=B3

=* @@ @+B & / 2"0 %* * .0 & '%&* '

$B8B."0

$''0*@B3'0'0*""&'

=*$@""%/&02*2%3'3'4

< , == ,

$''*B5=.3'/2''.5=B32%'2

*'0'

.5)=B $B8B.B?5

:,, ;

=,

=,= >

,

,.+.B:@B

+5B5=.

=* 0' '*0 % 3 3

www.PAControl.com

Page 81: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

.

5-1

!"# $ !"

!" % !&'!&'() #

$ !"#%

• #$

!% &!'

*!&'( !&+(!,−+-+,

+-+! . / +0 1#

,−+-+ !&'( !&+(*

2! 3 %!*

!&+( , +-+

(!% )

4&!5(* ,−+-+

! !

)6 ' ' )6

,2 + + 2

2 - - ,2

2, 7 7 ,

6 0 0

2, 8 8

, 9 9

: :

/

/ 6

* !&+(!&'(

Com

man

d

Res

pons

e

Dip Switch Set to Host

RS−232C Adapter

CPM1A CPU

www.PAControl.com

Page 82: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

.

5-2

$ **

*!&'( % %*

-' -''#/0#/: *7;* # ,<

*(,** # =>

#%?

# ! 6 ! &

*

*#%

www.PAControl.com

Page 83: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

.

5-3

SYSWIN Window

#+ &

! @ ) *! @

&%.* 1

! *&4

A?

4%3 4

2 *

2 *?

. )?1

" !

%

4

( 4

3A4

www.PAControl.com

Page 84: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

.

5-4

, &

B

Address $ )%

;;;;; "2 ;;;;;

;;;;' , ;';;;

;;;;+ (2* ;;;;'

;;;;- <* ;';;;

;;;;7 B2

;;;;0

;;;;8

;;;;9

.C)+D# 1 *

%

% * %

#;;;;;

*

Instruction Codes

DK1 DK2 Relay 1

Relay 1

Connection Diagram

000.00 000.01 010.00

010.00

Ladder Program

www.PAControl.com

Page 85: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

.

5-5

B !" #%

!" * ;;;;; # E

+E

%

2 *

2

*4

www.PAControl.com

Page 86: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

.

5-6

%

#%! ,-.& /01 * %*

% %%?

* #%

)< # # %

( # F

(

%

www.PAControl.com

Page 87: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

.

5-7

* #%*

2 &!3!%

( # @ ! @

# @ B

%?

www.PAControl.com

Page 88: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

.

5-8

$! '

4 !"# %!" !#

! @

!" ! ! ,+-+ #

# 2!&'(&'#/8;;

4#<;;#! (9B! +%*!"

& %

#% −

!"

!" %?

< !"!!. 1

) #

!" (

!

www.PAControl.com

Page 89: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!"#$

%

& !

"

%

# #

##$%

#" #

!

"&

'

'&(

!

)($#

'

)($#

"

" #

(

)

*

'&#

!

www.PAControl.com

Page 90: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

**+!,-.+'+"/

* *

""""" #

"""" #

""""

!/!

$

#

#%

#&

'()

&))

www.PAControl.com

Page 91: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

*

!""!/! "

"" !!

"""" $% """""

""" &% """"

"""! (+(& """"

"""* &) """"

""", -(+."/

. """" &( """""

&(

/! /0/! +

• &1&&2&%&

- #&+-#-$-&% %&0% $%1 1""""

3 3

4

5

6

. $0&2

-(+.3)("/

&

(

0&

%

%

(

(

-

(

(

-

0&

-

(

(

(

-

0&

&

""""

-(+

""""" """"

""""

0&

0&

www.PAControl.com

Page 92: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

,

*/! *7%&&0*0&&08$

• &%1'&1&

$1 # %)(

&('&%

• &1&1&

1

2 2

&) """" $

""""*

. ' &('&%%)(1

"""!%-+

(+(&"""

""",%-+

-(+."/.""45/

&

&

(

(

-

(

&'"""*#%6

&)""""

%

www.PAControl.com

Page 93: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

7

!"&

(+$+ 2

!"""!/! "

"" !!

""""" $+ """"!

"""" &% """"*

""""! $+ """",

""""* &%(& """"7

"""", (+$+

""""7 &) """"

&%$+ 2

!"""!/! "

"" !!

""""" $+ """"!

"""" (+(& """"*

""""! $+ """",

""""* (+ """"7

"""", &%$+

""""7 &) """

"""

""""! """"*

""""7"""",

""""

""""!

""""* """"7

"""",

www.PAControl.com

Page 94: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

/! /!!

8

./ + 2 9:9:

.!/21

""""

""""" """"

"""""""

""!""

""""7"""",""""*""""!

""""

9:""""" """"

"""" """9:

""!""9:

""""! """"*9:

7""""

9:

9:

"""", """"7

*

!

,

"""" """9:

""!""9:

"""! """*9:

"""9:

""", """79:

&%

$+

""""" """"9:

$+"""""

(+""""$+""""

(+"""

&% ""!""

(+"""!

(+(&"""*

(+

$+

$+""",

(+"""7

&% """

""!""

&) """"

!

*

7

,

www.PAControl.com

Page 95: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

;

&9

<

!"""!/! "

"" !!

""""

"""""

""""7"""",

""""

""""

""""*""""!

"""";

www.PAControl.com

Page 96: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

=

8*:!+

/'() $

#)%(&('

/ &)) $

) 3&%-+#->%-#-

";&

3 &( &33

3&%-+#->%-#-

) 1## &('&%

&""""$-+

• %&0%

2

#-

&

%-#-

3&%-+&%

& %

(

?

-

(

(

(

&2

www.PAControl.com

Page 97: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

@

/! !

#

1

& 1

#%6#%60

5

1

+&5(2

' %)( &('&% 1 &(>&33

& '

,A B &'&'

'&

A' B

www.PAControl.com

Page 98: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

"

• :! *+.!

• :! *+.

!

&

&'

&'

&'

""""

""""

$+"""""

"!""#%6

$+"""""

"!"!

$+"""""

"=!#%6

-(+."/

'

&

&'

&'

&'

6

""""

""""

&(""""7

"!""&(#%6

$+""""7

"!"*&(#%6

(+""""7

";=&(#%6

-(+."/

,

&

&'

""""

"""

"""

'""

"!"*#%6

'""

"!"*'+

C"!*

(

(

-

-

www.PAControl.com

Page 99: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

/"+/

' %&0%1

%)(&('&%

1

1 1

'(#+&5(2

1 +-$)2

%.? &1

5 . / 1

D 2

<=

<

+$

"*+!$"=

www.PAControl.com

Page 100: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!! "#

!

" !#

$

! "

% !&

' ()*

!! "#

!

" !#

$

! "

% $

' !&

+ ()*

$

$

%

$

&

'(

'

)

!&

!&

%

%$

%,-(#.$

',-(#(.!&

%#($

%-#/0!&

1

,

www.PAControl.com

Page 101: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

• *#+ #!"

!! "#

!

" !#

$

! "

% $

' !&

+ ()*

!! "#

!

" !#

$

$

% !&

' ()*

!

-#/0!"

(((.!"

(((($

$#(

!"

1 2

( 3

'

,

'(

www.PAControl.com

Page 102: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

"

"-#

3 4344 542 334!64

42 334!#!#!643

www.PAControl.com

Page 103: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

$

7 3 , 3 48/

*864 4 93 3*,8/ 8#!:#77!,!#;3 3 1!#/(-(<#(-(

.!

7 , 3 4

*864 4 93*,8/ 8#!:#77!,!#;3 0(=<(/7 )-%*

'

'

%(

/

>!

'

'

'((

0

/0(#

%

/( ?

www.PAControl.com

Page 104: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

" 1!! 2

< 3 3 4; 4 3 44

%

3

4

,

*,"3 3 ;3 43 434 64,

64 ; 4 ,3 ; 3 3*864 3

4*8564

'

'

'(

/

>!11

%

">!11

%

%

$

'

' '

'

( '

www.PAControl.com

Page 105: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

%

7 3 , 3 48/ ) !<!4*

1

7 !<!1143 , 3 48/

* 43 3 34 ? 47

3*864 4 9 3

&@!11

@!11

>!11(

(

(

/

%

'

'

&

>!

355 3 !11!) *!!11)

*

/7!#

/7!#-#

/?(

(

(

0

%

'

'

$

$

'

'

3 34-3 #

www.PAControl.com

Page 106: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

'

(6! #

?/09 3 , 3 7!,!#8#!:#74

1! #

3 3 3 ; ? 4 , 3 7!,!#8#!:#74

*&64

3*&643 !!

3 64 *&5564

3 !64

$

(7

.'

3

$

+

8#(-A.+....

3 4

%

$

(

8

(

'

'

/

//0:.

//0:.

//0:.(

'

8

/$$$

/7!#-.'

(7

(

3 $ 3 3

www.PAControl.com

Page 107: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

+

4 4,3!4;!114

# /31 #"

!!! 2 ##!

!! "#

,7

B$

,7

!&

" ()*

2! 2

,7 !4 2 3)-A* ++++)++++*

,7

B$

,7

$

www.PAControl.com

Page 108: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

1 2

3552 C 0 2 4 3

2 355 44 " 4 4340

• 6 2

" 9 # "" 9 #

8? ?55

8? 84

8? 84

#-)*

84

?4& -D-E,8 -; 355

Host Player 1Player 2

Player 3

Buzzer

www.PAControl.com

Page 109: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

C7 6

7 E )8 4 * 4 ; 6 2

6,6,66 44

6?55!?554 355

,7

B

6 84846

6"4846

6$84 84 6

6##:

6%

8? 8D(# 8D(# #-

$

?&FF(#

8D(#

8D(#

8? 8D(# 8D(# #-

8D(#

8D(#

8? 8D(# 8D(# #-

8D(#

8D(#

$

#(-(

#-

()*

$ $ ,7

8? 8D(#

8D(#

8D(#

8D(#

#(-(

8?

8? 8D(#

8D(#

$

www.PAControl.com

Page 110: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!"

# $ # $

! "

"!!"

#$

!"

%

%&

'" ! '"

() ()

%& '"

* + !

, -& '"!

) . !

%& !

/ -&

0 '" !

'"! ()

()

1 2&#!$

!3

3

!

# $

'" '"!

!

! # $

!

www.PAControl.com

Page 111: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

*

• %& 4 4 3

• %'!'"$

"'+

!$

$

*$

'"

()

'"!

()

( (

)

(*

!

'4 4 3

(

)

+

, -(

!+2-&

'"

!'"&--

()(5555*.

(*

!'"

&--()

6

6

!

!!

!!

'"!!!

'"!

www.PAControl.com

Page 112: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

,

%

6# $ 7

8 4 7

7 4 #9$ 1111

!""%%

%

%&

! %&

6 !

(!

* %& 6!

, . !

) 2&#!$

• %& 4 4 4 4

8%6 : 4

4 3

• %'!'%$

"'+

!

$

*$

; 6 4 <='

68

6!

+

!

2&

6 !

6

'

+ !

( (

(

/

*

!

'4 4 3

(

/

0 -(

!+2-&

6!

!6&--

(!(5555*.

(*

!6&--

(!

)

www.PAControl.com

Page 113: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

Use of CNT and TIM instructions

Example #1: Count to 20,000 counts

!"#$!%%&'((()

Ladder diagram

Ladder diagram

Mnemonic codes

00000

00000

!"!

#

!"!

#

00000

00000

!"!

#

!"!

#

www.PAControl.com

Page 114: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

• !$"*

$%%!&%'$(&$)*$'!+&,

$'-.'/,!&

0'" &(&$))$,!" 1.'/,!&2--!"!/%3!"!/%--!')!"$1!&' ' "&!%4

!+&,5!.10.%'(

!+&,"!/%')!&

')!&

!+&,"!/%')!&

')!&

!+&,!&

#&!"!!&$

!+&,-.'/,!&

-.'/,!&1&')!"

!+&,%

4

5$&

!& 6.%

4

4

6.%

6.% ')!&

4

4

')!& 6.%

4

!&

6.%

4

6.%

4

-.'/,!&

4

6.% ')!&

www.PAControl.com

Page 115: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

0!)!)'/.'"1&0!!7$) .! &(&$)'""0+'0!1..+'($8.!4

+,

5!.10.%'(8'

"!/%')!&

"!/%')!&

//!&

-.'/,!&

/"

'"&/'

www.PAControl.com

Page 116: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!$,%%!

www.PAControl.com

Page 117: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

90!#: 5 #"0: '" &!""!%3 0! 87 /;!<&);!"4 %!!/' 1 87

&!"!3 0! 87 /;!<& " " $% 0! .! /;!<& "$&"4 #$& "!"& +'.. / 1&

$ .!"4 .!/;!<&" "$%87/;!<&"$&"$($'4!&+'..8!&!"!$% !&$'

&! !$"'.#:5 ##"0:'" &!""!%4

- -

5 #"0:#: .!;!<&

5 ##"0:#: :7;!<&

#$&#&!"!5

:7#&!"!5

(((((

((((&

((((#

((((*

#((((

(&(

(&(((

(&((&

www.PAControl.com

Page 118: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

$%%!&%'$(&$)*$'!+&,

$'#$/,$('(

#$/,$('(.'!/&.1& .!"

!+&,5$&/%''

*(

!+&, .!/;!<&

!+&,!&

!& &!"!$

!+&,:7/;!<&

!+&,

4

4

4

4

=>

4

#:

4

#:

4

5

4

:7/

4

4

:7

4

5

4

5

www.PAControl.com

Page 119: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!"*$!,%%)

0! /&. /'&/' '" "!% %!!/ $% / 0! )8!& 1 &%/" 8!'( /$&&'!% $

$""!)8.< .'!490! ' /" 1';! &%/"3 0! /'&/' !!&('?!" $ ".!'%4 0! ".!'% '"

!!&('?!%1&$ !&'%1+"!/%"$%'"0!"0113/$"'('&!&$/4

- -

5!"& ;!<&

5.!'%

)

#&%//!&

5.!'%!!&('?!&')!&

5.!'%5!"&

;!<&

www.PAControl.com

Page 120: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

.$-'..'0!($ "8!.+)$,!0'"/'&/' !&$!4

5

www.PAControl.com

Page 121: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

• !""# "

$ % $$ %

! !

" #$ #

#$ #

% &'&

• &$ ' $

( )*+$ ,( - -.(

#+ ,,(

( )*+$ ( - -.(

#+ ,,(

( $)*

('&# )*+$ ,# (//$

$0(/ $ (

# + . (

AutoManualForward

ReverseAuto StartStop

(1003) Motor Reverse

(1002) Motor Forward

ManualAutoAuto-start

Control Panel Indication Box

LS1 (5)

LS2 (6)

(7) PBS

www.PAControl.com

Page 122: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

"+ #0$1*2

304

30

*2

*2

*2,

*2!

*2"

*2,

*2%4,$,

( (

( (

$

( ( ( ( "(% "(

"(

# ,

,

( (! ( (" "( "(%

"(%

#

,

( (% (" ( "(5

"(5

$ '& #

"(

4,$,

"(5 (" "(

"(6

#

,

4,$,

( "(6

,

( ( (" ( "(

4,$,

"(

4,$,

# # $/

.

7

www.PAControl.com

Page 123: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

"

*25

*26,

*2

*2

*28

/ "(

3.

"(6 (

"(

,

,

,

"( (

"(%

"(5

(!

8*3

www.PAControl.com

Page 124: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

,-''./ *

988' ($ )*) ,-,

(,988', 0:.+ ,

0,(

&& &# #& "

&& "" "$

#3

#3

988'

8*3

0-'1.&-'.22

3;33 )*, .(

3; )* )<)* 0(

33 )* )*<) 0(

3;

33

988'

8*3

www.PAControl.com

Page 125: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

%

3!

• !""# "

$ % $$ %

&'& .==

&'& 3==

&'& 0

" ;# /#& ! 8

## /#&

" &>>

• &$ ( '& += -0 ,2( $$+

0$ (

( /#& /#&+= 0$

(

( *?+= 0( -/#&+

= (

!( . , ,$ +8*3

$ +,00 ,'& (

'&

//

/)'

88/

8*3

&;@@8

'&

'&

'#

!

&@

"

=

=

/#&

"

/#&

www.PAControl.com

Page 126: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

5

#0$1*2

A30

0A30

*2

*20

*2 /#&

*2! /#&

*2"3

*2=

*2%' /#&

( ("

(

(!

(! ( ( (

&@ '# =

=

=

( (

=

3;

(

/#&

("

/#&

( ( (

/#& /#&

( (" ( (

(

= /#& /#& =

=

33!

(!

=

(

=

33!

(

' /#&

(

/#&

www.PAControl.com

Page 127: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

6

*254

4 !

*268

*23.

3.,

*2&>>

*28

4*/

!%

4

7!

(

(

' /#&

4*/!% (!

4 '#

/

7

'#

(!

4*/!% / ("

4 &@

8*3

www.PAControl.com

Page 128: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

/24 " -'5.

,0 / , - , -.-(0

, +- $ - , (

&& "" "$

#3

*3*)/

#3 !

#3 "

! /

" #3

);/

8*3

• ,0 +- 0(,:0

. +0,(

/

8

A)+?..

:0.

&& &# & "

*

4'

"

4: 84:

" "

8?$

&& # #&

/

!

"

8

3

4 2'

www.PAControl.com

Page 129: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

% / & 2 "

+ -0 0 02-,-0

? (

'& + 2 (/2

, ! (

0 02( +

.0 02, (,$ + ,

, " ( $ ( ;

+&>> (/ '&

- 2$ (

(S1)(S4)(S5)

Degreasing Tanks

Up Sensor (S3) 4Down Sensor (S2) 3

Roller

PB1 (Start) (0)

PB2 (1)

Buzzer (1004)

Left (1001) Right (1003)

Operator Operator

Up (1000)

Down (1002) (07)

Reset

Stop Button (8)

6 5 2

www.PAControl.com

Page 130: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

.$+' & ,$$0(; +

,$ (/ ' & . 0,$

-00(

• !""#

$ % $$ %

'&- ;$

'&- #,$

3$

3 0$

! ; ! &>>

" !30

"8

% / -

5 -

www.PAControl.com

Page 131: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

!

"!!#$#%#$!&%#

'()*+,

- - -

.

/0+,

1

-

)"+ ,

2-

-

- 3

/

- 4

5'6/

- - - -

- - 2

*

5)"

"( - -

'/7

-

- -

- -

*

5)" 2 - - - 2

'/7 .

- -

- 3 -

*

(8"

- - 9

'/7

www.PAControl.com

Page 132: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

2($#

*

3

9'

4" $:

" $: #

.%;;

!

<$$#

5

(+ ,

9

- -

-

-

*6/"/*

*

*

- -

-

5)"6/"/5)"

5)"

- -

- 2'/76/"/'/7

'/7

- 9

'/7

"(

1

-

'/7

- 2

'/7

- -

.%;;

- 3

(8"

-

)7' /"/

(<+ ,

5'+ ,

www.PAControl.com

Page 133: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

2

( !$#=#>%##?# !# !

#>:-

!$## +,> ! % !! -"!$%%

!%/!#>%#!#@! /))-

!$##+,%#$#!>!#$#%!!

-(%$#! !%#=#A>$ #!!=

!>$ #-

) ! #>%##:=#:!!%$!

%#>! !#>:!?#:! #

>$>0-

www.PAControl.com

Page 134: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!!" #

'

'

' 2

)"

'

2 /*"

5'+ ,

)"

!

00$>

#>

5'+ ,

2

!!"! $

"$!"

www.PAControl.com

Page 135: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3

%&'("$"

"! :% #-B !%=!

#%##>:B$##>:.-

"!#$$

- 7!!%=! #$#-

- 7!! ! >!!!#>:B= !

-

- 7!! !!=#%#$#-

- 7!! !!#>:.=$!-

conveyor A (1003)conveyor B

PH1 (4)

LS3 LS1 (1) LS2 (2)

SOL2 (1001)(1000) SOL1

PB1 (0)

(counterclockwiserotation)(clockwise

rotation)

(Start button)(Detect workpiece)

(clockwise

rotation)

(counterclockwiserotation)

(check grasp work)

(3)

www.PAControl.com

Page 136: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

9

• ) $" "!#"

# "("

.

+%,

+#$#,

+#%#$#,

+#!#,

+##,

2 %

%

## "("

$

+#$#,

$

+#%#$#,

$

+,

<>:B

.%

C

B

C

B <$#

<>:B/

!

:

#C

<>:B/))

B

B <%#$#

B

C

$#

(

/))C

D

D

D

D

D

D

(

/C

www.PAControl.com

Page 137: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

4

#$

"! !!#%# #>:B$##>:.-

#

!

2<$#%

<$#%!#$&%#

E55+,

-

#

- -

- -

$

'()*+,

-

-

#

/0+,

1

-

- 2

)"+ ,

2-

-

$

-

<$#

- -

&%#

- -

&%#

- -

&%#

- -

&%#

- -

-

<$#

-

$

-

<$#

www.PAControl.com

Page 138: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

2

#

3B #$#

9<>:B

48

B #$#

5

E55+,

-

$

- 2

-

- -

B #$&%#

- -

<>:B&%#

- - - -

-

&%# 8

8

- -

B #$&%#

- -

$

-

5+ ,

www.PAControl.com

Page 139: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

2

*$""+#"""

7!!%%!=! +,$$ > $!-7!/=!

=$:2#! ># -7!+ ,/=

#%=:!!&%## $-

• ) $"

# "(" ## "("

.

+/5,

+!,

.

+,

+,

.

.

+,

+,

/5

+!,

+,

"(

12

+!,

2#'$:

+,

.

"(

www.PAControl.com

Page 140: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

2

,$"- (".

(!$#=$ %$:<.%=%!:

!!#>:#-

7! ! % = ! #>: ! $ $$ % - "!

A : #!$$ $: ! $ ! %! !<. !

#>:$-

B ! <. %!= ! $$ # ! $ - "! !$

#%$$$!-

+ ,

+,

"+2,

+,

+,

A :

#!

+,

#!

+,

*+ ,

'+ ,

":

<>:

+ ,

www.PAControl.com

Page 141: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!"

#$%$

&&&&& ! &'&&&

&&&&' ! &'&&' (

&&&&) *!' " &'&&) *#

&&&& *!)*# " &'&&

&&&&+ ,! &'&&+ -

&&&& *

&&&& !

www.PAControl.com

Page 142: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

+

#./'01'

/'

1###"

01'

!2!

01)

01

01+3,

,,,

01

01 #

!!

&&&$&& &&&$&' 0%&&'

&'&$&&

-34('"

)&&$&&

&'&$&& &&&$&

!

(

(

)&&$&& )&&$&) 0%&&'

&'&$&'

&'&$&'

)&&$&

-34('"

)&&$&'

&&&$&+

,

%3/

&&&

5&&'&

)&&$&' &'&$&) )&&$&)

)&&$&)

*#

- *#

&&&$&) %3/&&& &&&$&

&'&$&)

&'&$&)

*!)*367% 3/3%"*!' 84% 3/3%"

*#

&'&$&&

www.PAControl.com

Page 143: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

01:

/#

01;

01<

)&

01'&-'

01''

01')8

*!)*367% 3/3%"

&'&$&&&&$&

-34('"

)&&$&

&'&$& &&&$&)

*!' 84% 3/3%"

0%

&&'

5&&)&

)&&$&

0%&&'&&&$&

*!%

%3/

&&)

5&&'&

0%&&'

)&&$&) %3/&&) &'&$&+

*!' 84% 3/3%" -

8&'"

www.PAControl.com

Page 144: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

-#./'01'

/'!4%'&"

1####"

01'

01)!

01!'

!7*&&

01+!#

011

1#=

01

&&&$&& &&&$& &&&$&)

&'&$&&

&'&$&&

!

!

&&&$&'

*!'

-34('"

)&&$&&

&'&$&&

/>?)'"

5&&&'

7*&&

)&&$&& 0%&&'

7*&&$&

)$'+

)&&$&'

7*&&$&

!4%'&"

7*&&

7*&&

7*&&$&& &&&$&+

,

7*&&$&' &&&$&

*!)

7*&&$&) &&&$&)

*!'

7*&&$& 0%&&'

7*&&$&+ &&&$&

)&&$&' )&&$&'

7*&&$&)

www.PAControl.com

Page 145: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

:

)&

01:

01; #

01<

01'&

01''8

&&&$&

0%

&&'

5&&)&*

0%&&'

7*&&$&& &'&$&'

7*&&$&' &'&$&)

#

7*&&$&) &'&$&

7*&&$&+ &'&$&+

8&'"

www.PAControl.com

Page 146: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

;

!"#$%! !&!'( &)!!!&

% # $ @

# # $ 3

#

##$

&&&&& ( &'&&& /

&&&&' &'&&' /

&&&&) -

&&&& -

Door positionMotorUltrasonic

Pushbutton

Switch

Photoelectric

Switch

CPM2A

www.PAControl.com

Page 147: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

<

#./'01'

/'@

%#

01'*

01)

!

01

01+8

( ! *

&&&$&& &&&$&) &'&$&'

&'&$&&

&'&$&&

(

*

&&&$&'

-34-'+"

)&&$&&

!

)&&$&& &&&$& &'&$&&

&'&$&'

&'&$&'

*

8&'"

* &

&&&&&(

&&&&)(

'&&&&/

&&&&'

&+&&&-34-

&&&&

'&&&'/

www.PAControl.com

Page 148: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

&

!"##%! +& !!', &

# !' !' # #

# #$% ?'"

#=$!)#1

#>0$

&&&&& !'" &'&&& 8#?'"

&&&&' !)"

&'&&' >#

S2 (1)V1 (1000)

Lubricating Oil Tank

Oil shortagealarm indicator

S1(0)

www.PAControl.com

Page 149: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

'

-#./'01'

/'@

@#

01'!

01)>

>'$

01>#

01+8

&&&$&&

-34('"

)&&$&&

? ?

)&&$&& %3/&&&

&'&$&&

&'&$&'

?

%3/

&&&

?

5&&'

&&&$&' &'&$&'

>#

8&'"

'

'$

&&&&&

&+&&&

'&&&&

%3/ &&&

&&&&'

'&&&'

-34(

?>

%

>#

* &

www.PAControl.com

Page 150: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

)

!"#-%!.!&!!&!&!

3 #$%

#A$$"$% ,, #$@#

##1$3#

$

&&&&& !' &'&&& /'

&&&&' !) &'&&' /)

&&&&) !

&'&&) /

CPM2A

Motor 3 (1002)

Motor 2

Motor 1 (1000)

Sensor 2

Sensor 3

Sensor 1

Copperplate

www.PAControl.com

Page 151: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!"

#

$%

& ' ()" )'

& (' '(' '"

& ' ()" )'

& ('' '"

"

***+* ,-*** **+*

**+*

"

***+* ,-** **+**

**+**

,-

***

.***

**+** ***+*

"

"

***+** ,-** **+**

**+**

,-

**

.***

**+** ***+**

"

#+ **+*

%/*&

www.PAControl.com

Page 152: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

!

(0 ' /) ) ) ' )1

& )+,)2(03'

) ') ) )+

""## #$%

**** #

*** (0/&

***

**

*** %/*&

(0/&"

-42"425422642,242.

-4254226424

$%%&'

#%&'

"#

""()*'#

(0/&

***

**

#

+)'%%$

""",)

"'

www.PAControl.com

Page 153: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

#

,)' )(0

-) 2-')*** ('')**+

*****

****

****

****

****!

****#

****

****$

****7

****8

****

***

***

***

***!

***#

****

***

***

***

***!

***#

***

***$

***7

***8

***

**

**

**

**!

**#

*

*

*

*

*

*

*

*

*

*

*

*

*

*

)**

**

#

)***

**

#

-.

-

/000

--

/00

"' "'

www.PAControl.com

Page 154: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

'%1 2#'("3%&"%,

&$%3&*')

+ 5 ' **** ****! ' )

)+

+ -'****# ) ')+

" $''%

** 9

)" "*

)") *

** :9'

) *

** ;

)" "*#

**! %

)%"'

%

www.PAControl.com

Page 155: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

$

,)

$ %# $$ %#

**** <=

**** <=

*** 5

5'

**** <=

****! <=!

4##,)

%

"'

(%**!

9'

'

(%**

'

" "*#

" "*

")*

(%**

'

(%**

'

www.PAControl.com

Page 156: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

7

%

) '

5

9<

!

;

#!

%"

#

4

$%

<=

<=

5

***+* **+**

***+*

<=

***+*

<=!

***+*!

(0/&

.***

**

***+*

<=

(0/&

.***

**

***+*

<=

(0/&

.***

**

***+*

<=

(0/&

.***!

**

***+*!

<=!

(0/&

.****

**

***+*#

4

%/*&

www.PAControl.com

Page 157: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

8

)0!

/<& ' ) )2 ) ) )

)2'2)1 +,)2'

)</*& '+

""## #$%

**** #

*** (:, ,4*

*** </*&

.*9*

***

*** 5 ##*#

***! (:, ****

***# ,4*

*** 5 ##*

***$ (:, ***

***7 ,4*

***8 5 ##*$

*** (:, ***

</*&

-42"425422642,242.

-42"425422642,242.

#%)5"

%"%)5"

"#

""()*'#

</*&

.*9*

***

#

##*#/>&

##*/?&

##*$/@&

****

***

***

,4 *

+)'%%$

""",)

www.PAControl.com

Page 158: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

$*

*

9

*

*

*

*

*

*

*

*

*

*

*

*

*

9

*

- ) /.*9*& )***2 ##* ' (+62

##*#'() ))***

##*$'() ))***+52 '

'2)##*#/>&##*/?&##*$/@& (+

&3''5,",)''$##&

.

5,5

.

)

)

***#***!*****************8****7****$********#****!*****************

******* ** **

6***

5,5

www.PAControl.com

Page 159: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

$

+)')6$7,

-) 2$ A'BB )<+C)) '

2) 8)'*)'BB

'+,) '' '+

• 4##,)

$ % $$ %

***** "<= ******* $

**** "<=

***# ='BB

+

****

***

***

***

#'(

$88/***#&

"/*&

"/&

www.PAControl.com

Page 160: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

$

< 8*

: ))'

8

8)

,

,'(D(99'

!

1'

#

)D)*23'/##*&''**#**'

='BB

E%%</&

64*+**

***+**

**+*#

='BB

"

***+*

"

G(0/&

.***8

**

64*+**

,-

**

.**

#+ ,-**

G%/8&

**

64*+** ,-**

</*&

**

.****

#+ 64*+**

**#+**##+*

?9 C

C

**#+** ,-*** **+*#

**+*#

***+*

='BB

4", " ='BB

www.PAControl.com

Page 161: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

$

$

,') ''BB

7"

4 )*

8"

*"

"

"!

%

#- ')G"1') +

- )) '1' +

C

**#+**

**#+*

***+* **#+*,-***

4","F

,-

***

4",

.**#*

"

***+*

,-***

4",

(0/&

.****

**

**+** **+**

D+**

** * **+*

D+*

**+* **+*

D+*

**+* **+*

D+*

%/*&

www.PAControl.com

Page 162: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!"#$%& '(((

!"#$"%

&'(&)*

!+

,&-./0*&#1

,2*",

*5$*6*/",34*2*$15&'

,64#$*"7*,348."7

,/-.".,/6**"%."/

+ 99

.6*$",5(""7*%(::*$

!

www.PAControl.com

Page 163: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

)*'+

","#&)"7*-#"#./"8,-.;;*$*/"57#//*&)<,$,/*57#//*&#/-#5,/)"#/"#/-"7*/,("4(")"7*

)(6",#"7.$-57#//*&=

7*$*;,$*<"7$**-#"#4#$#6*"*$)6()"%*)4*5.;.*->#/#(0*/-<#/#--*/-#/-#$*)(&"57#//*&=

(

-

<!<<<<<<

<!<<<<<<

,-"

,-"

!

# %"

<<<<

.,."-"

/ !"

(0*/-

--*/-

*)(&"

www.PAControl.com

Page 164: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

/"7*4$,0$#6<87*/./4(".)"($/*-<"7*-#"#././"*$/#&$*&#10.'1'.)#--*-","7*

5,/)"#/"23*1=7*$*)(&",;"7*#--.".,/.),("4("",03''=;#5#$$1.)0*/*$#"*-#)#$*)(&",;

"7* #--.".,/< "7* 5#$$1 ;&#0 )4*5.#& $*&#1 .) "($/*-= ; "7* $*)(&" ,; "7* #--.".,/ .)

<)4*5.#&$*&#1 "7*?;&#0.)"($/*-=

7*;,&&,8./0-.#0$#6.&&()"$#"*)"7*,4*$#".,/=

/"7*#%,2**@#64&*<%*;,$**@*5("./0<"7*#$$1A&#03B)4*5.#&$*&#1 .)"($/*-

AA %1 "7* &*#$ #$$1 = 7* #--.".,/ #/- )(%"$#5".,/ ./)"$(5".,/) ./5&(-* B ./ "7*

5#&5(&#".,/#)8*&&#)./"7*$*)(&"=+*)($*",5&*#$B.;.")4$*2.,())"#"().)/,"$*C(.$*-./"7*

5#&5(&#".,/<#/-",()*"7*$*)(&"4&#5*-./B<.;$*C(.$*-<%*;,$*.".)57#/0*-%1*@*5(".,/,;

#/1,"7*$./)"$(5".,/=

7*#(0*/-#/-#--*/-6()"%*./<.;/,")4*5.#&$*&#1 $$,$A&#0.)"($/*-#/-

.)/,"*@*5("*-=

.)*@*5("*-*#57".6*"7* )5#/)"7*4$,0$#6=,*@*5("*.",/&1,/5*=

."

/"*$/#&#(@.&.#$1$*&#1

5#$$1

D D

5#$$1

3

www.PAControl.com

Page 165: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

%4)*2+

! + ;./-) "7*-.;;*$*/5*%*"8**/ "7*-#"# ./,/*57#//*& #/- "7*-#"# ./#/,"7*$57#//*&,$#

5,/)"#/"<#/-"7*/,("4(")"7*$*)(&"",#"7.$-57#//*&=

7*$*;,$*<"7$**-#"#6()"%*)4*5.;.*->#/6./(*/-<#/)(%"$#7*/-#/-#$*)(&"57#//*&=

! +

/"7*#%,2**@#64&*<%*;,$**@*5("./0! +<"7*#$$1A&#0)4*5.#&$*&#1 .)"($/*-AA

%1"7*&*#$#$$1=7*#--.".,/#/-)(%"$#5".,/./)"$(5".,/)./5&(-*B./"7*5#&5(&#".,/

#)8*&&#)./"7*$*)(&"=+*)($*",5&*#$B.;.")4$*2.,())"#"().)/,"$*C(.$*-./"7*5#&5(&#".,/<

#/- ",()* "7* $*)(&"4&#5*- ./B< .; $*C(.$*-<%*;,$* ." .) 57#/0*-%1*@*5(".,/,;#/1,"7*$

./)"$(5".,/=

7*6./(*/-#/-)(%"$#7*/-6()"%*./<.;/,")4*5.#&$*&#1 $$,$A&#0.)"($/*-

#/-.)/,"*@*5("*-=

! +.)*@*5("*-*#57".6*"7* )5#/)"7*4$,0$#6=,*@*5("*.",/&1,/5*=

! +

.

!(

<!<<<<<<

<!<<<<<<

,-"

,%--"

!

# %"

<<<<

.,."-"

/ !"

! +

./(*/-

!(%"$#7*/-

*)(&"

www.PAControl.com

Page 166: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!!"521,-&&6&

'/.;*.)()*-",5("4$,-(5")<+#/-#/-7#)",%*57#/0*-#;"*$5(""./04.*5*),;

,$4.*5*),;+,$4.*5*),;=%(""7*4$,-(5")5,6*#"$#/-,6=%(::*$.)),(/-87*/

"7*&.;*,;"7*'/.;*.)(4=

)*/),$) #$* #)).0/ ", -.;;*$*/".#"* "7* 4$,-(5")= /,"7*$ )*/),$ .) ()*- ", ).0/#& 5(""./0

5,64&*".,/=4()7%("",/",)"#$""7*4$,5*))=

• 7

! 8 ! 8

(""*$!*/),$ +(::*$

$,-(5" (""*$/.;*

$,-(5"+

$,-(5"

!"#$"4()7%("",/

*)*"

Product A, B or C Knife (1001)

Cutting Machine

Start Push-button (4)

Reset Push-button (5)

Buzzer (1000)

www.PAControl.com

Page 167: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

A

!"#$"

= = =

=

(""*$

(")*/),$ (""*$

#--*$.#0$#6>#./*"8,$'

#.//.;*&.;"

44&.5#".,/>*#)($./0"7*&.;*,;#5(""./0&.;*

*"8,$'(""*$

(""*$ #5".2#".,/

*"8,$' (""*$

(""*$)"#$"4()7%("",/

A

=

!"#$"

=

!"#$"4%

*"8,$'--

#--

#--

= =

$,-(5"!"#$"

*"8,$'--

= =

#--

#--

$,-(5"+!"#$"

*"8,$'--

= =

$,-(5"!"#$"

#--

#--

www.PAControl.com

Page 168: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

*"8,$',64#$*

=

=

?A&#0

#--

=

EA&#0

=

=

*"8,$'+(::*$

=

=

=

(""*$

*"8,$'*)*"

=

*)*"

#--

*"8,$'/-

/-

www.PAControl.com

Page 169: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!!"529,:"

7.).)#).64&*5#$4#$'5,/"$,&)1)"*6"7#"#&&,8),/&1#6#@.6(6,;5#$)4#$'./0)4#5*=

2*$1".6*#5#$5,6*)./<"7*8.&&#(",6#".5#&&1#--,/*"7$,(07)*/),$!=/15#$"7#"

0,*),("8.&&#(",6#".5#&&1%*)(%"$#5"*-%1,/*"7$,(07)*/),$! =F7*/5#$)#$*$*0.)"*$*-<

"7*5#$4#$';(&&).0/8.&&%*&.07"*-",./;,$6,/5,6./02*7.5&*)/,"",*/"*$=

• 7

! 8 ! 8

!*/),$!

!*/),$!

#$#$'A(&&!.0/

A

#$5,6./0

!

!

#$5,6./0,("

www.PAControl.com

Page 170: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

A

A

! +

#--*$.#0$#6>#./*"8,$'

#./#$4#$'5,/"$,&

44&.5#".,/>#$#$',/"$,&

*"8,$'#$./

=

!

A

=

#$./

*"8,$' --

=

#$./

*"8,$'#$,("

=

!

A

=

#$,("

*"8,$' !(%"$#5"

=

!

! +

*"8,$',64#$*

=

=

?A&#0

=

GA&#0

=

#$4#$';(&&

*"8,$' /-

/-

www.PAControl.com

Page 171: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

6-

!

!"

"

#

• I/O Assignment

" # "" #

$$$$$ % $!$$$

$$$$! !" $!$$!

$$$$ & " $!$$ %

$$$$ %

Hopper with 2 colour balls (black &white)

Top Cylinder Bottom Cylinder

www.PAControl.com

Page 172: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

6-'

Ladder Diagram : Main 1 Network 1

Main 1 – Ball Sorting (Conventional Method)

(!

(

(

(')

(*+

(,-

$$$!$$$$$ $$$$

$$$!

$!$$$$$ $! $$$$! $$$

$!$$$

!

.

$$$

/$$!*

$!$$$

$$$.$$$ .$$'

$$$

$$$.

$$!

+

/$$$*

$$$ $

&

.

$$

/$$$*

$$$$

&

$!$$!.$$!

.$$

+

www.PAControl.com

Page 173: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

6-*

(0)$*

(-%

(1-2

.

$$'

/$$$*

$!$$!

$!$$.$$

%

2$!"

.

$$

/$$!$

www.PAControl.com

Page 174: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

6-,

3)#4.!(!

.!#

# ##

(!

(

)

( !

567$$

(' #

(*%

% 8 # #

&

&

$$$$$ $$$$

$$$$

)59!"

$$$!

$$$$

&

.:;!"

/$$$!

67$$

$$$!

67$$$'

$'

5!$"

67$$

67$$

*!'

$$$

&

$$$$

(

$$$67$$ $ $$$$! $$$

67$$$!

$$ &

$!

! &

.$$$

67$$$

$

$$$$

.$$

.$$!67$$$

$

$$$$

www.PAControl.com

Page 175: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

6-0

(, !

(0 !

()!

(1%

(!$-2

67$$$! $!$$$

$!

.

$$!

/$$!$

67$$$ $!$$$

$

.

$$!

/$$!$

67$$$

$

.

$$

/$$!$

$$$$

.$$

.

$$

/$$!$

67$$$'

$'$!$$

%

$!$$

%

2$!"

www.PAControl.com

Page 176: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

" #

! !

!

"

$%&

'(''

''''

$%

)*+',

+#

)*+'-

'(''

'(''

'' .

$%,

'(''

''''

$%

# !

''''

/

#"

)*+ )*0

!

!

''''

'''

# ! ''

1!

$%&

'(''

''''

$%

'(''

''' .

''''

'(''

. '''

. ''

!" #

$

www.PAControl.com

Page 177: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

(

''''

'''

''''

''

''''

'''

''''

''

'('

# !

''''

/

#"

)*+ )*0

$%&

'(''

''''

$%

)*+',

+#

)*+'-

'(''

www.PAControl.com

Page 178: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

&

%

.23.%%"

(

%4

(1.2.%%

52 4

$ ''''

%4 '''

4 # !(--'(

! +65

&' (

.2

$*

''

.

(

$*

''(

%4

'''

'''' $*''(

$*''

'''' $*''

(

&(''

1

(1(

''''

( (

&$') % &$**+$' (

'''' (--'(

'''%4

(

1'-

(1

''''

( (

&(''

(

&,') (

'''' '''

'''%4

((

1

(1!

''''

( ( ( (

'''

!" #

www.PAControl.com

Page 179: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

,

#) -

4 .2

1

$ ''''

''

. '''

+65

''''

'''

''' $*''

'''

'''

& $*

''

''

$*''

!" #

www.PAControl.com

Page 180: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

-

#)

! 7777

!!

8

7777

.2

.2 ''''

1. ''(

!

+65

&'./

''''$*

''

$*

$*

''(

$*(

''(

-''

9''

/ &''-'':9''

# 7779 7777 : 7777

!

&$'.(

''''

-$*

''

$*''

$*''

''''

('''

52''(

''(

/ '''' - ! ('''

$*'' -

52''(('''

/52 "

&,' . ) % &$**+$' (

&0'

'''' (--'(

''''

52''

;-'''

52''

''(

/ -'''

!(--'(4

/52 "

!" #

www.PAControl.com

Page 181: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

<

"1!")

.23.%%

"

.23.%%

(

1.2

(1.%%

/ =5

" ! "

/ "

.2

''''

.23.%% 1. ''&

! 5+*

''''$*

'''.2

$*''$*''(

''&.23.%%

''&

''& ''''$*

''(

'

.%%

!" #

www.PAControl.com

Page 182: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!"#

$$$$

$$$

%&' $ $$

$ $

$ $

! " !!# "$ %#&! '!

!!

$$$$

()

()!

$ $$

$ $$ $$$

$ $$ $$$

$$$

&

$$$$

()

()!

$ $$

&

$ $$

$ $ *

$$$

()

$ $$

$ $ *

$$$

$ $

$$$

$ $

$$$

$$$$

()

()!

$ $$

$ $$

+,-$"

$$$$

$$$

+,-$#

$$$$

+,-$"

$$$

$$$

+,-$#

$ $$

$$$$

$ $$

! " !!# "$ %#&! '!

!!

$$$$

()

()!

$ $$

$ $$ ./$$$$

$ $ *

$ $$ ./$$$$

$ $ *

()

$ $011-

./$$$$

$ $

2

/

.3

./$$$$

./$$$

$$$

. 3 $$$$

$$$$

*$$$*$$$

4$$$

#!!

$$

/

(

53

*,- $

*$$$

4$$$

##$

4

573 3 #!! 83573 3

##$6*8 *,-

79

(!%#

)$*!

+*%'!

www.PAControl.com

Page 183: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

:

$#!

&'8

3

2&

* $$#

!"#6

47

* $$$$

* $$$$

* $$#

%&' $$$

!!+*%'!,!'#&!%%','!#-.)

$$$

$$$$

*$$$

;$$$

/

(

$$$

$$$ &

*$$$

$$# *

(!%#

)$*!

+*%'!

www.PAControl.com

Page 184: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

<

#!%##"/-#

= 8 3 ' >

=* ? ? ==* ===*

% = ? 8

' = * 7

8%=

$? 3? 73

3 8 8 ' =

=*?3?

?38833

8 8

+,-83'>

+,- ? ? +,-+,- +,-+,-

+,1 % +,- ?

8 ' +,- +,1

7 8 %

+,-$? 3?

733?8???

388338 8

*8' = +,-

8' =+,-=*+,1 +,-=

+,1=*? *-) 7 8 3

8 ' .?

8' =+,-+,1=* +,-=

=*+,1?*-) 8 87

'8

/-/-

@

=

-85

A

+,-

-8B

+,1

-8*

=*

/-/-

A

+,-

-85

@

=

-8B

=*

-8*

+,1

(!%# +*%'!

www.PAControl.com

Page 185: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

$

!$!"

@C =

AC +,-

5C 878

BC 3? 73 3 8 D ? ? 3

8833

*C 3?733?8?3

=+,-+,1=* +,-==*+,-*

-85 -8B -8* -85 -8B -8*

@

A

5 5 5 5 5 5

@

A $

5 * 5 * * *

@ $

A

B B B 5 B 5

@ $

A $$

B B B * * *

@ $$

A $

B B B * B *

@ $

A $

B B B * * *

@ $

A $$

5 * 5 * * *

@ $$

A $

B B B 5 B 5

@

A $

5 5 5 5 5 5

@ $

A $

5 5 5 5 5 5

www.PAControl.com

Page 186: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

%#

% (!0! % (!0!

$$$$ $ $$$ $

$$$ $$

$$$ $$

$$$! ! $$! !

$$$" " $$" "

$$$# # $$# #

$$$6 6 $$6 6

$$$ $$

$$$: : $$: :

$$$< < $$< <

$$$ /

% ?

3 '9

3

''3

(!%#

)$*!

www.PAControl.com

Page 187: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

+*%'!.

'*-,5

$$$

=$

$$$/

$$$$ $$ $$

$$$

$$

$$$ $$$

$$

$

$$! $$" $$# $$6 $$ $$: $$<

$$

$$$ $$

$$

$$!

$$$! $$

$$!

!

$$"

$$$" $$!

$$"

"

$$#

$$$# $$"

$$#

#

$$6

$$$6 $$#

$$6

6

$$

$$$ $$6

$$

$$:

$$$: $$

$$:

:

$$<

$$$< $$:

$$<

<

=*$!

+*%'!

www.PAControl.com

Page 188: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

+*%'!1

$$$ $$ $$ $$! $$" $$# $$6 $$ $$: $$<

$$$/

$$$

+,-$"

$

=$

$$$$

$$$

+,-$"

$$

$$$

$$

+,-$"

$$

$$$

$$

+,-$"

$$!

$$$!

!

$$!

+,-$"

$$"

$$$"

"

$$"

+,-$"

$$#

$$$#

#

$$#

+,-$"

$$6

$$$6

6

$$6

+,-$"

$$

$$$

$$

+,-$"

$$:

$$$:

:

$$:

+,-$"

$$<

$$$<

<

+,-$"

=*$!

www.PAControl.com

Page 189: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

"

%#

% (!0! % (!0! !

$$$$ $ $$$ $

$$$ $$

$$$ $$

$!$$

$!#

573

3

$$$! ! $$! !

$$$" " $$" "

$$$# # $$# #

$$$6 6 $$6 6

$$$ $$

$$$: : $$: :

$$$< < $$< <

$$$ $ $$ $

$$ $

$$ $

$$! ! $! !

$$" " $" "

$$# #

$# #

% ?

3

'3

$#?$$$$

$$#

? 73 3$!$$ $!#

(!%#

)$*!

+*%'!

()!

$!$$

$$$$

=$

$!$$

()!

$!$

$$$

=$

$!$

()!

$!$

$$$

=

$!$

()!

$!$!

$$$!

=

$!$!

()!

$!$"

$$$"

www.PAControl.com

Page 190: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

#

% $ # $$$$ $$# 8

3? 8 8' &

$$$$?733 ##$6

$$$$? 73

3 $! 3 $

?733$!$$$!#

$$$ $# 73 3

=$

$!$"

()!

$!$#

$$$#

=

$!$#

()!

$!$6

$$$6

=

$!$6

()!

$!$

$$$

=

$!$

()!

$!$:

$$$:

=

$!$:

()!

$!$<

$$$<

=

$!$<

()!

$!$

$$$

=

$!$

()!

$!

$$

=$

$!

()!

$!

$$

=$

$!

()!

$!!

$$!

=

$!!

()!

$!"

$$"

=

$!"

()!

$!#

$$#

=*$!

*,- $

$!

;$$$$

,E

!!

$

#!!

83

##$6

4

www.PAControl.com

Page 191: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

6

2##3)#

% (!0!

$$$$ 58

$$$ =8

$$ BFF

% (!0!

$$$ 58 3

$$ 58'FF

!

##$ &

$$$ %&'

8 3

58 3 $$$$

=8 $$$

58'FF $$

58 $$$$

BFF $$

.$*! 1!+*%'!

'*-,5

&

##$ $$$$

$$$

$$$

$$ $$$$

$$$

$$$$ $$$

$$$

$$$

$$

58 3

BFF

58'FF

(!%#

!%#2#'#3)#

www.PAControl.com

Page 192: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!"#

$ %&

$ $ %&

#

!"!

#$%

& '

() (

()* +

,

() (

()

----

(

.. /

0

()

----()

1

"2+

",3 ,3

2

4&

!(+(

,3 () ()

(

)

----,3

",3,3

"!

"!

(

,3()"!

"--

"!

"!

'

5#0

'( )(!*(+$

www.PAControl.com

Page 193: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

6

$, !

)"7

8

()

)"7

8----

()

9):.

!"!

)"7

8----

()

)"7

"2+

()

()

()*

)"7

()*

.

)"7

()

!"!

,):

8

.

%!"!

)"7

()*

!(+ .

()*

()

()

,):

()

()*

.

&

'

, ---- () ();

<=

(---- >&,3=

+& & / "!; &

> ,3 > &

,3=

+& & / "--;

"?&& >() &>

& "2 > &

,3=

+& & "!;& >&

,3 ()=

,&>& >& ,3=

4>;/ "!=

1& > ,3

()*=

+& & "!;& >

?&& ? () !( ?& &

> ,3 &

()=4>&>& & @;/

"!=

.

9)#

. .

=

www.PAControl.com

Page 194: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

*

*(+$

$ %&

$ $ %&

#

+

1&@ =

$, !

1&,:)

%

( !*(+$

www.PAControl.com

Page 195: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!"#

$ %&

$ $ %&

#

!"!

#$%

& '

() (

() (

() (

()* +

() (

()

----

(

/

'( !*(+$

0

()

----()

1

"2+(

,3 () ()

"2+

()

----

,3"!

(

(),3"!

"--

"--

2

"--

"!

(

() ()

(

,3 ()

(

,3 ()

"--

( !(++

() () ()*

+!(+(

()* () ()

( !(+(

() () ()

!(+(

,3 () ()

(

)

'

"!

www.PAControl.com

Page 196: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

$, !

, ---- () ();

<=

(---- >&,3=

1& > & ,3 &

()=

+& & "--; "

?& & > & () &>

& "2 > &

,3=

"--=

+& & "!; & > &

() >&

,3=

+& & "!;& >&

,3 &

()()=

)"7

8

()

)"7

()

9):.

)"7

8----

()

)"7

()*

"2+

()*

()

()

)"7

()

)"7

()*

!"!

"2+

()

()

()*

)"7

()

)"7

()

)"7

()

www.PAControl.com

Page 197: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

)"7

()*

!"!

!(+ .

()

()*

()*

,")*

()*

!(+ .

()*

()

()

!(+ .

()

()

()

)"7

()*

!(+ .

()*

()

()

,")

()

()*

&

'

9)#

,&&>& ,3> & @=4>

& @/;/ "!=

"!=

=

1& >&()? =

1& >& ()? =

1& >&()? =

www.PAControl.com

Page 198: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!""#

!"

$%% & & '%& $ (%&

&) *)& #

$%% & & '%& $ (%&

% % )& ) & #

%% &&) * & !""#

"

) & &

% % &) #

+ % , &&

#

- & ) .&%)#& )&)&)&&) &

& #

#$

+&%%& & &&

& )&& ) )& & %& %

)#+%&&%%&%& /&% 0''%#

1%

&

! &

%

' % 2( %3 !* &&

24 3

$!""

! &#

www.PAControl.com

Page 199: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

(

!!%

+ && )&& && & & &

&&% /&%&5&& && &&&%#

• !!"%

$&& & & && &)&&#

• $&&&)&• $& %&% /)'° ° • $& &%&&/)'6'78 • $&) &))% ) • $&&)& %% • $&& &)%&) • $&9)&)& &):4 )&& & &&)% )&&) &#

!&'!!

& &% & ) &)&&& & &

) &#

()*

+ & % & '° ° # 4 & . & &)&#

• $ ) &)&) &#

• & .&% % )

% &#

• - )& % %&% /)° #

!""!

& & .&%) ) )&) && #

• & & ) &&& .&%#

• $ (''%% &#

;<$ ;$ ;($#

CPM1

Air Vent

Control Fan

CPM*A200 mm min.

200 mm min.

www.PAControl.com

Page 200: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

0

!"$*

&

;$-,!&& %))& &#

+%*"

0''%%) -,!)&& &

&& %#

!"

(''%% && ) & &

& %#

%

;<$ -,! & ) & ) &

&& %#

;<$ ;$ ;($#

0'' %% %&

0'' %% %&

;<$-,!&

)

;<$

&

)

;<$-,!& )

%<$& )

('' %%

; 2&3

CPM*A I/O lines Control cables and CPM*A power lines Power cables

www.PAControl.com

Page 201: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

=

%*

4)& )& %& ''Ω&) &)&)): &)) &%)&) &#4

& (%%(&#

"

$ )&%)) ;<$& -,!& &&

&2& &3# & ) ))& #

*;0%& ) &))2'#'#>1%3#

7)%%+%& ?*%& #

!*

,--./-0!

& )&)& ;<$)&)& &

%&) .&%&#

;<$ & & & )%% &

)&)& % & ) &)) & )&)&

:#

* & & & % &# $& ?

& & %))&) &#

>#(%%% /#

":%&

4 :

- &

%$

+&&#+))&

)&%(%%(%&#

@''Ω

www.PAControl.com

Page 202: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

$%"(%

&)& &)& )) )&#)# &

) ) #

"

)"" 1%!

7%

A A - & &

& &%

%%)&)&&

%% &#

- & (=

=&)&

& # -

& ' (''

& )

) )#

+ ) )& ) ) )&

% '#µ" ) )) $ & )

& % '# Ω ) ) #+

&

) )&&) # )&

% /&%

: & )& &

) )& ) :

&) ) )

& ) &%&

) &

)&)&&) &#

+ &)&)

) )&%(''0''#-

)&)& & $ )&)&

) )&& &#

&%

1 A + & )) &

& )

))% )& &

) &) &

)& )&

) & 9

& ) &)& #

+& &%

%%)&)&&

%% &

) & % &

) 7

%#

+ &)&)

&%

' &% )&)&

# + )

&% %

)#

+ &)&)

& %

&%

& ) &

&)&))&)&&

)&)& #

&%

A A + &%

&%&& &

) )&

) ) )&&)

&# + & &%

%% &

#

- & (=

= & & &

& # -

& '' (''

& &

) )#

www.PAControl.com

Page 203: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

>

&)& & & & ) ) &) ) %

&) #

,

&& :) /#

&

&) ) %

.

&& &%&&&

7

B!*+

!;

7

B!*+

!;

www.PAControl.com

Page 204: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

! "# $ !

%& ' $

(

)

(#*+

,!

, +

(

)

+

-

!

. '

/

0

0

11.)

% &,..#.

#.

11.)+

/

,..#.

%&

#

!

"#

/

./.1.

("#2

www.PAControl.com

Page 205: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3

!"##$%""#

4

3' 5

0

" &&&#

!

1 '

'

- #-,. .20

,.."1)

• /6/515177

• /10),#8,.

6 (

'

$ &&&#

! '#55

)1 '

$ .#9.1)

12 '#55 5

#-,.,.."1)'.20'#55

• ),)#.6,..

• 0#,0$0/

• "#:2/,..

• "#20#8,.

• /6/5151/77

6 (

'

www.PAControl.com

Page 206: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

;

#&"&&&#

51%<=&

51%<>& )/9%?=&

$$'()*

51%<=&

51%<=&!@

+,-,.,.."1)2

33:$51 '%<&'/.3A;<<

/.3A;<>

51 ''' '

''51 '51/ '

51 !51<<

/$$'(0*

51/%<>& 51/%<>&

!@

+,-,. !''#55

3,.."1)2'

;3:$51/ '%<&'/.3A;<<

/.3A;<>

?51/ ' '

) (%.&

51/ ' ' '

'''51 '51/ '

51/ .#9.1))

'1)*

)/9%?=& '

=!#0

www.PAControl.com

Page 207: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

?

&!& 22"!&&&#

!' (

(

(' '

' '

! !( <( 1:B(

1:B(3 1

3 ## ! ""! " 33&3& &#3"#

+++++ ' !

.

.2,.. ' '('(

$$0#'

'( ! ' '

'( '

4 ' '( (

#,.10$,.. 1

0#,0$0/. ,0$%<<& - ,0$%<<&

#0,.. 1 (

4

C),20$,5$ 1 C),%<<?& C)%<<A&

D ' C),%<<?&

$2 D ' ' ' '

'

/:020$,5$ /:/%<& ' '

' ! ' '

4'

1

/,,.. /,%<<E& ' /,%<<E&

' ' ( /,%<<E&

4

www.PAControl.com

Page 208: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

A

3 ## ! ""! " 33&3& &#3"#

,.. %<<3&%<<;&

%<<3&4%<<;&

1 %<<3&

%<<;& '!

)( '

C)FC),,.. C)%<<?& C),%<<A& )(

'

:

/,0.,,.. /:0%<3&

'' ' '

' '

' .,%<;&

.,%<;& ' ( 4

.,%<;&

#$2 ''%#0"#55&'

% #2 #2 0# $52%;&

$5$%?& *,,%& /5%<&& 1

(4

'

'

C)20$,5$ C),%<<A& ' C)%<<?& D

' 1 C)%<<?& '

C),%<<A&'

/:/20$,5$ 1'!'/:/%<&

'

' 4

www.PAControl.com

Page 209: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

=

&%4#"!$5 &#

2 '

"6

,

+

6

.20+

,.."1)

6

"#4

+

6

#

+

6

.2

0(

0(

0(

0("#

0(

www.PAControl.com

Page 210: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

>

&7"7 "" "

1 ' '''

'(

"# '

, '

( (

' '

)

'

* 6

www.PAControl.com

Page 211: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!

!! ""

#! !

!! "

$!

!! ""

#!

!

!! "

%!

%

!! "" %

%#! $!

!! " %

!

!! ""

#!

!

!! "

"

!

%!

%

!! "" %

%#! $!

!! " %

!

!! ""

#!

!

!! "

!

!! ""

#!

%!

!! "

www.PAControl.com

Page 212: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

#$

!

$!& '

!! "" '

#!

!

!! " '

$#!

$! ! $'

$!& $'

!! "" $'

$!

!

!! " $'

(

( (

!

$! $! )

!

)%*

+ !*&,,&!-./

/ *)%*+&!0

#1

)*

+ !*&,,&!-./

/ *)*+&!0

#1

www.PAControl.com

Page 213: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

%

%&

! '

2' &(-&/* ( ,,(!

3' */*.-&4(/5 6 !/"

"&(&-!-.0

)7)8#" )7)8#"'%0% %0 9 #:&,- (8*.!

2#1 &!#: &,-&, !

/

" &! ( ,,(! /

;,<

&(-

" &! ( ,,(! /

;,<

www.PAControl.com

Page 214: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

! !"#

$ $ "

% & '$

& $ " $

!$"

!

% ( % % % %1-----%1----)2)Ω3 2*"4Ω% %1-----%1----)2)'3 20'51566 0"-+7"51' 566' 87"9 :"

126 %1-----%1----)"

" # 51/566 ' )*8;<);*)8 " =

%1----- %1----) ' $

$ "

% %

%1-----9: 0> ? )"0> ?

%1----9:1 1%

%1----)9@: 512--µ7"3566'20--µ7"

9A:

)-

-4)0 *- 8-

9':

www.PAControl.com

Page 215: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

)

= 1----<1----; '-"<7"#'

51 7"

% (

5' 5'

7"$ ' ))0-+9φB:))*+9*/ :

"($ ' -0+

(' C2<----- 9:----- 9 :

2)-------

51' 0 7"9 :

566' 07"9 :"

www.PAControl.com

Page 216: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

<

!#

% % (

% )*+,-./0.

% %1-----%1---- "8Ω %1----)%1----; <"DΩ %1----4 *"4Ω% %1-----1---- D'

1----)1----; ;'

1----4 0'

51/ %1-----%1---- 4+"0

%1----) *"*+ "<

566/ 0"-+7"

51' 8-7"2-9( ":

566' 8-7"2-9( ":

%1-----%1----

%1----)%1----;

%1----4

" # )<0-)-*-8- E("

$%&

% %1----- %1----) $

$ "#7 F '0 ? )- ?

"

www.PAControl.com

Page 217: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

*

6 %

,

/$ % %

%1----- % %

%1---- 1

%1----) @ $

91----) $ ":

# $ %1-----9 : %1----9 :

$2

# $ %1----)9@ :$2

% %

% 1----<%1----; 9

: F "# $ -"-0"

%

/$ %

/$ %

www.PAControl.com

Page 218: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

0

!# ' ()*+,

% (

7"$ ' ))0-+9φB:))*+

"($ '- 0+

(' C20---- 9<-+:

----- 9)*-+ φB*: 2)-------

51' 07"

566' 07"

'

% (

% )*+

% *"4Ω% 0'

51 *"*+ "

566 0"-+7"

51' 8-7"2-9( ":

566' 8-7"2-9( ":

" # )<*0-)-*-8- E("

www.PAControl.com

Page 219: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

;

(%,

( %

<-# *-# ;-# )-C# 8C#

*"0<-+-"</59(1:7"($

' -"D/

)"4/

-"D/

<";/

-"D/

0"*/

-"D/

"8/

-"D/

"8/

E -"7"

!+ "0+7"

5 ' 5#---- 5#---2)-µ7"5#---) 2-"7"

566'

5#---- 5#---2*-µ7"9*"0);"0+---:-"7"9*"0<-+-<--:

5#---) 27"

6 /9 ':

" = 5#----5#--- 'F

$ -"- -""% $-"51566

$ 9' :$

"5 -" $

'"

www.PAControl.com

Page 220: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

4

(%,

( %

<-# *-# ;-# )-C# 8C#

*"0<-+-"</59(1:7"($

' -"D/

)"4/

-"D/

<";/

-"D/

0"*/

-"D/

"8/

-"D/

"8/

E -"7"

!+ "0+7"

5 ' 5#---- 5#---2)-µ7"5#---) 2-"7"

566'

5#---- 5#---2*-µ7"9*"0);"0+---:-"7"9*"0<-+-<--:

5#---) 27"

6 /9 ':

" = 5#----5#--- 'F

$ -"- -""% $-"51566

$ 9' :$

"5 -" $

'"

www.PAControl.com

Page 221: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

8

) #-#

% (

6 $ 5(9: !()<)

9 :"

% #!()<)9 :'/

"

$' $

$ -"<7"

<8*--7"

+ -04 ?2-"-40

040- ?2D"8/)9G: HI @

8- 9# 38 7

-B8- :

( *4/)90G: HI @

5 2-°00°(2)-°40°

' -.D-.9$ :

= )--7"

!()<)

" ( ($

($J 5(#J$ E (' "

($J1#J$ # 2 "

)"

&"

<" !()<)

!()<)

# "

www.PAControl.com

Page 222: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

D

) .##

% (

6 $ 5(9: !(*))

9:"

% #!()<)9 : '/

"

$' $

$ -"<7"

<8*--7"

+ -04 ?2-"-40

040- ?2D"8/)9G: HI @

8- 9# 38 7

-B8- :

( *4/)90G: HI @

5 2-°00°(2)-°40°

' -.D-.9$ :

= )--7"

!(*))

" # ! ($

( $J51J9:

E ' !(*))"

)"

&"

<" !(*))

E $"

www.PAControl.com

Page 223: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

! !" # $%&&%

!

'$' ' %

' ' %

() () * +,

)() )() * +**,

-))$ -))$ .%

"**))")

'$

"*' / # 0 %

&**

"**))")

1

"* 2 # 0 %

&**

! !" # $%&&%

$)" $

) ) 3%&

")- " 4 "0 "+4,**5

**&$6"+4,0"+/,

")-

)

" /

"+/, +%%"+4,,

7'.$ 7.$ 2

" 0 7.$+2, 5

7.$+2,7.)+8,$+,

7'.$) 7.) 8 7.)+8, 9&+%%7.$+2,,

www.PAControl.com

Page 224: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

4

"#

".) ". #+ &%,&

') &%

)6)(":)

')

4 " $6#

;"<;($))

".)

".; 8 %5#+ &%,&

! !" # $%&&%

$

.$) .$ 4 &%0 &

':)

.$)

.$ = &%%0 &

:-

.$)

+>,:.$ =? 7%=%+#

&,

:)

.$)

+>,.$ ?8 &=

$

.6) +>,.6 4

.6) +>,.6 44 &&

:-(*)

+>,@*) A 5

:-() +>,:() A

)@;<)

+>,@;< A/ )0 %

("<)1"(":')

+>,"( ? + &#%,

)

+>, ? + & #%,

.6):" +>,.6: ?4 &

.6)"<" +>,.6 ?/ %+2,& %

www.PAControl.com

Page 225: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

/

%&

(;"*)<"()

(* B + , %& %

1(;"* +>,1(* = &%

(C;'((;"*)<"()

+>,(* A % 0 % 9 D

";.)"(;"*)*

+>,( 48 (

";.)"(;"*"<;

+>,( 4= (8 %

))* +>, 4A . C 55&8C

)"<; +>, 4? . C8 55&C

)"<"(;"*)*

+>,( A2 ( %&% +2, %%%

)"<"(;"*"<;

+>,( A8 ( %&% +2, %%%%

)6)(":)(;"*)<"()

+>,(* ?2 %&% %

! !" # $%&&%

#$

").) +>," /? " &: #

)).) +>,) /E &: #

'$#'(

: +>, / + ,

:(':

+>,(': / ( + , C & + ,

:.'"$C +>,.' /4 . + ,

:"6") +>,"6 // + , # + ,

:"C +>,: 8 + ,C

:"C(':

+>,(:: 8 ( + , C & + ,

:"C.'"$C

+F,.: 84 . + ,

:"C"6")

+>,6: 8/ + , # &

':):

+>, 82 ?%: + ,C

www.PAControl.com

Page 226: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

2

+,

':):(':

+>,(': 88 ( ?%: + , C & ?% : + ,

':):.'"$C

+>,.' 8= . ?% : + ,

':):"6")

+>,"6 8A ?%: + ,#?%: + ,

$

::"C

+>,:" 4/ 2%:2%#

:"C:

+>,: 42 2%#2%:

2=))

+>,.$@ A= 0 & %+, %+,

=2))

+>,$.@ AA " % +, & 0 & +, % %+,

("")6)

+>,( ?= %%+,3?(""

)

.$).) +>,. 4E ****

<" +>,1 /2 % # %+ ,

<" +>,1 /8 % # %+ ,

)@'("6) +>,@1 /= )0 # %+ ,

)@'("6)

+>,@1 /A )0 # % + ,

:"') +>,: =A & GGGGGGGGGG

www.PAControl.com

Page 227: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

8

(':'")))

+>,(:( E )0 &%&

(':'"))C

(: E4 . %%%&

(':'"))'

) E/ . %&

. . EE 0 5 %

")6".)

+>,(". =E &&

")'$

+>," ?E $& 5 & % & % "B

()$)*") ()$ ? 0

()$( (@ E (0

%$

::"C

+>,:" 4/ 2%:2%#

:"C:

+>,: 42 2%#2%:

2=))

+>,.$@ A= 0 & %+, %+,

=2))

+>,$.@ AA " % +, & 0 & +, % %+,

("")6)

+>,( ?= %%+,3?(""

www.PAControl.com

Page 228: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

=

#!*

A()<.)))

+>,() A? %%+,?5A%&#

"B)*)(; +>,"* EA "B

$(

.)((<) +>,.(< 2= ?("" += ,&&&##&%$%&&%$

+%

.)

+>,"" = ( 5 & % $65

$6) +>,$6 =4 $6

.$):)

+>,: =/ & $6%

$$

*"').

+>,* = <0 )B& $' %

()6))*"').

* A <0 )B& %

$'%

(

()C +>,( 2 (#*%4882

)C +>, 2 (#*%4882

www.PAControl.com

Page 229: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

A

(

$

':):':):"C

+>,:" 8? : #

':):"C':):

+>,: 8E # :

,

))"6) +>,@ 2A &&

(." +>,@ 2? ( &&

() +>,( == $& % ("<):"C:

+>,(4 # 2%%0 &2%:

:("<):"C

+>,(/ # 2%:2%%0 &

("";)@)".

+>,;)@ (""0 &

4H(.$).)

+>,)< %0 & 4H &&

$%#

(); +>,(; ( % &&# +, %

*".@".'.

+>,.@ * &0&&

*"."".'. +>,." * &&&

www.PAControl.com

Page 230: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

?

('.')

+>,('. & & %&&#

*(')

+>,*( &#; &&

6)<)')

6< & 0 & &&2% &

(

$

)<)

.$)

I$ &%#&

<5)J)%

':))

<)

.$)

I$ &?%%#

&<5)J)%

$'()1";6":)'C"

+>,$1. #+KEEK,

$" $" $&$" &

))"

+>, % $'(+,5+, B

"

6)C;"<;($))".)

.;; % 5 &% # & & &

<".) ". &%#&(6EE5EE

((C;"I)

+>,(C . 3 # # 0 % & %3 #

www.PAControl.com

Page 231: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

! " !#$$$!#$$%

&$'

!#$$$$$!#

$$%(

&)$'

*" !#$$!#$%

&$'

!#$$$$!#$%(

&)$'

+

!,*

!#

- !#.$$!#./

&/.'

!#.$$$$!#

./(

&(.'

-

"

0# 0#./.0#.((

&.1'

0#./.$$0#

.(((

&/21'

3 "

# #$#4

&2'

"

*5,* "

6#. 6#$$6#%

&.$'

6#$$$$6#%(

&/.$'

*5,* "

# #$$#(

&)'

#$$$$#((

&.()'

3 "

7# 7#$$7#(

&)'

7#$$$$$7#

((

&.()'

89 - 7

, $$$.4&,

'/

#,

.

$$$$

$%%%

&:$$.'

3

"

;7

1

$$$

$.&..'

8

,

#

1

)11

)(%%

3 "

0"1 ))$$

))((&()'

8 3 "

7"

!# 7# -

. 6#:7#: : ,-"

".(<:"-".$

/ =: > " :

1 )11))(( 3 ":

"3

www.PAControl.com

Page 232: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

.

3." " 33

0#+"

&' &'

0#./.

0#./(

$$( ! "

"" #*&%%'

& - #*&%%' '

0#./)

0#./%

$$( *"

"" #*&%%'

& - #*&%%' '

0#.1$ $$( ! "! "$ 0=

0= " "$ &1+'

& - " "$ '

0#.1 $$( ! "! " 0=

0= " " &1+'

& - " " '

0#.1. $$( ! "! ". 0=

0= " ". &1+'

& - " ". '

0#.1/ $$( ! "! "/ 0=

0= " "/ &1+'

& - " "/ '

0#.11 $$( ! "! "$ =

= " "$ &1+'

0#.1( $$( ! "! " =

= " " &1+'

0#.1) $$( ! "! ". =

= " ". &1+'

0#.14 $$( ! "! "/ =

= " "/ &1+'

0#.12:

0#.1%

$$( 6" =

& - " '

0#.($ $$( =0 $

813&$$$$$.$$' 3 $

0#.( $$( =0

813&$$$$$.$$' 3

0#.(. $$ 60" #

$$4 58

$2 "

* """&53 ""3 '

* "

$% 58

$ 70"#

*5 ?0"&))$$))((' *

"* 3 #*@#

06

* 9,

#*@# *5!*#

*59,

#*@# *5!*#

www.PAControl.com

Page 233: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

/

0#

Word(s) Bit(s) Function

. !,*6

* 9!# 7# "" "

*59!# 7# "" "

/ 5

1

;7#

*5 * " "

0#.(.

( 58

$$$4 7;

&. ' 7

7&$)' 70&$4'+&$$'+ 7$$

"3

$2 58

$% *3

*5 3 &: +$$'

$. 5

/ *5

1 *

0#.(/

(

*5"

$$ -"&/$ *5>/$ * '

$ $$. -"&$$ *5>$$ * '

$. 53&5'

$/$( 5

$) "

$4 0;&$2';+

*5 " 0;&$2'

0#.(1

$2( 5

$$ $ -"&$$( *5>$$( * '

$ $. -"&$ *5>$ * '

$. $ -"&$( *5>$( * '

$/ ! ;+ ;&;#'

*5 +

$1 &A'

*5 +

$( @ &@#'

*5 " " BB

$) ;C&;D'

*5 " " BC:B

+ $

$4 7 &7;'

*5 %" " BB

0#.((

$2( 5

www.PAControl.com

Page 234: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

1

3" 3 "

"" " "

Word(s) Bit(s) Function #$$:

#$

$$( 5

#$. $$ !,*8 0 & 8 '

$ !,*8 0 &0 8 '

$. $8 0 &8 '

$/$4 5

.( 5!,*8

#$/

#$4

$$( 58

#$2 $$$4 58

$2 "3;

. "3;

/ "3 ;

1( 58

#$% $$( 58

#$ $$( &1'

" :

$$$$""3

$$$4 6" # "

$$*59 A "

$*59 = " .

$.*59 = " /

$/*59 = " 1

$1*59 = " (

$(*59 A " )

$)*59 = " 4

$4*59 = " 2

$21 5

#

( *"0

*59 0""

* 9 "

#. $$( 58

$$ "0";

*5 ))$$))1&"0"

""'

$ 0"0";

*5 ))())11&"0"

" '

$. #850";

*5 ))1())((&"0"

'

$/:$1 58

$( 7

*5 ))%

#/

$):$4 58

www.PAControl.com

Page 235: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

(

Word(s) Bit(s) Function $2 0" ;

*5 + " "

$% Flash Memory Error Flag *5

$ Read-only DM Error Flag Turns ON when a checksum error occurs in the read-only DM (DM 6144 to DM 6599) and that area is initialized.

PC Setup Error Flag *5 - 0"

. Program Error Flag *5 - "&8':

"" +

/ Expansion Instruction Error Flag *5 - +"

#/

1:( 58

#1 $$( Maximum Cycle mile (4 digits BCD) The longest cycle time since the beginning of operation is stored. It is cleared at the beginning, and not at the end, of operation. :" ))29$>

EB 9$>B$$B 9 B(B 9$

#( $$( Current Cycle Time (4 digits BCD) The most recent cycle time during operation is stored. The Current Cycle Time is not cleared when operation stops. The units can be any of the following, depending on the setting of in DM 6618. 9$>B$B 9$>BB 9>B(B

• CPM2A Memory Area Functions

www.PAControl.com

Page 236: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

)

Memory Area Structure The following memory area can be used with the CPM2A.

! " !#$$$!#$$%

&$'

!#$$$$$!#$$%(

&)$'

*" !#$$!#$%

&$'

!#$$$$!#$%(

&)$'

+

!,*

!#

- !#$.$!#$1%

!#.$$!#./

&(2'

!#$.$$$!#$1%(

!#.$$$$!#./(

&%.2'

-

"

0# 0#..20#.((

&.2'

0#..2$$0#.(((

&11$'

3 "

# #$#4

&2'

"

*5,* "

6#. 6#$$6#%

&.$'

6#$$$$6#%(

&/.$'

*5,* "

# #$$#./

&./'

#$$$$#./(

&/21'

3 "

7# 7#$$7#(

&)'

7#$$$$$7#((

&.()'

89 - 7

, $$$..(&, '/

#,

.

$$$$

%%%

.$..

.$14

&.:$.)'

3

"

;7

1

.$$$

.$.&..'

8

,

#

1

)11

)(%%

&1()'

3 "

0"1 ))$$

))((&()'

8 3 "

7"

59 !# 7# -

. 6#:7#: : ,-"

88 F! 3:

/ " : =>

" :"

1 )11 3 ":

3

( " )11

www.PAControl.com

Page 237: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

4

3." " 33

0#+"

&' &'

0#..2 $$( 71

0#..% $$(

"=$%)444.(&)444.(')444.(

33:7G

6 +3 " 61

0#./$ $$( 71

0#./ $$(

"=%)444.(&)444.(')444.(

33:7G

6 +3 " 61

0#./.

0#./(

$$( ! "

"" #*&%%'

& - #*&%%' '

0#./)

0#./%

$$( *"

"" #*&%%'

& - #*&%%' '

0#.1$ $$( ! "! "$ 0=

0= " "$ &1+'

& - " "$ '

0#.1 $$( ! "! " 0=

0= " " &1+'

& - " " '

0#.1. $$( ! "! "H 0=

0= " ". &1+'

& - " ". '

0#.1/ $$( ! "! " 0=

0= " "/ &1+'

& - " "/ '

0#.11 $$( ! "! "$ =

= " "$ &1+'

0#.1( $$( ! "! " =

= " " &1+'

0#.1) $$( ! "! ". =

= " ". &1+'

0#.14 $$( ! "! "/ =

= " "/ &1+'

0#.12:

0#.1%

$$( 6" =

! "9 2/22)$2&2/22)$2'$2/22)$4

I "9 2/22)$2&2/22)$2'$2/22)$4

#3! "9 2/22)$2&2/22)$2'$2/22)$4

! 9$$$$$$$$)444.(

0 9$$$$$$$$$$$.$$$$&6?'

33:7

0#.($ $$( =0 $

813&$$$$$.$$' 3 $

0#.( $$( =0

813&$$$$$.$$' 3

www.PAControl.com

Page 238: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

2

&' &'

$$ 60" #

$$/ 58

$1 *"$=#

*5=""$

$( *"$=#

*5=""

$):$4 58

$2 "#

*5" * "

$% #0./.#

*5#0./. * "

$ 0"#

*5 ?"&))$$))((' *

"* 3 #*@#

06

* 9,

#*@# *5!*#

*59,

#*@# *5!*#

. !,*6

* 9!# 7# "" "

*59!# 7# "" "

/ 58

1 ;7#

*5 * " "

0#.(.

( 58

$$$4 7;

7 7

&$)' 7&$4'+&$$$'+ 7$$

3

$2 ;

*5 88 -"3

$% *3

*5 3

$: 58

. #0./."

*5 #0./."

/ *5

1 *

0#.(/

(

*5"

$$ -"&/$ *5>/$ * '

$ $$. -"&$$ *5>$$ * '

$. 53&5'

$/$( 5

$) "

$4 0;&$2';+

*5 " 0;&$2'

0#.(1

$2( 5

www.PAControl.com

Page 239: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

%

&' &'

$$ $ -"&$$( *5>$$( * '

$ $. -"&$ *5>$ * '

$. $ -"&$( *5>$( * '

$/ ! ;+ ;&;#'

*5 +

$1 &A'

*5 +

$( @ &@#'

*5 " " BB

$) ;C&;D'

*5 " " BC:B

+ $

$4 7 &7;'

*5 %" " BB

0#.((

$2( 5

www.PAControl.com

Page 240: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

$

www.PAControl.com

Page 241: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3." 3

.""" " "

&' &'

#$$:

#$

$$( 5

$$$4 58

$2 5;+" 8

#$.

.( 58

#$/

#$4

$$(

58

$$$/ #0./.;

$95"

9;

.9

/9*3 ;

$1 #0./. ;

*5 #0./.

$( #0./. #

= -: *5 7

$) #0./.#" "

= #0./. &5" '

$4 #0./.#" *3

= #0./. &5" '

$2 ";

$95"

9;

.9

/9*3 ;

. " ;

*5 "

/ " #

*5 7 &67 - '

1 "#" "

*5 7" &5 '

#$2

( "#" *3

*5 3&5 '

#$% $$( RS-232C Port Reception Counter (4 digits BCD) = "

#$ $$( Peripheral Device Reception Counter = "

www.PAControl.com

Page 242: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

.

&' &'

$$$4 6" # "

$$*59 A "

$*59 = " .

$.*59 = " /

$/*59 = " 1

$1*59 = " (

$(*59 A " )

$)*59 = " 4

$4*59 = " 2

$2 60" "

*59*"

* 90""

$% 60" =3,

*59*3,8

* 95"

$ 58

*"$ ,

*59 ,

* 9

. *"$*3,

*59 *3,8

* 9 5

/ *"$D 0

*59 C

* 9C

1 *"$*""

*59"

* 9 5"

#

( *"$*"0

*59 "

* 9 0""

$$ 58

. *"*3,

*59 *3,8

* 9 5

/ *"D 0

*59 C

* 9C

1 *"*""

*59"

* 9 5"

#.

( *"*"0

*59 "

* 9 0""

www.PAControl.com

Page 243: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

/

&' &'

$$ "0";

*5 ))$$))1&"0"

""'

$ 0"0";

*5 ))())11&"0"

" '

$. #850";

*5 ))1())((&"0"

'

$/:$1 58

$( 7

*5 ))%

$):$4 58

$2 0" ;

*5 + " "

$% ;

*5

$ # ;

*5 - &)11)(%%'

?

0";

*5 - 0"

. ;

*5 - "&8':

"" +

/ ;+" ! ;

*5 - +"

1 03;

8 *5 -"

#/

( 58

#1 $$( +&1'

" !

" ": "

#( $$( &1'

"

" "

#) $$( 58

$$$4 &$$(%:'#4

$2( 6&$$(%:'

$$$4 0 &$$(%:#2

$2( &$$(%:'

$$$4 6&$$./:'#%

$2( &$/:'

www.PAControl.com

Page 244: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

1

&' &'

$$$4 &$.:'#.$

$2( A&$$%%:'

$$$4 -

$$90

$9

$.9

$/9

$19

$(9

$)90

$2. 58

/ /$ "

1 -0"

*5"-, 3 *5

#.

( -0

,: *5#.1: ,: *5

,

#.. $$( 58

#./ $$( &1'

" :

$$$$ 3

www.PAControl.com

Page 245: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

!"# $"% " &

$$ ' ( )

'

((*+'

,- .- /

-0*11220*11&

('

2223 $-(2452#'

226!76+*82*!9!62#6:9

0*1122

245 $

22$$(

2 $ ((

2#2223

2223 9:'-222'

24 !*;.-6#5##

268*

0*112

#5 / ;.-6#5#

268*

222% $$$(

2$$$

$$$(-)0*112#

2&23 $$

28<

0*112#

24 9:'

0*112% 225 9:'

2223 22+$$( '

2+$$( '

0*112&

245 9:'

0*1125

0*11&

225 9:'

$-0*1150*11=

()$'

0*115"

0*111

225 9:'

2223 $-(2452

22==-.0$ '

0*113

245

225>$

2:$2223

2223 $$-(2452"2#"2%22==-.0-245

0*114

245 $-2223) 8==5$)'

22#2$-2223

2 2$

2# 22$

2%

www.PAControl.com

Page 246: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

#

,- .- /

0*11= 225 $

2222?-$$ $

222====-.0*$ $$$'

-0*11#20*11%=

()$'

222% 62222262222#

22'4$8$8##$8%&$8&4$851$81%#$831&$84#4$

2&23 62222%62222&-$222%

24 622225622221-$222%

0*11#2

#5 6222236222-$222%

2223 622

24$8$8##$8%&$8&4$851$81%#$831&$84#4$

0*11#

245 622#-$622'

2223 622%-$622'0*11##

245 622&-$622'

2223 6225-$622'0*11#%

245 6221-$622'

2223 6223-$622'0*11#&

6224-$622'

2223 6224-$622'0*11#5

245 622=-$622'

0*11#1

0*11#3

225 9:'

222% 622222-29$ 8 8#@ A

2&23 62222-29$ 8 8#@ A

24 62222#-29$ 8 8#@ A

0*11#4

#5 62222%-29$ 8 8#@ A

; -0*11&20*11&&

()$'

0*11&2

0*11&

225 9:'

222% ; $

2: ( $8&$ $

2&23 ; $

2B(8(

0*11&#

245 ;

220C 82: (2223

0*11&%"

0*11&&

225 9:'

www.PAControl.com

Page 247: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

%

,- .- /

('

0*11&5

0*11&=

225 9:'

2223

22-"3""#"="1222

20*115

-!( +6%2#( !9'

24 AA

262265

0*1152

#5 $$ $

2;A8#!A-%!A-$8&9A

-!( +6%2#( !9'

2223 .

22'#D"2#'&D"2#&'4D"2%='1D"2&='#D

0*115

245 /$$

0

22 3

2 3 !

2# 3 9

2% 3 #

2& 3 # !

25 3 # 9

21 4

23 4 !

24 4 9

2= 4 #

2 4 # !

4 # 9

-!( +6%2#( !9'

0*115# 225 $-;A

2222====$'

-!( +6%2#( !9'

2223 9 $-;A

22%-.0

-!( +6%2#( !9'

0*115%

245 9:'

0*115& 225 9:'

-0*1155

('

222%

23

3-

#/0

2&23 9:'

24 $$'

20

0

0*1155

#5 9:'

www.PAControl.com

Page 248: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

&

!"# $"% " &

$$ ' )

'

((*#+'

,- .- /

-0*11220*11&

('

2223 $-(2452#'

226!76+*82*!9!62#6:9

0*1122

245 $

22$$(

2 $ ((

2#2223

2223 9:'-222'

24 !*;.-6#5##

268*

0*112

#5 / ;.-6#5#

268*

222% $$$(

2$$$

$$$(-)0*112#

2&23 $$

28<

24 ) $'

0*112#

#5 9:'

0*112% 25 9 '

2223 22*$(

2*$( '

0*112&

245 9:'

0*1125

0*11&

225 9:'

www.PAControl.com

Page 249: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

5

,- .- /

$-0*1150*11=

()$'

0*115 225 9:'

0*111 2223 $6#%#-(2452

22==-.0$ 6#%#'

245 6#%#

225>$

2:$2223

2223 $-(2452

22==-.0$ '

0*113

245

225>$

2:$2223

2223 $$-(2452"2#"2%22==-.0-245

0*114

245 $-2223) 8==5$)'

22#2$-2223

2 2$

2# 22$

2%

0*11= 225 $

2222?-$$ $

222====-.0*$ $$$'

-0*11#20*11%=

()$'

222% $62222262222#

22$8$8##$8%%$8&5$852$81#2$83&2$8442$

2&23 $62222%62222&-$222%

24 $622225622221-$222%

0*11#2

#5 $6222236222-$222%

2223 $622

222$82$82##$82%%$82&5$8252$821#2$823&2$8

2442$

0*11#

245 622#-$622'

2223 622%-$622'0*11##

245 622&-$622'

2223 6225-$622'0*11#%

245 6221-$622'

2223 6223-$622'0*11#&

245 6224-$622'

2223 6224-$622'0*11#5

245 622=-$622'

0*11#1

0*11#3

225 9:'

222% 62222%-29$ 8 8#@ A

2&23 62222&-29$ 8 8#@ A

24 622225-29$ 8 8#@ A

0*11#4

#5 622221-29$ 8 8#@ A

www.PAControl.com

Page 250: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

1

,- .- /

222% ?$ 2

268+

2&23 ?$

268+

0*11#=

245 9:'

0*11%2

0*11&

225 9:'

; -0*11&20*11&&

()$'

0*11&2

0*11&

225 9:'

222% ; $

20$-5A;E

F $-#2A;E

#: ( $-#2A;E

&$$-#2A;E

0*11&#

2&23 ; $

2B(8(

0*11&# 245 ; E 62222262222#

220 '

2: '

2#:E -2;E522;E'

2%:E -#2;EA;E'

2&:E -%22;E#2A;E'G

0*11&%"

0*11&&

225 9:'

6#%#$$

('

::C$$ (!9"$$ 6#%#

-20*11&5 0*11&='

222%

22-"3""#"="1222

20*11&1

-+( +6%2#( !9'

2&23

208

'

-+( +6%2#( !9'

24 A,A

262265-!'

0*11&5

#5 $$ $

2;A898#A-8%A-*8&9A

-+ A $" " !9

+6%2#'

www.PAControl.com

Page 251: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

3

,- .- /

2223 .

22'#D"2#'&D"2#&'4D"2%='1D"2&='#D!5/$$

0*11&1

245 /$/$

0

22 3

2 3 !

2# 3 9

2% 3 #

2& 3 # !

25 3 # 9

21 4

23 4 !

24 4 9

2= 4 #

2 4 # !

4 # 9

-+-"38"#

"=122" " !9+6%2#

0*11&3 225 $-2222====.02=="==2$

-+2$" " !9+6%2#'

2223 99 $-;A

00 to 31 (BCD) -+ $22" " !9

+6%2#'

24 $$ '

2080*11&=

-+" " !9+6%2#'

0*11&4

#5 $$ '

2080*11&=8#6"/

-+" " !9+6%2#'

2223 -22//

-(40*11&4'

0*11&=

245 ,#50*11&42

$'-22#5182//#55

,#50*11&4

'-22//'

www.PAControl.com

Page 252: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

4

,- .- /

$$

('

::$$ ( !9"$$

-20*1152 0*115&'

$$ ($$ ($$

( $$ ': (

$$0 $$$ '

222%

22-"3""#"="1222

20*115

-+" " !9

+6%2#'

2& 9:'

0*1152

#5 $$ $

2;A8#9

-+A" " !9+6%2#'

2223 .

22'#D"2#'&D"2#&'4D"2%='1D"2&='#D

0*115

245 /$$

0

22 3

2 3 !

2# 3 9

2% 3 #

2& 3 # !

25 3 # 9

21 4

23 4 !

24 4 9

2= 4 #

2 4 # !

4#9

+-"38"#

"=122" " !9+6%2#

0*115# 225 $-;A

2222====$'

-+2$" " !9+6%2#'

2223 9 $-;A

22%-.0

+ $22" " !9

+6%2#'

24 $$ '

2080*11&=

-+" " !9+6%2#'

0*115%

#5 $$ '

2080*11&=8#6"/

-+" " !9+6%2#'

www.PAControl.com

Page 253: PLC Programming - EEP - Electrical Engineering Portal˛˜1 /, &’ ˚ ˛8 ˇ˙) ˚˚ 8 ˆ ˆˆ ˛ ˝ ˘ ˝ .- ˛ ˝˙ 8˙ ˝˙ ˙ 4 ˙˚˚˙ ˝ 7 ˛ ˚ - ˚˙ -˛ ˙ ˘ 8 47˙ ˚ˆ˙

=

,- .- /

2223 -22//

-(40*11&4'

0*115&

245 ,#50*11&42

$'-22#5182//#55

,#50*11&4

'-22//'

-0*1155

('

222%

23

3-

#/0

2&23 9:'

24 Cycle time monitor enable 0: Generate a non-fatal error for a cycle time that is too long. 1: Do not generate a non-fatal error.

0*1155

#5 Low battery error enable 0: Generate a non-fatal error for low battery voltage. 0'

www.PAControl.com