Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ladder Drive - To start IoT for manufacturing.

Ladder Drive - To start IoT for manufacturing.

Introduce Ladder Drive Gem which is made by me, to use it as IoT for manufacturing.
This is a presentation material at the RubyWorld Conference 2019.

https://2019.rubyworld-conf.org/ja/program/#a-4

製造業のIoTを始めるためのLadder Driveと題してRubyWorld Conference 2019で発表した時の資料です。
私の作ったLadder Drive Gemの紹介です。

Katsuyoshi Ito

November 07, 2019
Tweet

More Decks by Katsuyoshi Ito

Other Decks in Technology

Transcript

  1. ༗ݶձࣾҏ౻ιϑτσβΠϯ ࣗݾ঺հ w ळాݝେઋࢢ w ՖՐɺ͖͋ͨ͜·ͪɺࢬ౾ w ळాߴઐଔ w ҹ࡮ػ੡଄ձࣾۈ຿

    w ଌఆ૷ஔͳͲͷ։ൃձࣾۈ຿ w ෕਌ͷݐઃձࣾʹ৽ઃιϑτ෦໳͕ w ༗ݶձࣾҏ౻ιϑτσβΠϯʹ w ੡଄ઃඋͷιϑτ͕ϝΠϯ w J04ΞϓϦ w "LJUBN w "LJUB3VCZ.FFUJOH w J6OJU5FTU w J3VCZ,BJHJ ίϛϡχςΟ ܦྺ ϓϩμΫτ
  2. ༗ݶձࣾҏ౻ιϑτσβΠϯ ੡଄ۀͱҰޱʹ͍ͬͯ΋ ৯ྉ඼ ણҡ ໦ࡐ Ո۩ ύϧϓɾࢴ ҹ࡮ Խֶ ੴ༉

    ϓϥενοΫ ΰϜ ֵ ༼ۀ మ߯ ඇۚଐ ۚଐ ͸Μ༻ػց ੜ࢈༻ػց ۀ຿༻ػց ిࢠ෦඼ ిؾػց ৘ใ௨৴ػց ༌ૹ༻ػց ͦͷଞ
  3. ༗ݶձࣾҏ౻ιϑτσβΠϯ ϦϨʔճ࿏ͱ1-$ ϦϨʔճ࿏ 9 9 : : : : Ͳͷ༷ʹ઀ଓ͢Δ͔͸ϥμʔਤͰදݱ

    ϥμʔਤΛ࡞Δͷ͕ϓϩάϥϛϯά : 9 : ɾ9 @ 1-$ *0 Ϟ δ ϡ c ϧ 9 9 : 1-$ εΠον΍ϥϯϓΛ*0 Ϟδϡʔϧʹͭͳ͙ Լͷ࿦ཧࣜͱ౳Ձ 0OϘλϯͰ఺౮ 0⒎ϘλϯͰফ౮
  4. ༗ݶձࣾҏ౻ιϑτσβΠϯ σόΠε w εΠον΍ϥϯϓͳͲ͸σόΠε ͱͯ͠දݱ͞ΕΔ w σόΠε w 9ೖྗ εΠονɺηϯαʔ

     w :ग़ྗ ϞʔλʔɺγϦϯμʔ  w .಺෦ίΠϧ
 λονύωϧͷೖग़ྗɺঢ়ଶ  w %σʔλ
 Χ΢ϯτɺηϯαʔ஋ͳͲ 9σόΠε 9 9 9 9 ʜ 9' : .σόΠε %σόΠε : : : : ʜ :' . . . . ʜ .' %             w ಺෦Ͱ͸ϝϞϦͱͯ͠දݱ w #JUσόΠε w 803%σόΠε
  5. ༗ݶձࣾҏ౻ιϑτσβΠϯ σόΠε৘ใͷऔಘ • ૷ஔ಺ͷ༷ʑͳ৘ใΛ஌Δ͜ͱ͕ग़དྷΔ • ӡసঢ়گɺҟৗͷൃੜɺԹ౓ɺੜ࢈਺ɺetc… • ௨৴ͰσόΠε৘ใΛಘΒΕΔ • ௨৴Ϟδϡʔϧ(CPU಺ଂ΋͋Γ)

    • γϦΞϧɺEthernet • ϓϩτίϧ࣮૷ͰϓϩάϥϜϨεɻઃఆ͸ඞཁ • ར༻ྫ • λονύωϧɺσʔλϩΨʔɺ্ҐγεςϜͳͲ λονύωϧ σʔλϩΨʔ JS#PBSE J1BEΛλονύ ωϧͱͯ͠࢖༻Ͱ ͖ΔΞϓϦ
  6. ༗ݶձࣾҏ౻ιϑτσβΠϯ -BEEFS%SJWF w (FNύοέʔδ w 1-$ͱͷ௨৴ػೳ w 7JSUVBM1-$ w ΤϛϡϨʔλʔ

    w σόΠεσʔλۭؒ w 1$΍3BTQCFSSZ1J౳Ͱಈ࡞ w ݩʑ͸1-$ϝʔΧʔຖʹ͕ࠩ͋Γڞ௨ ԽͰ͖ͳ͍ͷͰ1-$಺ʹ7JSUVBM1-$ Λ࡞Γڞ௨Խ͠Α͏ͱ࣮ͨ͠ݧతͳऔ Γ૊Έͩͬͨ w *P5ϋϒͱͯ͠׆༻͠Α͏
  7. ༗ݶձࣾҏ౻ιϑτσβΠϯ *P5੡଄૷ஔ͔Β৘ใΛूΊΔ w 7JSUVBM1-$͸σόΠεͷσʔλۭؒΛ࣋ͭ w ڞ༗ۭؒͱͯ͠ w ෳ਺ͷ1-$ͷ৘ใΛϚοϐϯά w ௨৴Ͱ΍ΓऔΓ͢Δ

    w ෳ਺ͷ1-$͕ϦϯΫ͢Δ΍Γํͱͯ͠Α͘࢖ΘΕ͍ͯΔ GSPN1-$" UP1-$" 7JSUVBM1-$
 ΤϛϡϨʔλʔ σʔλۭؒ UP7JSUVBM1-$ GSPN7JSUVBM1-$ 1-$$ UP7JSUVBM1-$ GSPN7JSUVBM1-$ 1-$# GSPN1-$# UP1-$# UP7JSUVBM1-$ GSPN7JSUVBM1-$ 1-$" GSPN1-$$ UP1-$$
  8. ༗ݶձࣾҏ౻ιϑτσβΠϯ ΤϛϡϨʔλʔͷ֦ு w ΤϛϡϨʔλʔͷ֦ுํ๏ w جຊ͸1-$ w ϓϥάΠϯͰ֦ு w σʔλۭؒ΁ͷಡΈॻ͖

    w ઃఆϑΝΠϧ :".-  w ༗ޮແޮ w σʔλۭؒͷԿॲʹ w ௨৴ํࣜ w FUD ϥμʔॲཧ ϓϥάΠϯ" ϓϥάΠϯ# ϓϥάΠϯYY   
  9. ༗ݶձࣾҏ౻ιϑτσβΠϯ QMD@NBQQFS@QMVHJOSC DPOpHQMVHJOTQMD@NBQQFSZNM EFTDSJQUJPO1-$" QSPUPDPMND@QSPUPDPM IPTUMPDBMIPTU QPSU JOUFSWBM NBQQJOH SFBE

    QMD.. ME. XSJUF QMD.. ME. GSPN1-$" UP1-$" 7JSUVBM1-$
 ΤϛϡϨʔλʔ σʔλۭؒ UP7JSUVBM1-$ GSPN7JSUVBM1-$ 1-$"
  10. ༗ݶձࣾҏ౻ιϑτσβΠϯ ूΊͨ৘ใ͸Ͳ͜΁ʁ w Ϋϥ΢υଆ͕ωοΫʹͳΔ෦෼ w ࣗ෼Ͱ࡞ΕΕ͹ྑ͍͕ w 3VCZͩͬͨΒ3VCZPO3BJMT΍4JOBUSBͰ w 1-$ٕज़ऀ͸஌ࣝΛ͍࣋ͬͯͳ͍

    w γεςϜ։ൃΛґཔ w ࠷ॳ͸Ͳͷσʔλ͕༗ޮ͔ख୳Γ w ແବʹͳΔ͔΋஌Εͳ͍ w ଟֹͷ։ൃඅ͔͚ΒΕͳ͍ w 8FCαʔϏεΛར༻ w Ұൠతʹར༻͞Ε͍ͯΔ8FCαʔϏεΛ͏·͘׆༻
  11. ༗ݶձࣾҏ౻ιϑτσβΠϯ ҟৗͳͲͷ௨஌ w *'555Λ׆༻ w JGUUU@QMVHJOSC DPOpHQMVHJOTJGUUUZNM XFC@IPPL@LFZ &/7<*'555@8&#@)00,@,&:> FWFOUT

    OBNFOPUJGZ@BMFSU USJHHFS EFWJDF. UZQFSBJTF QBSBNT WBMVFԹ౓ҟৗ IUUQTJGUUUDPN ΞϓϨοτ 8FC)PPL*'555ΞϓϦ
  12. ༗ݶձࣾҏ౻ιϑτσβΠϯ ݟ͑ΔԽ w άϥϑදࣔ w "NCJFOUΛ׆༻ w BNCJFOU@QMVHJOSC DPOpHQMVHJOTBNCJFOUZNM DIBOOFMT

    DIBOOFM@JE XSJUF@LFZ &/7<".#*&/5@83*5&@,&:> USJHHFS UZQFJOUFSWBM JOUFSWBM EFWJDFT E EFWJDF% IUUQTBNCJEBUBJP
  13. ༗ݶձࣾҏ౻ιϑτσβΠϯ ݟ͑ΔԽ w ঢ়گදࣔ w 5SFMMPΛ׆༻ w USFMMP@QMVHJOSC DPOpHQMVHJOTUSFMMPZNM DPOTVNFS@LFZ

    &/7<53&--0@$0/46.&3@,&:> DPOTVNFS@TFDSFU &/7<53&--0@$0/46.&3@4&$3&5> PBVUI@UPLFO &/7<53&--0@0"65)@50,&/> FWFOUT USJHHFS EFWJDF. UZQFSBJTF CPBSE@OBNF*3#%&.053&--0 MJTU@OBNFӡసத DBSE@OBNF੡଄૷ஔ" USJHHFS EFWJDF. UZQFGBMM CPBSE@OBNF*3#%&.053&--0 MJTU@OBNFఀࢭத DBSE@OBNF੡଄૷ஔ" IUUQTUSFMMPDPN
  14. ༗ݶձࣾҏ౻ιϑτσβΠϯ ඼࣭ w τϨʔαϏϦςΟ w 4MBDLΛ׆༻ w TMBDL@QMVHJOSC EFWJDF@DPNNFOUT .෦ࡐ٧·Γҟৗ

    FWFOUT XFCIPPL@VSM&/7<4-"$,@8&#)00,@63-> USJHHFS UZQFSBJTF@BOE@GBMM GPSNBU SBJTF੡଄૷ஔ"Ͱ@@EFWJDF@DPNNFOU@@͕ൃੜ͠·ͨ͠ɻ @@UJNF@@  GBMM੡଄૷ஔ"Ͱ@@EFWJDF@DPNNFOU@@͕ղআ͞Ε·ͨ͠ɻ @@UJNF@@  EFWJDFT. IUUQTTMBDLDPN