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精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
国产精品1区2区在线观看| 久久天天躁狠狠躁夜夜躁| 97色在线播放视频| 欧美精品亚州精品| 精品视频免费观看| 国产成人免费观看| 欧美影视一区二区| 久久久久久av无码免费网站下载 | 久草视频这里只有精品| 一区二区三区电影| 狠狠干视频网站| 精品国产依人香蕉在线精品| 日本wwwcom| 三级精品视频久久久久| 日韩免费毛片视频| 久久国产精品亚洲va麻豆| 日本人成精品视频在线| 国产a级黄色大片| 青青在线免费视频| 久久视频在线免费观看| 欧美中文字幕在线观看| 日韩最新av在线| 欧美 日韩 国产在线观看| 国产精品欧美在线| 美女黄毛**国产精品啪啪| 久久精品在线视频| 国内精品久久久久影院优| 久久伊人精品视频| 国产欧美在线播放| 亚洲国产精品久久久久爰色欲| 国产精品99久久久久久久久久久久| 五码日韩精品一区二区三区视频| 久久综合毛片| 欧美亚洲国产日本| 国产精品久久91| 国产日韩成人内射视频| 亚洲在线免费视频| 久久99九九| 蜜桃网站成人| 久久伊人资源站| 亚洲永久在线观看| 日韩欧美视频第二区| 99热在线国产| 日韩亚洲第一页| 欧美激情亚洲视频| 日韩欧美电影一区二区| 日本a级片电影一区二区| 国产男女在线观看| 91美女福利视频高清| 国产亚洲二区| 久久国产日韩欧美| 中文字幕人妻熟女人妻洋洋| 午夜精品久久久久久久白皮肤| 春色成人在线视频| 亚洲精品一区二区三区av| 国产成人a亚洲精品| 高清国语自产拍免费一区二区三区| 欧美最大成人综合网| 国产精品福利在线观看网址| 国产精品美女在线播放| 色妞在线综合亚洲欧美| 国产精品久久久久aaaa九色| 亚洲综合第一页| 久久久久免费看黄a片app| 91久久精品美女| 日韩精品综合在线| 在线免费一区| 日韩欧美黄色大片| 91精品国产91久久久久久| 色综合av综合无码综合网站| 国产精品久久7| 久久久国产视频91| 国产精品久久二区| zzjj国产精品一区二区| 国产精品成人观看视频免费| 欧美综合77777色婷婷| 久久99欧美| 色999五月色| 欧美性久久久久| 欧美精品www| 精品国产免费av| 日韩三级在线播放| av免费精品一区二区三区| 九九九久久久| 国产日韩欧美另类| caoporn国产精品免费公开| 国产精品久久婷婷六月丁香| 国产精品夜间视频香蕉| 日韩av色在线| 精品国产欧美一区二区五十路| 日韩人妻精品无码一区二区三区| 精品国产一区三区| 日韩久久精品一区二区三区| 日本高清不卡三区| 久久久999成人| 色综合久久88| 久久久免费观看| 九九热精品视频国产| 久久精品视频亚洲| 国产裸体免费无遮挡| 日韩a在线播放| 亚洲一区高清| 不卡中文字幕在线| www黄色日本| 久久久成人精品| 精品久久久久av| 欧美激情一级精品国产| 国产成人精品在线播放| 视频一区国产精品| 精品视频9999| 日韩欧美一区二区三区四区五区| 中文字幕制服丝袜在线| 日韩视频在线观看视频| av在线不卡观看| 国产精品久久久久久久av电影| 精品国产免费人成电影在线观... 精品国产免费一区二区三区 | 国产精品偷伦一区二区| 丁香六月激情婷婷| 国产美女在线一区| 亚洲精品一区二区三区四区五区| 久久久精品久久| 欧美精品一区二区三区三州| 国产成人女人毛片视频在线| 亚洲人成人77777线观看 | 国模杨依粉嫩蝴蝶150p| 美女999久久久精品视频| 麻豆精品蜜桃一区二区三区| 国产精品久久久久久久小唯西川| 国产日产欧美精品| 欧美有码在线观看视频| 蜜臀久久99精品久久久久久宅男| 欧美成年人视频网站| 国产热re99久久6国产精品| 国产特级淫片高清视频| 在线日韩av永久免费观看| 91国在线高清视频| 成人中文字幕在线观看| 亚洲影院污污.| 国产精品网址在线| 国产精品91视频| 国产色婷婷国产综合在线理论片a| 精品国产一区二区三区久久久久久| 国产福利精品在线| 日韩中文在线中文网三级| 久久偷窥视频| 国产女主播av| 日韩亚洲综合在线| www.欧美免费| 久久久水蜜桃| 男人天堂手机在线视频| 欧洲精品码一区二区三区免费看| 欧美wwwxxxx| 国产精品视频公开费视频| 国产一区视频免费观看| 午夜精品一区二区三区在线视| 日韩最新av在线| 国产精品一区二区a| 91九色蝌蚪国产| 国模杨依粉嫩蝴蝶150p| 日本欧美色综合网站免费| 国产精品视频地址| 国产精品视频福利| 精品国产免费一区二区三区| 色综合视频一区中文字幕| 国产精品女人网站| 国产精品久久亚洲| 国产精品久久久久久免费观看| 精品国产一区二区三区日日嗨| 国产中文字幕亚洲| 国产这里只有精品| 精品无码久久久久久久动漫| 日韩免费在线免费观看| 精品中文字幕在线2019| 国产精品视频网站| 久久久www成人免费精品张筱雨| 国产成人精品久久二区二区| 国产精品传媒毛片三区| 欧美极品第一页| 欧美最猛黑人xxxx黑人猛叫黄| 欧美视频在线第一页| 麻豆传媒一区二区| 麻豆精品蜜桃一区二区三区| 成人国产一区二区三区| 国产精品成人久久久久| 自拍日韩亚洲一区在线| 欧美自拍大量在线观看| 红桃av在线播放| 久久久久久中文字幕| 精品不卡在线| 国内精品视频免费| 91免费视频国产| 国产欧美日韩网站| 国产不卡视频在线| 日韩在线综合网| 久久国产精品免费视频| 久久乐国产精品| 国产人妻互换一区二区| 欧美少妇一区二区三区| 日韩av观看网址| 国产精品二区在线观看|