サイト内検索

検索

Shares

Table of Content

Set up the QEC MDevice for 86Duino

86Duino 入門

86Duino 統合開発環境(IDE)ソフトウェアは、コードの記述と86Duinoボードへのアップロードを容易にします。Windows、Mac OS X、およびLinux上で動作します。この環境は Java で書かれており、Arduino IDE、Processing、DJGPP、およびその他のオープンソースソフトウェアをベースにしています。

86duinoIDE_500_Logo

ICOP’s QEC is an Arduino-based (86Duino) EtherCAT solution with a dual-core Vortex86EX2 processor developed by DMP Electronic to achieve hardware and software Real-time requirements.
注: このチュートリアルは QEC-M 製品シリーズで動作します。

目的

このチュートリアルでは、以下をおこないます :

  • 86Duino のダウンロードとインストール
  • Power on the QEC-M-01.
  • コンピュータがボードを認識しているかの確認
  • 簡単な点滅 (blink) サンプルのアップロード

必要なハードウエア & ソフトウエア


始めましょう :

ステップ 1 : 86Duino IDE のダウンロード

86Duino IDE は公式ウェブサイトからダウンロード可能です。
Link: https://www.qec.tw/software/

86duino-1

Step 2: Plugin the power supply for QEC-M-01

There are two groups for the Power Supply in QEC-M-01, Vs and Vp; Both power requirements can range from 19VDC to 50VDC wide Voltages. After powering on, you’ll see the power LED light up.

注 : Vs はシステム電源 ; Vp はペリフェラル電源

ステップ 3 : USB ケーブルの接続

qecm01-1

ステップ 4 : デバイスが検出されたかどうかの確認

PC のデバイスマネージャ → ポート(COMとLPT)を開き、ポートを展開すると、"Prolific PL2303GC USB Serial COM Port (COMx)" が検出されていることが確認できます。

deviceManager_COMport

(For Windows PL2303 driver, you can download ここ)

ステップ 5 : 最初のスケッチを記述しましょう

  • 86Duino IDE を開く
  • メニュー・バーからツール・メニューを展開する
  • Select the correct board: In the IDE’s menu, select Tools> Board > QEC-M-01 (or the QEC MDevice model you use).
86duino-2
  • Select Port: In the IDE’s menu, select Tools > Port and select the USB port to connect to the QEC MDevice (in this case, COM9 (QEC)).
86duino-3

ステップ 6 : 最初のスケッチをアップロード!

The Arduino development environment has two main parts: setup() and loop(), which correspond to initialization and main programs. Before operating the EtherCAT network, you must configure it once. The process should be from Pre-OP to OP mode in EtherCAT devices.

Once the code is written, click √ on the toolbar to compile, and to confirm that the compilation is complete and error-free, you can click –> to upload.


チュートリアル完了です

After the power LED on your QEC-M-01 means you have successfully used 86Duino to upload your first sketch into the QEC-M-01!

QEC の今後の企画にご期待ください。

ご質問等があれば、気軽にコメントください。


トラブルシューティング

電源

電源を入れる前に、電源アダプターやコードを確認してください。

  • 電源アダプタ : 24V/2A
  • 電源コード : 赤から赤 (VCC); 黒から黒(GND)

QECの製品シリーズは、すべて回路保護機能を備えていますので、ご安心ください。


86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

上部へスクロール