JPS608903A - Transferring method of data displayed by bcd code - Google Patents
Transferring method of data displayed by bcd codeInfo
- Publication number
- JPS608903A JPS608903A JP11783383A JP11783383A JPS608903A JP S608903 A JPS608903 A JP S608903A JP 11783383 A JP11783383 A JP 11783383A JP 11783383 A JP11783383 A JP 11783383A JP S608903 A JPS608903 A JP S608903A
- Authority
- JP
- Japan
- Prior art keywords
- digit
- decimal
- data
- code
- contents
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
- G05B19/408—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
【発明の詳細な説明】
発明の技術分野
本発明は、NC制御回路から制御対象へBCDコードで
表示されたデータを転送する方法に関するものである。DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a method for transferring data represented by a BCD code from an NC control circuit to a controlled object.
従来技術と問題点
従来、NC制御回路から制御対象に制御パラメータや補
助機能コード等BCDコードで表示されたデータを転送
する場合、10進数で表示された(1)
各種のデータごとに専用の信号線を設け、これらデータ
を全て並列に且つ10進各桁の内容を表示する2進コー
ドを10進各桁について全て並列に転送していた。この
ため2例えば10進4桁のBCDコードで表示されたデ
ータを10種類転送するには、4 (ビット)×4(桁
)XIO(種類)−160本の並列転送信号線が必要に
なる等、信号線の総数が厖大になり、装置間の配線が複
雑・高価になるだけでなく、システムの信頼性にも悪影
響を及ぼすという問題があった。Conventional technology and problems Conventionally, when transferring data expressed in BCD codes such as control parameters and auxiliary function codes from an NC control circuit to a controlled object, the data was expressed in decimal notation (1) Dedicated signals were used for each type of data. A line was provided, and all of this data was transferred in parallel, and a binary code indicating the content of each decimal digit was transferred in parallel for each decimal digit. Therefore, for example, to transfer 10 types of data displayed in a 4-digit decimal BCD code, 4 (bits) x 4 (digits) XIO (types) - 160 parallel transfer signal lines are required. However, the total number of signal lines becomes enormous, which not only makes wiring between devices complicated and expensive, but also adversely affects the reliability of the system.
発明の目的
本発明は上記従来の問題点に鑑みてなされたものであり
、その目的は、信号線の本数を低減し得るBCDコード
で表示されたデータの転送方法を提供することにある。OBJECTS OF THE INVENTION The present invention has been made in view of the above-mentioned conventional problems, and its object is to provide a method for transferring data displayed in BCD codes, which can reduce the number of signal lines.
発明の構成
上記目的を達成する本発明は、転送すべきデータの識別
コードを送出した後、該データの10進各桁の内容を表
示する4ビツトの2進コードを並列に且つ1又は複数の
10進各桁ごとに順次転送(2)
するように構成されている。Structure of the Invention The present invention achieves the above object by transmitting an identification code of data to be transferred, and then transmitting in parallel one or more 4-bit binary codes indicating the content of each decimal digit of the data. It is configured to sequentially transfer each decimal digit (2).
以下本発明の詳細を実施例によって説明する。The details of the present invention will be explained below with reference to Examples.
発明の実施例
第1図は1本発明の一実施例が適用されるNC制御シス
テムの構成ブロック図であり、C0NTはNC制御回路
、OBJは制御対象、5o−33はBCDコードで表示
されたデータを転送するための信号線、STRはストロ
ーブ信号線である。Embodiment of the Invention FIG. 1 is a block diagram of the configuration of an NC control system to which an embodiment of the present invention is applied, in which C0NT is an NC control circuit, OBJ is a controlled object, and 5o-33 is a BCD code. The signal line STR for transferring data is a strobe signal line.
第2図は上記実施例の動作を制御対象するための波形図
であり、5O−33は第1図の対応の信号線上を転送さ
れる信号波形の一例、STRは第1図のストローブ信号
線上を転送されるストローブ信号波形である。FIG. 2 is a waveform diagram for controlling the operation of the above embodiment, 5O-33 is an example of a signal waveform transferred on the corresponding signal line in FIG. 1, and STR is an example of a signal waveform transferred on the corresponding signal line in FIG. is the strobe signal waveform that is transferred.
制御パラメータ等あるデータについて例えば6789と
いう10進数を転送する場合、まずデータが何であるか
を受け側の制御対象に識別させるための識別コード(第
2図の例では”1010”)をストローブ信号と共に送
出する。When transmitting a decimal number such as 6789 for certain data such as control parameters, first, an identification code ("1010" in the example in Figure 2) that allows the receiving control object to identify the data is sent along with the strobe signal. Send.
次に、1000の桁の内容を表示する6の2進コード(
“” 0110 ” )をストローブ信号と共に(3)
送出する。Next, the binary code of 6 (
"0110") is sent (3) along with the strobe signal.
この後、100の桁の内容を表示する7の2進コード(
1110”)をストローブ信号と共に送出する。After this, the binary code of 7 (
1110'') along with the strobe signal.
同様にして、10の桁、1の桁の内容を表示する2進コ
ードじ0001”、”1001”)をストローブ信号と
共に順次転送する。Similarly, binary codes (0001", "1001") indicating the contents of the 10's digit and 1's digit are sequentially transferred together with the strobe signal.
制御対象OBJ内のマイクロプロセッサは、データの識
別コードを識別して対応の出力ポートを選択すると共に
、制御回路C0NTから転送されてきた10進各桁に対
して直列/並列変換を施してもとの10進数に復元し、
これを選択した出力ポートに出力する。The microprocessor in the controlled object OBJ identifies the data identification code, selects the corresponding output port, and performs serial/parallel conversion on each decimal digit transferred from the control circuit C0NT. restore to decimal number,
Output this to the selected output port.
最近の制御対象は、マイクロプロセッサによるシーケン
サを使用することが普通となっているので、これを利用
して上記データの識別や直列/並列変換を行う構成とす
れば、受は側におけるハードウェア上の負担は殆どない
。Recently, it has become common for control objects to use microprocessor-based sequencers, so if this is used to identify the above data and perform serial/parallel conversion, the hardware on the receiving side There is almost no burden on
上記実施例では、10進各桁の内容を高い桁から送出す
る例を示したが、これとは逆に低い桁か(4)
ら送出する構成としてもよい。In the above embodiment, an example was shown in which the contents of each decimal digit are sent from the highest digit, but on the other hand, it may be configured to be sent from the low digit (4).
また、制御パラメータが16種類以上存在する場合には
、第5番目の信号線を追加ずればよい。Furthermore, if there are 16 or more types of control parameters, a fifth signal line may be added and shifted.
10進各桁の内容を表示する2進コードを10進各桁ご
とに順次送出する例を説明したが、信号線を倍に増やし
て2桁分並列に転送するように構成すれば、信号転送時
間を半減させることができる。We explained an example in which a binary code that displays the contents of each decimal digit is sent sequentially for each decimal digit, but if you double the number of signal lines and transfer two digits in parallel, the signal transmission will be easier. You can cut the time in half.
発明の詳細
な説明したように2本発明は、転送すべきデータの識別
コードを送出した後、該データの10進各桁の内容を表
示する4ビツトの2進コードを並列に且つ1又は複数の
10進各桁ごとに順次転送するように構成したものであ
るから、従来例に比べて信号線の本数が大×幅に低減さ
れ、装置間の配線が簡易・安価になるだけでなく、シス
テムの信頼性をも大幅に高めることができるという利点
がある。DETAILED DESCRIPTION OF THE INVENTION As described above, the present invention transmits an identification code of data to be transferred, and then transmits one or more 4-bit binary codes in parallel representing the content of each decimal digit of the data. Since it is configured to sequentially transfer each decimal digit of This has the advantage that the reliability of the system can also be greatly improved.
第1図は2本発明の一実施例が適用されるNC(5)
制御システムの構成ブロック図、第2図は上記実施例の
動作を説明するための波形図である。
C0NT・・NC制御回路、OBJ・・制御対象、5O
−33・・信号線、STR・・ストローブ信号線。
特許出願人 ファナック株式会社
代 理 人 玉蟲久五部(外1名)
(6)FIG. 1 is a block diagram of the configuration of an NC (5) control system to which an embodiment of the present invention is applied, and FIG. 2 is a waveform diagram for explaining the operation of the embodiment. C0NT...NC control circuit, OBJ...Controlled object, 5O
-33...Signal line, STR...Strobe signal line. Patent applicant: Fanuc Co., Ltd. Agent: Gobe Tamamushi (1 other person) (6)
Claims (1)
データを転送する方法において。 転送すべきデータの識別コードを送出した後。 該データの10進各桁の内容を表示する4ビツトの2進
コードを並列に且つ1又は複数の10進各桁ごとに順次
転送することを特徴とするBCDコードで表示されたデ
ータの転送方法。[Claims:] A method for transferring data displayed in a BCD code from an NC control circuit to a controlled object. After sending the identification code of the data to be transferred. A method for transmitting data expressed in a BCD code, characterized in that a 4-bit binary code indicating the contents of each decimal digit of the data is transferred in parallel and sequentially for each one or more decimal digits. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11783383A JPS608903A (en) | 1983-06-29 | 1983-06-29 | Transferring method of data displayed by bcd code |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11783383A JPS608903A (en) | 1983-06-29 | 1983-06-29 | Transferring method of data displayed by bcd code |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS608903A true JPS608903A (en) | 1985-01-17 |
Family
ID=14721375
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11783383A Pending JPS608903A (en) | 1983-06-29 | 1983-06-29 | Transferring method of data displayed by bcd code |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS608903A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62257507A (en) * | 1986-05-02 | 1987-11-10 | Mitsubishi Electric Corp | Numerical controller |
-
1983
- 1983-06-29 JP JP11783383A patent/JPS608903A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62257507A (en) * | 1986-05-02 | 1987-11-10 | Mitsubishi Electric Corp | Numerical controller |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0720096B2 (en) | Information processing system | |
| JPS608903A (en) | Transferring method of data displayed by bcd code | |
| JPH02179046A (en) | Signal encoding system | |
| JPS59134943A (en) | Data communication system | |
| KR900001694B1 (en) | Data transmission system | |
| KR0170740B1 (en) | Communication device for programmable logic controller and data format for same | |
| JPH0332954B2 (en) | ||
| JPS6177948A (en) | Data processor | |
| JPS6366086B2 (en) | ||
| KR100298038B1 (en) | driving installation and driving method of dot matrix numeric display | |
| JPH04222199A (en) | Frame format system for monitor controller | |
| JPH08159809A (en) | Transmission method for multi-rotary type absolute value encoder and device provided with this encoder | |
| JPH08204572A (en) | Encoder signal output method and encoder | |
| CA1285074C (en) | Data error detection circuit | |
| JPH0439254B2 (en) | ||
| JPH0313803Y2 (en) | ||
| JPH0352416A (en) | B8zs pattern detection circuit | |
| JPH01112404A (en) | Programmable controller | |
| JPH0313039A (en) | Data communication system | |
| JPH03171203A (en) | Numerical controller | |
| JPS627295A (en) | Reading system for 5c code system signal | |
| JPH0233247A (en) | Encoding device | |
| JPS6324431A (en) | Data communication system | |
| JPH03120934A (en) | Code conversion system for data communication | |
| JPH04104600A (en) | Data transmission system |