> 0 introductions The numerical control system mainly is two major
part is composed by the hardware and software. The systems
control software coordination hardware reasonable organization, the
management data system input, the data processing, insert makes up and
outputs the information and the control executive component, causes
the numerical control oing machine according to operator's request,
the realization volume system. 1 numerical control system hardware design This system uses the level CNC system thinking,
namely PC labor controlling machine CPU took the core superintendent,
completes to the first floor equipment management and the
macrocontrol. But oing machine position control PLC controls by
PMAC Programmable Multiple-Axes Controller special-purpose CPU
controls. According to the above hardware principle of design,
unifies the oing machine numerical control system the characteristic,
proposed one kind take the PMAC movement controller as the control
core, labor controlling machine for the system strut unit double CPU
open style numerical control system. Designs its control system
hardware architecture like chart 1 to show.  The hardware design has applied the PC hardware
technology. The overall system foundation is the Pentium III 400
industries controls machine, uses labor controlling machine CPU to
take the system the main processor, completes the system the
management, the man-machine alternately dynamic demonstration, the
pretreatment, the reference computation and picture processing.
Uses the standard main line technology (the ISA main line), the
effective solution because the main line different has brought the
hardware cannot the public question. Has the formidable man-machine alternately to operate the
function. The engine bed operator may need the information
through the floppy disk in the I/O equipment input processing, when
also may the edition function which provides through the system, the
input processing information system movement, on the monitor picture
and the data reflect each position transducer feedback the processing
information. May carry on the control through the keyboard 'or'
operation kneading board. Horizontally moves and so on the
position examination sensor uses magnetism grid R, its precision is
0.05mm. The main axle position examination sensor for revolves
the encoder, 1,048. Through the position transducer feedback
achieved half closed-loop control, guarantees the engine bed the
pointing accuracy and the movement precision. Formidable open
style modulation hardware architecture. CNC system including
below module: Movement control module, PLC module, basic input
output module, communication module. The movement control module
is independently completes the movement function the module, is the
hardware and the software aggregate, the control goal is the speed
position and the torque. PMAC is the function formidable
movement controller, is playing the key role in the system, is an
extremely important module. PMAC brings high speed CPU, is has the independent memory,
the independent operation operation ability computer, may accept the
PC main engine the order to carry on the work, also may the off-line
movement independent work. The system has developed the PMAC
movement controller following function: 1, realizes the position
and the velocity feedback with the increase type A/B orthogonal
encoder, also may connect some suitable appendix realization
feedbacks. 2, the formidable computation function which board
has using PMAC the movement controller DSP, to the variable, the
constant carries on the arithmetic, logical as well as the surmounting
operation operation, the computation detention and the communication
detention which then avoided the main engine when having carried on
these operations creates. 3, uses PMAC the multiple spindle
movement procedure management function. The PMAC movement
controller memory may save reaches 256 movements procedures much.
The movement control language carries out which in the PMAC
movement control has BASIC or C and so on the high-quality machine
language characteristic, simultaneously it is compatible with the G
code engine bed, and may directly accept the G code order. The
computation structure and the logical organization and the machine
language are similar, and in the movement standard and the machine
tool industry uses similar. 4, backstage PLC function.
When movement procedure has the foreword movement when the
onstage, the PMAC movement controller may reach 32 different PLC
function in the backstage movement. Simultaneously PMAC has
provided the non- special-purpose digital input and the outlet.
Using these I/O mouth, the procedure may complete PLC the
function PLC procedure and the movement procedure sharing identical
logical organization, but cannot control 运动? PMAC connection design. The oing machine numerical
control system functional element certainly is not the servo
electrical machinery, its position control is and revolves the encoder
through the magnetism grid to realize the position feedback, used the
MACHI mouth to connect 4 groups of sensors, used for to examine the
position to realize in the position control oing machine control
system all conditions examination and all primary devices control all
is by the PMAC input, outputs its principle like chart which the
control panel controlled 2 to show.  Uses double port RAM (DPRAM) to take between the main
engine and PMAC the communication bridge. DPRAM is PMAC prepares
chooses between, primarily machine and PMAC may share high speed
memory area. Using DPRAM, between PMAC and the main engine may
realize the high speed repetition does not need "shakes hand" the data
communication, real-time conveniently carries on the data exchange.
For example, the main engine may the position, speed information
real-time AM transmit PMAC, carries on the position control by PMAC;
At the same time, the main engine also may read takes PMAC to
deposit in DPRAM the engine bed condition information. This numerical control system uses the computer main line
and PMAC carries on the communication, realizes the main engine
real-time severance, then effectively enhanced the communication
efficiency and the communication speed. When PMAC produces the
terminal signal appears when the main engine main line, the main
engine starts to calculate the new control data and to read in the
data in DPRAM, PMAC the readout carries on the control from DPRAM to
the electrical machinery; Simultaneously the main engine reads
out the feedback data from DPRAM, carries on processing, completes
function and so on real time display engine bed position engine bed
condition monitoring. 2 numerical controls systems software design In order to maintain develops the system technical
先进? simultaneously enable the system to have the certain merit
to prefer the extension, the project to choose the open style
numerical control system design thought and the method. Its
system overall plan like chart 3 shows.  The system design and the development has used the
object-oriented method because this method has simulated the human
cognition objective world process; Has the seal, the
integration, as well as the news actuation and so on a series of
characteristics, cause the transformation clearly the system module,
the assembly maintenance convenient, may the expansion be possible the
reorganization to be strong; The object-oriented model the
conceptual model, the logical model and the physical model unifies
together, enormous reduced the system understanding difficulty. Uses the PMAC programmable multiple spindle controller,
because its development contact surface is extremely friendly.
It provides the PWIN programming tool completely in the Windows
environment, the movement edition revises extremely easily. Obeys the object-oriented system design and the analysis
guiding ideology, the system design certain objects module organic
combination. On macroscopic looked the system divides into the
systematic level, the application level and the physical level three
stratification planes, like chart 4 shows. Mainly solves IPC and
PMAC, a series of technical question which FlyVideo inherits, because
PMAC has own CPU and RAM also has EPROM; FlyVido also has own
RAM and the corresponding logic unit, but PMAC and FlyVideo all are is
connected by the main line way and IPC, IPC must integrates these
resources and own resources forms together the integrity the control
system, must have the effective integrated method. Is the system
main body are partial using the level, is composed by certain
functions module. In under the systematic level support, various
functions module independently completes part of tasks, thus
realization system all controls goal. The physical level is a
mechanism which corresponds with the physical space, is composed by
certain and the memory file organization correspondence construction
of data, uses for to satisfy the man-machine alternately with the
visit database demand.  In under the software design process also must realize
these specifications: (1) on position machine and lower position machine
real-time communication: On the position machine and the lower
position machine real-time communication is Corporation provides and
PMAC using DELTA TAU DATASYSTEM a necessary PtalkDT kind of
realization. The PtalkDT kind through increases ActiveX the way
to perform the example, and () the method completes the bidirectional
communication by GetResponse. On the position machine and the
lower position machine communication speed is decided by the main
computer basic frequency, the PMAC CPU speed, as well as system
program and lower position machine control procedure size. (2) the video frequency demonstrated that, Video
signal processing and the image display control is through to the
video frequency card two developments realization. The FlyVideo
video frequency card provided the OCX standard to control Capwnd and
the application system carries on the integration. Should
control a 16 main method and 7 attributes by MFC42.DLL and the
MSVCRT.DLL two dynamic connections storehouses support, with the aid
of these two dynamic connections storehouse support, the system has
developed Overlay and the Peview two kind of image displays pattern,
facilitates the scene the different request. (3) voltage-stabilized source: Large-scale volume
board equipment working conditions bad, the electrical network voltage
extremely is in particular unstable, is very easy to attack the
numerical control system, creates dying machine. Its result is
light then the product becomes invalid, the heavy piece of damage
equipment, loses estimates with difficulty. For prevent the
numerical control system had the control fault because of the power
source disturbance, the system specially disposes the speed of
response to be smaller than the 0.1ms on-line uninterrupted
voltage-stabilized source. In addition, the system has also
carried on essential processing in the software design, has
established the filter procedure for each movement. (4) controls the clock: The systems control clock
mainly is from the guarantee system normal operation angle, the
cyclical scanning lower position machine I/O mouth, the video signal
condition, as well as interrupt request information, in realization
position machine and lower position machine real-time communication;
Gain coordinate of motion current value; Dynamic
management database; On-line decision-making procedure
advancement and so on. This module controls the Timer
realization by the standard. In order to enhance the
reliability, the system uses the single clock to actuate the clock,
scanning cycle 80ms. 3 conclusions After the production practice examination, on
17000kNx3000mm roller multi-purpose oing machine numerical control
system software and the hardware design completely conforms to the
production. In the production process, the systems control
software coordination hardware smoothly carries on the data feeds, the
data processing, the information output as well as to the executive
component control, causes the numerical control oing machine according
to the design request, safely reliably moves the automatic volume
system technological process. |