The forward limit switch (FLSx) inhibits motion in the forward direction immediately upon activation of the switch. The reverse limit switch (RLSx) inhibits motion in the reverse direction immediately upon activation of the switch. If a limit switch is activated during motion, the controller will make a decelerated stop using the deceleration rate previously set with the DC command. The motor will remain on (in a servo state) after the limit switch has been activated and will hold motor position. To set the activation state of the limit switches refer to the command CN, configure, in the Command Reference. When a forward or reverse limit switch is activated, the current application program that is running will be interrupted and the controller will automatically jump to the #LIMSWI subroutine if one exists. This is a subroutine which the user can include in any motion control program and is useful for executing specific instructions upon activation of a limit switch.
After a limit switch has been activated
further motion in the direction of the limit switch will not be possible until the logic state of the switch returns back to an inactive state. This usually involves physically opening the tripped switch. Any attempt at further motion before the logic state has been reset will result in the following error: “022 - Begin not possible due to limit switch” error. The operands, _LFx and _LRx, return the state of the forward and reverse limit switches, respectively (x represents the axis, X,Y,Z, or W). The value of the operand is either a ‘0’ or ‘1’ corresponding to the logic state of the limit switch, active or inactive, respectively. If the limit switches are configured for active low, no connection or a 5V input will be read as a ‘0’, while grounding the switch will return a ‘1’. If the limit switches are configured for active high, the reading will be inverted and no connection or a 5V input will be read as a ‘1’, while grounding the switch will return a ‘0’. (See the CN command in the Command Reference for details)
Using a terminal program
the state of a limit switch can be printed to the screen with the command, MG _LFx or MG _LRx. This prints the value of the limit switch operands for the 'x' axis. The logic state of the limit switches can also be interrogated with the TS command. For more details on TS, _LFx, _LRx, or MG see the Command Reference.
The DMC-18x2 provides digital inputs for forward limit, reverse limit, home, and abort signals. The controller also has 8 uncommitted, TTL inputs (for general use) as well as 8 TTL outputs. This chapter describes the inputs and outputs and their proper connection.
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.