Categories
SMC4-4-16A16B

SMC4-4-16A16B make a small round in the corner

Q :SMC4-4-16A16B and I hace an issue with my first hole. Im using Fusion 360, when I make the instructions for the hole, it seems is an perfect square but the final line, the boundary make a small round in the corner instead a straight 90 degree line. 

A:You can try. enabled cvl setting 1,CVL  is set to tool or fillet radius

Categories
SMC4-4-16A16B

smc4 system file

Q:

Yesterday we did something stupid, and after the successful firmware update gave the “G0XYZF” system command without the correct “system.rar” file on the MicroSD card. Now we lost the Chinese language altogether, and all the Chinese language characters are just a black square. English seems still to work almost fine, although some symbols are also missing when using English. Could you please supply to us the correct “system.rar” file with the English and Chinese languages?

I would be very grateful for this file and I feel very ashamed now that we used a system command we don’t fully understand.

(I also wonder if it would be possible for me to compile a special system.rar file with Finnish language? This would be also a very interesting project for later times. Our professors would be very pleased if I could show the device operating in Finnish language instead of English.)

Categories
SMC4-4-16A16B

SMC4-4-16A16B

SMC4-4-16a16b is a standalone cnc controller without pc,supports up to 4 axes linkage, linear interpolation and continuous interpolation. The maximum pulse output frequency of each axis can reach 50KHz (3 axes can be 50KHz at the same time). In the offline state, manual, jog, return to program zero, return to mechanical zero, coordinate clearing and other operations can be realized. Delete, modify, read in, save, save, auto process, continuous, pause and other functions, can define a variety of external manual functions for easy use.

Pros

  • High-performance, high-speed 32-bit ARM CPU
  • SMC4-4-16A16B support 4axis Linkage
  • Maximum pulse output frequency 50KHz (3 axis can be 50KHZ at same time)

Cons

  • Does not have the function of saving current coordinates and engraving after power failure

SMC4-4-16a16b Upgrade Firmware

You need tell me your serial number,then we sent you a upgrade file(NC_4S.MD5),copy it to the root directory of TF, (note that a single file, not including folders)

SMC4-4-16a16b Firmware

Shutdown, the TF card into the controller and restar, press at the same time.

SMC4-4-16a16b Firmware

SMC4-4-16a16b Wiring Diagram

smc4-4-16a16b wiring diagram
smc4-4-16a16b pinout

SMC4 4 Axis Controller Tutorial

Motor connection and testing

Each axis of the pulse output of the SMC4 4-axis controller uses the pulse plus direction method. When using a stepper motor driver with an optocoupler, the common positive method is used.

SMC4-4-16a16b Motor connection and testing

Note: When connecting a two-phase stepper motor, first distinguish the two phase lines of the motor. If the stepper motor has no clear instructions, you can use a multimeter (resistance gear) to measure the resistance between the two lines. The two phase are not connected, and the same phase should be a small resistor, usually within a few ohms.

SMC4-4-16a16b use multimeter to detect the 2 wire resistance of the same phase is small

The power supply connected to the controller also needs to pay attention to the voltage and polarity of the connected power supply. It is necessary to test the voltage of the power supply not to exceed 24V before it can be connected to the controller. If it exceeds 24V, it may cause a serious failure of the controller and cannot be repaired

SMC4-4-16a16b is loaded with power,pay attention to voltage and polarity

Motor parameter setting

From the main interface menu “machine configuration” to enter the “motor parameters” setting interface, you can use the multi-function knob, up and down keys, OK key and numeric symbol keys to set or modify the motor parameters of the four motion axes. Remember to press “Save” to save after modification.

SMC4-4-16a16b modification and maintenance of motor parameters

The motor parameter setting items mainly include the following items:

Pulse equivalent:

Pulse equivalent refers to the number of pulses that need to be output in one unit, and allows the input of floating-point decimals. The unit here can be millimeters, circles, degrees, etc. Units are determined according to actual needs, and millimeters and degrees are generally used for engraving machines.
For example, a screw with a lead of 5mm is installed on the X axis, the stepping angle of the connected stepper motor is 1.8 degrees, and the driving subdivision value is 8, you can get 1mm according to the calculation formula (360/1.8)x8/5 The pulse equivalent is 320. Simply speaking, the pulse equivalent is obtained by dividing the number of pulses required for each rotation of the motor by the distance moved. Most stepper drives in the market will directly mark the pulse number of a stepper motor with a step angle of 1.8, such as 1600 (8 subdivisions), so that using a lead of 5mm can directly calculate 1600/5=320.
The same is true for servo motors. The same is true for the rotary axis. For example, the stepping drive on the A axis is set to 1600, and the pulse equivalent per degree is calculated. 1600/360=4.44444. If a reduction gear is installed, the reduction ratio needs to be added for calculation.

Maximum speed:

The maximum speed is the number of units per minute that the system can allow.
For example, the pulse equivalent is in mm and the maximum speed is set to 1200. This 1200 means that the system can allow the maximum speed of 1200mm per minute, according to the G code F value is F1200.
Similarly, if the pulse equivalent is in degrees, it means 1200 degrees per minute. Because the highest pulse output rate of the system is 50KHz, the allowable input value of the highest speed is limited. The specific calculation formula will not be discussed here. The maximum speed can be calculated based on 70-80% of the maximum speed of the stepper motor. If you do not know the motor parameters, you can slowly increase the maximum speed value during actual operation, subject to no step loss with load.

Acceleration:

Acceleration refers to the speed value of the motor from stationary to uniform speed, or uniform speed to stationary.
If the pulse equivalent is in mm, then the unit of acceleration is mm/sec.
The larger this value is, the shorter the process from the start to the constant speed movement or from the constant speed to the stop of the motor, the faster the required motor response speed.
If the acceleration value is set too large, it will cause step loss. The acceleration can be calculated based on 70-80% of the acceleration value of the stepper motor. If you don’t know the motor parameters, you can slowly increase the acceleration value during actual operation, subject to no step loss with load.

Pulse level:

The pulse level setting is mainly to determine whether the pulse is valid for the falling edge or the rising edge.
The default setting is 1, some step drives need to be set to 0 to work properly.

SMC4-4-16a16b outpt waveform when the pulse level is 1
SMC4-4-16a16b output waveform when pulse level is 0
Direction level:

The direction level mainly determines the relationship between the positive and negative values of the system coordinates and the direction of the motor. It can be set to 1 or 0. If the direction of the motor is found to be wrong, it can be corrected here.

Pulse time:

The pulse time is to set the width of the pulse output. When the default value is 1, the pulse width is about 2us. Some versions of the Lei X brand stepper drive need to set the pulse level to 0 and the pulse time to 5.

External switch and sensor

The SMC4 4-axis offline controller supports 16 input ports. The function of each input port is not fixed. The specific functions need to be configured in the system or used by the program instructions in the program.

Input port definition

The following figure shows that the two DB25 ports on the rear panel of the host are OUT and IN ports respectively. The DB25 port on the right side of the figure is the IN port. There are 8 GND pins, 16 IN pins, and a 5V power output (500mA)

SMC4-4-16a16b pin definition

Host IO adapter board pin definition

The IN input adapter board does not add a functional circuit, the pin number function is still the same as DB25, but it is more convenient for wiring.

SMC4-4-16a16b Host IO adapter board
Host IO adapter board

The input port can be used for the following functions:
1- Limit input
2- Mechanical origin input
3- Tool setter input
4- Shortcut function input
5- Program waiting for input
Both mechanical switches and sensors can be used for the functions listed above

Connection method

The input port of the SMC4 4-axis controller can support mechanical switches and NPN type electronic sensors. The type of electronic sensor must be NPN, which can be a common photoelectric sensor, proximity sensor, etc. When using the sensor connection, the power supply of the sensor must not exceed 24V. It is recommended to use 12V. It can also share a power supply with the SMC4. Only one function can be set for each input port. For example, after IN1 is set as a limit function, this port cannot be set as a shortcut button.

SMC4-4-16a16b connect mechanical switch

When connecting a mechanical switch, you only need to connect the common terminal (C) of the switch to any GND port of the SMC4 offline controller, and connect the normally open contact (NO) or normally closed contact (NC) to On any port of IN1-16 of SM4 offline controller.
It is recommended to connect to the normally closed contact when used, which can increase the anti-interference. The principle of another common tool setting device is similar to that of a mechanical switch, and the wiring method is in accordance with the mechanical switch connection method.

SMC4-4-16a16b connect NPN sensor

When connecting the NPN sensor, the positive terminal of the sensor power supply needs to be connected to the positive terminal of the power supply. It can be an independent power supply or can share the power supply with the SMC4 four-axis controller. The voltage must not exceed 24V. The negative terminal of the sensor power supply is connected to the negative terminal of the power supply. The output is connected to any port of IN1-16 of SM4 offline controller. NPN sensor output type can be normally open or normally closed

Test Methods

SMC4 4-axis controller built-in input port test interface. It can be opened from the menu “machine configuration”-“test”. After entering the test interface, you can use the display graphics in the interface to test the quality of the switches, lines and ports. When the graph is red, it indicates that the output ports INx and GND are open, and when the graph is black, the output ports INx and GND are closed.

Example

Suppose that an emergency stop (normally closed) IN1, an X axis + limit (normally closed) IN2, a Y origin (normally closed) IN3 and a tool setter (normally open) IN4 are connected

Emergency stop (normally closed) IN1
SMC4-4-16a16b Emergency stop (normally closed) IN1

In this example, the emergency stop switch(急停) is normally closed and connected to IN1.
Enable(使能): When this item is set to 1, this item takes effect, and when set to 0, this item is invalid.
Pin position(脚位): the port number to which the function switch is connected.
Level(电平): Connect to normally open, set the level to 0.
Connected to normally closed, set the level to 1.

X axis + limit (normally closed) IN2
SMC4-4-16a16b X axis + limit (normally closed) IN2

In this example, the X-axis limit + switch is normally closed and connected to IN2.
Enable(使能): When this item is set to 1, this item takes effect, and when set to 0, this item is invalid.
Pin position(脚位): the port number to which the limit switch is connected.
Level(电平): Connect to normally open, set the level to 1.
Connected to normally closed, set the level to 0.

Y origin (normally closed) IN3
SMC4-4-16a16b Y origin (normally closed) IN3

In this example, the Y-axis mechanical origin switch is normally closed and connected to IN3.
Enable(使能): When this item is set to 1, this item takes effect, and when set to 0, this item is invalid.
Pin position(脚位): the port number to which the mechanical origin switch is connected.
Level(电平): Connect to normally open, set the level to 1.
Connected to normally closed, set the level to 0.
Direction(方向): can be set to 0 or 1, respectively expressed as the forward and reverse of the motion axis, set according to the actual situation

Tool setting (对刀器)(normally open) IN4
SMC4-4-16a16b Tool setting (对刀器)(normally open) IN4

In this example, the tool setting switch is normally open and connected to IN4.
Enable(使能): When this item is set to 1, this item takes effect, and when set to 0, this item is invalid.
Pin position(脚位): the port number to which the tool setting switch is connected.
Level(电平): Connect to normally open, set the level to 1.
Connected to normally closed, set the level to 0.
Direction(方向): can be set to 0 or 1, respectively expressed as the forward and reverse of the motion axis, set according to the actual situation.

Other setting items of tool setting(对刀器) can be set in “G parameter”

Safety height(安全高度): Z axis will be raised according to this setting value when paused/homed/referenced.
Tool setting mode(对刀模式): The default value is 0, which means floating tool setting. When the value is 1, it is fixed tool setting. There are two operations: first tool setting and tool setting after tool change.
Tool setting offset(对刀偏移): After tool setting, the Z axis coordinate will be offset to this value. This value is usually set to the thickness of the tool block.
Tool setting springback(对刀弹回): After tool setting, the Z axis will leave the tool setting device according to this setting value, which is convenient for taking the tool setting device.

In the program, you can also use the M command to detect the input port. Use M3xx to judge whether the port is low level (equivalent to low level when the normally open switch is triggered), if it is, then execute the next line down, or wait for the other side. Use M4xx to judge whether the port is high level (equivalent to high level when the normally closed switch is triggered), if it is, then execute the next line down, or wait for the other side. xx represents the IN port No. 01-16. For example, if you want to judge whether IN1 is low, you can use M301 to judge in the program.

Single step

The SMC4 offline controller does not have the function of single-step code execution. If single-step execution is required, some instructions can be used.
For example, connect a switch to the input port and wait for its input signal with M3xx M4xx instructions. When there is an input signal, it will continue to execute the next line. Inserting such an instruction after each line of code can achieve a simple single-step execution function.

Installation program indicator

The 4-axis offline controller is not designed with a special program running status output function. If such a function is needed, the M07 or M08 function that is not commonly used can be used as the program running status output.

Connect the LED indicator (or other devices) to the output port. Port 1 is used in the figure

SMC4-4-16a16b connect led indicator wiring diagram

If you use M08 to control, set the port number of M08 to be port 1

SMC4-4-16a16b setup

SMC4-4-16a16b manual pdf

SMC4-4-16a16b system file(with the English and Chinese languages)

  • SMC4-4-16A16B make a small round in the corner
    Q :SMC4-4-16A16B and I hace an issue with my first hole. Im using Fusion 360, when I make the instructions for the hole, it seems is an perfect square but the final line, the boundary make a small round in the corner instead a straight 90 degree line.  A:You can try. enabled cvl setting 1,CVL  is set to tool or fillet radius
  • smc4 system file
    Q: Yesterday we did something stupid, and after the successful firmware update gave the “G0XYZF” system command without the correct “system.rar” file on the MicroSD card. Now we lost the Chinese language altogether, and all the Chinese language characters are just a black square. English seems still to work almost fine, although some symbols are also missing when using English. Could you please supply to us the correct “system.rar” file with the English and Chinese languages? I would be very grateful for this file and I feel very ashamed now that we used a system command we don’t fully understand. (I also wonder if it would be possible for me to compile a special system.rar file with Finnish language? This would be also a very interesting project for later times. Our professors would be very pleased if I could show the device operating in Finnish language instead of English.)
  • SMC4-4-16A16B
    SMC4-4-16a16b is a standalone cnc controller without pc,supports up to 4 axes linkage, linear interpolation and continuous interpolation. […]