SlideShare a Scribd company logo
Plc programming course3
Analog Control for Visual PLC
                                           NEW
                                           Analog I/O Unit                                                              Pressure
          PLC                              KL Series                                                                    Sensor




                                                                                                                 Measuring
                                                                                                                 Instruments



                    Our Analog I/O Provides
                    3 Big Advantages
                         Noise Immunity
                         Visual Set-up
                         Simple Wiring                                                                              Invertor




Visual Analog I/O Modules Eliminate Noise Interface in
Long Distance Transmission
        Current Problems

    1    Extending an analog signal cable leads to greater interference and
         a weaker signal
                                  Analog                 Cable length: 0 m       Cable length: 150 m
                                  Module



                                                                     Cable length: 50 m


                                                      The longer the cable, the weaker                    A very long analog signal cable is
                                                      the analog voltage signal                           easily affected by other electrical
                                                      becomes.                                            signals resulting in a weaker signal.

                Analog
                signal




Visual Analog Solution
    Strong signals are unaffected by noise interference

                                                                                          Cable length:
                                                                Cable length: 0 m         50 m


                                                                             Cable length: 150 m




            KL

2
Current Problems

 2     Viewing analog signals require a specific display device
                                             Conventional
                                             method
                                                                               HH
                                                                               HI
                                                                               GO                   TIM
                                                                                                          ING
                                                                               LO
                                                                               LL
                                                                                                                SEL
                                                                                                                      EC
                                                                                                                           T No.




                                                                                    RD
                                                                                         -5 0
                                                                                                R




                                                                                                    Analog sensor
                                                                                                    controller
                                                                 -081
                                                            LK

                         Analog
                         Module




Visual Analog Solution
 The analog unit also serves as a display unit



                                                           -081
                                                      LK




                                                                                          Analog unit

            KL
                                                                              1200 m
                                             The analog unit also
                                             displays results. By placing
                                             the unit close to the analog
                                             sensor you can quickly and
                                             easily view the current value.
      Current Problems

 3     Controlling multiple analog devices requires extensive wiring



                                                                                                                When the number of analog
                                                                                                                devices increases, so does
                                                                                                                the wiring.


                   Analog
                   Module



Visual Analog Solution
 A single cable permits processing of up to 128 channels



      KL
                              KL             Only one cable is
                                             needed to connect
                                             the analog units,
                                             allowing up to 128
                                             channels of analog
                                             I/O control.

                                                                                                                                             3
1. How to display measured data in millimeters
   or inches
      The analog data output from the LK Series displacement sensor can be displayed in either millimeters or inches.

[System configuration]


                                                                                                                Display in millimeters
                                                                                                                (5.000 mm)




           LK Series (Head)                                                                          Switching



                                      Analog
                                       input                                                                    Display in inches
                                                     KL                                                         (19.70 inch)

                                 Note: LK controller is not shown
                                       in the drawing.

[Communication settings for the KL unit]
                                                   KL-N 10V         KL-4AD            KL-2D A
    1st address of send dat a                        00H                –                –
    N umber of send addresses                        00H                –                –
    1st address of receive dat a                     00H                –                –
    N umber of receive addresses                     08H                –                –
    Address f or KL-4AD                               –               00H                –
    Address f or KL-2D A                              –                 –                –
    FIN AL swit ch S et t ing                        OFF               ON                –
    KL-4AD Range                                      –              +/-10V              –


[Description of ladder diagram]
    2008    KL-N10V Communication setup                                 2700     2701      2702      2704      2705     2706
                                                                       ( RES)   ( SET )   ( SET )   ( SET )   ( RES)   ( SET )
                                                                                          $0000   $0000        $0000  $0008
                                                                                           DW      DW           DW      DW
                                                                                          DM1800 DM1801       DM1802 DM1803
    2007                                                                                                               2700
                                                                                                                      ( SET )


            Calculates the input voltage value from KL-4AD
    2002       DM1600   #00025   #00010   DM0000
                LDA      MUL       DIV     STA

            Display in "mm"
    2002       DM0000 DM0001
                LDA    STA


            Display in "inch"
    2002       DM0000   #00197   #05000   DM0002
                LDA      MUL       DIV     STA




4
2. How to output the status of plant air pressure
   in 16 steps
    ON/OFF output can be obtained in 16 steps using analog data output from the AP Series pressure sensor.

[System configuration]                                                                                                           Output 2
                                                                                                          OFF             ON
                                                                                                                                                 2 output points




                                                                                      Pressure
                                                                                                                                                 are provided.
                                                                                                                                 Output 1
                                                                                                 OFF              ON


                                                                                                                          time




                                                                         KL




                                                                                      Pressure
               A
                   AP
                        -30


                                                                                                                                 Output 1
                                                                                                                                                 Output is available
                              OU
                                   T1




                                                                                                                                    to
                                                                                                                                                 in 16 steps.
                              mm
                                   Hg
                              OU
                                   T2




                                                 Analog input                                                                    Output 16


                                                                                                                                  * To actually do this, the
                                                                                                                          time      expansion units are required.
[Communication settings for the KL unit]
                                                                     KL-N 10V         KL-4AD                      KL-2D A
  1st address of send dat a                                            00H               –                           –
  N umber of send addresses                                            00H               –                           –
  1st address of receive dat a                                         00H               –                           –
  N umber of receive addresses                                         08H               –                           –
  Address f or KL-4AD                                                   –              00H                           –
  Address f or KL-2D A                                                  –                –                           –
  FIN AL swit ch S et t ing                                            OFF              ON                           –
  KL-4AD Range                                                          –              1-5V                          –


[Description of ladder diagram]
  2008   KL-N10V Communication setup                                                              2700       2701       2702      2704       2705     2706
                                                                                                 ( RES)     ( SET )    ( SET )   ( SET )    ( RES)   ( SET )
                                                                                                                       $0000   $0000        $0000  $0008
                                                                                                                        DW      DW           DW     DW
                                                                                                                       DM1800 DM1801       DM1802 DM1803
  2007                                                                                                                                                2700
                                                                                                                                                     ( SET )
  2002     DM1600                       #01000    DM0000    Calculates the input voltage value from KL-4AD
            LDA                          SUB       STA
  2002     DM0000 #00725                           #00725   #00002   DM0010   Calculates the pressure value by unit of 0.1 Psi
            LDA     MUL                             SUB       DIV     STA
  2002     DM0010 DM0100 2009                                                                                                                         500
                                                            Output by 16-step tolerance
            LDA    CMP
                  DM0101 2009                                                                                                                         501
                   CMP
                  DM0102 2009                                                                                                                         502
                   CMP



                                        DM0115 2009                                                                                                   515
                                         CMP


                                                                                                                                                                   5
3. How to change motor speed using a digital
   switch
      Analog voltage is output according to the digital switch number when changing the rotating speed of an inverter motor.

[System configuration]                                          When using a 1-digit digital switch




                                                                                  Speed
                                                                                                              time



                                                         KL
                                                                When using a 2-digit digital switch
                                Analog output




                                                                                  Speed
                                                                                                              Adjustment can be
                                                                                                              performed in finer steps.
                 Invertor

[Communication settings for the KL unit]                                                                      time
                                                   KL-N 10V    KL-4AD             KL-2D A
    1st address of send dat a                        00H          –                  –
    N umber of send addresses                        08H          –                  –
    1st address of receive dat a                     00H          –                  –
    N umber of receive addresses                     00H          –                  –
    Address f or KL-4AD                               –           –                  –
    Address f or KL-2D A                              –           –                00H
    FIN AL swit ch S et t ing                        ON           –                  –
    KL-4AD Range                                      –           –                0-5V


[Description of ladder diagram]
    2008   KL-N10V Communication setup                              2700     2701          2702      2704       2705      2706
                                                                   ( RES)   ( SET )       ( SET )   ( SET )    ( SET )   ( SET )
                                                                                          $0000   $0008         $0000  $0000
                                                                                           DW      DW            DW      DW
                                                                                          DM1800 DM1801        DM1802 DM1803
    2007                                                                                                                2700
                                                                                                                       ( SET )


           Input by Digital Switch (0000 to 0007)
    2002       0000    $00FF              DM0020
               LDA     ANDA       TBIN     STA

           Converts the Digital Switch input value to voltage.
    2002      DM0020   #05000   #00006    DM1000
               LDA      MUL       DIV      STA


           Controls speed of the inverter
    2002      DM1000   #00100    #00125   DM1700
               LDA      MUL        DIV     STA




6
4. How to change air pressure using a digital switch
     Analog voltage is output according to the digital switch number when changing air pressure with electropneumatic
     regulator.
                                                               Usually
[System configuration]




                                                                  Pressure
                                                                                                           The regulator is manually
                                                                                                           adjusted.


                                                                                                  time




 Electro-                                                      When using this system
 pneumatic           IN                                   KL
 Regulator
                                                                                                           The regulator is



                                                                  Pressure
                           Analog output                                                                   automatically adjusted
                                                                                                           through the digital switch.

                                 OUT                                                              time


[Communication settings for the KL unit]
                                                    KL-N 10V   KL-4AD              KL-2D A
  1st address of send dat a                           00H         –                   –
  N umber of send addresses                           08H         –                   –
  1st address of receive dat a                        00H         –                   –
  N umber of receive addresses                        00H         –                   –
  Address f or KL-4AD                                  –          –                   –
  Address f or KL-2D A                                 –          –                 00H
  FIN AL swit ch S et t ing                           ON          –                   –
  KL-4AD Range                                         –          –                 0-5V


[Description of ladder diagram]
   2008   KL-N10V Communication setup                             2700        2701      2702      2704         2705      2706
                                                                 ( RES)      ( SET )   ( SET )   ( SET )      ( SET )   ( SET )
                                                                                       $0000   $0008          $0000  $0000
                                                                                        DW      DW             DW      DW
                                                                                       DM1800 DM1801         DM1802 DM1803
   2007                                                                                                               2700
                                                                                                                     ( SET )


          Input by Digital Switch (0000 to 0015)
   2002       0000               DM0020
              LDA         TBIN    STA

          Converts the Digital Switch input value to voltage.
   2002      DM0020   #05000     #01450   DM1000
              LDA      MUL         DIV     STA


          Controls speed of the inverter
   2002      DM1000   #00100     #00125    DM1700
              LDA      MUL         DIV      STA




                                                                                                                                     7
5. How to transmit analog data to a distant point
   without data deterioration
      Analog data is amplified, inverted and output to a recorder located 1,200 m away.

                                                                                          When directly transmitting analog data
[System configuration]
                                                                                                                              Noise                   Actual data
                AP
                     A
                         AP-3
                                0



                                    OUT1




                                    mmH
                                          g
                                                       1 to 5 V
                                    OUT2




                                                                                                   Voltage
                                                       KL                                                                             Deteriorated

                                                                    KV                                                                                 Resultant data




       1200 mm
                                                                                          When using this system




                                                                                                   Voltage
                                                                                                                       Data deterioration can be prevented
                                                                                                                       and noise can be eliminated.
                                               10 through 0 V
                                               Inverted data

                                                                               Recorder   * The KV Series can also be used to amplify analog data

[Communication settings for the KL unit]
                                                                           KL-N 10V       KL-4AD                   KL-2D A
    1st address of send dat a                                                08H             –                        –
    N umber of send addresses                                                08H             –                        –
    1st address of receive dat a                                             00H             –                        –
    N umber of receive addresses                                             08H             –                        –
    Address f or KL-4AD                                                       –            00H                        –
    Address f or KL-2D A                                                      –              –                       08H
    FIN AL swit ch S et t ing                                                ON            OFF                        –
    KL-4AD Range                                                              –            0-5V                     0-10V


[Description of ladder diagram]
    2008   KL-N10V Communication setup                                                       2700             2701       2702      2704      2705        2706
                                                                                            ( RES)           ( SET )    ( SET )   ( SET )   ( SET )     ( SET )
                                                                                                                       $0008   $0008         $0000  $0008
                                                                                                                        DW      DW            DW     DW
                                                                                                                       DM1800 DM1801        DM1802 DM1803

    2007                                                                                                                                                 2700
                                                                                                                                                        ( SET )

           Calculates the input voltage value from KL-4AD
    2002      DM1600                          #00125     #00100   DM0000
               LDA                             MUL         DIV     STA


           Converts the 0-5V range to 10-0V range.
    2002      DM0000                          #00002      TM10
                LDA                            MUL         STA
              #10000                           TM10      DM1000
                LDA                            SUB         STA

           Calculates the output voltage through KL-2DA
    2002      DM1000                          #00010     #00025   DM1700
               LDA                             MUL         DIV     STA



8
9
10
Plc programming course3
Plc programming course3

More Related Content

PDF
Plc programming course1
PDF
180470235 45106998-plc-programming-course2-3-pdf (1)
PDF
Keyence plc programming course1
PPTX
Flyback Converter using PWM IC(LTspice Version)
PPT
Control system concepts by using matlab
PDF
Report on remote control home appliances.
DOCX
Demultiplexer with vhdl code
PDF
Iai 09 rc general_cj0203-2_a_p523-718_controller
Plc programming course1
180470235 45106998-plc-programming-course2-3-pdf (1)
Keyence plc programming course1
Flyback Converter using PWM IC(LTspice Version)
Control system concepts by using matlab
Report on remote control home appliances.
Demultiplexer with vhdl code
Iai 09 rc general_cj0203-2_a_p523-718_controller

What's hot (20)

PDF
Scada assessment case study
PDF
TIA Portal STEP 7 Basic
PPTX
LIC UNIT II.pptx
PPTX
PLC(Programmable Logic Controller)-Control system Engineering.
PDF
Cfc for s7_e
PDF
Catalog ls contactors and overload relays metasol mc
PPTX
Dead time elimination for voltage source inverter
PDF
Simatic getting-started-pcs7
DOCX
Parking Control System using PLC
PPTX
PPT
Vt training plc_1
PPTX
Thyrstors turn off methods
PDF
Sv ig5a manual
PDF
Ec6412 linear-integrated-circuit-laboratory
PDF
Simple model of Fuse(PSpice)
PPT
SIEMENS S7-300c.ppt
PDF
CAN interfacing on LPC1768 (ARM Cortex M3 based Micro controller)
DOCX
Worksheet de 1.2
PPTX
PLC programming example - Paint Spray
Scada assessment case study
TIA Portal STEP 7 Basic
LIC UNIT II.pptx
PLC(Programmable Logic Controller)-Control system Engineering.
Cfc for s7_e
Catalog ls contactors and overload relays metasol mc
Dead time elimination for voltage source inverter
Simatic getting-started-pcs7
Parking Control System using PLC
Vt training plc_1
Thyrstors turn off methods
Sv ig5a manual
Ec6412 linear-integrated-circuit-laboratory
Simple model of Fuse(PSpice)
SIEMENS S7-300c.ppt
CAN interfacing on LPC1768 (ARM Cortex M3 based Micro controller)
Worksheet de 1.2
PLC programming example - Paint Spray
Ad

Similar to Plc programming course3 (20)

DOCX
04042012
PDF
Rail car point and continuous level monitoring to hmi
PDF
Hi Level Alarm to Base Unit to Red Lion with Alarm
PDF
Hi Level Alarm to Base Unit to Red Lion with Alarm
PPT
Eee3420 lecture08 rev2011
DOCX
Tv remote jammer
DOCX
TV Remote Jammer
PPTX
Spectrum
PPT
Operational amplifier
PDF
Ammeter and voltmeter
PDF
wired detector wiring methods and security rate
PPTX
Chapter 9.pptx
PPT
Eee3420 lecture08 rev2011
PDF
331 7kf01
PDF
Li-Fi Audio Transmission Project Report
PDF
PDF
PDF
Underground water line pressure monitoring
DOCX
PDF
Mixed signal verification challenges
04042012
Rail car point and continuous level monitoring to hmi
Hi Level Alarm to Base Unit to Red Lion with Alarm
Hi Level Alarm to Base Unit to Red Lion with Alarm
Eee3420 lecture08 rev2011
Tv remote jammer
TV Remote Jammer
Spectrum
Operational amplifier
Ammeter and voltmeter
wired detector wiring methods and security rate
Chapter 9.pptx
Eee3420 lecture08 rev2011
331 7kf01
Li-Fi Audio Transmission Project Report
Underground water line pressure monitoring
Mixed signal verification challenges
Ad

Plc programming course3

  • 2. Analog Control for Visual PLC NEW Analog I/O Unit Pressure PLC KL Series Sensor Measuring Instruments Our Analog I/O Provides 3 Big Advantages Noise Immunity Visual Set-up Simple Wiring Invertor Visual Analog I/O Modules Eliminate Noise Interface in Long Distance Transmission Current Problems 1 Extending an analog signal cable leads to greater interference and a weaker signal Analog Cable length: 0 m Cable length: 150 m Module Cable length: 50 m The longer the cable, the weaker A very long analog signal cable is the analog voltage signal easily affected by other electrical becomes. signals resulting in a weaker signal. Analog signal Visual Analog Solution Strong signals are unaffected by noise interference Cable length: Cable length: 0 m 50 m Cable length: 150 m KL 2
  • 3. Current Problems 2 Viewing analog signals require a specific display device Conventional method HH HI GO TIM ING LO LL SEL EC T No. RD -5 0 R Analog sensor controller -081 LK Analog Module Visual Analog Solution The analog unit also serves as a display unit -081 LK Analog unit KL 1200 m The analog unit also displays results. By placing the unit close to the analog sensor you can quickly and easily view the current value. Current Problems 3 Controlling multiple analog devices requires extensive wiring When the number of analog devices increases, so does the wiring. Analog Module Visual Analog Solution A single cable permits processing of up to 128 channels KL KL Only one cable is needed to connect the analog units, allowing up to 128 channels of analog I/O control. 3
  • 4. 1. How to display measured data in millimeters or inches The analog data output from the LK Series displacement sensor can be displayed in either millimeters or inches. [System configuration] Display in millimeters (5.000 mm) LK Series (Head) Switching Analog input Display in inches KL (19.70 inch) Note: LK controller is not shown in the drawing. [Communication settings for the KL unit] KL-N 10V KL-4AD KL-2D A 1st address of send dat a 00H – – N umber of send addresses 00H – – 1st address of receive dat a 00H – – N umber of receive addresses 08H – – Address f or KL-4AD – 00H – Address f or KL-2D A – – – FIN AL swit ch S et t ing OFF ON – KL-4AD Range – +/-10V – [Description of ladder diagram] 2008 KL-N10V Communication setup 2700 2701 2702 2704 2705 2706 ( RES) ( SET ) ( SET ) ( SET ) ( RES) ( SET ) $0000 $0000 $0000 $0008 DW DW DW DW DM1800 DM1801 DM1802 DM1803 2007 2700 ( SET ) Calculates the input voltage value from KL-4AD 2002 DM1600 #00025 #00010 DM0000 LDA MUL DIV STA Display in "mm" 2002 DM0000 DM0001 LDA STA Display in "inch" 2002 DM0000 #00197 #05000 DM0002 LDA MUL DIV STA 4
  • 5. 2. How to output the status of plant air pressure in 16 steps ON/OFF output can be obtained in 16 steps using analog data output from the AP Series pressure sensor. [System configuration] Output 2 OFF ON 2 output points Pressure are provided. Output 1 OFF ON time KL Pressure A AP -30 Output 1 Output is available OU T1 to in 16 steps. mm Hg OU T2 Analog input Output 16 * To actually do this, the time expansion units are required. [Communication settings for the KL unit] KL-N 10V KL-4AD KL-2D A 1st address of send dat a 00H – – N umber of send addresses 00H – – 1st address of receive dat a 00H – – N umber of receive addresses 08H – – Address f or KL-4AD – 00H – Address f or KL-2D A – – – FIN AL swit ch S et t ing OFF ON – KL-4AD Range – 1-5V – [Description of ladder diagram] 2008 KL-N10V Communication setup 2700 2701 2702 2704 2705 2706 ( RES) ( SET ) ( SET ) ( SET ) ( RES) ( SET ) $0000 $0000 $0000 $0008 DW DW DW DW DM1800 DM1801 DM1802 DM1803 2007 2700 ( SET ) 2002 DM1600 #01000 DM0000 Calculates the input voltage value from KL-4AD LDA SUB STA 2002 DM0000 #00725 #00725 #00002 DM0010 Calculates the pressure value by unit of 0.1 Psi LDA MUL SUB DIV STA 2002 DM0010 DM0100 2009 500 Output by 16-step tolerance LDA CMP DM0101 2009 501 CMP DM0102 2009 502 CMP DM0115 2009 515 CMP 5
  • 6. 3. How to change motor speed using a digital switch Analog voltage is output according to the digital switch number when changing the rotating speed of an inverter motor. [System configuration] When using a 1-digit digital switch Speed time KL When using a 2-digit digital switch Analog output Speed Adjustment can be performed in finer steps. Invertor [Communication settings for the KL unit] time KL-N 10V KL-4AD KL-2D A 1st address of send dat a 00H – – N umber of send addresses 08H – – 1st address of receive dat a 00H – – N umber of receive addresses 00H – – Address f or KL-4AD – – – Address f or KL-2D A – – 00H FIN AL swit ch S et t ing ON – – KL-4AD Range – – 0-5V [Description of ladder diagram] 2008 KL-N10V Communication setup 2700 2701 2702 2704 2705 2706 ( RES) ( SET ) ( SET ) ( SET ) ( SET ) ( SET ) $0000 $0008 $0000 $0000 DW DW DW DW DM1800 DM1801 DM1802 DM1803 2007 2700 ( SET ) Input by Digital Switch (0000 to 0007) 2002 0000 $00FF DM0020 LDA ANDA TBIN STA Converts the Digital Switch input value to voltage. 2002 DM0020 #05000 #00006 DM1000 LDA MUL DIV STA Controls speed of the inverter 2002 DM1000 #00100 #00125 DM1700 LDA MUL DIV STA 6
  • 7. 4. How to change air pressure using a digital switch Analog voltage is output according to the digital switch number when changing air pressure with electropneumatic regulator. Usually [System configuration] Pressure The regulator is manually adjusted. time Electro- When using this system pneumatic IN KL Regulator The regulator is Pressure Analog output automatically adjusted through the digital switch. OUT time [Communication settings for the KL unit] KL-N 10V KL-4AD KL-2D A 1st address of send dat a 00H – – N umber of send addresses 08H – – 1st address of receive dat a 00H – – N umber of receive addresses 00H – – Address f or KL-4AD – – – Address f or KL-2D A – – 00H FIN AL swit ch S et t ing ON – – KL-4AD Range – – 0-5V [Description of ladder diagram] 2008 KL-N10V Communication setup 2700 2701 2702 2704 2705 2706 ( RES) ( SET ) ( SET ) ( SET ) ( SET ) ( SET ) $0000 $0008 $0000 $0000 DW DW DW DW DM1800 DM1801 DM1802 DM1803 2007 2700 ( SET ) Input by Digital Switch (0000 to 0015) 2002 0000 DM0020 LDA TBIN STA Converts the Digital Switch input value to voltage. 2002 DM0020 #05000 #01450 DM1000 LDA MUL DIV STA Controls speed of the inverter 2002 DM1000 #00100 #00125 DM1700 LDA MUL DIV STA 7
  • 8. 5. How to transmit analog data to a distant point without data deterioration Analog data is amplified, inverted and output to a recorder located 1,200 m away. When directly transmitting analog data [System configuration] Noise Actual data AP A AP-3 0 OUT1 mmH g 1 to 5 V OUT2 Voltage KL Deteriorated KV Resultant data 1200 mm When using this system Voltage Data deterioration can be prevented and noise can be eliminated. 10 through 0 V Inverted data Recorder * The KV Series can also be used to amplify analog data [Communication settings for the KL unit] KL-N 10V KL-4AD KL-2D A 1st address of send dat a 08H – – N umber of send addresses 08H – – 1st address of receive dat a 00H – – N umber of receive addresses 08H – – Address f or KL-4AD – 00H – Address f or KL-2D A – – 08H FIN AL swit ch S et t ing ON OFF – KL-4AD Range – 0-5V 0-10V [Description of ladder diagram] 2008 KL-N10V Communication setup 2700 2701 2702 2704 2705 2706 ( RES) ( SET ) ( SET ) ( SET ) ( SET ) ( SET ) $0008 $0008 $0000 $0008 DW DW DW DW DM1800 DM1801 DM1802 DM1803 2007 2700 ( SET ) Calculates the input voltage value from KL-4AD 2002 DM1600 #00125 #00100 DM0000 LDA MUL DIV STA Converts the 0-5V range to 10-0V range. 2002 DM0000 #00002 TM10 LDA MUL STA #10000 TM10 DM1000 LDA SUB STA Calculates the output voltage through KL-2DA 2002 DM1000 #00010 #00025 DM1700 LDA MUL DIV STA 8
  • 9. 9
  • 10. 10