ภาคผนวก 2
แนะนำ� ตวั อย่างการใชง้ าน List programs
                                                                                ผนวก
                                                                      2
                                             ผนวก 2-1
ภาคผนวก 2.1	 List programs
ตัวอยา่ งท่ี 1                   ตวั อย่างที่ 2
≪List program : ตัวอยา่ งที่ 1≫  ≪List program≫
    Step Command                    Step Command
        0 LD X001                       0 LD X000
        1 OR Y000                       1 AND X001
        2 ANI X003                      2 OUT Y001
        3 OUT Y000                      3 LD X003
        4 OUT Y003                      4 OR Y003
        5 END                           5 ANI X004
                                        6 OUT Y003
≪List program : ตัวอย่างท่ี 2≫          7 LD Y003
    Step Command                        8 OUT C0 K5
        0 LD X001                      11 LD C0
        1 SET Y000                     12 OUT Y000
        2 SET Y003                     13 LD X002
        3 LD X003                      14 RST C0
        4 RST Y000                     16 END
        5 RST Y003
        6 END
ตัวอย่างท่ี 3                       ตัวอยา่ งที่ 4
≪List program≫                      ≪List program≫
   Step Command                            Step Command
       0 LD X001                                  0 LD X001
       1 OR Y000                                  1 OR Y003
       2 ANI X003                                 2 ANI C0
       3 OUT Y000                                 3 OUT Y003
       4 LD Y000                                  4 LD X004
       5 AND X000                                 5 OUT C0 K4
       6 OUT Y002                                 8 LD C0
       7 AND Y002                                 9 OUT Y001
       8 MPS                                     10 OUT T0 K10
       9 AND X005                                13 AND T0
      10 ANI Y003                                14 OUT Y002
      11 OUT Y001                                15 OUT T1 K20
      12 MPP                                     18 LD T1
      13 AND X006                                19 RST C0
      14 ANI Y001                                21 END
      15 OUT Y003
      16 END                     ผนวก 2-2
ตวั อยา่ งท่ี 5
≪List program≫
   Step Command
       0 LD X001
       1 OR Y000
       2 ANI T4
       3 OUT Y000
       4 OUT T0 K20
       7 LD T0
       8 OUT Y001
       9 OUT T1 K20
      12 LD T1
      13 OUT Y002
      14 OUT T2 K20
      17 LD T2
      18 OUT Y003
      19 OUT T3 K20
      22 LD T3
      23 OUT Y004
      24 OUT T4 K20
      27 END
                               ผนวก
                                2
                     ผนวก 2-3
MEMO
   ผนวก 2-4
ภาคผนวก 3
การใช้งาน Handy programming panel
กรณีใช้ Handy programming panel (HPP)…                                                                          ผนวก
กรณที ี่ใช้ HPP จะสามารถทำ� การ Edit program list ได้อยา่ งง่ายดาย                                               3
ในการจัดสรา้ ง Program หรอื Debug เคร่อื ง สามารถใช้ HPP ท�ำการเปลี่ยน Program อยา่ งงา่ ยๆ หรอื
Set timer / Counter ได้โดยเปน็ สว่ นที่ Computer ทว่ั ไปไมส่ ามารถเปล่ียนแปลงได้
และยงั ด�ำเนินการตรวจสอบ รายละเอียด Errors ได้…
ใช้ Monitor function, Program check function ของ HPP จะสามารถตรวจสอบรายละเอียด Error ได้อย่าง
สะดวก
สามารถ Storing programs และ Transfering programs ไปที่ PLCs…
HPP ร่นุ FX-30P สามารถจุ Sequence programs ได้สูงสดุ 15 programs (กรณี Step programs เกนิ 32000
steps ได้สูงสุด 7 sequence programs) ในการ Update ของ PLC ทแ่ี ยกตา่ งหากไมจ่ ำ� เปน็ ต้องใช้ PC
และกรณกี ารเขยี น Program เดยี วกันลงใน PLC หลายๆตัว กไ็ ม่จำ� เปน็ ต้องใช้ PC
ใช้กบั เครอื่ งจักรสำ� หรบั ตา่ งประเทศกไ็ ด้…
HPP รุน่ FX-30P เนอ่ื งจากรองรบั การเปลีย่ นภาษาทัง้ ญป่ี นุ่ , องั กฤษ, จีน จึงสะดวกในการใชง้ านในตา่ งประเทศ
ผนวก 3-1
ภาคผนวก 3.1	 การใช้ Handy programming panel (HPP)
กรณที ่ีใช้ HPP จะสามารถท�ำการ Edit programs list ไดอ้ ยา่ งงา่ ยดาย
ในการจัดสรา้ ง Programs หรือ Debug เครือ่ ง สามารถใช้ HPP ท�ำการเปลย่ี น Programs อยา่ งงา่ ยๆ หรอื Set timers/counters ไดโ้ ดย
เปน็ ส่วนที่ Computer ท่ัวไปไม่สามารถเปลี่ยนแปลงได้
①	Functions ทีส่ ะดวกในการ Set up เคร่อื งจักร
	 •	 ทำ� การ Edit programs โดยการใช้ Instruction list
	 •	 Devices monitoring, Force ON/OFF
②	Functions ที่สะดวกในการใช้งาน เมอ่ื เกิด Error ขน้ึ
	 •	 Program check function
	 •	 PC (PLC) diagnostic function
③	Functions ท่สี ะดวกส�ำหรับการ Maintenance
	 •	 Functions ท่สี ามารถแก้ไข Parameter timer, Counter
	 •	 Functions ในการ Transfer sequence programs ท่ี Update แลว้ (กรณีเปน็ Programs capacity เทา่ กับหรอื ตำ�่ กวา่ 32000 steps
     สามารถจุใน HPP ไดม้ ากกว่า 15 sequence programs)
④	Functions ท่สี ะดวกในการใชง้ านกับเคร่อื งจักรสง่ ออกตา่ งประเทศ
	 •	 ขอ้ ความสามารถรองรบั ได้หลายภาษา เชน่ อังกฤษ, จนี , ญ่ีป่นุ
[ตัวอยา่ งการเช่ือมตอ่ ]                           [FX-30P Demensions]
            PLC
 Programming
         port
                              FX-20P-CAB0 type                                170mm
                              program cable 1.5 m
                          HPP FX-30P
                          Main unit
                                                                        87mm
                                                                              นำ�้ หนัก : 0.3 kg
                          ผนวก 3-2
[ตาราง FX-30P Function]
■	Online mode (Functions การเชอ่ื มต่อโดยตรงไปยงั Memory ของ PLC)
                    Function                                                                Description
                    Read การ Read sequence program (จาก Program memory ใน PLC → FX-30P Monitor )
Programming         Write                 การ Writing sequence program (โดย Key input ลงใน FX-30P → Program memory ใน PLC)
                    Insert                ท�ำการ Insert intruction ลงใน Sequence program (โดย Key input ลงใน FX-30P → Program memory ใน PLC)
                    Delete ท�ำการยกเลิก Intruction จาก Sequence program (โดย Key input ลงใน FX-30P → Program memory ใน PLC)
Monitor                                   ท�ำการ Read สถานะการท�ำงาน (Program memory → FX-30P screen)
Test การ Force writing device (โดย Key input ลงใน FX-30P → Program memory)
                    การสลับ Offline       การสลบั เปลีย่ น Offline mode
                    PLC Diagnostic        ท�ำการ PLC diagnostic
                    Memory cassette transfer ท�ำการส่ง Memory cassette
                    Parameter             ท�ำการ Set parameter
                    Key word              ท�ำการ Set key word
                    Device conversion     ท�ำการ Device conversion
อ่นื ๆ              Latch clear           ท�ำ Latch clear
                    Device batch monitor  ท�ำ Device batch monitor
                    BFM batch monitor     ท�ำการ Monitor buffer memory
                    Baud rate             ท�ำการเปลี่ยน Baud rate
                    PLC memory clear      ท�ำการ Clear memory ใน PLC
                    Remote RUN/STOP       ทำ� การเปลย่ี น Mode RUN/STOP ใน PLC
                    PLC clock setting     ท�ำการ Set PLC timer
                    HPP set               ท�ำ HPP set
■	Offline mode (Functions การ Access เข้า RAM Memory ใน FX-30P)
                    Function                                                                Description
                    Read การ Read sequence program (จาก Built in RAM ของ FX-30P → FX-30P Screen )
Programming         Write                 การ Writing sequence program (โดย Key input ลงใน FX-30P → Built in RAM ของ FX-30P)
                    Insert                ท�ำการ Insert instruction ลงใน Sequence program (โดย Key input ลงใน FX-30P → Built in RAM ของ FX-30P)
                    Delete ทำ� การยกเลกิ Instruction จาก Sequence program (โดย Key input ลงใน FX-30P → Built in RAM ของ FX-30P)
                    การสลับ Online        การสลบั เปลีย่ น Offline mode
                    Program check         ทำ� การ Check program
                    HPP-FX transfer       ท�ำการ Transfer ระหวา่ ง 30P RAM - FX PLC
                    HPP-PC transfer*      ท�ำการ Transfer ระหว่าง 30P RAM - Computer
อื่นๆ               Parameter             ท�ำการ Set parameter
                    Device conversion     ท�ำการ Device conversion
                    PLC type              ท�ำการเปลย่ี น PLC Type
                    HPP memory clear      ท�ำการ Clear memory ใน 30P                                                                             ผนวก
                    Program management    ท�ำการ Manage program ใน 30P RAM หรือ Flash memory (15 Block)                                           3
                    HPP setting           ท�ำ HPP set
*: การ Transfer ระหว่าง HPP-PC รองรับ Version ต้ังแต่ F/W version 1.10 ข้ึนไป
■	Set HPP (Functions ในการ Set FX-30P main unit)
                    Function                                                                Description
Language                                  สามารถเลอื กภาษาในการแสดงค�ำสั่งได้ English, Japanese, Chinese
Buzzer sound level                        สามารปรบั ระดบั เสยี ง Buzzer ได้
LCD contrast                              สามารถปรบั LCD contrast ได้
Backlight brightness                      สามารถปรับระดับ Backlight ของ LCD brightness ได้
Screen saver                              สามารถ Set screen save ได้
HPP protect                               สามารถ Set protect ให้ Program ใน 30P ได้
HPP initialization                        สามารถ Set 30P ให้กลบั สูส่ ภาพเหมอื นตอน Ship ออกจากโรงงานได้
HPP F/W update                            สามารถท�ำการ Update firmware 30P ได้
                                                                    ผนวก 3-3
MEMO
   ผนวก 3-4
ภาคผนวก 4
ผ(Wงั กirาinรgเชdอ่ื iaมgตraอ่ mI/)O ใน Training kit
                                                      ผนวก
                                                       4
ผนวก 4-1
ภาคผนวก 4.1	 I/O Wiring diagram ส�ำหรับ Training machine
แหล่างจา่ ยไฟ
AC100V
เบรคเกอร์                       Micro PLC
    เชื่อมไปยงั Ⓐ
                                FX3G-14MR/ES
                   L                          Y000
                   N
                                                         หลอดไฟ (แดง)
                         X000                       Varlable resistor
สวิทซ์แบบปุ่มกด                                         Min	 Max
                         X001                 Y001
สวิทซ์แบบปุ่มกด                                          ออดหรือกริง่
                                              Y002
                                                      Magnetic connector
                   X002
Toggle SW
                                              Y003                                มอเตอร์
                                                                                            เชอ่ื มต่อ
                   X003                                  รเี ลย์
Limit SW
                        X004                  Y004
Proximity SW                                               Solenoid valve
                          X005
  Select SW
(ปุ่มปรับเปล่ียน) X006
                                              ~COM0
                                              COM2
                                                                  เช่อื มไปยัง Ⓐ
                                                 0V
                   S/S 24V
                                ลกั ษณะการเชื่อมตอ่ ของ
                                    FX-I/O-DEMO2
                                 ผนวก 4-2
MEMO
          ผนวก
           4
ผนวก 4-3
ประวตั กิ ารแก้ไข  ลำ� ดับ                                รายละเอยี ด
วนั ทจี่ ดั ท�ำ             จัดพิมพค์ รง้ั แรก
                            แกไ้ ขเนื้อหาการตดิ ต่อสอบถาม
สงิ หาคม 2557      A        การเพม่ิ และการแก้ไขรายละเอยี ดอน่ื ๆ
พฤษภาคม 2558       B
พฤษภาคม 2559       C
                            ผนวก 4-4
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
                   ส�ำนักงานจ�ำหน่ายประจ�ำประเทศไทย
                   บรษิ ัท มติ ซบู ิชิ อเี ล็คทริค แฟคทอร่ี ออโตเมชั่น (ประเทศไทย) จ�ำกดั
                   เลขท่ี 896/19 และ 20 อาคารเอสวี ซิตี้ ออฟฟศิ ทาวเวอร์ 1 ชั้น 12
                   ถนนพระราม 3 แขวงบางโพงพาง เขตยานนาวา กรุงเทพมหานคร 10210
                   โทร : 02-682-6522-31 แฟกซ์ : 02-682-6020
                   URL : http://www.MitsubishiElectric.com/fa/th_th
JY997D57401C(MEE)  แปลเมอื่ พฤษภาคม 2559
                   อาจมกี ารเปล่ยี นเนอื้ หาโดยไม่มกี ารแจง้ ให้ทราบลว่ งหน้า