ユーザガイド hm58 pstechnology-link.sakura.ne.jp/docs/lika/12programmable...lika electronic...

29
ユーザガイド HM58 PS プログラマブルエンコーダ スマートエンコーダ & アクチュエータ

Upload: others

Post on 13-Jan-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

ユーザガイド

HM58 PS プログラマブルエンコーダ

スマートエンコーダ & アクチュエータ

This publication was produced by Lika Electronic s.r.l. 2016. All rights reserved. . This document and information contained herein are the property of Lika Electronic s.r.l. and shall not be reproduced in whole or in part without prior written approval of Lika Electronic s.r.l. Translation, reproduction and total or partial modification (photostat copies, film and microfilm included and any other means) are forbidden without written authorisation of Lika Electronic s.r.l. The information herein is subject to change without notice and should not be construed as a commitment by Lika Electronic s.r.l. Lika Electronic s.r.l. reserves the right to make all modifications at any moments and without forewarning. This manual is periodically reviewed and revised. As required we suggest checking if a new or updated edition of this document is available at Lika Electronic s.r.l.'s website. Lika Electronic s.r.l. assumes no responsibility for any errors or omissions in this document. Critical evaluation of this manual by the user is welcomed. Your comments assist us in preparation of future documentation, in order to make it as clear and complete as possible. Please send an e-mail to the following address [email protected] for submitting your comments, suggestions and criticisms.

この出版物は、Lika Electronic s.r.l. (以後 Lika 社と称す)によって作成されています。Lika 社がすべての権利を保有

します。ここに含まれているドキュメントと情報は Lika 社の財産です。したがって、Lika 社の書面による事前承認な

しに全体または一部を複製してはなりません。翻訳、複製、および全体的または部分的な修正(写真コピー、フィル

ム及びマイクロフィルムその他手段にて)を Lika 社書面による承認なしで作成することは禁止されています。 記載された情報は、予告なしに変更する事がありますが、変更内容は Lika 社の確約事項ではありません。Lika 社はい

つでも、事前警告なしにすべての修正を行う権利を有します。 このマニュアルは、定期的に見直され、改訂されます。必要に応じて、このドキュメントの最新版や更新版が Lika 社のウェブサイト上で入手可能かどうかチェックされることをお勧めします。Lika 社はこのドキュメントに記載された

間違いや欠落について、一切責任を負いません。マニュアルについてのユーザの適切なご評価を歓迎いたします。あ

なたのご意見は、将来のドキュメントを可能な限り明確かつ完全なものするためにお役に立ちます。Lika 社のウェブ

サイトアドレス [email protected] へご意見、ご忠告、ご批評のメールをお送りください。

総目次 User's guide...............................................................................................................................................................................................1

General contents................................................................................................................................................................................3 Subject Index....................................................................................................................................................................................... 6 Typographic and iconographic conventions.......................................................................................................................... 8 Preliminary information..................................................................................................................................................................9

1 Safety summary.................................................................................................................................. 10 1.1 Safety.......................................................................................................................................................................... 10 1.2 Electrical safety.......................................................................................................................................................10 1.3 Mechanical safety.................................................................................................................................................. 11

2 Identification....................................................................................................................................... 12 3 Mechanical installation..................................................................................................................... 13

3.1 Encoder with solid shaft....................................................................................................................................13 3.1.1 Customary installation................................................................................................................................13 3.1.2 Installation using fixing clamps (optional kit code LKM 386)....................................................14 3.1.3 Installation using a mounting bell (optional kit code PF4256)................................................. 14

3.2 Encoder with hollow shaft................................................................................................................................ 15 3.2.1 HMC58 PS installation using the antirotation pin..........................................................................15 3.2.2 HMC59 PS installation using the fixing plate...................................................................................16 3.2.3 HMC60 PS installation using the antirotation pin and the fixing plate................................17

4 Electrical connection.......................................................................................................................... 18 4.1 Cable and connectors connections................................................................................................................18 4.2 T12 cable specifications...................................................................................................................................... 18 4.3 M23H 12-pin (counter-clockwise) connector specifications............................................................. 19 4.4 M12 12-pin connector specifications...........................................................................................................19 4.5 Connection of the shield....................................................................................................................................19 4.6 Ground connection...............................................................................................................................................20 4.7 Preset / Offset..........................................................................................................................................................20 4.8 Counting direction................................................................................................................................................ 21 4.9 RS-232 serial connection...................................................................................................................................22

5 SSI interface........................................................................................................................................ 23 5.1 Main characteristics............................................................................................................................................. 23 5.2 Working principle (Figure 1)..............................................................................................................................23 5.3 “TREE FORMAT” PROTOCOL (Figure 2 and Figure 3)................................................................................ 25 5.4 “LSB RIGHT ALIGNED” PROTOCOL (Figure 4, Figure 5 and Figure 6)................................................ 26 5.5 “MSB LEFT ALIGNED” PROTOCOL (Figure 7)................................................................................................ 28 5.6 Recommended SSI input circuit......................................................................................................................29

6 Software tool and configuration parameters............................................................................... 30 6.1 Configuring the device using the software tool...................................................................................... 30

6.1.1 Available pages and commands..............................................................................................................31 6.2 IDENTIFICATION page...........................................................................................................................................34

6.2.1 COM PORT box................................................................................................................................................37 Device search........................................................................................................................................................................... 37 Port............................................................................................................................................................................................... 37

6.2.2 ENCODER box..................................................................................................................................................37 Device type................................................................................................................................................................................37 Serial number...........................................................................................................................................................................38

ユーザガイド.........................................................................................................................................................................................1 総目次 ................................................................................................................................................................................3 主題索引 ....................................................................................................................................................................................... 6 印刷上及び図示上の慣例 .......................................................................................................................... 8 予備情報 ..................................................................................................................................................................9

1 安全要綱 .................................................................................................................................. 10 1.1 安全順守.................................................................................................................................................................... 10 1.2 電気的安全順守......................................................................................................................................................10 1.3 機械的安全順守 .................................................................................................................................................. 11

2 製品識別 ....................................................................................................................................... 12 3 機械取り付け ..................................................................................................................... 13

3.1 ソリッドシャフトエンコーダ .............................................................................................................................13 3.1.1 通常取り付け ................................................................................................................................13 3.1.2 固定クランプを使用した取り付け (オプションキット LKM 386)................................................14 3.1.3 I固定ベルを使用した取り付け (オプションキット PF4256). ................................................ 14

3.2 中空シャフトエンコーダ ................................................................................................................................ 15 3.2.1 HMC58 PS 回転防止ピンを使った取り付け ..........................................................................15 3.2.2 HMC59 PS 固定板を使った取り付け ...................................................................................16 3.2.3 HMC60 PS 回転防止ピンと固定板を使用した取り付け ................................17

4 電気結線 .......................................................................................................................... 18 4.1 ケーブルとコネクター接続 ................................................................................................................18 4.2 T12 ケーブル仕様 ...................................................................................................................................... 18 4.3 M23H 12-ピン (反時計回り) 結線仕様 ............................................................. 19 4.4 M12 12-ピン 結線仕様 ...........................................................................................................19 4.5 シールド線結線 ....................................................................................................................................19 4.6 グランド結線 ...............................................................................................................................................20 4.7プリセット/オフセット...............................................................................................................................................20 4.8 計数方向 ................................................................................................................................................ 21 4.9 RS-232 シリアル結線. ..................................................................................................................................22

5 SSIインターフェース.......................................................................................................................... 23 5.1 主要特性 ............................................................................................................................................. 23 5.2 動作原理 (図 1) ..............................................................................................................................23 5.3 “ツリーフォーマット”プロトコール (図 2 及び図 3) ................................................................................ 25 5.4 “LSB 右並び” プリとコール (図 4,図 5 及び図 6 ) ................................................ 26 5.5 “MSB 左並び” プロトコール (図 7) ................................................................................................ 28 5.6 推奨 SSI 入力回路 ......................................................................................................................29

6 ソフトウェアツールと構成パラメータ ............................................................................... 30 6.1 ソフトウェアツールを使ったデバイス構成 ...................................................................................... 30

6.1.1 解説ページとコマンド ............................................................................................................. 31 6.2 製品識別ページ ...........................................................................................................................................34

6.2.1 COM ポートボックス........................................................................................................................................37 デバイス検索 .......................................................................................................................................................................... 37 ポート........................................................................................................................................................................................... 37

6.2.2 エンコーダボックス............................................................................................................................................37 デバイスタイプ.........................................................................................................................................................................37 シリアル番号 ..........................................................................................................................................................................38

Output type...............................................................................................................................................................................38 Version.........................................................................................................................................................................................38 Read parameters.....................................................................................................................................................................38 Load default parameters..................................................................................................................................................... 38

6.3 CONFIGURATION page.........................................................................................................................................39 6.3.1 POSITION box...................................................................................................................................................39

Position....................................................................................................................................................................................... 39 Turns.............................................................................................................................................................................................39 Counts/rev................................................................................................................................................................................. 40

6.3.2 PRESET / OFFSET box.................................................................................................................................... 40 Preset........................................................................................................................................................................................... 40 Activate preset.........................................................................................................................................................................43 Offset........................................................................................................................................................................................... 43

Shifted Gray code or Gray Excess code....................................................................................................................44 Activate offset......................................................................................................................................................................... 47

6.3.3 DIAGNOSTICS box..........................................................................................................................................48 No error...................................................................................................................................................................................... 48

6.3.4 ENCODER CONFIGURATION box..............................................................................................................49 Output code..............................................................................................................................................................................49 Protocol.......................................................................................................................................................................................51 Positive counting direction................................................................................................................................................ 51 Enable preset / offset............................................................................................................................................................52 Select preset / offset............................................................................................................................................................. 52 Enable parity bit......................................................................................................................................................................53 Select parity bit....................................................................................................................................................................... 53 SSI clock number.................................................................................................................................................................... 53 SSI timeout................................................................................................................................................................................54 Number of shifted bits.........................................................................................................................................................54

6.3.5 RESOLUTION SETTING box......................................................................................................................... 55 Programming mode: Scaling.............................................................................................................................................55 Counts per revolution...........................................................................................................................................................55 Number of revolutions.........................................................................................................................................................56 Total set counts.......................................................................................................................................................................57 Programming mode: Start / Stop....................................................................................................................................57 Counts to be displayed.........................................................................................................................................................59 1 – Start teaching.................................................................................................................................................................. 59 2 - Stop teaching................................................................................................................................................................... 59 Programming mode: Prog.................................................................................................................................................. 60 Counts to be displayed.........................................................................................................................................................60 Encoder HW counts...............................................................................................................................................................60

6.3.6 ENCODER SPECIFICATIONS box............................................................................................................... 61 Max counts per revolution................................................................................................................................................. 61 Max number of revolutions................................................................................................................................................61 Max total counts.....................................................................................................................................................................61

6.4 LOAD / SAVE CONFIGURATION page............................................................................................................. 62 6.4.1 Saving the encoder configuration to a file........................................................................................ 62 6.4.2 Loading the encoder configuration from a file................................................................................63

6.5 Error messages........................................................................................................................................................64 Attention: enabling the parity bit with the resolution currently set requires a “SSI clock number”

greater than the set one.................................................................................................................................................64

出力タイプ ...............................................................................................................................................................................38 版 .........................................................................................................................................................................................38 パラメータ読み取り................................................................................................................................................................38 初期値パラメータのロード ............................................................................................................................................... 38

6.3 Cコンフィグレーション(構成)ページ............................................................................................................39 6.3.1 位置情報ボックス..............................................................................................................................................39

位置情報 ................................................................................................................................................................................... 39 回転数............................................................................................................................................................................................39 カウント数/回転....................................................................................................................................................................... 40

6.3.2 プリセット / オフセットボックス.................................................................................................................... 40 プリセット.................................................................................................................................................................................. 40 プリセット有効........................................................................................................................................................................43 オフセット................................................................................................................................................................................. 43

シフトグレーコード或はグレーエクセスコード....................................................................................................44 オフセット有効....................................................................................................................................................................... 47

6.3.3 診断ボックス ..........................................................................................................................................48 エラーなし................................................................................................................................................................................ 48

6.3.4 エンコーダ構成ボックス ..............................................................................................................49 出力コード ..............................................................................................................................................................................49 プロトコール............................................................................................................................................................................51 加算計数方向 ................................................................................................................................................ 51 プリセット /オフセット有効..............................................................................................................................................52 プリセット/オフセット選択 ............................................................................................................................................. 52 パリティビット有効.............................................................................................................................................................53 パリティビット選択............................................................................................................................................................ 53 SSI クロック数 ....................................................................................................................................................................53 SSI タイムアウト....................................................................................................................................................................54 シフトビット数 .........................................................................................................................................................54

6.3.5 分解能設定ボックス ......................................................................................................................... 55 プログラミングモード:スケーリング...........................................................................................................................55 計数 / 回転 ...........................................................................................................................................................55 回転数 .........................................................................................................................................................56 総設定カウント数..................................................................................................................................................................57 プログラミングモード: スタート /ストップ ............................................................................................................57 表示カウント数 .........................................................................................................................................................59 1 – ティーチング開始.......................................................................................................................................................... 59 2 – ティーチング停止.......................................................................................................................................................... 59 プログラミングモード: Prog............................................................................................................................................ 60 表示カウント数 .........................................................................................................................................................60 エンコーダ HWカウント.....................................................................................................................................................60

6.3.6 エンコーダ仕様ボックス ............................................................................................................... 61 1回転での最大カウント数................................................................................................................................................ 61 最高回転数 ................................................................................................................................................61 最大合計カウント数 ............................................................................................................................................................61

6.4 LOAD(ロード) / SAVE(セーブ)構成ページ............................................................................................. 62 6.4.1 エンコーダ構成内容をファイルへ保存 ........................................................................................ 62 6.4.2 ファイルよりエンコーダ構成内容をロード ................................................................................63 6.5 エラーメッセー ....................................................................................................................................... 64

注記: 現在設定されている分解能でパリティビットを有効にするためには設定された値よりも大きな「SSIクロック数」が必要です。 ....................................................................................................................64

Attention: the maximum transmitted position requires a SSI clock number greater than the set one ................................................................................................................................................................................................... 64

Carattere non valido............................................................................................................................................................. 64 Counts to be displayed must be lower than the hardware counts of the encoder...................................65 Error creating the file........................................................................................................................................................... 65 Error reading the file.............................................................................................................................................................65 Value higher than the hardware resolution, please set a lower value............................................................ 65 Value not valid, offset + maximum set position greater than the maximum transmitted position..65 Value not valid: preset greater than the maximum position.............................................................................. 65

6.6 “Red zone” compensation..................................................................................................................................67 7 Default parameters list...................................................................................................................... 71

注記: 最大転送位置値は現在設定されているSSIクロック数よりも大きな値が必要です。 ................................................................................................................................................................................................... 64

表示カウント数はエンコーダのハードウェアカウント数より小さくなければなりません .................65 ファイル作成エラー: ........................................................................................................................................................... 65 ファイル読み込みエラー:.........................................................................................................................................................65 ハードウェア分解能よりも値が大きい場合はより小さな値を入力してください。........................................ 65 無効な値:オフセット + 最大設定位置値が最大搬計数置値より大きい場合 ..65 無効な値:最大位置値よりもプリセット値が大きい場合 .............................................................................. 65

6.6 “赤字領域” 補正 ..................................................................................................................................67 7 初期値パラメータリスト. ..................................................................................................................... 71

インデックス検索 No error................................................................................ 47 Number of revolutions...................................................55 Number of shifted bits...................................................53 O Offset.....................................................................................42 Output code....................................................................... 48 Output type........................................................................ 37 P Port.........................................................................................36 Position.................................................................................38 Positive counting direction..........................................50 Preset.....................................................................................39 Programming mode: Prog............................................ 59 Programming mode: Scaling.......................................54 Programming mode: Start / Stop..............................56 Protocol................................................................................ 50 R Read parameters...............................................................37 S Select parity bit.................................................................52 Select preset / offset.......................................................51 Serial number.................................................................... 37 SSI clock number..............................................................52 SSI timeout......................................................................... 53 T Total set counts.................................................................56 Turns...................................................................................... 38 V Value higher than the hardware resolution.........64 Value not valid, offset.................................................... 64 Value not valid: preset................................................... 64 Version.................................................................................. 37

1 1 – Start teaching............................................................58 2 2 - Stop teaching............................................................. 58 A Activate offset...................................................................46 Activate preset.................................................................. 42 Attention: enabling the parity bit.............................63 Attention: the maximum transmitted position. .63 C Carattere non valido....................................................... 63 Counts per revolution.................................................... 54 Counts to be displayed.....................................58 e seg. Counts to be displayed must be lower...................64 Counts/rev...........................................................................39 D Device search..................................................................... 36 Device type......................................................................... 36 E Enable parity bit............................................................... 52 Enable preset / offset......................................................51 Encoder HW counts........................................................ 59 Error creating the file.....................................................64 Error reading the file...................................................... 64 L Load default parameters...............................................37 M Max counts per revolution...........................................60 Max number of revolutions.........................................60 Max total counts.............................................................. 60 N

1 1 – Start teaching(ティーチング開始)..............58 2 2 - Stop teaching.(ティーチング停止)............................ 58 A Activate offset(オフセットの有効化).....................46 Activate preset(プリセットの有効化).................... 42 Attention: enabling the parity bit.............................63 (注記:パリティビット有効化) Attention: the maximum transmitted position. .63 (注記:最大転送位置情報) C Characters not in valid (無効な文字)..................... 63 Counts per revolution(1回転のカウント数)......... 54 Counts to be displayed(表示カウント数................. 58 Counts to be displayed must be lower...................64 (表示されるカウント数は以下でなければ) Counts/rev(カウント/回転).........................................39 D Device search(デバイス検索)................................. 36 Device type(デバイスタイプ) ................................. 36 E Enable parity bit(パリティビット有効)........... 52 Enable preset / offset......................................................51 (プリセット/オフセット有効) Encoder HW counts........................................................ 59 (エンコーダHWカウント) Error creating the file.....................................................64 (ファイル作成時のエラー) Error reading the file...................................................... 64 (ファイル読み取り時のエラー) L Load default parameters...............................................37 (初期値パラメータの読出し) M Max counts per revolution...........................................60 (1回転の最大カウント数) Max number of revolutions.........................................60 (最高回転数) Max total counts.............................................................. 60 (最高合計カウント数) N

No error(エラーなし).............................................47 Number of revolutions(回転数)..............................55 Number of shifted bits(シフトされたビット数)......53 O Offset(オフセット).................................................42 Output code(出力コード)......................................48 Output type(出力タイプ).......................................37 P Port.(ポート) ..........................................................36 Position(位置値) ....................................................38 Positive counting direction ..........................................50 (正計数方向) Preset(プリセット) ................................................39 Programming mode: Prog............................................59 (プログラミングモード:Prog) Programming mode: Scaling.......................................54 (プログラミングモード:スケーリング) Programming mode: Start / Stop ..............................56 (プログラミングモード:スタート/ストップ) Protocol(プロトコール). .........................................50 R Read parameters(パラメータ読み取り).................37 S Select parity bit(パリティビット選択).....................52 Select preset / offset. ..................................................51 (プリセット/オフセット選択) Serial number(シリアル番号).................................37 SSI clock number(SSI クロック数)........................52 SSI timeout(SSI タイムアウト)..............................53 T Total set counts(合計セットカウント) ..................56 Turns.(回転数) .......................................................38 V Value higher than the hardware resolution ..............64 (ハードウェア―分解能よりも高い値) Value not valid, offset ...............................................64 (オフセット:値が無効) Value not valid: preset ...............................................64 (プリセット:値が無効) Version(版)............................................................... 37.

1. 印刷上及び図示上の慣例 In this guide, to make it easier to understand and read the text the following typographic and iconographic conventions are used:

• parameters and objects both of Lika device and interface are coloured in ORANGE; • alarms are coloured in RED; • states are coloured in FUCSIA.

When scrolling through the text some icons can be found on the side of the page: they are expressly designed to highlight the parts of the text which are of great interest and significance for the user. Sometimes they are used to warn against dangers or potential sources of danger arising from the use of the device. You are advised to follow strictly the instructions given in this guide in order to guarantee the safety of the user and ensure the performance of the device. In this guide the following symbols are used:

This icon, followed by the word WARNING, is meant to highlight the parts of the text where information of great significance for the user can be found: user must pay the greatest attention to them! Instructions must be followed strictly in order to guarantee the safety of the user and a correct use of the device. Failure to heed a warning or comply with instructions could lead to personal injury and/or damage to the unit or other equipment. This icon, followed by the word NOTE, is meant to highlight the parts of the text where important notes needful for a correct and reliable use of the device can be found. User must pay attention to them! Failure to comply with instructions could cause the equipment to be set wrongly: hence a faulty and improper working of the device could be the consequence.

This icon is meant to highlight the parts of the text where suggestions useful for making it easier to set the device and optimize performance and reliability can be found. Sometimes this symbol is followed by the word EXAMPLE when instructions for setting parameters are accompanied by examples to clarify the explanation.

このガイドでは、テキストを理解して読みやすくするために、次の表記規則と図形規則を使用しています。

• Likaデバイスとインターフェースの両方のパラメータとオブジェクトは ORANGE; • アラームは赤色で表示されます RED; • 状態はFUCSIAで色分けされています。 FUCSIA.

テキストをスクロールすると、ページの横にいくつかのアイコンが表示されます。テキストは、ユーザにと

って大きな関心と意義を持つ部分を強調するように明示されています。 時々、それらは、装置の使用に起因

する危険性または潜在的危険源に対して警告するために使用されます。 ユーザの安全を保証し、装置の性能

を保証するために、このガイドに記載されている指示に厳密に従うことをお勧めします。 このガイドでは、

次の記号が使用されています。

このアイコンの後には「警告」という言葉が続き、ユーザにとって重要な情報を見

つけることができるテキスト部分が強調表示されます。 使用者の安全と装置の正し

い使用を保証するために、指示を厳密に守らなければなりません。 警告に従わない

か指示に従わないと、人身事故や本機または他の機器の損傷を招く可能性がありま

す。

このアイコンの後に「NOTE」という文字が表示されるのは、デバイスを正確かつ信

頼性高く使用するために必要な重要なノートが見つかるテキスト部分を強調表示す

るためのものです。 ユーザは注意を払わなければなりません! 指示に従わなかった

場合、機器が誤って設定される可能性があります。そのため、機器の誤動作や不適

切な作業が結果として生じる可能性があります。

このアイコンは、テキストを部分的に強調表示して、デバイスの設定やパフォーマ

ンスと信頼性の最適化に役立つ候補を見つけることを目的としています。 この記号

の後には、説明を明確にするためにパラメーターを設定するための説明書が付いて

いる場合には、「EXAMPLE」という言葉が続きます。

予備情報 This guide is designed to provide the most complete and exhaustive information the operator needs to correctly and safely install and operate the HM58 PS absolute multiturn programmable encoder fitted with SSI interface. HM58 PS programmable encoder form Lika Electronic is designed to maximize customization and versatility and really allows the operator to get, along with the absolute position information, a complete parametrization and the better configuration that perfectly suit specific needs in a good many applications and machines. The operator in fact can configure non only the SSI interface by setting for instance the number of clocks, the type of protocol, the output code as well as the counting direction; but also to choose the desired resolution in the range of max. 18 bits singleturn (262144 information per revolution) and 14 bits multiturn (16384 revolutions). HM58 PS programmable encoder is available in both hollow and solid shaft versions.

The parametrization and set up of the HM58 PS programmable encoder is achieved through a software expressly developed and released by Lika Electronic. The program is supplied for free and can be installed in any PC fitted with a Windows operating system (Windows XP or later). It allows the operator to set the working parameters of the device and monitor whether the device is running properly. Communication is established using RS-232 serial cable and port. The software tool is compatible with the whole series of HM- and EM- programmable encoders: programmable encoder with SSI serial output (PS code), programmable encoder with parallel output (PN and PY codes), programmable encoder with analogue output (PA code).

To make it easier to read and understand the text, this guide is divided into two main sections. In the first section some general information concerning the safety, the mechanical installation and the electrical connection as well as tips for setting up and running properly and efficiently the unit are provided. In the second section, entitled SSI Interface, both general and specific information is given on the SSI interface. In this section the interface features and the parameters implemented in the unit are fully described.

このガイドは、オペレータが SSIインターフェースを備えた HM58 PS アブソリュート多回

転プログラマブルエンコーダーを正しく安全にインストールして操作するために必要な最

も完全で徹底した情報を提供するように設計されています。 Lika 社のプログラマブルエンコーダモデル:HM58 PS は、特別仕様への対応と多機能性を

最大限に発揮するように設計されており、絶対位置情報とともに、多くのアプリケーション

やマシン上の特定のニーズにぴったり適合する完全なパラメータ設定とより良い機能構成

が実現できます。 オペレータは、実際には、SSIインターフェースの設定だけでなく、設定クロックの数、プ

ロトコールのタイプ、出力コードおよび計数方向を設定することができます。 また、18 ビ

ット単回転(1 回転 262144 情報)と 14 ビット多回転(16384 回転)の 最大値の範囲内で希望

の分解能を選択することもできます。 HM58 PS プログラマブルエンコーダには中空シャフ

トとソリッドシャフトの両方が用意されています。 HM58 PS プログラマブルエンコーダのパラメータ設定とセットアップは、Lika 社にて迅速

に開発され、リリースされたソフトウェアによって実現されます。 このプログラムは無料

で提供され、Windows オペレーティングシステム(Windows XP 以降)搭載の PC にインス

トールすることができます。 オペレータは、デバイスの動作パラメータを設定し、デバイ

スが適切に動作しているかどうかを監視することができます。 通信は、RS-232 シリアルケーブルとポートを使用して実施されます。 このソフトウェアツ

ールは、HM- 及び EM-シリーズプログラマブルエンコーダすべて:SSIシリアル出力(PSコード)付きプログラマブルエンコーダ、パラレル出力(PN および PY コード)付きプロ

グラマブルエンコーダ、アナログ出力(PA コード)付きプログラマブルエンコーダに適用

されます。 テキストを読みやすく理解するために、このガイドは 2 つの主要なセクションに分かれてい

ます。最初のセクションでは、安全、機械的取り付け、電気的接続に関する一般的な情報と、

ユニットを適切かつ効率的にセットアップして稼働させるためのヒントを示します。SSIインターフェースと題した 2 番目のセクションでは、一般的な情報と特定の情報の両方が SSIインターフェースに示されています。 このセクションでは、ユニットに実装されているイ

ンターフェースの機能とパラメータについて詳しく説明します。

HM58 PS

1 安全要綱 1.1 安全要綱

• 装置の設置および操作中には、お客様の国に適用される専門の安全および

事故防止規則を常に順守してください。 • 設置およびメンテナンス作業は、電源が切断され、機械部品が静止した

状態で、有資格者のみにて実施してください。 • 装置は、その設計に適した目的のためにのみ使用して下さい。設計された

目的以外の目的での使用は、深刻な人身傷害および/または環境損傷をもたらす可能性があります。

• 高電流、高電圧および稼働中の機械部品は重大な傷害を引き起こす可能性があります。

• 警告! 爆発性または引火性のある場所では使用しないでください。; • これらの注意事項に従わなかった場合、または本書の他の箇所に記載さ

れている特定の警告に従うと、機器の設計、製造、使用目的の安全基準に違反することがあります。

• Lika Electronic s.r.l. 社はお客様がこれらの要件を遵守しなかった場合の責任は負いません。

1.2 電気的安全性

• デバイスを接続する前に電源を切ってください。 • 「電気的接続」の項の説明に従って接続してください。 • 使わない出力信号線は、異なる長さで切断し、個別に絶縁されなければ

なりません。 • 電磁適合性に関する2004/108 / EC規格に準拠して

次の予防措置を講ずる必要があります。 - 機器の取り扱い及び設置の前に、作業者の体とデバイスに触れる可能性 のあるツールから蓄電した静電気を放電し無ければなりません。

- 電源はノイズを含まず安定していなければなりません。 必要な場合はデバイス用電源にEMCフィルタを取り付けてください。

- 常にシールドケーブル(必要な場合はツイストペアケーブル)使用してください。

-ケーブルが必要以上に長くならないようにしてください。 -高電圧電源ケーブルの近くに信号ケーブル配線しないでください。 -可能な限り容量性または誘導性のノイズ源から離して装置を取り付けて ください。必要に応じてデバイスをノイズ源からシールド遮蔽して下さい。

-装置の正しい動作を保証するために、ユニットの上または近くに強力な磁石 を使用しないでくださいでください。。

MAN HM58 PS SSI E 1.0 安全要綱 9 of 72

HM58 PS

-ノイズを最小限に抑えるためにコネクターハウジング、および/または フレームグランドにシールド線を使用してください。アースグランド がノイズの影響を受けていないことを確認してください。 グラウンドへの接続ポイントは、状況によりデバイス側かとユーザ側の 両方に配置できます。干渉を最小限にする最適な対策は、ユーザ 自身で実施してください。

1.3 機械上の安全要綱

• 機械的な設置の項の情報に従って厳密に装置を設置してください。 • 機械的な設置は、機械部品が停止した状態で行なってください。 • 決してユニットを分解しないでください。 • 決してユニットおよびシャフトに加工を加えないでください。 • 繊細な電子機器です:注意して取り扱って下さい; ユニットとシャフトに

打撃や衝撃を与えないでください。 • 製品の環境特性に留意して下さい。 • ユニットは、機械部品の経時的な信頼性を最大限保証するため、エンコ

ーダと取り付けシャフトを接続するためにフレキシブルカップリングを取り付けることを推奨します。 フレキシブルカップリングのミスアライメント公差が守られていることを確認してください。

• 中空シャフト付きユニット関して:エンコーダは、ご注文書にご指定されたシャフト径等の技術的特性を尊重し、回転防止ピンが挿入されるカラーと固定プレートによってクランプされたシャフトに直接取り付けられます。

MAN HM58 PS SSI E 1.0 安全要綱 10 of 72

HM58 PS

2 製品識別(確認) Device can be identified through the ordering code and the serial number printed on the label applied to its body. Information is listed in the delivery document too. Please always quote the ordering code and the serial number when reaching Lika Electronic s.r.l. for purchasing spare parts or needing assistance. For any information on the technical characteristics of the product refer to the technical catalogue.

Warning: encoders having ordering code ending with "/Sxxx" may have mechanical and electrical characteristics different from standard and be supplied with additional documentation for special connections (Technical Info).

MAN HM58 PS SSI E 1.0 製品識別 11 of 72

デバイスは、本体に貼付されたラベルに印刷された注文コードとシリアル番号

で識別できます。 情報は納品書にも記載されています。 Lika Electronic s.r.l にご連絡の際は、必ず発注コードとシリアル番号をご明記ください。 スペアパー

ツの購入や製品・技術サポートの際に必要です。 製品の技術特性に関する情報

は、技術カタログを参照してください。

警告: "/ Sxxx"で始まる注文コードのエンコーダは、機械的および電

気的特性が標準と異なる場合があり、特殊な接続(技術情報)の追加

ドキュメントが提供されます。

HM58 PS

3 機械取り付け

WARNING Installation has to be carried out by qualified personnel only, with power supply disconnected and mechanical parts compulsorily in stop. Never force the rotation of the shaft manually, it could cause irreparable damage!

3.1 ソリッド(個体)シャフト付エンコーダ

• Mount the flexible coupling 1 on the encoder shaft; • fix the encoder to the flange 2 (or to the mounting bell) by means of screws 3; • secure the flange 2 to the support (or the mounting bell to the motor); • mount the flexible coupling 1 on the motor shaft; • make sure the misalignment tolerances of the flexible coupling 1 are

respected.

3.1.1 通常取り付け要領

MAN HM58 PS SSI E 1.0 機械取り付け 12 of 72

a [mm]

b [mm]

c [mm]

d [mm]

HM58 PS - 42 50 F7 4 HM58S PS 36 H7 48 - -

警告 設置作業は、電源を切断し、機械部品を強制停止させた状態で、資格のある人のみ

にて実施してください。決して、シャフトの回転時に手で力を掛けないでください。

修復不可能な損傷を引き起こす可能性があります。

• エンコーダシャフトにフレキシブルカップリング 1 を取り付けます。 • ネジ 3 でエンコーダをフランジ 2(または取り付けベル)に固定します。 • フランジ 2 をサポート(またはモータへの取り付けベル)に固定します。 • モータシャフトにフレキシブルカップリング 1 を取り付ける。 • フレキシブルカップリング 1 のミスアライメント公差が遵守されていることを確認

してください。

HM58 PS

3.1.2 固定クランプを使用した取り付け(オプションのキットコードLKM 386)

3.1.3 取り付けベル(オプションキットコードPF4256)を使用した取り付け

NOTE In order to guarantee reliability over time of the encoder mechanical parts, we recommend a flexible coupling to be installed between the encoder and the motor shaft. Make sure the misalignment tolerances of the flexible coupling are respected.

MAN HM58 PS SSI E 1.0 機械取り付け 13 of 72

a [mm]

b [mm]

c [mm]

d [mm]

HM58 PS - 50 F7 67 4 HM58S PS 36 H7 - 67 -

注記 エンコーダのメカニカルパーツの経時的な信頼性を保証するため、エンコーダとモ

ータシャフト間にフレキシブルカップリングを取り付けることを推奨します。 フレ

キシブルカップリングのミスアライメント公差が守られていることを確認してくだ

さい。

HM58 PS

3.2 中空シャフト付エンコーダ

3.2.1 HMC58 PS installation using the antirotation pin

• Fasten the anti-rotation pin 1 to the rear of the motor (secure it using a locknut);

• mount the encoder on the motor shaft using the reducing sleeve 8 (if supplied). Avoid forcing the encoder shaft;

• insert the anti-rotation pin 1 into the slot on the flange of the encoder; this secures it in place by grub screw 2, preset at Lika;

• fix the collar 3 to the encoder shaft.

MAN HM58 PS SSI E 1.0 機械取り付け 14 of 72

3.2.1 回転防止ピンを使用した HMC58PS の取り付け • 回転防止ピン 1 をモータの後部に固定して下さい。(ロックナットを使用して固

定して下さい)。 • リダクションスリーブ(減寸スリーブ)8(付属している場合)を使用してモー

タシャフトにエンコーダを取り付けて下さい。 エンコーダシャフトに力を掛け

ないでください。 • 回転防止ピン 1 をエンコーダフランジのスロットに挿入します。 これは Lika 社にて予めセットされたグラブスクリュー2 で固定します。

• カラー3 をエンコーダシャフトに固定します。

HM58 PS

3.2.2 固定ピンを使用したHMC59 PSの取り付け

• Remove the antirotation pin 1 (see Figure in the previous page); • mount the encoder on the motor shaft using the reducing sleeve 8 (if

supplied). Avoid forcing the encoder shaft; • fasten the fixing plate 4 to the rear of the motor using two M3 cylindrical

head screws 5; • fix the collar 3 to the encoder shaft.

MAN HM58 PS SSI E 1.0 機械取り付け 15 of 72

回転防止ピン 1 を取り外してください。(前ページの図を参照)。 • リダクションスリーブ(減寸スリーブ)8(付属している場合)を使用してモータ

シャフトにエンコーダを取り付けてください。エンコーダシャフトに力を掛けない

でください。 • 2 つの M3 シリンドリカルスクリュー(六角ねじ)5 を使用して固定プレート 4 をモ ータの背面に固定して下さい。

• カラー3 をエンコーダシャフトに固定します。

HM58 PS

3.2.3 回転防止ピン及び固定プレートを使ったHMC60 PSの取り付け

• Remove the antirotation pin 1 (see Figure on page 14); • fix the tempered pin 6 to the rear of the motor; • mount the encoder on the motor shaft using the reducing sleeve 8 (if

supplied). Avoid forcing the encoder shaft; • make sure the anti-rotation pin 6 is inserted properly into the fixing plate 7; • fix the collar 3 to the encoder shaft.

NOTE You are strongly advised not to carry out any mechanical operations (drilling, milling, etc.) on the encoder shaft. This could cause serious damages to the internal parts and an immediate warranty loss. Please contact our technical personnel for the complete availability of "custom made" shafts.

MAN HM58 PS SSI E 1.0 機械取り付け 16 of 72

• 回転防止ピン 1 を外してください。(14 ページの図を参照)。 • 焼戻しピン 6 をモータの後部に固定してください。 • リダクションスリーブ(減寸スリーブ)8(付属している場合)を使用してモータシ

ャフトにエンコーダを取り付けてください。 エンコーダシャフトに力を掛けないで

ください。 • 回転防止ピン 6 が固定プレート 7 に正しく挿入されていることを確認してください。 • カラー3 をエンコーダシャフトに固定して下さい。

注記 エンコーダシャフトに機械的な追加工(穴あけ、フライス削りなど)を行わないこ

とを強くお勧めします。 追加工により、内部部品に深刻な損害を与える可能性が

生じ、また製品の保証が消滅します。 特注シャフトが必要な場合は販売店又は Lika社技術社へ相談してください。。

HM58 PS

4 電気結線 警告 Electrical connection has to be carried out by qualified personnel only, with power supply disconnected and mechanical parts compulsorily in stop. Never force the rotation of the shaft manually, it could cause irreparable damage!

警告 If wires of unused signals come in contact, irreparable damage could be caused to the device. Please insulate them singularly.

4.1 ケーブル及びコネクター配線

4.2 T12 ケーブル仕様 Model : LIKA T12 cable Cross section : 4 x 0,25 mm2 + 4 x 2 x 0,14 mm2 twisted pairs (24/26 AWG) Jacket : TPU, extra flexible Shield : tinned copper braid, coverage > 85% Outer diameter : Ø 6.1 mm ±0.1 mm (Ø 0.24” ±0.004”) Min. bending radius : fix min. 25 mm (0.98”) / dynamic min. 45 mm (1.77”) Work temperature : fix -40 +90°C (-40 +194°F) / dyn -50 +90°C (-58 +194°F) Conductor resistance : < 90 /km - < 148 /km

MAN HM58 PS SSI E 1.0 機械取り付け 17 of 72

機能 T12 ケーブル M23H 12-ピン M12 12-ピン クロック 入力 + 紫 2 3 クロック 入力 - 黄 1 4 データ 出力 + 灰 3 5 データ 出力 - ピンク 4 6 RD RS-232 緑 5 9 TD RS-232 赤 7 11

0VDC RS-232 茶 6 10 - 黒 - -

計数方向 青 8 8 プリセット / オフセッ 白 9 7

0VDC 白/緑 12 1 +10VDC~+30VDC 茶/緑 11 2

シールド シールド線 ケース ケース

電気的接続作業は、電源を遮断し、機械部品が強制停止された状態で、有資格作業

者にて行ってください。シャフトの回転時に手で力を加えないでください。修復不

可能な損傷を引き起こす可能性があります。

未使用の信号線が接触すると、デバイスに修復不可能な損傷を引き起こす可能性があ

ります。使用しない線は別々に絶縁してください。

モデル : LIKA T12 ケーブル 断面 : 4 x 0,25 mm2 + 4 x 2 x 0,14 mm2 ツイストペアー (24/26 AWG) ジャケット : TPU, 特別柔軟材 シールド : 錫、銅網線, 被覆率 > 85% 外径寸法 : Ø 6.1 mm ±0.1 mm (Ø 0.24” ±0.004”) 最少曲げ半径 : 固定時 最小 25 mm (0.98”) / 可動時 最小 45 mm (1.77”) 可動温度範囲 : 固定時 -40 +90°C (-40 +194°F) / 可動時 -50 +90°C (-58 +194°F) 導線抵抗 : < 90 Ω/km - < 148 Ω/km

HM58 PS

4.3 M23H 12-ピン (反時計回り) 結線仕様

M23H 12-pin connector Male Counter-clockwise

4.4 M12 12-ピンコネクター仕様

Male Frontal side A coding

4.5 シールド線結線 For signals transmission always use shielded cables. The cable shielding must be connected properly to the metal ring nut 3 of the connector in order to ensure a good earthing through the frame of the device. To do this disentangle and shorten the shielding 1 and then bend it over the part 2; finally place the ring nut 3 of the connector. Be sure that the shielding 1 is in tight contact with the ring nut 3.

MAN HM58 PS SSI E 1.0 機械取り付け 18 of 72

信号伝送には常にシールドケーブルを使用してください。 ケーブルのシールド線

処理は、装置のフレームを通して良好なアースを維持するために、コネクターの金

属リングナット 3 に正しく接続する必要があります。 これを行うには、シールド

網線 1 を緩めて短くし、次にそれを部品 2 の上に曲げます。 最後にコネクターの

リングナット 3 を取り付けでください。 シールド 1 がリングナット 3 としっかりと

導通していることを確認してください。

M23H 12-ピン コネクターオス 配置:(反時計回り)

オス、正面 A コーディング

HM58 PS

4.6 グランド(接地アース) Minimize noise by connecting the shield and/or the connector housing and/or the frame to ground. Make sure that ground is not affected by noise. The connection point to ground can be situated both on the device side and on user’s side. The best solution to minimize the interference must be carried out by the user. You are advised to provide the ground connection as close as possible to the encoder.

4.7 プリセット / オフセット

Preset / Offset input is active only when the software function Enable preset / offset in the ENCODER CONFIGURATION box is enabled (see on page 51); otherwise the hardware function is disabled. Furthermore it holds two different functions depending on the value of the parameter Select preset / offset in the ENCODER CONFIGURATION box whether it is set to PRESET or OFFSET. In the first case (Select preset / offset = PRESET) the input is used to set the preset (parameter Preset in the box PRESET / OFFSET, see on page 39); while in the second case (Select preset / offset = OFFSET) it is used to set the offset (parameter Offset in the box PRESET / OFFSET, see on page 39). For detailed information on the preset and offset functions refer to the section “6.3.2 PRESET / OFFSET box” on page 39. The output information can be forced through a command sent to the PRESET input by a PLC or via a button. To set the preset stop the encoder in the desired position and then connect Preset input to +VDC for 100 µs at least. After this, the position output by the encoder in that point will be the one set (and then loaded to the encoder) next to the parameter Preset in the box PRESET / OFFSET, see on page 39). By default the preset value is 0. Connect Preset input to 0VDC if not used. To set the preset, connect Preset input to +VDC for 100 µs at least, then disconnect +VDC. Normally voltage must be at 0VDC or floating. We suggest performing the preset setting when the encoder is in stop.

警告 Check the parameters Preset and Offset and activate the functions (either through the input Preset / Offset or by using the commands Activate preset or Activate offset) every time you change the value next to the parameters Counts per revolution and/or Number of revolutions when the option Programming mode: Scaling is set; or Counts to be displayed when the option Programming mode: Start / Stop is set; or Counts to be displayed when the option Programming mode: Prog is set.

MAN HM58 PS SSI E 1.0 Electrical connection 19 of 72

シールドおよび/またはコネクターハウジングおよび/またはフレームを地面に接続

して、ノイズを最小限に抑えてください。 ノイズの影響を受けていないことを確

認してください。 グラウンドへの接続点は、デバイス側とユーザ側の両方に配置

できます(いずれかの 1 か所で接地)。 干渉を最小限にする最適な解決策は、ユー

ザにてご判断ください。GND への接地はできるだけ エンコーダに近い位置で行っ

て頂くことをお勧めします。

エンコーダプリセット/オフセット入力は、ENCODER CONFIGURATION ボックス

でプリセット/オフセットを有効にするソフトウェア機能が有効になっている場合

にのみ有効です(51 ページ参照)。 それ以外の場合、ハードウェア機能は無効にな

ります。 さらに、ENCODER CONFIGURATION ボックスで PRESET または OFFSET に設定さ

れているかどうかに関わらず、パラメータの値に応じて 2 つの異なる機能を保持し

ます。最初のケース(Select preset / offset = PRESET)では、入力はプリセットを設

定するために使用されます(PRESET / OFFSET ボックスのパラメータ Preset、39 ペ

ージを参照)。 2 番目のケース(Select preset / offset = OFFSET)では、オフセット

を設定するために使用されます(PRESET / OFFSET ボックスのパラメータ Offset、39 ページを参照)。プリセットおよびオフセット機能の詳細については、39 ページ

の「6.3.2 プリセット/オフセットボックス」を参照してください。 出力情報は、PLC またはボタンを介して PRESET 入力に送られたコマンドによって

強制的に実行されます。 プリセットを設定するには、エンコーダを希望の位置に停

止させ、プリセット入力を+ VDC に 100μ秒以上接続して下さい。 この後、その位置にてエンコーダ出力する位置情報は、PRESET / OFFSET ボックス

のパラメータプリセット(Preset) の隣に設定された位置情報(エンコーダにロードさ

れた位置)になります(39 ページを参照)。 プリセット初期値は 0 です。プリセット入力を使用しない場合は 0VDC に接続して

下さい。 プリセットを設定するには、プリセット入力を+ VDC に少なくとも 100μs接続してから+ VDC を外します。通常、電圧は 0VDC またはフローティングでなけ

ればなりません。プリセット設定を行う際はエンコーダが停止しているときに実施

して頂くことをお勧めします。

パラメータの横にある値を変更するたびに、(入力プリセット/オフセットを使用

するか、またはプリセットを有効(Active Preset) にするかオフセットをアクティブ

(Active Offset) にするかのいずれかのコマンドを使用するか) プリセット(Preset)とオフセット(Offset) の以下のパラメータをチェックしてください。 オプションプログラミングモード:スケーリング(Programming mode: Scaling) が設定されているときの 1 回転のカウント数(Counts per revolution)や回転数

(Number of revolution) またはプログラムモード:開始/停止(Programming mode: Start/Stop)が設定されている場合の表示カウント数(Counts to be displayed) 。 また

はプログラミングモード:Prog(Programming mode : Prog) が設定されている場合

の表示カウント数(Counts to be displayed)。

HM58 PS

4.8 計数方向 It is also known as Complementary. Connect Counting direction input to 0VDC if not used. The counting direction circuit is designed to reverse the counting direction. In other words it allows the count up also when the shaft is rotating counterclockwise. Connect the counting direction input to 0VDC to have an increasing count when the encoder is turning clockwise (CW, viewed from the shaft side); connect the counting direction input to +VDC to have an increasing count when the encoder is turning counterclockwise (CCW).

警告 The counting direction can be set also through the programming tool. The parameter Positive counting direction in the CONFIGURATION page allows the operator two choose the options CW (STANDARD) and CCW (INVERTED). When the counting direction is set to CW (STANDARD) -Positive counting direction = CW (STANDARD)-, if the Complementary input (see on page 20) has LOW logic level (0VDC) the encoder will provide the increasing count when the encoder is turning clockwise (and the decreasing count when the encoder is turning counter-clockwise); on the contrary if the Complementary input has HIGH logic level (+VDC) the encoder will provide the increasing count when the encoder is turning counter-clockwise (and the decreasing count when the encoder is turning clockwise). When the option CCW (INVERTED) is set -Positive counting direction = CCW (INVERTED)-, if the Complementary input has LOW logic level (0VDC) the encoder will provide the increasing count when the encoder is turning counter-clockwise (and the decreasing count when the encoder is turning clockwise); on the contrary if the Complementary input has HIGH logic level (+VDC) the encoder will provide the increasing count when the encoder is turning clockwise (and the decreasing count when the encoder is turning counter-clockwise).

警告 After having set the new counting direction it is necessary to set also the preset / offset functions.

MAN HM58 PS SSI E 1.0 Electrical connection 20 of 72

これはコンプリメンタリとも呼ばれます。使用しない場合は、計数方向入力を 0VDCに接続してください。計数方向回路は、計数方向を反転できるように設計されてい

ます。 換言すれば、シャフトが反時計回りに回転しているときでも計数加算が可能

になります。 エンコーダが時計方向(CW 側、シャフト側から見て)に回転してい

るときに計数を加算する場合は、「計数方向入力」を 0VDC に接続して下さい。逆

に、エンコーダが反時計回り(CCW)に回転しているときに計数を加算する場合は、

「計数方向入力」を+ VDC に接続して下さい。

計数方向は、プログラミングツールを使用して設定することもできます。 CONFIGURATION ページのパラメータ Positive counting direction は、オペレータ

が 2 つのオプション CW(標準)と CCW(反転)を選択できるようなっています。

カウント方向が CW(標準) - 正のカウント方向= CW(スタンダード)に設定さ

れている場合、コンプリメンタリ入力(20 ページ参照)が LOW ロジックレベル

(0VDC)であれば、エンコーダが時計回りに回転すると加算し、(そして、エン

コーダが反時計回りに回転しているときに減少します。)逆にコンプリメンタリ入

力が HIGH ロジックレベル(+ VDC)の場合、エンコーダは反時計回りに回転する

と加算し、エンコーダが時計回りに回転すると減算します。オプション CCW(INVERTED)が正の計数方向= CCW(INVERTED)に設定されている場合、コン

プリメンタリ入力が LOW ロジックレベル(0VDC)の場合、エンコーダが反時計

回りに回転しているときに加算し、(エンコーダが エンコーダが時計回りに回転

しているときに減算します)。 逆にコンプリメンタリ入力が HIGH ロジックレベ

ル(+ VDC)の場合、エンコーダが時計回りに回ると加算し(エンコーダが反時計

回りに回る減算します。)

新規の計数方向を設定した後に、プリセット/オフセット機能も設定する必要があり

ます。

HM58 PS

4.9 RS-232 シリアル結線 This HM58 PS programmable encoder is equipped with a serial interface for the parametrization and set up of the device. A software tool designed to program the encoder via RS-232 interface is available at the address www.lika.biz > PRODUCTS > ROTACOD > HM58 P. Before starting the program, connect the device to the personal computer through a serial port. Should the personal computer not be equipped with a serial port, you must install a USB / RS-232 converter, easily available in the market. The serial cable must be connected as shown in the table of the following page. See also the section “Electrical connection” on page 17.

Please always make sure that the RD of the ENCODER is cross-wired to the TD of the PC while the TD is cross-wired to the RD. An optional kit fitted with RS-232/USB adapter for the communication between the encoder and the PC is available for both M23H and M12 outputs. The ordering codes are as follows:

• KIT HM58PS M23 M23H / USB adapter cable; • KIT EM58PA M12 M12 / USB adapter cable.

Please note that the configuration parameters of the serial port have fixed values so the user cannot change them. They are:

MAN HM58 PS SSI E 1.0 Electrical connection 21 of 72

機能

T12

cable

M23 12-ピン

M12 12-ピン

Dサブ 9-ピン メス

機能

TD 赤 7 11 2 RD RD 緑 5 9 3 TD

0VDC 茶 6 10 5 0VDC

RS-232 serial port settings RS232 シリアルポート設定 Baud rate ボーレート Byte size バイトサイズ Parity パリティ Stop bits ストップビット Flow control フローコントロール

この HM58 PS プログラマブルエンコーダには、デバイスのパラメータ設定とセット

アップのためのシリアルインタフェースが装備されています。 RS-232 インターフェ

ースを介してエンコーダをプログラムするためのソフトウェアツールは、ウェブサ

イト www.lika.biz> PRODUCTS> ROTACOD> HM58 P に掲載されています。プログ

ラムを開始する前に、デバイスをシリアルポート経由でパーソナルコンピュータに

接続してください。 パーソナルコンピュータにシリアルポートが装備されていない

場合は、市販の USB / RS-232 コンバータをインストールする必要があります。シリ

アルケーブルは、次ページの表のように接続する必要があります。 17 ページの「電

気的接続」の項も参照してください。

TD が RD とクロス配線されている場合は、必ず ENCODER の RD が PC の

TD とクロス配線されていることを確認してください。エンコーダと PC間

の通信用の RS-232 / USB アダプタを装備したオプションキットには、コネ

クターM23H 及び M12 出力用が用意されています。注文コードは次のとお

りです。 • KIT HM58PS M23 :M23H / USB アダプターケーブル。 • KIT EM58PA M12:M12 / USB アダプターケーブル。

シリアルポートの構成パラメータは固定値なので、ユーザは変更できません。 以下の要素です:

ケーブル

HM58 PS

5 SSI インターフェース

5.1 Main characteristics

SSI (the acronym for Synchronous Serial Interface) is a synchronous point-to-point serial interface engineered for unidirectional data transmission between one Master and one Slave. Developed in the first eighties, it is based on the RS-422 serial standard. Its most

peculiar feature is that data transmission is achieved by synchronizing both the Master and the Slave devices to a common clock signal generated by the controller; in this way the output information is clocked out at each controller's request. Furthermore only two pairs of twisted wires are used for data and clock signals, thus a six-wire cable is required.

The main advantages in comparison with parallel or asynchronous data transmissions are:

• less conductors are required for transmission; • less electronic components; • possibility of insulting the circuits galvanically by means of

optocouplers; • high data transmission frequency; • hardware interface independent from the resolution of the absolute

encoder.

Furthermore the differential transmission increases the noise immunity and decreases the noise emissions. It allows multiplexing from several encoders, thus process controls are more reliable with simplified line design and easier data management.

5.2 動作原理 (図 1) Data transmission is carried out as follows. At the first falling edge of the clock signal (1, the logic level changes from high to low) the absolute position value is stored while at the following rising edge (2) the transmission of data information begins starting from the MSB (Most Significant Bit).

MAN HM58 PS SSI E 1.0 SSI interface 22 of 72

SSI(同期式シリアルインタフェースの略語)

は、1 つのマスタと 1 つのスレーブ間の一方向

データ転送用に設計された同期式ポイントツ

ーポイント(PTP)シリアルインタフェースで

す。 1980 年代初期に開発され、RS-422 シリア

ル規格に基づいています。

その特有の特徴はマスタとスレーブの両方のデバイスをコントローラによって

生成された共通のクロック信号に同期させることでデータ伝送が達成されるこ

とです。 このように、出力情報は各コントローラの要求によってクロック搬送さ

れます。 さらに、データおよびクロック信号には 2 対のツイスト線しか使用され

ないので、ケーブルの必要芯数は 6 芯です。

パラレルまたは非同期のデータ伝送と比較した主な利点は次のとおりです。 • 伝送に必要な線材が少なくて済みます。 • 少ない電子部品; • オプトカプラを使用して回路を電気的に絶縁することができる。 • 高いデータ通信周波数。 • アブソリュートエンコーダの分解能とは独立したハードウェアインタフェース。

さらに、差動伝送はノイズ耐性を増加させ、 ノイズの発生を減少させます。 これにより、複数のエンコーダからの多重化が可能になり、プロセス制御がより簡単

になり、ライン設計が簡素化され、データ管理が容易になります。

データ伝送は以下のように行われます。クロック信号の最初の立ち下がりエッジ

(1、ロジックレベルが高 (H)レベルから低 (L) レベルに変化)で、絶対位置値は、

一時保存され、次の立ち上がりエッジ(2)データ情報の送信が MSB(Most Significant Bit、最上位ビット)から開始されます。

HM58 PS

図 1 - データワード伝送方式

At each change of the clock signal and at each subsequent rising edge (2) one bit is clocked out at a time, up to the LSB (Least Significant Bit), until the data word transmission is completed. The cycle ends at the last rising edge of the clock signal (3). This means that up to n + 1 rising edges of the clock signals are required for each data word transmission (where n is the bit resolution); for instance, a 13-bit encoder needs 14 clock edges. The number of clocks can be set next to the parameter SSI clock number in the CONFIGURATION page. If the number of clocks is greater than the number of bits of the data word, then the system will send a zero (low logic level signal) at each additional clock, zeros will either lead (LSB ALIGNED protocol) or follow (MSB ALIGNED protocol) or lead and/or follow the data word (TREE FORMAT protocol). After the period Tm monoflop time, having a duration ranging between 12 and 100 µsec (see the parameter SSI timeout in the CONFIGURATION page), calculated from the end of the clock signal transmission, the encoder is then ready for the next transmission and therefore the data signal is switched high.

SSI interface has a frequency of data transmission ranging between 100 kHz and 2 MHz. The clock frequency (baud rate) depends on the length of the cable and must comply with the technical information reported in the following table:

The clock signal has a typical logic level of 5V, the same as the output signal which has customarily a logic level of 5V in compliance with RS-422 standard.

MAN HM58 PS SSI E 1.0 SSI interface 23 of 72

周波数 [kHz] 100 200 300 400 500 900 1800

最大ケーブル長 m [ft] 400 [1310] 200 [655] 100 [330] 75 [245] 60 [200] 30 [100] 15 [50]

クロック信号の各変化時および各後続の立ち上がりエッジ(2)において、データ

ワードの送信が完了するまで、LSB(Least Significant Bit、最下位ビット)まで 1ビットずつ同期送出されます。 サイクルは、クロック信号の最後の立ち上がりエ

ッジで終了します(3)。 これは、各データワード伝送(nはビット分解能)にク

ロック信号の n + 1 個までの立ち上がりエッジが必要であることを意味します。 例えば、13 ビットエンコーダは 14 クロックエッジを必要とします。 クロック数は、CONFIGURATION ページで、パラメータ SSI クロック番号の隣

に設定できます。 クロック数がデータワードのビット数より大きい場合、システ

ムは各追加クロックでゼロ(低 (L) 論理レベル信号)を送信し、数個のゼロ(LSB ALIGNED プロトコール)またはフォロー(MSB ALIGNED プロトコール )また

はリード、および/またはデータワード(TREE FORMAT プロトコール)が続いて

送信されます。 クロック信号の伝送の終わりから計算された期間 Tmのモノフロ

ップ時間(CONFIGURATION(構成)ページのパラメータ SSI タイムアウトを参

照)が 12〜100μ秒の範囲にあると、エンコーダは次の伝送の準備が整っているの

で、 データ信号がハイに切り換えられる。

SSI インターフェースは、100kHz〜2MHz の範囲のデータ伝送周波数が適用され、 クロック周波数(ボーレート)はケーブルの長さによって異なり、次の表に示す

技術情報に準拠していなければなりません。

クロック信号は、代表的 5V の論理レベルを有しており、RS-422 規格に準拠した

5V の論理レベルを有する出力信号と同じです。

HM58 PS

As previously stated, the number of clock signals can be set according to needs (and the resolution of the encoder) by setting the wished value next to the parameter SSI clock number in the CONFIGURATION page; there are some limits depending on the set protocol. For complete information please refer to each specific section regarding the protocols. The output code can be either Binary, Gray or BCD and can be set next to the parameter Output code in the CONFIGURATION page.

5.3 「ツリーフォーマット」プロトコール(図2と図3) The TREE FORMAT protocol is activated by setting the value TREE next to the parameter Protocol in the CONFIGURATION page (see on page 50). “Tree format” is the most common protocol and the SSI standard. It is typically used in the single-turn encoders having a resolution up to 13 bits and in the multi-turn encoders having an overall resolution up to 25 bits (13-bit single-turn + 12-bit multi-turn). The whole transmitted data is divided into 12 bits on the left side of the central axes dedicated to the information on the number of revolutions; and into 13 bits on the right side of the axes dedicated to the information on the number of counts per revolution. Thus the multi-turn information is transmitted first.

Figure 2 - 単回転モデル用ツリーフォーマットプロトコルの例

図 2 - 単回転モデル用ツリーフォーマットプロトコールの例

If the resolution bits are less than the number of clocks (see the parameter SSI clock number in the CONFIGURATION page), then unused bits are forced to logic level low (0); they lead the multi-turn information on one hand and follow the single-turn information on the other hand. As you can easily assume, the “Tree format” protocol is not compatible with single-turn encoders having a resolution higher than 13 bits and with multi-turn encoders having an overall

MAN HM58 PS SSI E 1.0 SSI interface 24 of 72

前述のように、クロック信号の数は、CONFIGURATION ページでパラメータ SSIクロック番号の隣に希望の値を設定することにより、必要に応じて(エンコーダの

分解能も)設定することができます。 設定されたプロトコールに応じていくつか

の制限があります。 詳細については、プロトコールに関する各セクションを参照

してください。 出力コードは、バイナリ、グレー、または BCD のいずれかになり、

CONFIGURATION ページでパラメータ Output code(出力コード)の横に設定で

きます。

TREE FORMAT(ツリーフォーマット)プロトコールは、CONFIGURATION ペー

ジ(50 ページ参照)でパラメータ Protocol の横に値 TREE を設定することで有効に

なります。「ツリー形式」は、最も一般的なプロトコールであり、SSI 標準です。 これは通常、最大 13 ビットの分解能を持つシングルターンエンコーダと、最大 25 ビ

ット(13 ビットの単回転+ 12 ビット多回転)の多回転エンコーダで使用されます。 送信データ全体は、回転数情報専用の中心軸の左側に 12 ビットに分割され、 1 回転当

たりのカウント数に関する情報専用の軸の右側の 13 ビットに変換される。 このよう

にして、マルチターン情報が最初に送信される。

分解能ビットがクロック数よりも小さい場合(CONFIGURATION ページのパラメ

ータ SSI クロック番号を参照)使用されていないビットは論理レベルがロー(0)になります。 一方で多回転情報を導き、もう一方では単回転情報に従います。 容易に想定することができるように、「ツリー形式」プロトコールは、13 ビットよ

り高分解能を有する単回転エンコーダと、総和で 25 ビットよりも高分解能又は、

いずれにしても 13 ビットよりも高い単回転情報を有する多回転エンコーダには適

応しません。

HM58 PS

resolution higher than 25 bits and a single-turn information higher than 13 bits anyway. In the Figures some examples of the TREE FORMAT are available: they refer to 13-bit singleturn (Figure 2) and 25-bit multiturn (Figure 3) models with standard number of clocks (13 clocks and 25 clocks respectively).

図 3 - 多回転モデルのためのツリーフォーマットプロトコールの例

5.4 “LSB 右並び” プロトコール (図 4, F図 5 及び 図 6) The LSB RIGHT ALIGNED protocol is activated by setting the value RIGHT ALIGNED next to the parameter Protocol in the CONFIGURATION page (see on page 50); it is set as a default in the HM58 PS programmable encoder. It allows to right align the data bits, beginning from MSB to LSB; LSB is then sent at the last clock cycle. If the number of clock signals is higher than the data bits (see the parameter SSI clock number in the CONFIGURATION page), then unused bits are forced to logic level low (0) and lead the data word. This protocol can be used in encoders having resolution up to 32 bits. Information can be variously arranged for single and multi-turn versions. Here following are some examples of LSB RIGHT ALIGNED protocol with 13, 25 and 32 data bits and 13, 25 and 32 clocks respectively.

MAN HM58 PS SSI E 1.0 SSI interface 25 of 72

いくつかの図で、標準クロック数(それぞれ 13 クロックと 25 クロック)の 13 ビッ

ト単回転(図 2)と 25 ビット多回転(図 3)のモデルを参照して、ツリーフォーマ

ットのいくつかの例を示します。

LSB 右並びプロトコール(50 ページ参照)は CONFIGURATION(構成)ペ

ージ内の Protocol(プロトコール)パラメータの横に RIGHT ALIGNED (右並び値を設定することで有効になります。これは、HM58 PS プログラマブル

エンコーダでの初期値として設定されています。 これは、データビットは MSB から LSB に向かって右並びで、LSB が最後の

クロックサイクルで送信されます。クロック信号の数がデータビットよりも

大きい場合には(CONFIGURATION(構成)ページ内のパラメータ「SSI クロック数」を参照)、使用されないビットは強制的にロー(低)論理レベル

(0)なり、データワードがそれに続きます。 このプロトコールは、最高 32 ビットの分解能を有するエンコーダに使用す

ることができます。情報は単回転用と多回転用に別々に並べることができま

す。 ここに、幾つかの 13、25 及び 32 データビットと 13、25 及び 32 クロックの

LSB 右並びプロトコールそれぞれサンプルとして提示します。

HM58 PS

図 4 – 最高13ビット分解能までのモデル用のLSB 右並び プロトコール例

図 5 – 最高25ビット分解能までのモデル用のLSB 右並びプロトコール例

図 6 – 最高32ビット分解能までのモデル用のLSB 右並びプロトコール例

MAN HM58 PS SSI E 1.0 SSI interface 26 of 72

HM58 PS

5.5 “MSB 左並び” プロトコール (図 7) The MSB LEFT ALIGNED protocol is activated by setting the value LEFT ALIGNED next to the parameter Protocol in the CONFIGURATION page (see on page 50). “MSB left aligned” protocol is a further alternative and allows to left align the data bits, beginning from MSB to LSB; MSB is then sent at the first clock cycle. If the number of clock signals is higher than the data bits (see the parameter SSI clock number in the CONFIGURATION page), then unused bits are forced to logic level low (0) and follow the data word. Information can be variously arranged for single and multi-turn versions. The number of clocks to be sent to the encoder must equal at least the number of data bits, anyway it can be higher, as needed. The great advantage of this protocol over the TREE format and the LSB RIGHT ALIGNED format is that data can be transmitted with a minimum time loss and the Tm monoflop time can immediately follow the data bits without any additional clock signal. Here following are some examples of MSB LEFT ALIGNED protocol.

図 7 - MSB 左並びプロトコール例

MAN HM58 PS SSI E 1.0 SSI interface 27 of 72

MSB 左並びプロトコ-ルは、CONFIGURATION ページ(50 ページ参照)のパラメ

ータプロトコルの横に左並びの数値を設定することで有効になります。 「MSB左並び」プロトコ-ルはさらに互換方法として、MSB から LSB までのデータビッ

トを左並びにすることができます。 その後、最初のクロックサイクルで MSB が

送信されます。 クロック信号の数がデータビットよりも大きい場合(CONFIGURATION ページ

のパラメータ SSI クロック番号を参照)、使用されていないビットは論理レベル

がロー(0)になり、データワードに続きます。 情報は、単回転と多回転用にい

ろいろアレンジすることができます。 エンコーダに送られるクロック数は、少なくともデータビット数と等しくなけれ

ばならず、必要な場合は大きな値にすることもできます。 このプロトコ-ルの

TREE フォーマットと LSB 右並びフォーマットとの大きな利点は、時間損失が最

も少なくデータを送信できることと、追加のクロック信号なしで Tmモノフロッ

プ時間がデータビットのすぐ後に続くことができることです。ここでは、MSB 左並びプロトコ-ルの例をいくつか示します。

HM58 PS

5.6 推奨 SSI 入力回路

MAN HM58 PS SSI E 1.0 SSI interface 28 of 72

LIKA Electronic Via S. Lorenzo, 25 36010 Carré (VI) • Italy Tel. +39 0445 806600 Fax +39 0445 806699

Italy: eMail [email protected] - www.lika.it World: eMail [email protected] - www.lika.biz

HW-SW version Document release Description 1-1 1.0 1st issue

この装置は、クラス 2回路または 30 VDCを超えない低電圧の限定エネルギーまたはエネルギー源が供給されます。 電源電圧レートの注文コードを参照してください。製品データシートの電源電圧仕様を確認してください。

〒171-0022 東京都豊島区南池袋 3-18-35

OK ビル 2 階 Tel: 03-5924-6750 Fax:03-5924-6751 E-mail: [email protected] URL: http://www.technology-link.jp