CN1987699A - CAN bus programmable controller - Google Patents

CAN bus programmable controller Download PDF

Info

Publication number
CN1987699A
CN1987699A CN 200510111895 CN200510111895A CN1987699A CN 1987699 A CN1987699 A CN 1987699A CN 200510111895 CN200510111895 CN 200510111895 CN 200510111895 A CN200510111895 A CN 200510111895A CN 1987699 A CN1987699 A CN 1987699A
Authority
CN
China
Prior art keywords
module
output
programmable controller
signal
controller according
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200510111895
Other languages
Chinese (zh)
Inventor
王智
马性辉
王峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PAIEN SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI
Original Assignee
PAIEN SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PAIEN SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI filed Critical PAIEN SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI
Priority to CN 200510111895 priority Critical patent/CN1987699A/en
Publication of CN1987699A publication Critical patent/CN1987699A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

The CAN bus programmable controller includes main control part, the input part, the output part, and the communication part. The main control part is composed of micro controller unit MCU and memory module. The input part consists of analog input module, the counter module, the on off input module, and pulse-width modulation (PWM) signal sample module. The output part includes the on off output module, and PWM output module. The communication module is composed of USB programming module and CAN communication interface module. Comparing with prior art, the invention possesses features of abundant programming languages, reliable communication, flexible speeds, various interfaces, high adaptability and performance.

Description

The CAN bus programmable controller
Technical field
The present invention relates to industrial Programmable Logic Controller PLC, relate in particular to and a kind ofly support, defer to the controller of IEC61131-3 standard with the CANOPEN protocol networking.
Background technology
The English of programmable controller is Programmable Controller, abbreviates PC as in the twentieth century 70-80 age always.To the nineties, because personal computer also abbreviates PC as, the scope that programmable notion contained is too big in addition, is programmable logic controller (PLC-Programmable Logic Controller) so American AB company names programmable controller first.For convenience, being called for short PLC again is programmable controller.The system that programmable controller is made of the people calls the PCS programmable control system, and what emphasize that programmable controller production firm provides to people has been complete system.
International Electrotechnical Commission (IEC) has passed through the definition to PLC in February, 1987:
Programmable Logic Controller is the electronic system of a kind of digital operation operation, aims in industrial environment to use and design.It adopts a class programmable memory, is used for its internally stored program, the actuating logic computing, and sequential control, regularly, counting and user oriented instruction such as arithmetical operation, and control various types of machineries or production run by numeral or analog I/O.Programmable Logic Controller and relevant external unit thereof all by being easy to be unified into an integral body with industrial control system, are easy to expand the principle design of its function.
Programmable Logic Controller be one it be to aim at that industrial environment is used and the microcomputer that manufactures and designs.It has abundant input/output interface, and has stronger driving force.But the Programmable Logic Controller product is not at a certain concrete commercial Application, and when practical application, its hardware need be selected configuration according to actual needs for use, and its software needs to require to carry out design compilation according to control.
Divide from structure, PLC is divided into fixed and two kinds of combined types (modular).Fixed PLC comprises CPU board, I/O plate, display panel, memory block, power supply etc., and these element set are synthesized a non-removable integral body.Modular PLC comprises CPU module, I/O module, internal memory, power module, base plate or frame, and these modules can be according to certain principle combinations configuration.
The Programmable Logic Controller of traditional existing techniques in realizing often uses RS232, RS422, RS485 as the physical layer communication agreement, and programming language generally uses ladder diagram.By analyzing existing implementation, can find that it has following technological deficiency:
1) adopt existing communication modes speed low, the networking difficulty does not have unified upper-layer protocol yet.
2) programming language is single, can not satisfy the diversified demand of programming personnel.
Summary of the invention
Purpose of the present invention is exactly the CAN bus programmable controller that provides for the defective that overcomes above-mentioned prior art existence.
The object of the present invention is achieved like this: the CAN bus programmable controller, it is characterized in that, comprise main control part, importation, output and communications portion, main control part is made up of microcontroller MCU, memory module, the importation is made up of analog quantity load module, counter module, switching input module and pulse-width signal sampling module, output is made up of switching value output module and PWM output module, and communications portion is made up of USB DLL (dynamic link library) module and CAN communication interface modules.
Described memory module comprises command memory, two parts of data-carrier store.
Described microcontroller MCU and memory module, USB DLL (dynamic link library) module, CAN communication interface modules sum counter two-way connection of module, receive and send data and instruction, with analog quantity load module, switching input module with the pulse-width signal sampling module is unidirectional is connected, acquired signal, be connected output data with the switching value output module with the PWM output module is unidirectional.
Described microcontroller MCU accepts the instruction of command memory, and sampling is from the signal of each load module with from the data and the instruction of each communication module, according to the control algolithm computing, and to the output module output data, by the communication module echo reply.
Described analog quantity load module can be imported the voltage signal of 0-5V, the perhaps current signal of 0-25mA, described switching input module is gathered the high-low level of input signal, described counter module adopts hardware counter, realization is to counting, incremental encoder step-by-step counting and the frequency measurement of common input pulse, described pulse-width signal sampling module is the analog current input channel, gathers width modulation and adds current signal.
Described USB DLL (dynamic link library) module and CAN communication interface modules are that program is downloaded and the interface of debugging, the CAN communication interface modules under built-in CANOPEN agreement is supported and other support the external device communication of CANOPEN agreement.
Described switching value output module output low level is 0V, high level is the level signal of supply voltage, can be used for driving relay, and described pwm signal output module output duty cycle is the pulsed power signal of 0-100%, can be used for drive motor, electromagnetic proportional valve.
Described Programmable Logic Controller is supported the IEC61131-3 standard, supports instruction list (IL), ladder diagram (LD), order functional diagram (SFC), FBD (function block diagram) (FBD), structured text (ST), six kinds of language of continuous function figure (CFC) to programme.
Described Programmable Logic Controller is powered by system power supply.
The present invention has overcome the defective of prior art owing to adopted above technical scheme.Compared with prior art, the present invention have that programming language is abundant, reliable communications, speed flexibility, interface is various, adaptability is strong, performance is high characteristics.
Description of drawings
Fig. 1 is a CAN bus programmable controller PLC system chart of the present invention.
Embodiment
The invention will be further described below in conjunction with the accompanying drawings and the specific embodiments.
Referring to Fig. 1, be the system chart of CAN bus programmable controller PLC of the present invention.Comprise main control part, importation, output and communications portion, main control part forms 2 by microcontroller MCU1, memory module, the importation is made up of analog quantity load module 3, counter module 4, switching input module 5 and pulse-width signal sampling module 6, output is made up of switching value output module 7 and PWM output module 8, communications portion is made up of USB DLL (dynamic link library) module 9 and CAN communication interface modules 10, and system is by system power supply 11 power supplies.
As one embodiment of the present of invention, main control part microcontroller MCU 1 can adopt XC167, data-carrier store can adopt K6R4016, and program storage can adopt AM29F800, and address bus provides the access address for data-carrier store, program storage by address latch.Data bus directly links to each other with memory module 2.In the analog quantity load module 3; analog input signal connects the input end of analog signal mouth of microcontroller MCU1 through NMOS field effect transistor ZVN4106F; in the switching input module 5; field effect transistor NDS335N is as the conversion and the input of negative sense switching signal of voltage and current measurement, and the input of forward switching value is directly connected to the input port of microcontroller MCU1 by protective resistance.Counter module 4 can adopt CPLD XC95108, does counting and frequency measurement by downloading counter code.In the pulse-width signal sampling module 6, input current is through resistance sampling, and the RC filter network is done to be connected to microcontroller MCU1 analog input port after signal amplifies by TLC2274I again.In the USB DLL (dynamic link library) module 9, USB and RS232 bridging chip CH341T are adopted in the USB communication, and the usb data that up-computer sends links to each other with the asynchronous serial port of microcontroller MCU1 through CH341T.CANBUS passes through CANBUS interface chip PCA82C251 at first through the AD4C331 overvoltage protection in the CANBUS communication interface modules 10, is connected to the CANBUS interface of microcontroller MCU1 at last.The output driving power module BSP78 that switching value output module 7 adopts microcontroller MCU1 exports as the negative sense switching value.Pwm signal output module 8 adopts the PWM output driving power module BTS621L1 of microcontroller MCU1, carries out pwm power output.

Claims (9)

1.CAN bus programmable controller, it is characterized in that, comprise main control part, importation, output and communications portion, main control part is made up of microcontroller MCU, memory module, the importation is made up of analog quantity load module, counter module, switching input module and pulse-width signal sampling module, output is made up of switching value output module and PWM output module, and communications portion is made up of USB DLL (dynamic link library) module and CAN communication interface modules.
2. CAN bus programmable controller according to claim 1 is characterized in that, described memory module comprises command memory, two parts of data-carrier store.
3. CAN bus programmable controller according to claim 1, it is characterized in that, described microcontroller MCU and memory module, USB DLL (dynamic link library) module, CAN communication interface modules sum counter two-way connection of module, receive and send data and instruction, with analog quantity load module, switching input module with the pulse-width signal sampling module is unidirectional is connected, acquired signal is connected output data with the switching value output module with the PWM output module is unidirectional.
4. CAN bus programmable controller according to claim 1, it is characterized in that, described microcontroller MCU accepts the instruction of command memory, sampling is from the signal of each load module with from the data and the instruction of each communication module, according to the control algolithm computing, and to the output module output data, by the communication module echo reply.
5. CAN bus programmable controller according to claim 1, it is characterized in that, described analog quantity load module can be imported the voltage signal of 0-5V, the perhaps current signal of 0-25mA, described switching input module is gathered the high-low level of input signal, described counter module adopts hardware counter, realization is to counting, incremental encoder step-by-step counting and the frequency measurement of common input pulse, described pulse-width signal sampling module is the analog current input channel, gathers width modulation and adds current signal.
6. CAN bus programmable controller according to claim 1, it is characterized in that, described USB DLL (dynamic link library) module and CAN communication interface modules are the interfaces that program is downloaded and debugged, the CAN communication interface modules under built-in CANOPEN agreement is supported and other support the external device communication of CANOPEN agreement.
7. CAN bus programmable controller according to claim 1, it is characterized in that, described switching value output module output low level is 0V, high level is the level signal of supply voltage, can be used for driving relay, described pwm signal output module output duty cycle is the pulsed power signal of 0-100%, can be used for drive motor, electromagnetic proportional valve.
8. CAN bus programmable controller according to claim 1, it is characterized in that, described Programmable Logic Controller is supported the IEC61131-3 standard, supports instruction list (IL), ladder diagram (LD), order functional diagram (SFC), FBD (function block diagram) (FBD), structured text (ST), six kinds of language of continuous function figure (CFC) to programme.
9. CAN bus programmable controller according to claim 1 is characterized in that described Programmable Logic Controller is powered by system power supply.
CN 200510111895 2005-12-23 2005-12-23 CAN bus programmable controller Pending CN1987699A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510111895 CN1987699A (en) 2005-12-23 2005-12-23 CAN bus programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510111895 CN1987699A (en) 2005-12-23 2005-12-23 CAN bus programmable controller

Publications (1)

Publication Number Publication Date
CN1987699A true CN1987699A (en) 2007-06-27

Family

ID=38184526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510111895 Pending CN1987699A (en) 2005-12-23 2005-12-23 CAN bus programmable controller

Country Status (1)

Country Link
CN (1) CN1987699A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101344771B (en) * 2008-08-26 2010-06-02 中国北车股份有限公司大连电力牵引研发中心 Analog quantity output card based on PLCcore-CF54 module
CN102566482A (en) * 2010-12-21 2012-07-11 鸿富锦精密工业(深圳)有限公司 Programmable logic control device
CN102566483A (en) * 2010-12-21 2012-07-11 鸿富锦精密工业(深圳)有限公司 Programmable logic control system
CN103086593A (en) * 2011-11-04 2013-05-08 塔工程有限公司 A glass panel cutting apparatus comprising double controllers
CN104062934A (en) * 2014-06-17 2014-09-24 珠海翔翼航空技术有限公司 Simulator universal single-board controller and control method based on USB bus transfer
CN104963041A (en) * 2015-05-27 2015-10-07 台嘉玻璃纤维有限公司 PLC control system of twisting machine
CN105204402A (en) * 2015-09-29 2015-12-30 大连罗宾森电源设备有限公司 Multifunctional module integration PLC control panel
CN105527918A (en) * 2015-12-11 2016-04-27 中山联合光电科技股份有限公司 Method for realizing one-way single-wire communication between two PLCs through I/O port
CN103086593B (en) * 2011-11-04 2016-11-30 塔工程有限公司 There is the face glass cutter sweep of dual controller
CN113852530A (en) * 2021-09-02 2021-12-28 东风汽车集团股份有限公司 Method and system for rapidly creating CAN communication module
WO2023039988A1 (en) * 2021-09-14 2023-03-23 深圳市昂科技术有限公司 Method and apparatus for execution of bus controller, and bus controller, computer device and storage medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101344771B (en) * 2008-08-26 2010-06-02 中国北车股份有限公司大连电力牵引研发中心 Analog quantity output card based on PLCcore-CF54 module
US9008805B2 (en) 2010-12-21 2015-04-14 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Programmable logic controller
CN102566482A (en) * 2010-12-21 2012-07-11 鸿富锦精密工业(深圳)有限公司 Programmable logic control device
CN102566483A (en) * 2010-12-21 2012-07-11 鸿富锦精密工业(深圳)有限公司 Programmable logic control system
CN103086593B (en) * 2011-11-04 2016-11-30 塔工程有限公司 There is the face glass cutter sweep of dual controller
CN103086593A (en) * 2011-11-04 2013-05-08 塔工程有限公司 A glass panel cutting apparatus comprising double controllers
CN104062934A (en) * 2014-06-17 2014-09-24 珠海翔翼航空技术有限公司 Simulator universal single-board controller and control method based on USB bus transfer
CN104963041A (en) * 2015-05-27 2015-10-07 台嘉玻璃纤维有限公司 PLC control system of twisting machine
CN105204402A (en) * 2015-09-29 2015-12-30 大连罗宾森电源设备有限公司 Multifunctional module integration PLC control panel
CN105527918A (en) * 2015-12-11 2016-04-27 中山联合光电科技股份有限公司 Method for realizing one-way single-wire communication between two PLCs through I/O port
CN113852530A (en) * 2021-09-02 2021-12-28 东风汽车集团股份有限公司 Method and system for rapidly creating CAN communication module
CN113852530B (en) * 2021-09-02 2022-11-08 东风汽车集团股份有限公司 Method and system for rapidly creating CAN communication module
WO2023039988A1 (en) * 2021-09-14 2023-03-23 深圳市昂科技术有限公司 Method and apparatus for execution of bus controller, and bus controller, computer device and storage medium

Similar Documents

Publication Publication Date Title
CN1987699A (en) CAN bus programmable controller
CN2901383Y (en) Programmable controller for CAN bus
CN201174041Y (en) Full-digital general AC servo positioning control driver
CN102566483A (en) Programmable logic control system
CN215006354U (en) Integrated PLC, vision or force feedback integrated actuating mechanism
CN201639535U (en) Intelligent driver of multi-task stepper motors
CN206489436U (en) A kind of new PLC
CN201765279U (en) TFT-LCD display-based electric power quality analysis meter
CN204650211U (en) A kind of Programmable Logic Controller
CN111198841B (en) Profibus_DP slave station based on reworks system
CN204613641U (en) Based on the power cell control system of fpga chip
CN2833670Y (en) Converter with built-in PLC frequency control
CN2785003Y (en) Simulating amount collecting equipment
CN209895159U (en) Industrial robot controller hardware platform with bus compatibility
Platt et al. Distributed wireless sensor networks and industrial control systems-a new partnership
CN201298772Y (en) Low-voltage motor protection controller
CN202166149U (en) Temperature adjuster of an air curtain machine
CN104898529A (en) Printing device of motion controller based on embedded PLC chipset
CN205899299U (en) Four ways analog output device based on CIB BUS bus
CN200972599Y (en) Network type structural industrial control system
CN2689233Y (en) Multi-path measuring watt-hour meters
CN204437452U (en) Intelligent electric valve positioning device
KR20080001111U (en) Device Analog Module
CN204790421U (en) Stamp device of motion control ware based on embedded PLC chipset
CN220252445U (en) PLC automatic test system based on domestic program control instrument and component

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20070627