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精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
精品国产一区二区三区免费| 日韩精品一区二区三区外面| 萌白酱国产一区二区| 日韩欧美在线观看强乱免费| 国产精品自产拍高潮在线观看| 日韩在线免费av| 日韩福利视频| 国产精品一区二区性色av| 国产精品久久久久9999| 精品嫩模一区二区三区| 国产成人无码av在线播放dvd| 欧美一区二区视频17c| 国产奶头好大揉着好爽视频| 国产精品日日做人人爱| 天天夜碰日日摸日日澡性色av| 国产综合免费视频| 国产精品久久久久7777| 国产在线播放一区二区| 欧美极品在线播放| 成人久久18免费网站图片| 中文字幕乱码一区二区三区| 99精彩视频| 日本一区二区三区四区五区六区| av一区二区在线看| 色噜噜狠狠一区二区三区| 久久噜噜噜精品国产亚洲综合| 亚洲砖区区免费| 99国内精品久久久久久久软件| 俺去了亚洲欧美日韩| 日产精品高清视频免费| 国产成人一区二区三区免费看 | 粉嫩精品一区二区三区在线观看 | 久久国产色av免费观看| 黄色一级免费大片| 在线观看一区欧美| 久久久久久久成人| 国产精品一二三在线观看| 日本一区二区三区四区视频 | 国产美女三级视频| 色狠狠久久av五月综合|| 日韩一区二区福利| 成人a级免费视频| 日韩免费一区二区三区| 久久久久久com| 久久久久久久久久久免费精品| 欧美日韩在线不卡一区| 亚洲精品成人自拍| 精品福利影视| 国产精品美女www| 色偷偷9999www| 久久五月天婷婷| 91精品一区二区三区四区| 欧洲日韩成人av| 无码少妇一区二区三区芒果| 欧美精品在线免费播放| 国产精品美女在线观看| 久久久999国产| 日韩在线视频一区| 日韩在线观看精品| 久久精品男人天堂| 久久精品欧美视频| 久久九九热免费视频| 国产精品视频免费一区二区三区| 久草一区二区| 久久精品国产91精品亚洲| 国产精品久在线观看| 久久不射热爱视频精品| 日韩在线视频二区| 久久天堂电影网| 国产精品日韩电影| 国产精品久久久久久久久久东京| 久久久久久久久久久网站| 91久久精品国产91性色| 99在线热播| 91美女片黄在线观| 久久精品综合一区| 久久九九国产精品怡红院| 久久精品国产亚洲精品| 国产精品视频免费在线| 国产精品精品视频一区二区三区| 国产精品热视频| 国产精品久久久久久久av电影 | 欧美日韩国产高清视频| 精品人妻人人做人人爽| 精品人妻人人做人人爽| 国产青草视频在线观看| 国产伦视频一区二区三区| 国产精品2018| 国产精品久久久久av| 亚洲综合视频一区| 欧美激情专区| 国产精品一二三视频| 久久国产精品-国产精品| 日韩中文字幕视频在线| 久久久久久久色| 国产精品视频免费一区二区三区| 国产美女精品在线观看| 91禁国产网站| 欧美一区二区三区四区夜夜大片| 国模一区二区三区私拍视频| 欧美日韩无遮挡| 国产高潮呻吟久久久| 亚洲五月六月| 国产精品678| 欧美日韩亚洲免费| 久热精品视频在线观看| 91国内揄拍国内精品对白| 日韩精品欧美一区二区三区| 国产精品免费一区二区三区都可以 | 中文字幕在线乱| 欧美 日本 亚洲| 日韩一区视频在线| 欧美在线激情网| 久草青青在线观看| 日本精品一区二区三区高清 久久 日本精品一区二区三区视频 | 国产精品一区二区三区精品| 国产精品免费在线| 免费看成人午夜电影| 国产精品欧美风情| 黄色一级二级三级| 国产精品成人av性教育| 国产一区二区黄色| 中文字幕在线亚洲精品| 久久综合伊人77777麻豆| 婷婷亚洲婷婷综合色香五月| 久久96国产精品久久99软件| 日本公妇乱淫免费视频一区三区| 精品国产一区二区三区久久狼黑人 | 久久成人免费视频| 国产一区二区免费电影| 九九热精品在线| 91精品国产91久久久久久吃药| 国产精品视频播放| 国产人妻互换一区二区| 日本一区二区三区视频在线播放 | 久久精视频免费在线久久完整在线看 | 久久久久五月天| 国产日韩欧美夫妻视频在线观看| 天天夜碰日日摸日日澡性色av| 久久福利视频网| 国产精品视频一二三四区| 久久青青草综合| 国产精品91一区| 91精品视频一区| 国产又黄又猛视频| 韩国一区二区三区美女美女秀| 欧洲精品亚洲精品| 欧洲国产精品| 人妻久久久一区二区三区 | 在线视频福利一区| 久久亚洲精品国产亚洲老地址| 久久久国产一区| 国产精品丝袜久久久久久高清 | 国产自偷自偷免费一区| 日本久久久久久| 青青在线视频一区二区三区| 日韩av电影免费在线| 日本一区二区高清视频| 日本免费成人网| 欧美久久在线| 精品一区二区三区无码视频| 久久久久久久久久久成人| 美日韩精品视频免费看| 中文一区一区三区免费| 日韩区国产区| 激情伊人五月天| 91精品视频在线看| 久久亚洲一区二区三区四区五区高 | 国产精品678| 精品久久一区二区三区蜜桃| 欧美在线观看视频| 国产www精品| 日本欧美一级片| 国产麻豆一区二区三区在线观看| 91精品中文在线| 国产精品成人av性教育| 日韩av电影在线网| 国产亚洲精品美女久久久m| 国产精品99一区| 久久99久国产精品黄毛片入口| 青青青国产在线视频| 成人国产一区二区| 国产精品无码专区av在线播放| 欧美精品在线免费观看| 日本精品福利视频| 欧美国产综合视频| 久久久久在线观看| 国产精品日韩av| 国产精品日韩在线观看| 欧美精品久久久久a| 日本一区二区高清视频| 国产一区二区在线免费| 91精品在线国产| 久久精品一区中文字幕| 日本亚洲欧洲精品| 911国产网站尤物在线观看| 久久久精品国产一区二区| 亚洲精品高清视频| 超碰国产精品久久国产精品99| 国产精品黄页免费高清在线观看|