It is the responsibility of the user to keep enough LI segments in the DMC-18x2 sequence buffer to ensure continuous motion. If the controller receives no additional LI segments and no LE command, the controller will stop motion instantly at the last vector. There will be no controlled deceleration. LM? or _LM returns the available spaces for LI segments that can be sent to the buffer. 511 returned means the buffer is empty and 511 LI segments can be sent. A zero means the buffer is full and no additional segments can be sent. As long as the buffer is not full, additional LI segments can be sent at PC bus speeds. The instruction _CS returns the number of the segment being processed. As the segments are processed, _CS increases, starting at zero. This function allows the host computer to determine which segment is being completed.
Additional Commands
The commands VS n, VA n, and VD n are used to specify the vector speed, acceleration, and deceleration. The DMC-18x2 computes the vector speed based on the axes specified in the LM mode. For example, LM XYZ designates linear interpolation for the X,Y and Z axes. The vector speed for this example would be computed using the equation: VS2 =XS2 +YS2 +ZS2 , where XS, YS and ZS are the speed of the X,Y and Z axes. The controller computes the vector speed with the axis specifications from LM. VT is used to set the S-curve smoothing constant for coordinated moves. The command AV n is the ‘After Vector’ trippoint which halts program execution until the vector distance of n has been reached.
Specifying Vector Speed for Each Segment
The instruction VS has an immediate effect and, therefore, must be given at the required time. In some applications, such as CNC, it is necessary to attach various speeds to different motion segments. This can be done with two functions: < n and > m For example: LI x,y,z,w < n >m The first command, < n, is equivalent to commanding VSn at the start of the given segment and will cause an acceleration toward the new commanded speed, subject to the other constraints. The second function, > m, requires the vector speed to reach the value m at the end of the segment. Note that the function > m may start the deceleration within the given segment or during previous segments, as needed to meet the final speed requirement, under the given values of VA and VD.
Company product range
----------------------Ruichang Mingsheng Automation Equipment Co., Ltd----------------------
PLC module, programmable controller, CPU module, IO module, DO module, AI module, DI module
Network communication module,
Ethernet module, motion control module, analog input module, analog output module, digital input module, digital output
Module, redundancy module, power module, relay output module, relay input module, processor module
after-sales
Professional sales electric brand products around the world
Products overseas direct purchase, quality goods inventory, price concessions
After-sales warranty, models complete, the same product, different price and service.