Find the 840D data of Siemens CNC system.

This article is very long. I only posted part of it. See Resources for all the contents.

Composition of Siemens 840D system

SINUMERIK840D consists of numerical control and drive unit (CCU or NCU).

MMC, PLC module, because when integrating systems, it is always

SIMODRIVE6 1 1D driver and numerical control unit (CCU or NCU) are arranged side by side and connected with each other through equipment bus, so they are classified as one place in the description.

● Man-machine interface

The man-machine interface is responsible for the input and display of NC data, including MMC and OP;

man-machine communication

Includes an OP (operation panel) unit,

MMC and MCP (Machine Control Panel) are three parts.

MMC is actually a computer, which has its own independent CPU and can also bring hard disk and floppy drive. The OP unit is the monitor of this computer, and the control software of Siemens MMC is also in this computer.

1. Multimedia controller

There are two kinds of MMC that we use most often:

MMCC 100.2 and MMC 103, in which the CPU of MMC 100.2 is 486, and hard disks are not allowed;

The CPU of MMC 103 is Pentium.

You can bring a hard drive. General users are SINUMERIK8 10D with MMC 100.2, SINUMERIK840D with MMC 103.

※PCU(PC unit) is an MMC module specially developed to match the latest Siemens operation panels OP 10, OP 10S, OP 10C, OP 12, OP 15. ※. At present, there are three PCU modules -PCU70, PCU20 and PCU75. ※.PCU50 and PCU70 correspond to MMC 103, and can be equipped with hard disks. ※. Unlike MMC, PCU50' s software is based on WINDOWS NT. The software of PCU is called HMI, including embedded HMI and advanced HMI. Generally, PCU20 loads embedded HMI, while PCU50 and PCU70 load advanced HMI.

2. Too strong; administrator

OP unit generally includes a 10.4 "TFT display screen and an NC keyboard. According to different requirements of users, Siemens matches different OP units for users, such as: OP030, OP03 1, OP032, OP032S, etc. The most commonly used one is OP03 1.

3. Male chauvinism stupid pig

MCP is specially configured for CNC machine tools, and it is also a node on OPI. According to different applications, its layout is also different. At present, MCP has two kinds: lathe version and milling version. For 8 10D and 840D, the MPI addresses of MCP are 14 and 6 respectively, which are set by S3 switch behind MCP.

In SINUMERIK840D, MPI (Multipoint Interface) bus technology is applied, and the transmission rate is 187.5k/ s, and the OP unit is a node in the network formed by this bus. In order to improve the efficiency of human-computer interaction, there is OPI(Operator PanelInterface) bus, and its transmission rate is1.5m/s. ..

● Digital control and drive device

1. CNC unit

The numerical control unit of SINUMERIK840D is called NCU(numenual control unit): the central control unit, which is responsible for all functions of NC, logical control of machine tools and communication with MMC. It consists of a COM CPU board, a PLC CPU board and a driver board.

According to the choice of hardware, such as CPU chip and different functional configurations, NCU can be divided into NCU 56 1.2, NCU 57 1.2, NCU 572.2, NCU 573.2 (12 axis) and NCU 573.2 (3/kloc-. Similarly, the NCU unit also integrates SINUMERIK840D CNC CPU and SIMATIC PLC CPU chips, including corresponding CNC software and PLC control software, with MPI or Profibus excuse, RS232 excuse, handwheel and measuring interface, PCMCIA card slot, etc. The difference is that the NCU unit is very thin, and all the driving modules are arranged on its right side.

2. Digital drive

Digital servo: the executive part of motion control, which consists of 6 1 1D servo driver and 1FT6( 1FK6) motor.

SIMODRIVE6 1 1D is generally used for the driver of SINUMERIK840D configuration. It consists of two parts: power module+drive module (power module).

Power supply module: mainly provides control and power supply for NC and driving devices, generates bus voltage, and monitors the status of power supply and module. According to different capacities, those smaller than 15KW have no feed-in device, and are U/E power modules; Anything larger than 15KW needs to be equipped with a feed-in device, which is recorded as an I/RF power module and can be identified by the order number or mark on the module.

6 1 1D digital drive: it is a new generation of AC drive driven by digital control bus, which is divided into two-axis module and single-axis module. The corresponding feed servo motor can adopt 1FT6 or 1FK6 series, and the encoder signal is 1Vpp sine wave, which can realize full closed-loop control. Spindle servo motor is 1PH7 series.

●PLC module

The PLC part of SINUMERIK8 10D/840D system adopts the software and modules of Siemens SIMATIC S7-300, which are power module, interface module and signal module in turn from left to right on the same guide rail. The CPU of and the CPU of NC are integrated in CCU or NCU.

Power modules (PS) are +24V and +5V, which provide power for PLC and NC.

Interface module (IM) is used for interstage interconnection.

Signal module (SM) uses the input/output module of machine tool PLC, and there are two types: input type and output type.

hardware interface

I. 840D system interface

The MMC, HHU and MCP of the 840D system are all hung on the NCU through MPI cables. MPI is a multipoint communication protocol of Siemens PLC, so the protocol is open, while OPI is a special communication protocol of NC part of 840D system, which is a special case of MPI. It is faster than traditional MPI communication. The communication speed of MPI is 187.5K baud rate.

In addition to OPI port, there are MPI and Profibus interfaces on NCU, which can connect all devices with Profibus communication capability. The communication cable of Profibus, like the cable of MPI, is a double-core shielded cable.

Both ends of MPI, OPI and Profibus communication cables shall be connected with terminal resistors with a resistance value of 220Ω. Therefore, to check the quality of the cable, you can open the cover of the socket at the NCU end and measure the resistance between line A and line B. Under normal circumstances, it should be110Ω.

Two. Composition and interface of 6 1 1 series drivers

The drivers of 1.6 1 1 series can be divided into analog 6 1 1A, digital 61/d and universal 611u. All of them are modular structures, mainly consisting of the following modules:

Power supply module The power supply module is the power supply for the drive and numerical control system, including the weak current to maintain the normal work of the system and the 600V DC voltage of the power supply module. According to the DC voltage control mode, it is divided into open-loop control UE module and closed-loop control I/R module. The UE module has no feedback system of power supply. Under normal conditions, the DC voltage is about 570V, and when the braking energy is high, it can reach above 640. The voltage of I/R module has been kept at about 600V V.

Control module The control module realizes the closed-loop control of the speed loop and the current loop of the servo shaft.

The power supply module provides alternating current with variable frequency and voltage to the servo motor.

The monitoring module is mainly a supplement to the weak power supply capability of the power module.

The filter module filters the power supply.

Reactance plays a stabilizing role in voltage.

2.6 1 1 power module interface signal

The interface signals of 6 1 1 module have the following groups:

(1) power interface

U 1 V 1 W 1: three-phase electric input port of main control loop.

X 18 1: The input port of the working power supply is often short-circuited with the main power supply when in use. In some systems, the short circuit between the 600V voltage terminal and the P500 M500 terminal is to make the machine tool drive normally for a period of time after power failure, so that the drive control panel can still work normally for a period of time because the 600V voltage cannot be discharged immediately. P600M600 is a 600V DC voltage output terminal.

(2) Control interface

64: Control enable input. This signal is valid for all connected modules at the same time. When this signal is cancelled, the speeds of all axes are given at zero voltage, and the axes stop at the maximum acceleration. After a certain time delay, cancel the pulse enabling.

63: Pulse enable input. This signal is valid for all connected modules at the same time. After this signal is cancelled, the power supply of all shafts is cancelled, and the shafts stop in the form of free movement.

48: Main circuit relay. When the signal is disconnected, the main relay of the main control circuit power supply is disconnected.

1 12: debugging or standard mode. This signal is generally used for the debugging of transmission lines, and is generally connected to the 24V of the system.

X 12 1: module ready signal and module overheating signal. The ready signal is related to the setting of the module dip switch. When S 1.2=ON, the ready signal will be cancelled when the module fails, while when S 1.2=OFF, the ready signal will be cancelled when the module fails, and the enable (63 63,64) signal will be cancelled. Therefore, when replacing the module, it is necessary to check the setting of the dip switch at the top of the module, otherwise the module may not work. Overloading of all modules and overheating of the connected motor will trigger the overheating alarm output.

NS 1/NS2: The main relay is enabled and closed. Only when the signal is high level can the main relay be energized. This signal is usually used as an interlocking condition for closing the main relay.

AS 1/AS2: the status of the main relay. This signal reflects the closed status of the main relay, which is high when the main relay is closed.

9/ 19/R: 9 is 24V output voltage, 19 is 24V grounding, and r is the alarm reset signal of the module.

(3) Other auxiliary interfaces

X35 1: Device bus, which is used to supply power to the modules connected later.

X 14 1: voltage detection terminal for diagnosis, etc.

7: P24,+24V? 45:P 15,+ 15V? 44:N 15,- 15V

? 10:N24,-24V? 15:M,0V

There are six indicator lights on the power module, indicating the failure and working status of the module respectively. Normally, the green light indicates that the enable signal is lost (63 and 64), and the yellow light indicates that the module is ready to receive the signal. At this point, the 600V DC voltage has reached the allowable value for the normal operation of the system.

Enabling conditions for normal operation of power module:

48, 1 12, 63, 64 are connected to high level, NS 1, NS2 is short-circuited, and a yellow light is displayed, but other lights are not lit. The DC bus voltage should be around 600 volts.

3.6 1 1 Interface signal of drive control module

(1)6 1 1D drive control module interface signal

The 6 1 1D control module is mainly connected with the numerical control system through a data bus, and there are few interface signals.

X43 1: Axis pulse enabled. When the signal is low, the power supply to the shaft is cancelled. Generally, this signal is directly short-circuited to 24V.

X432: BERO terminal as the input port of BERO switch signal.

X34 and X35 analog output ports, of which two analog ports (X 1, X2) are used for module diagnosis and testing. It can be used to track some digital quantities, such as speed, voltage and current, and convert them into 0 ~ 5V analog voltage output. The specific output signal can be selected by the numerical control system. The Ir analog output port is the analog value of the R phase current of the fixed output motor.

X4 1 1: the encoder interface of the motor, the encoder signal input to the motor, and the thermistor of the motor, wherein the thermistor value of the motor is input through pins 13 and 25 of the socket, and the thermistor is 580Ω at room temperature, and is greater than1200Ω at 155 degrees. At this time, the control panel turns off the motor power and generates electricity. (the temperature detection signal connection of 1PH7 motor is the same as that of 1FT6/ 1FK6 motor).

X4 1 1: directly measure the input port of the system, and input the direct position measurement signal, generally sine and cosine voltage signals.

* 6 1 1d The parameters of the speed loop and current loop of the control panel are set in NCK, so it is not necessary to reset the parameters after replacing the control panel.

(2)6 1 1A control module interface signal

6 1 1A control module and 1FT5 motor form a servo drive mechanism to control the speed loop and the current loop, and the parameters of the speed loop and the current loop are stored in the control panel. Pay attention to setting the parameters when replacing the board. Interface signals are as follows:

X3 1 1: motor feedback interface, through which the actual speed value and thermistor value of the motor are input to the control panel. The speed detection of 1FT5 motor is realized by tachogenerator, and the position of motor rotor is detected by 18 Hall element. The thermistor value in the motor is input through the 1 1 and 12 pins of the socket, which is less than 250 ohms at room temperature. When the internal temperature of the motor reaches 155 degrees, the resistance is about 1000 ohm. At this point, the control panel turns off the power supply and sends out an alarm signal.

X32 1: Set the terminal. The speed given value is input through 56 and 14 of this terminal. Generally speaking, the given value is a voltage of plus or minus 0 to 10V.

X33 1: enable terminal: corresponding to the enable signal input of the module, 663 is pulse enable, which is similar to 63 of the power module, but only acts on the single-axis module. 65 is the control enable, which is often connected with the control enable of a given signal on the NC side.

X34 1: module status output interface, which outputs module status information, such as module ready signal and alarm.

Summary of debugging, programming and maintenance of Siemens CNC system (3)

-Summary of debugging, programming and maintenance of Siemens CNC system

840D system operation

★SINUMERIK840D/8 10D or SINUMERIK FM-NC is the numerical control system of machine tools, and the following basic functions can be performed through the operation panel of the numerical control system:

● Develop and modify part programs.

● Execute the part program.

● Manual control

● Read in/read out parts programs and data.

● Edit program data

● Alarm display and alarm cancellation.

● Edit machine tool data

● Establish communication links (M:N, m-MMC devices and n-NCK/PLC devices) between one MMC or multiple MMC, or between one NC or multiple NC.

The user interface includes:

Display elements, such as monitors and light emitting diodes;

● Operating elements, such as keys, switches and knobs. ?

★840D system has the functions of automatic, manual, programming, returning to reference point and manual data input.

● Manual: Manual is mainly used to adjust machine tools, including continuous manual and step manual. Sometimes, in order to get a specific length, you can choose variable INC mode and enter the length to run.

● Automatic: 840D programs are generally executed in the RAM of NCK, so for MMC 103 or PCU50, the programs need to be loaded into NCK first, but for particularly long programs, you can choose to execute them in the hard disk. The specific operation method is: select processing, program summary, select the program to be executed with the cursor, or select to execute from the hard disk. In automatic mode, if MMC is equipped,

●MDA: MDA is similar to automatic mode, except that its program can be entered step by step, not necessarily a complete program. It is stored in the fixed MDA buffer of NCK, which can be stored in the program directory or transferred from the program area to the MDA buffer.

●REPOS: Relocation function. When the program is automatically executed, it is sometimes necessary to stop and remove the tool to detect the workpiece, and then execute the program. Relocation function is required. The operation method is to suspend program execution in automatic mode, switch to manual mode, and remove the corresponding axis. When re-executing the program, switch to the relocation mode, press the corresponding axis movement button, return to the program interruption point, and press the start key to continue executing the program. Please note that the reset key cannot be pressed during this process.

● Program simulation: 840D supports graphic simulation before the program officially runs, so as to reduce the failure rate of the program. However, due to the different MMC systems, the simulation methods are also different. On MMC 103, the program simulation is completely executed on MMC, so the simulation will not affect NCK. However, in MMC 100.2, the program simulation is executed in NCK, just like the actual execution of the program.

Connection and debugging of the system

(1) Hardware connection

Hardware connection of 1 SINUMERIK 8 10D/840D system starts from two aspects:

First of all, according to their respective interface requirements, CNC and drive unit, MMC and PLC should be connected correctly:

(1) Connection of source module X 16 1 species 9,112,48; Drive bus and device bus; Terminal resistance of rightmost module (CNC and drive unit).

(2) Pay attention to the polarity (MMC) of +24V power supply of MMC and MCP.

(3)PLC module should pay attention to the connection of power cord; Also pay attention to the connection of SM.

Second, connect the three parts of the hardware with each other, and pay attention to:

(1)PI and OPI bus wiring must be correct.

(2)CU or NCU is connected with IM module of S7.

check

After all mechanical and electrical installation work is completed correctly, power-on debugging can be carried out; The first thing to do is to prepare for startup, which can ensure the normal startup of the control system and its components and meet the EMC test conditions.

After all systems are connected, some necessary checks need to be made, as follows:

Shielding:

(1) Ensure that the cables used meet the requirements in the wiring diagram provided by Siemens;

(2) Ensure that both ends of the signal pole shield are connected with the frame or shell.

For external devices (such as printers, programmers, etc. ), you can also use a standard single-ended shielded cable. But once the control system runs normally, it is best not to connect these external devices; If access is required, both ends of the connecting cable should be shielded.

Emc (electromagnetic compatibility) testing conditions:

(1) The signal line and power line shall be separated as far as possible;

(2) The cable from NC or PLC to NC or PLC should use the cable provided by Siemens;

(3) The signal line should not be too close to the external strong electromagnetic field (such as switch machine and transformer);

(4)HC/HV pulse loop cable must be laid completely separately from all other cables;

(5) If the signal line cannot be separated from other cables, it is necessary to take a shielded conduit (metal);

(6) The following distances should be as small as possible:

-Signal line and signal line

—— Pre-auxiliary equipotential end of signal line

-Equipotential terminal and PE (together)

Detection conditions of ESD (electromagnetic sensitive equipment) components:

(1) When handling the module with static electricity, ensure that it is grounded normally;

(2) If it is inevitable to connect the electronic module, please do not touch the pins or other conductive parts of the components on the module;

(3) The touch module must ensure that the human body is connected with the earth through an electrostatic discharge device (wrist strap or rubber shoes);

(4) The module should be on the conductive surface in the north (electrostatic packaging materials such as conductive rubber, etc. );

(5) The module should not be close to VDU, monitor or TV (not close to screen and10cm);

(6) Do not touch the module with rechargeable electrical insulating materials (such as plastic and fiber fabric);

(7) Prerequisites for measurement

-Grounding of measuring instruments

-The measuring head on the insulation instrument has been discharged in advance.

(2) Debugging

General settlement of NC and PLC

Because it is the first time to power on, it is necessary to make a total reset or reset of the system.

1.NC general liquidation

The general operation steps of NC cleaning are as follows:

● Turn the numerical control start switch S3 ―→ "1";

● start NC. If NC is started, press the reset button s1;

● After NC starts successfully, the seven-terminal display displays "6", S3→ "0"; The NC general liquidation is completed.

After NC is always cleared, the contents of SRAM memory are all cleared, and all machine data are preset as default values.

2.PLC general settlement

The general cleaning operation steps of PLC are as follows:

● Turn on the PLC on switch S4-→ "2"; = > PS light will be on;

● S4 ―→ "3" is pressed for 3 seconds until the PS lights up again; = > PS light is off and on again;

Within 3 seconds, quickly perform the following operations S4: "2" → "3 "→" 2 "; = & gtPS lights flash first and then light up, and PF lights up (sometimes PF lights up);

● When PS and PF are on, S4 ―→ "0"; = & gtPS and PF lights are off, while PR lights are on.

After the routine cleaning of PLC is completed, the PLC program can be transmitted to the system through STEP7 software. If an alarm appears on the screen after routine cleaning of PLC, NCK reset (warm start) can be performed.

Boot and start

After the first startup, the NCU status is displayed (a seven-segment display and a reset button S 1, two columns of status display lights and two startup switches S3 and S4). (as shown in the figure below)

When it is determined that S3 and S4 are both set to "0", it can be started at this time. After a few tens of seconds, when the seven-segment display shows "6", it means that NCK is normally powered on. At this time, the "+5V" and "SF" lights are on, indicating that the system is normal; However, the driver has not been enabled, and the PLC status indicator "PR" is on, indicating that the PLC is running normally.

● MMC: The start of MMC is confirmed by the OP display. If it is MMC 100.2, at the end of startup, a message "Waiting for NCU connection: ×× seconds" will be displayed at the bottom of the screen. If the communication between MMC and NCU is successful, the basic display of SINUMERIK 8 10D/840D will appear on the screen. Generally, it is the "machine tool" operation area. MMC 103 has seven sections displayed at the back because it can bring a hard disk. For example, MMC 103 will display "8" after successful startup.

●MCP: All the lights on MCP are flashing all the time during the startup of PLC. Once the PLC is started successfully, and the basic program FC 19 or FC25 is only called in OB 1, then the light on MCP stops flashing, and MCP can be used at this time.

● Drive system: Only after NC, PLC and MMC are started normally will the drive system be finally considered. First, the driver configuration must be completed. For MMC 100.2, "SIMODrive 6 1 1d" is needed to start the tool software, while MMC 103 can be completed directly on OP03 1, and then the corresponding signals can be processed by PLC.

In this way, the SF light should be turned off after the system restarts.

840D NCU module control and display element

data backup

During debugging, in order to improve efficiency and avoid repetitive work, it is necessary to back up the debugged data in time. Before the machine tool leaves the factory, all the data of the machine tool should be saved and backed up.

There are three kinds of data in SINUMERIK 8 10D/840D:

NCK data

PLC data

MMC data

There are two methods for data backup:

1. series start:

Features: (1) is used to reinstall and start the system with the same SW version.

(2) Including comprehensive data and a small number of documents (*. Curved)

(3) Data cannot be modified, and files are in binary format (or PC format).

Function: (1) Used to reinstall different software versions of the system.

(2) There are many files (one type of data, one file)

(3) It can be modified. Most files are "paper tape format: that is, text format".

Data backup requires the following auxiliary tools:

? PCIN software

? V24 cable (6fx2002-1aa01-0bf0)

? PG740 (or higher) or PC

※ Because MMC 103 can bring floppy drive, hard disk, NC card, etc. Its data backup is more flexible, and different storage targets can be selected. Take this as an example to introduce the specific operation steps:

data backup

(1) Select the "Service" operation area in the main menu;

(2) Select the archive contents NC, PLC and MMC according to the extension "}" → "Serial Start" and define the archive file name;

(3) From the vertical menu, select one as the storage target:

V.24 → refers to the ship's external computer (PC) through the V.24 cable;

PG-→ Programmer (PG);

The floppy disk in the floppy drive brought by the disk MMC;

Archive-→ hard disk;

NC card -→ NC card.

When selecting V.24 and PG, press the "Interface" soft key to set the interface V.24 parameters;

(4) If you choose to back up the data to the hard disk, then: Archive (vertical menu)-→ Start.

? data recovery

Steps of MMC 103 (Recovering Data from Hard Disk):

A: "service";

B: extended key'}';

C: "series start";

D: "Read startup file" (vertical menu);

E: Find the archive file and select "OK";

F: "Start" (vertical menu);

Data backup and data recovery are carried out in the process of data transmission, and the transmission principle is:

1. The party that is always ready to receive data is ready and in the receiving state first;

2. The parameter settings at both ends are consistent.

Summary of debugging, programming and maintenance of Siemens CNC system (4)

-Summary of debugging, programming and maintenance of Siemens CNC system

coordinate

1. Workpiece coordinate system

The zero point of the workpiece is the origin of the original workpiece coordinate system.

Cartesian coordinates: Use the points reached by the coordinates to determine the points in the coordinate system.

Polar coordinates: measure a workpiece or a part of a workpiece with radius and angle.

2. Absolute coordinates: all position parameters are related to the current effective origin, indicating the position where the tool will arrive.

Incremental coordinates: If the dimension is not relative to the origin, but to another point on the workpiece, incremental coordinates should be used. Using incremental coordinates to determine dimensions can avoid transforming these dimensions. Incremental coordinates refer to the previous electrical position data, which is suitable for the movement of the tool and used to describe the distance the tool moves.

3. Plane: Use two coordinate axes to determine a plane, and the third coordinate axis is perpendicular to the plane to determine the cross-cutting direction of the tool. When programming, the machining surface should be determined so that the control system can accurately calculate the tool offset value.

4. The position of the zero point

On CNC machine tools, different origin and reference point positions can be determined. These reference points are:

Used for machine tool positioning

Program the workpiece size.

They are:

M= machine zero point

A= chuck zero point, which can coincide with the aging point of the workpiece (numerical value is used for lathe).

W= workpiece zero = program zero

B= starting point, which can be determined for each program. The starting point is where the first tool starts machining.

R= reference point. To determine the position with cam and measuring system, we must first know the distance to the zero point of the machine tool, so as to accurately set the position of the shaft:

Establish coordinate system

1. Machine tool coordinates and machine tool zero point m

2. Basic coordinate system (or workpiece coordinate system W)

3. Workpiece coordinate system, workpiece zero w

4. Take the coordinate system of the current workpiece, which is currently called the zero position Wa of the workpiece.

Establishment of axis

When programming, the following axes are usually used:

Machine tool axis: axis identifiers can be set in machine tool data, such as X 1, Y 1, Z 1, A 1, B 1, C 1, U 1 and v/.

Channel axis: all axes moving in the channel, identifiers: x, y, z, a, b, c, u, v.

Geometric axis: main axis, generally x, y, z;

Specific axis: there is no need to determine the geometric relationship between specific axes, such as the tool holder position U and the tailstock V;

Path axis: Determine the motion of the path and the cutter, and the programmed feed speed of the path is effective. FGROUP is used to determine the path axis in NC program;

Synchronization axis: refers to the axis that moves synchronization from the starting point to the end point of programming;

Positioning axis: Typical positioning axis is loaded and unloaded by parts, such as loader, tool magazine/turret, etc. Identifiers: POS, POSA, POSP, etc.

Command axis (motion synchronization axis): The command axis is generated by synchronous motion commands, which can be positioned, started and stopped, and can be completely out of synchronization with the workpiece program. Command axes are independently interpolated, and each command axis has its own axis interpolation and feed speed.

Connecting shafts: refer to the actual shafts connected with another NCU box, and their positions will be controlled by this NCU, and the connecting shafts can be dynamically assigned to different NCU channels.

PLC axis: PLC is used to move the PLC axis through specific functions, and its movement can be asynchronous with all other axes, and the movement is independent of the path and synchronous;

? Geometric axis, synchronization axis and positioning axis can all be programmed.

? According to the programmed movement instruction, the shaft moves at the feed speed f.

? The synchronization axis moves synchronously with the path axis and moves all the path axes at the same time.

? The movement of the positioning axis is asynchronous with all other axes, and these movements are independent of the path and synchronous movement.

? The PLC axis is controlled by PLC, and the movement is asynchronous with all other axes, and the moving movement has nothing to do with the path and synchronous movement.

programming language

Programming address and meaning

data type

Description:

1.g instruction

G90: Refer to the origin of the retaining wall coordinate system, and program the feed point in the workpiece coordinate system.

G9 1: According to the latest approach point, program the tool running distance.

GO: Fast movement makes the tool quickly locate, move around the workpiece or approach the tool change point.

G 1: The tool moves along a path parallel to the axis, diagonal or any other spatial location.

G2: Run clockwise on the arc trajectory.

G3: Run counterclockwise on the arc trajectory.

G4: The suspension time takes effect (F… seconds; S ... time is determined by spindle revolution)

G 17: no tool radius compensation.

G 18: Tool radius is compensated to the left of the profile.

G 19: Tool radius is compensated to the right of the profile.

G40: Cancel tool radius compensation.

G4 1: Activate cutter radius compensation, and the cutter moves to the right side of the profile along the machining direction.

G42: Activate cutter radius compensation, and the cutter moves to the left side of the profile along the machining direction.

G53: No mode contact, including programming bias

G54...G57: CallNo. 1 to No.4 to set the zero offset.

G94: Linear feed speed is mm/min and inch/min.

G95: Rotary feed speed: mm/rpm, inch/rpm.

2.m instruction

M0: program stop

M 1: Select Stop.

M2: The main program ends and returns to the beginning of the program.

M30: End of program

M 17: end of subroutine

M3: The drive shaft rotates clockwise.

M4: The drive shaft rotates counterclockwise.

M5: Stop driving the spindle.

M6: Tool replacement instructions

3. Others

F: feed rate

S: speed of driving spindle (unit: rpm)

T: calling tools

D: tool offset number (range: 1…32000)

/cdbbs/2007-7/5/ 1 1 15545854 . html