日韩免费一级毛片在线观看-中文日韩亚洲综合-欧美系列日韩另类-欧美激情极品日韩-午夜日韩爱爱毛片视频免费看-欧美日韩一区免费观看-欧美日韩欧美黄色三级

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

好男人天堂网 久久精品国产这里是免费 国产精品成人一区二区 男人天堂网2021 男人的天堂在线观看 丁香六月综合激情 | 成人免费观看视频| 国产亚洲免费观看| 亚洲天堂一区二区三区四区| 日本在线不卡视频| 国产一区免费观看| 欧美激情一区二区三区在线播放| 久久国产一久久高清| 久久精品免视看国产成人2021| 韩国妈妈的朋友在线播放| 精品视频在线观看免费| 国产伦精品一区二区三区无广告| 亚洲 国产精品 日韩| 深夜做爰性大片中文| 精品国产香蕉在线播出| 国产一区二区精品久久| 国产高清在线精品一区a| 日韩专区一区| 精品视频免费看| 精品在线观看一区| 九九精品久久久久久久久| 国产成人精品在线| 日本在线不卡视频| 国产网站免费在线观看| 99热热久久| 日韩专区一区| 一本伊大人香蕉高清在线观看| 九九国产| 久久国产影视免费精品| 国产一区二区精品| 国产一区精品| 精品国产香蕉在线播出 | 久久久久久久久综合影视网| 日韩专区一区| 黄色短视屏| 国产极品精频在线观看| 在线观看成人网 | 国产精品12| 日本乱中文字幕系列| 四虎影视久久久免费| 成人免费网站久久久| 国产a免费观看| 欧美a级片视频| 国产网站麻豆精品视频| 麻豆网站在线看| 国产成人精品综合| 欧美激情在线精品video| 午夜精品国产自在现线拍| 日本特黄特黄aaaaa大片| 久久精品欧美一区二区| 国产极品白嫩美女在线观看看| 欧美一级视频免费观看| 香蕉视频三级| 国产一区免费在线观看| 高清一级做a爱过程不卡视频| 亚洲女人国产香蕉久久精品| 精品视频免费看| 91麻豆tv| 九九免费高清在线观看视频| 国产成人精品一区二区视频| 国产高清视频免费| 999精品在线| 日本久久久久久久 97久久精品一区二区三区 狠狠色噜噜狠狠狠狠97 日日干综合 五月天婷婷在线观看高清 九色福利视频 | 国产视频一区二区在线观看| 成人a级高清视频在线观看| 一级女性全黄生活片免费| 欧美大片a一级毛片视频| 精品国产三级a| 国产高清在线精品一区二区| 精品久久久久久中文字幕2017| 国产激情视频在线观看| 青青青草影院 | 亚欧成人毛片一区二区三区四区| 九九热国产视频| 人人干人人草| 黄色短视屏| 欧美一级视频免费观看| 香蕉视频三级| 日本特黄特黄aaaaa大片| 国产一区二区精品| 欧美电影免费看大全| 99色吧| 99久久网站| 成人在免费观看视频国产| 国产成人精品影视| 毛片高清| 美国一区二区三区| 国产不卡精品一区二区三区| 亚飞与亚基在线观看| 韩国毛片免费| 国产一区免费在线观看| 国产高清视频免费| 精品美女| a级精品九九九大片免费看| 日韩专区在线播放| 国产成人啪精品| 天堂网中文字幕| 香蕉视频亚洲一级| 可以免费看毛片的网站| 国产极品白嫩美女在线观看看| 午夜在线观看视频免费 成人| 国产91视频网| 日韩专区一区| 国产精品自拍在线观看| 天天色色网| 青青久久精品| 国产一区精品| 亚洲天堂免费观看| 日韩专区亚洲综合久久| 九九九在线视频| 精品久久久久久中文字幕2017| 欧美夜夜骑 青草视频在线观看完整版 久久精品99无色码中文字幕 欧美日韩一区二区在线观看视频 欧美中文字幕在线视频 www.99精品 香蕉视频久久 | 国产视频久久久| 日韩专区亚洲综合久久| 国产不卡在线观看| 成人在激情在线视频| 成人a级高清视频在线观看| 日本在线不卡免费视频一区| 天天色色色| 精品在线视频播放| 国产一区二区精品| 亚洲 欧美 91| 欧美18性精品| 久久99爰这里有精品国产| 成人影院久久久久久影院| 中文字幕一区二区三区 精品| 精品国产亚洲人成在线| 久久国产精品永久免费网站| 欧美激情在线精品video| 午夜激情视频在线观看| 日韩一级黄色片| 久久国产影视免费精品| 你懂的日韩| 成人高清视频在线观看| 天天色成人| 久久国产精品自线拍免费| 欧美1卡一卡二卡三新区| 台湾毛片| 日本免费乱理伦片在线观看2018| 午夜在线亚洲| 青草国产在线观看| 一a一级片| 国产精品自拍在线观看| 午夜激情视频在线观看| 999精品视频在线| 天天色色色| 你懂的日韩| 亚洲精品永久一区| 亚洲女人国产香蕉久久精品 | 日韩av成人| 亚久久伊人精品青青草原2020| 美女免费精品高清毛片在线视| 黄视频网站在线免费观看| 国产成人精品综合在线| 台湾毛片| 午夜精品国产自在现线拍| 国产极品白嫩美女在线观看看| 国产视频在线免费观看| 成人影院久久久久久影院| 日韩中文字幕在线亚洲一区| 精品久久久久久综合网| 国产伦久视频免费观看视频| 日本伦理片网站| 国产精品12| 欧美另类videosbestsex久久| 日韩av东京社区男人的天堂| 国产极品精频在线观看| 99久久精品国产高清一区二区| 精品国产一区二区三区久久久狼 | 可以免费在线看黄的网站| 在线观看成人网 | 韩国三级视频在线观看| 国产网站在线| 韩国三级视频在线观看| 日本免费乱理伦片在线观看2018| 精品视频在线观看一区二区 | 日本伦理黄色大片在线观看网站| 国产高清视频免费| 欧美日本免费| 成人在免费观看视频国产| 欧美1区| 久久99中文字幕| 国产不卡精品一区二区三区| 91麻豆精品国产自产在线| 韩国三级视频网站| 91麻豆国产| 成人影视在线播放| 青青青草影院| 91麻豆tv| 一级毛片视频在线观看| 日韩在线观看视频黄| 日本在线不卡免费视频一区| 色综合久久天天综线观看| 黄视频网站免费| 精品视频在线观看免费| 欧美夜夜骑 青草视频在线观看完整版 久久精品99无色码中文字幕 欧美日韩一区二区在线观看视频 欧美中文字幕在线视频 www.99精品 香蕉视频久久 | 日韩女人做爰大片| 一 级 黄 中国色 片| 麻豆午夜视频| 国产成人女人在线视频观看|