EasyManua.ls Logo

PI MS249E - Using Digital Input Signals in Macros; Using Digital Input Signals as Switch Signals

PI MS249E
279 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Operation
86 Version: 1.2.1 MS249E C-863.12 Mercury Controller
Parameters
Description and Possible Values
8 = Digital input 4 inverted (bit 3)
Invert Digital Input
Used For Positive
Limit
0x60
Inverts the polarity of the digital inputs, which are used for the source
of the positive limit switch signal, via a bitmask:
0 = No digital input inverted (default setting).
1 = Digital input 1 inverted (bit 0)
2 = Digital input 2 inverted (bit 1)
4 = Digital input 3 inverted (bit 2)
8 = Digital input 4 inverted (bit 3)
7.4.2 Using Digital Input Signals in Macros
The digital inputs on the I/O socket can be used in macros as follows:
Conditional running of the macro
Conditional stopping of the macro
Conditional jump of the macro pointer
Copying the input state to a variable
Further information and examples can be found in "Controller Macros" (p. 97).
INFORMATION
You can connect the C-170.PB pushbutton box from PI to the I/O socket (p. 266) to generate
the digital input signals for use in macros. It also displays the state of the digital output lines via
LEDs.
7.4.3 Using Digital Input Signals as Switch Signals
The digital inputs on the I/O socket can be used as the source of reference point and limit
switch signals (e.g., for reference moves (p. 28)) for an axis.
Using digital input as reference signal
INFORMATION
The level of the digital input signal which you use instead of the reference switch may only
change once across the entire travel range.
Use a suitable signal source.
If necessary, invert the signal logic of the digital input line by setting the Invert Reference?
parameter (ID 0x31) accordingly.

Table of Contents

Related product manuals