91精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫

CNC system based on CAN bus Remote Input Output Module Design and Implementation

This paper describes the numerical control system based on CAN bus Remote Input Output Module Design and Implementation

1 Introduction

CAN or Controller Area Network, and his communications with outstanding reliability, real-time and flexibility. His application is no longer limited to the automotive industry, which CAN achieve in the CNC system features include: program management; machine diagnosis input and output parameters, parameters of communication; machine status collection; machine mode of acquisition; database management.

Currently, the major share of domestic CNC system is economical CNC system. Economical CNC and Machine Tool Interface De Shu Liang Shu Chu basic input is limited, Jingchangbuneng Manzushiji operation of the demand, while in the actual workshop, Jichuang and numerical control system may Juli far, input and output Xinhao in remote Zhuanshuguocheng in Fei Chang susceptible to interference errors, while the CAN bus Zai for transmit long-distance signal transmission Shi Jian short time, by Ganraogaishuai Di, also 具有 higher transfer speeds, based on Zhexieyuanyin this paper, the numerical control system based on CAN bus input and output modules Yuan Cheng the design.

2 Module Design

The composition of the module design is as follows: CANIN, CANOUT is the CAN bus input and output interfaces. DI, DO is the interface module with the machine, DI: Tool information input interface; DO: The information output from the CNC to machine interface. And D1, DO interface, the information received is binary information.

CNC system based on CAN bus Remote Input Output Module Design and Implementation

3 module hardware design

The input and output modules use a microprocessor macro crystal company SCM STC89C516RD. In the CAN bus communication interface, CAN communications controller used SJA1000, CAN bus driver using PCA82C250. Figure 2 CAN remote from the input and output module hardware schematic diagram can be seen, the circuit mainly from 6 components: micro-controller STC89C516RD, independent CAN controllers, electrical isolation device 6N137, CAN bus driver PCA82C250, output module and input module. Microprocessor STC89C516RD responsible for the output module to output outgoing data, the input module to scan the input point input, and initialization SJA1000, SJA1000 achieved by controlling the data communications tasks such as receiving and sending.

 

SJA1000, AD0 ~ AD7 connected to STC89C516RD the P0 port, chip select signal CS * controlled by the P2.7, which is 0, CPU chip memory address optional in the SJA1000, SJA1000 can then perform the appropriate read / write operations. SJA1000, RD * WR * ALE pins are connected to corresponding with STC89C516RD, INT * then STC89C516RD the INT0 *, so that SCM can interrupt real-time access to the SJA1000. P1 port 3-port add another wave of code switching, to determine their own module identification number that the module ID, the values of DIP switches for the 000 to 111, so the value of the ID number from 0 to 7.

CNC system based on CAN bus Remote Input Output Module Design and Implementation

CAN bus nodes in order to enhance anti-interference ability, SJA1000 of TX0 and RX0 not directly connected PCA82C250 the TXD and RXD, but in the middle of a high-speed optocoupler 6N137, so very well for the CAN bus electrical isolation between nodes, but only part of the circuit used optocoupler two power VCC and VDD must be completely isolated, otherwise just use the speed of its response with a low pass filter. Completely isolated power supply can use a low-power DC-DC, or with more than 5 V isolated output switching power supply module. Although this increases the complexity of the interface circuit and costs, but improve the stability and security of the node.

Each output point output module latch 74ALS273 and STC89C516RD through the P0 port phase, the address translated by the P2 and the write signal WR * to latch control. The input module in the input buffer 74ABT245 by bus connected with the P0 port, 74ABT245 P2 translated from the address and the read signal RD * to strobe control. This can easily STC89C516RD external I / O to access the hardware and software without other additional costs, greatly improve the efficiency of the implementation of STC89C516RD.

4 Module Software Design

CAN bus system, remote input and output CNC software design includes 6 most: STC89C516RD initialization, CAN controller initialization, message sent, message received, the output of the output point of access and input scanning input. The design of the application of pelic CAN standard frame format mode.

Program flow shown in Figure 3. SJA1000 initialization only be carried out in the reset mode, initialization mainly by regulating the DIP switch settings of the module identifier, work settings, receive filter mode set to receive mask register (AMR) and register to receive code (ACR) settings, baud rate and interrupt allows register (IER) of the settings.

Information reached the CNC machine tool: When scanning the input signals to the machine-level changes, the module to its own ID information and the input signal into a standard frame with the package sent to the CNC system.

CNC machine tool orders reached: real-time monitoring module bus, when the bus information from the CNC system, start the CAN receive, according to AMR and ACR to determine whether the frame to receive the instruction, if not should receive, the information is discarded, if should receive, the command output to the machine.

CNC system based on CAN bus Remote Input Output Module Design and Implementation

5 Module Applications

In practice, multi-block input-output module connected to a network composed of CAN, multi-block input-output module of the host computer are CNC system, the module's input and output interfaces and tools Xianglian are shown in Figure 4.

CNC system based on CAN bus Remote Input Output Module Design and Implementation

Note that in the network, the two ends of the bus should have a termination of all access, the role of termination is to absorb excess electrical pulse signal line energy, prevent the formation of the signal reflected confusion, but confusion will result in signal communication error.

As a result of the values of the module ID number from 0 to 7, so the design of NC system scalability eight external input and output modules, including modules settings can not be the same ID number, and the smaller station number, the higher the priority. Each module in the design of the input point 64, the output point 64, the total can be extended to 512 (64 * 8), input output points.

6 Concluding Remarks

CNC system based on CAN bus is not only the remote input and output module extends the economic numerical input and output nodes, but also improve the remote input and output signal transmission accuracy. The system passed the experimental test site, the bus one by one module; take two modules; series with eight modules, each module were the work of testing, machine tools and CNC systems can correct the information transmission, communication rate the system can meet the requirements of real-time performance, reliable operation. Ji Tong has a simple structure, integration, intelligence Gao, structure and function expansion is good, safe and reliable, great De Zengjia the CNC system and Jichuang communication of input and output nodes. With the future development of factory automation, CAN bus will have broad application prospects.

Declined comment

91精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
欧美激情视频一区| 亚洲精品在线免费看| 久久福利视频导航| 欧美不卡在线一区二区三区| 深夜精品寂寞黄网站在线观看| 午夜精品久久久久久久久久久久久| 国产精品一区二区女厕厕| 超在线视频97| 国产在线视频欧美| 国产精品久久久久99| 国内久久久精品| 国产精品成人播放| 国产又黄又大又粗视频| 国产精品视频成人| 男女超爽视频免费播放| 久久精品99久久| 日本一区二区三区四区视频| 久久久久免费精品| 色一情一乱一伦一区二区三区丨| …久久精品99久久香蕉国产| 亚洲va久久久噜噜噜久久狠狠| 成人在线一区二区| 亚洲第一页在线视频| 久久香蕉综合色| 欧美日韩视频在线一区二区观看视频| 久久精品99无色码中文字幕 | 欧美一区二区影院| 久久成人免费观看| 欧美日韩精品综合| 国产精品欧美久久久| 国产中文字幕在线免费观看| 久久国产精品网站| 国产精品91久久久| 日韩高清av| 国产精品美女免费| 国产精品一区二区免费看| 婷婷久久青草热一区二区| 色伦专区97中文字幕| 国模视频一区二区三区| 欧美日韩国产第一页| 91禁国产网站| 欧美在线观看一区二区三区| 国产精品视频网址| 国产欧美一区二区三区在线看| 在线视频一区观看| 国产不卡视频在线| 欧美综合77777色婷婷| 国产精品成人一区| 91精品久久久久久久久中文字幕| 秋霞午夜一区二区| 国产精品久久电影观看| 91国在线精品国内播放| 青青青国产在线观看| 成人97在线观看视频| 91免费视频国产| 欧美日韩在线成人| 一区二区三区免费看| 久久久综合亚洲91久久98| 欧美精品一区免费| 欧美激情精品久久久久久大尺度| 久久精品国产第一区二区三区最新章节| 国产一区视频在线播放| 日韩少妇内射免费播放| 亚洲综合av影视| 欧美成人精品一区二区三区| 国产成人免费av| 国产成人精品电影| 97碰在线观看| 国产视频一区二区视频| 欧美精品国产精品久久久| 日韩av一区二区三区在线| 亚洲中文字幕无码av永久| 国产精品看片资源| 久久精品国产亚洲精品| 久久久久久久久一区二区| 久久人人97超碰精品888| 99精品人妻少妇一区二区| 国产精自产拍久久久久久蜜| 国产欧美日韩精品丝袜高跟鞋| 美女黄毛**国产精品啪啪| 黄色一级片网址| 欧美xxxx黑人又粗又长密月| 青青草原一区二区| 日本a在线天堂| 日韩高清av| 日韩精品―中文字幕| 日韩中文字幕在线不卡| 亚洲免费视频一区| 亚洲一二三区在线| 一本色道久久综合亚洲二区三区 | 虎白女粉嫩尤物福利视频| 欧美与黑人午夜性猛交久久久 | 久久久久中文字幕| 国产不卡一区二区视频| 国产成人亚洲综合91| 国产成人一区二区在线| 久久国产精品精品国产色婷婷| 久久精品一区二区三区不卡免费视频| 成人国产精品一区二区| 成人黄色av网站| 99久久免费观看| 国产精品91一区| 久艹视频在线免费观看| 久久九九有精品国产23| 国产精品久久99久久| 精品国产乱码久久久久久郑州公司| 九九热视频这里只有精品| 中文字幕人妻熟女人妻洋洋| 在线日韩av永久免费观看| 亚洲精品一卡二卡三卡四卡 | 国产www精品| 深夜福利日韩在线看| 久久久精品国产亚洲| 国产精品夫妻激情| 一本大道熟女人妻中文字幕在线 | 亚洲最大福利视频网| 亚洲人成无码www久久久 | 久久青青草原| 色老头一区二区三区在线观看| 国产成人精品网站| 久久av.com| 亚洲av综合色区| 欧美综合一区第一页| 狠狠精品干练久久久无码中文字幕 | 国产一区二区丝袜| 青青在线视频一区二区三区| 日韩精品一区二区三区电影| 日av在线播放中文不卡| 日韩欧美手机在线| 欧美性天天影院| 国内精品久久久久久中文字幕| 欧美不卡福利| 免费日韩中文字幕| 国产在线观看福利| 欧美第一黄网| 免费av在线一区二区| 国产在线视频在线| 国产欧美日本在线| 91免费福利视频| 久久riav二区三区| 国产精品视频久久| 精品国产乱码久久久久久郑州公司| 欧美激情亚洲一区| 亚洲欧洲国产日韩精品| 色噜噜一区二区| 欧美日韩一区二区视频在线观看 | 天天久久人人| 欧美一区视久久| 欧美h视频在线| 国产日韩在线看片| 97精品国产97久久久久久 | www.xxxx精品| 精品国产乱码久久久久| 亚洲国产精品久久久久婷婷老年| 日本免费高清不卡| 好吊色欧美一区二区三区| 国产美女被下药99| 久久久久se| 国产精品久久电影观看| 亚洲欧洲一区二区| 人人妻人人做人人爽| 国产专区在线视频| 国产精品88a∨| 国产精品久久久久久中文字| 99在线热播| 久久99精品久久久久久秒播放器 | 91精品网站| 精品久久久久久亚洲| 青青草原一区二区| 久久久亚洲精品无码| 欧美精品成人91久久久久久久| 欧美深夜福利视频| 国产精品.com| 一区二区三区四区五区视频| 日韩欧美一区二区视频在线播放| 国产伦精品免费视频| 国产精品日韩在线| 日韩精彩视频| 91国产精品91| 久久久久久高潮国产精品视| 麻豆av一区二区| 久久九九热免费视频| 日本欧美黄网站| 91精品久久久久久久久久另类| 国产99久久精品一区二区 | 久久久精品影院| 日韩高清国产精品| 国产脚交av在线一区二区| 亚洲在线不卡| 成人在线免费观看一区| 精品福利影视| 国产欧美在线一区二区| 国产精品免费一区二区三区在线观看| 日韩激情视频| 久久精品国产精品亚洲精品色| 午夜精品一区二区三区在线视频| 99久re热视频精品98| 中文字幕免费在线不卡| 国产午夜精品一区| 另类专区欧美制服同性|