Modular control method and system based on CAN network
A technology of modular control and CAN bus, which is applied in the general control system, control/adjustment system, program control, etc., can solve the problems of low-level programming and debugging workload, etc., to improve anti-interference ability, reduce debugging workload, easy to control effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] A kind of modular control method based on CAN network of the present invention comprises the following steps:
[0047] S10. The touch screen selects a dedicated channel through the controller;
[0048] S20. The touch screen controls the dedicated module corresponding to the dedicated channel through the selected dedicated channel, and transmits the control command information to the controller through the dedicated module;
[0049] In this step, there is a special channel command setting menu on the touch screen. Through the command setting menu, you can select the control command information to be set for the special module, including: working mode, start-stop mode, working frequency and other command information. After completing the command setting The touch screen sends the special channel setting instruction information to the controller for analysis and processing;
[0050] S30. The controller analyzes and processes the instruction information set on the touch sc...
Embodiment 2
[0084] The differences between this embodiment and Embodiment 1 lie in that: the drive circuits in the dedicated modules are different, and the types of terminal devices connected are different. When the terminal equipment is a servo motor or a stepper motor, it needs to be controlled by a pulse width modulation PWM signal. This type of equipment corresponds to a dedicated module drive circuit, such as Image 6 Shown:
[0085] The Input input port in the drive circuit is connected to the PWM pulse width modulation output port of the dedicated module MCU, and the Output output port in the drive circuit is connected to the PWM pulse width modulation input port of the terminal device.
[0086] By changing the PWM pulse width modulation signal of the Input input port, the PWM pulse width modulation signal of the Output output port of the drive circuit changes accordingly, thereby realizing the operation control of servo motors, stepping motors and other equipment.
[0087] In thi...
Embodiment 3
[0089] The difference between this embodiment and Embodiment 1 and Embodiment 2 is that the drive circuit in the dedicated module includes the drive circuit described in Embodiment 1 and Embodiment 2 at the same time, that is, the drive circuit of the dedicated module includes: solenoid valve or relay Such as switching equipment drive circuit and servo motor, stepper motor equipment drive circuit. The dedicated module can simultaneously realize the drive control of switching devices such as solenoid valves or relays, servo motors, and stepping motors.
[0090] In this embodiment, the action control of switching devices such as solenoid valves or relays, and the operation control of devices such as servo motors and stepping motors can be realized simultaneously through the dedicated modules. Using MCU as the main control unit can conveniently and quickly control the output port and PWM pulse width debugging to quickly and timely respond to changes in the operating status of dif...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


