Browse
 
Tools
Rss Categories

How to disable the default functionality of the limit switch inputs [GB/CM, II]

Author: AM Reference Number: AA-00375 Views: 9846 Created: 26-03-2012 16:31 Last Updated: 14-03-2023 15:24 0 Rating/ Voters

The default action of the limit switch inputs is to block the movement when they become active (e.g.: when LSP is active, the motor can only move in negative direction; when LSN is active, the motor can only move in positive direction).

To disable this default functionality and use the limit switches as general purpose inputs, set the TML parameter "LSACTIVE" to 1 before any motion sequence is executed, usually at the beginning of the TML program.
The "LSACTIVE = 1;" instruction can be inserted as free text, using the "Assignment & Data Transfer - 16 bit Integer Data" wizard or from the "I/O" dialogue, in EasyMotion Studio.


Remark:  Even when the inputs are used as general purpose ones, they are still able to detect transitions and trigger TML interrupts.

Rss Comments
  • There are no comments for this article.