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精品国产97久久久久久 | 内射国产内射夫妻免费频道 | www.久久草| 91免费在线观看网站| 成 年 人 黄 色 大 片大 全| 成人久久久久久| 国产噜噜噜噜噜久久久久久久久| 国产亚洲二区| 高清国产一区| 99久久精品无码一区二区毛片| 成人久久久久久| 成人a在线视频| 91精品视频网站| 久久精品日产第一区二区三区精品版 | 视频一区不卡| 日韩免费观看网站| 麻豆一区区三区四区产品精品蜜桃| 精品一区久久久久久| 国产中文日韩欧美| 国产精品亚洲网站| 久久国产精品高清| 国产精品福利网| 在线不卡视频一区二区| 亚洲精品一区二区三区四区五区| 日日橹狠狠爱欧美超碰| 欧美最猛性xxxxx亚洲精品| 国模精品系列视频| 91精品啪在线观看麻豆免费| 九色91国产| 久久综合免费视频| 亚洲xxxx视频| 欧美日韩一区二区视频在线| 国产精自产拍久久久久久蜜| 91久久久亚洲精品| 国产成人精品优优av| 精品蜜桃一区二区三区 | 亚洲高潮无码久久| 欧美黄色免费影院| 91久久久精品| 国产精品-区区久久久狼| 亚洲精品中文字幕乱码三区不卡| 欧美日韩国产免费一区二区三区| 国产日产欧美精品| 国产成人亚洲综合青青| 国产精品高清在线观看| 无码人妻精品一区二区三区66| 日韩国产一区久久| 粉嫩av一区二区三区免费观看| 色偷偷偷亚洲综合网另类 | 久久九九国产精品怡红院| 国产99久久九九精品无码| 少妇大叫太大太粗太爽了a片小说| 欧美日韩一区二区视频在线观看| av免费观看国产| 国产精品久久久久久久久久 | 成人免费在线网| 久久视频精品在线| 一级一片免费播放| 蜜桃网站成人| 国产成人免费观看| 色综合久久久久无码专区| 国产天堂视频在线观看| 久久99国产精品一区| 亚洲欧洲精品在线| 国产自偷自偷免费一区| 久久国产精品99久久久久久丝袜| 中文字幕黄色大片| 国内精品视频一区| 久久久久久欧美| 日韩中文字幕亚洲精品欧美| 国产精品综合久久久| 国产精品成av人在线视午夜片| 日本精品www| 国产精品av免费在线观看| 亚洲综合五月天| 国产伦精品一区二区三区四区视频_| 国产精品普通话| 日韩欧美国产综合在线| 国产精品1234| 天堂va久久久噜噜噜久久va| 97精品伊人久久久大香线蕉| 欧美精品在线网站| 国产欧美日韩免费看aⅴ视频| 国产精品视频免费观看| 欧美中日韩一区二区三区| 久久国产精品免费一区| 视频一区视频二区视频| 91免费版看片| 一区二区三区四区视频在线观看| 精品一区二区三区自拍图片区| 国产精品欧美激情在线观看| 男人添女人下部视频免费| 久热国产精品视频| 精品一区二区日本| 国产精品高潮在线| 国产青春久久久国产毛片| 欧美激情视频网| av在线观看地址| 亚洲在线欧美| 国产成人高潮免费观看精品 | 久久伊人资源站| 日本视频一区二区在线观看| 久草视频国产在线| 欧美在线视频网站| 国产精品高清免费在线观看| 成人亚洲欧美一区二区三区| 亚洲精品tv久久久久久久久| 国产激情一区二区三区在线观看| 日本精品免费| 国产精品久久久久久久久电影网| 国产一区在线播放| 一级黄色免费在线观看| 91高清免费在线观看| 日韩视频免费播放| 国产成人免费观看| 国产乱码一区| 日韩成人av电影在线| 精品国产美女在线| 国产日韩av在线播放| 午夜精品久久久久久久白皮肤 | 亚洲精品无人区| 日韩中文字幕免费看| 红桃av在线播放| 一区二区三区四区久久| 久久久亚洲精品视频| 黄页网站在线观看视频| 色综合视频网站| 久久久久99精品成人片| 国模杨依粉嫩蝴蝶150p| 亚洲a∨一区二区三区| 色偷偷9999www| 国产美女91呻吟求| 欧美在线www| 中文字幕欧美人妻精品一区| 国产v综合ⅴ日韩v欧美大片| 免费高清一区二区三区| 日韩在线第三页| 欧美成人免费一级人片100| 97色在线观看免费视频| 欧美,日韩,国产在线| 手机看片日韩国产| 国产精品激情自拍| 久久久久久a亚洲欧洲aⅴ| 国产欧美欧洲在线观看| 日本精品免费| 中文字幕无码不卡免费视频| 精品国产区一区二区三区在线观看| 国产精品一区二区欧美 | www.欧美免费| 成人中文字幕av| 欧美精品二区三区四区免费看视频| 亚洲一区国产精品| 国产精品无码专区在线观看| 91久久精品国产| 国内精品久久影院| 日韩欧美手机在线| 午夜精品美女久久久久av福利| 欧美精品一区三区| 国产精品免费久久久久久 | 久久久久se| 99精品99久久久久久宅男| 欧美一级成年大片在线观看| 亚洲精品9999| 久热精品视频在线观看| www欧美日韩| 国产高清av在线播放| 97久久精品国产| 国产精品永久免费在线| 蜜桃视频在线观看91| 欧美日韩精品免费观看视一区二区 | 欧美精品在线极品| 国产精品视频二| 久久精品国产亚洲一区二区| 久久精品视频16| 久久免费福利视频| 福利视频一二区| 国产色一区二区三区| 国内精品视频一区二区三区| 欧美性视频精品| 欧美在线视频a| 人妻少妇精品久久| 日本高清不卡在线| 欧美一级片免费观看| 天堂v在线视频| 色噜噜狠狠一区二区三区| 亚洲精品欧美日韩专区| 亚洲三区在线| 午夜精品久久久久久久男人的天堂| 亚洲永久一区二区三区在线| 欧美激情视频在线| 精品伦理一区二区三区| 欧美成人精品一区二区| 欧美激情中文字幕在线| 欧美激情精品久久久久久变态| 国产精品久久久久久久久久东京 | 午夜精品视频网站| 三区精品视频| 欧美一区二区三区精美影视 | 色综合色综合网色综合|