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精品综合久久久久久五月天_国产精品一区电影_中文字幕欧美日韩一区二区_亚洲一区二区三区精品动漫
久久久99精品视频| 国产精品久久精品国产| 韩国三级日本三级少妇99| 欧美在线视频一二三| 日韩国产精品一区二区| 天天夜碰日日摸日日澡性色av| 欧美成人免费在线观看| 欧美xxxx综合视频| 久久99久久亚洲国产| 欧美激情视频一区| 亚洲在线不卡| 日韩一区二区三区高清| 日本欧美国产在线| 欧美精品无码一区二区三区| 精品欧美日韩| 国产麻豆一区二区三区在线观看| 超碰网在线观看| 久久久亚洲综合网站| 久久这里只有精品8| 久久久久久九九| 国产精品视频久久| 欧美乱妇40p| 亚洲精品一卡二卡三卡四卡| 日韩欧美猛交xxxxx无码| 狠狠色综合网站久久久久久久| 国产欧美在线一区| 国产精品69久久久久| 国产精品视频专区| 亚洲三级一区| 霍思燕三级露全乳照| 成人在线国产精品| 久久精品国产第一区二区三区最新章节| 国产精品丝袜视频| 一本一道久久久a久久久精品91 | 激情视频小说图片| 国产伦精品一区二区三区视频黑人| 国产精品av网站| 久久久91精品国产一区不卡| 欧美精品video| 日韩av在线第一页| 蜜桃麻豆www久久国产精品| 91国产精品电影| 欧美精品在线看| 日韩av电影在线观看| 精品欧美日韩| 久久综合福利| 一区二区三区日韩视频| 色噜噜狠狠色综合网| 精品一区二区三区视频日产| 久久亚裔精品欧美| 久久国产精品久久久久久久久久| 日本午夜在线亚洲.国产| 国产精品一二区| 久久久国产精彩视频美女艺术照福利| 宅男av一区二区三区| 欧美国产二区| 久久精品国产精品国产精品污| 中文字幕第一页亚洲| 欧美v在线观看| 久久天堂国产精品| 欧美激情视频一区二区三区不卡| 日韩精品不卡| 成人a免费视频| 欧美xxxx综合视频| 欧美日韩一区二区三区免费| 久久久亚洲天堂| 一区二区三区观看| 免费毛片网站在线观看| 久久av免费观看| 亚洲一区二区三区视频| 国产欧美日韩视频一区二区三区 | 在线视频不卡国产| 国产亚洲精品美女久久久m| 国产爆乳无码一区二区麻豆| 亚洲一区中文字幕| 国内一区在线| 久久久精品一区二区三区| 日本电影一区二区三区| 91精品在线观| 亚洲三级一区| 91久久嫩草影院一区二区| 欧美日韩国产91| 国产做受69高潮| 国产精品高潮粉嫩av| 欧美一级大胆视频| 久久久久综合一区二区三区| 日韩一级片一区二区| 99视频精品免费| 亚洲一区二区三区精品在线观看| 国产情人节一区| 久热精品视频在线观看一区| 麻豆中文字幕在线观看| 久久伊人精品视频| 国产一区不卡在线观看| 国产精品久久久久久久久借妻| 加勒比成人在线| 国产精品第一区| 国产区一区二区三区| 久久久久久国产精品三级玉女聊斋| 国产人妻互换一区二区| 中文字幕中文字幕在线中心一区 | 国产精品极品美女在线观看免费| 欧美自拍大量在线观看| 国产精品免费电影| 国产欧美精品一区二区| 中文字幕日韩一区二区三区| 97免费中文视频在线观看| 亚洲一区二区三区久久| 久久婷婷五月综合色国产香蕉| 日本高清不卡在线| 国产精品无码一本二本三本色| 欧美亚洲精品一区二区| 国产精品区一区二区三含羞草| 国产综合色一区二区三区| 欧美日韩xxx| 91精品视频专区| 日韩欧美一区二区三区久久婷婷 | 国产精品主播视频| 亚洲国产高清国产精品| 久久久久欧美| 蜜臀av.com| 亚洲精品影院| 日韩综合中文字幕| 精品一区二区不卡| 亚州av一区二区| 国产成人精品综合| 国产人妖伪娘一区91| 亚洲一区二区久久久久久| 久久精品国产美女| 国产一区二区视频在线观看| 亚洲一区二区三区色| 国产精品无码人妻一区二区在线| 国产精品一区在线免费观看| 欧美一级视频一区二区| 国产精品成人免费视频| 91久久久久久久久久久| 欧美日韩一区二区视频在线| 亚洲日本无吗高清不卡| 国产精品免费视频久久久| 7777奇米亚洲综合久久| 黄黄视频在线观看| 色999日韩自偷自拍美女| 国产精品福利在线| 国产高清免费在线| 国产视频不卡| 青青在线视频免费| 岛国视频一区| 九九久久国产精品| 久久视频精品在线| 久久久99国产精品免费| 国产精品亚洲аv天堂网| 人妻内射一区二区在线视频| 欧美日韩国产第一页| 久久九九精品99国产精品| 91精品国产自产在线老师啪| 国产一区喷水| 欧美一性一乱一交一视频| 欧美成人中文字幕在线| www.美女亚洲精品| 69**夜色精品国产69乱| 国产区二精品视| 精品人伦一区二区三区| 日韩成人在线资源| 亚洲自拍小视频| 国产精品国产对白熟妇| 精品国产视频在线| 久久婷婷国产综合尤物精品| www国产亚洲精品| 国产免费亚洲高清| 国产日韩精品视频| 激情综合网俺也去| 欧美综合国产精品久久丁香| 午夜午夜精品一区二区三区文| 久久久久国色av免费观看性色| 国产精品你懂得| 色777狠狠综合秋免鲁丝| 国产高清一区视频| 久久精品美女| 久久精品成人一区二区三区蜜臀| 久久久水蜜桃| 91精品一区二区| 91精品国产成人| 91精品网站| 久久久人人爽| 久久一区二区精品| 91精品国产电影| 91精品国产91久久久久青草| 国产美女91呻吟求| 国产美女在线一区| 国产精品一区二区三区免费观看| 国产一区一区三区| 成人免费在线网| 成人国产精品日本在线| 91精品国产综合久久香蕉| 久久综合九色综合网站| 国产xxxxx在线观看| 久久久久国产精品熟女影院| 国产传媒一区二区三区| 国产高潮呻吟久久久| 久久超碰亚洲|