The embedded I/O function allows configuration of the controller inputs and outputs.
The TM262• logic controllers provide:
o4 fast inputs.
o4 fast outputs.
Accessing the I/O Configuration Window
Step |
Description |
---|---|
1 |
Double-click DI (digital inputs) or DQ (digital outputs) in the Devices tree. Refer to Devices tree. |
2 |
Select the I/O Configuration tab. |
Configuration of Digital Inputs
This figure shows the I/O Configuration tab for digital inputs:
NOTE: For more information on the I/O Mapping tab, refer to the EcoStruxure Machine Expert Programming Guide.
Digital Input Configuration Parameters
For each digital input, you can configure the following parameters:
Parameter |
Value |
Description |
Constraint |
---|---|---|---|
Filter |
0.000 ms 0.001 ms 0.002 ms 0.005 ms 0.01 ms 0.05 ms 0.1 ms 0.5 ms 1 ms 4 ms* 12 ms |
Reduces the effect of noise on a controller input. |
Configure Filter to 0.000 if you don’t want to filter the signal. |
Latch |
No* Yes |
Allows incoming pulses with amplitude widths shorter than the controller scan time to be captured and recorded. |
Available if Event disabled. |
Event |
No* Rising edge Falling edge Both edges |
Event detection |
Available if Latch disabled. When Both edges is selected, and the input state is TRUE before the controller is powered on, the first falling edge is ignored. |
Run/Stop Input |
None* I0...I3 |
The Run/Stop input can be used to run or stop the controller application. |
Select one of the inputs to use as the Run/Stop Input. |
* Parameter default value |
NOTE: The selection is grey and inactive if the parameter is unavailable.
This table presents the different states:
Input states |
Result |
---|---|
State 0 |
Stops the controller and ignores external Run commands. FSP LED is red ON. |
A rising edge |
From the STOPPED state, initiate a start-up of an application in RUNNING state, if no conflict with Run/Stop switch position. |
State 1 |
The application can be controlled by: oEcoStruxure Machine Expert (Run/Stop) oA hardware Run/Stop switch oApplication (Controller command) oNetwork command (Run/Stop command) Run/Stop command is available through the Web Server command. |
NOTE: Run/Stop input is managed even if the option Update I/O while in stop is not selected in Controller Device Editor (PLC settings tab).
Inputs assigned to configured expert functions cannot be configured as Run/Stop inputs.
For further details about controller states and states transitions, refer to Controller State Diagram.
|
UNINTENDED MACHINE OR PROCESS START-UP |
oVerify the state of security of your machine or process environment before applying power to the Run/Stop input. oUse the Run/Stop input to help prevent the unintentional start-up from a remote location. |
Failure to follow these instructions can result in death, serious injury, or equipment damage. |
Capture Inputs tab allows you to select captures, exclusively for motion applications, and manage them in the I/O Configuration tab.
For each capture, you can configure the following parameters:
Parameter |
Type |
Value |
Description |
Constraint |
---|---|---|---|---|
Capture edge |
UINT Enum |
Falling edge Rising edge Both edges |
Configure the edge on which the encoder position is captured. |
Enable the capture positions in Capture Inputs tab. Do not use with the function blocks from the M262 Encoder Library. |
RealTimeAccess |
BOOL |
TRUE |
Using real time access. |
Enable the capture positions in Capture Inputs tab. Do not use with the function blocks from the M262 Encoder Library. |
For more information on motion applications and function blocks related, as MC_TouchProbe and MC_AbortTrigger, refer to M262 Synchronized Motion Control Library Guide.
Configuration of Digital Outputs
This figure shows the I/O Configuration tab for digital outputs:
NOTE: For more information on the I/O Mapping tab, refer to the EcoStruxure Machine Expert Programming Guide.
Digital Output Configuration Parameters
This table presents the function of the different parameters:
Parameter |
Function |
---|---|
General Parameters |
|
Alarm Output |
Select an output to be used as alarm output. |
Rearming Output Mode |
Select the rearming output mode. |
NOTE: The selection is grey and inactive if the parameter is unavailable.
This output is set to logical 1 when the controller is in the RUNNING state and the application program is not stopped at a breakpoint.
The alarm output is set to 0 when a task is stopped at a breakpoint to signal that the controller has stopped executing the application and when the controller is stopped.
NOTE: Outputs assigned to configured expert functions cannot be configured as the alarm output.
Fast outputs of the Modicon M262 Logic/Motion Controller use push/pull technology. In case of detected error (short-circuit or over temperature), the output is put in tri-state and the condition is signaled by status bit and PLC_R_IO_STATUS.This is also signaled by %IX1.0.
Two behaviors are possible:
oAutomatic rearming: as soon as the detected error is corrected, the output is set again according to the current value assigned to it and the diagnostic value is reset.
oManual rearming: when an error is detected, the status is memorized and the output is forced to tri-state until user manually clears the status (see I/O mapping channel).
In the case of a short-circuit or current overload, the common group of outputs automatically enters into thermal protection mode (all outputs in the group are set to 0), and are then periodically rearmed (each second) to test the connection state. However, you must be aware of the effect of this rearming on the machine or process being controlled.
|
UNINTENDED MACHINE START-UP |
Inhibit the automatic rearming of outputs if this feature is an undesirable behavior for your machine or process. |
Failure to follow these instructions can result in death, serious injury, or equipment damage. |
NOTE: Automatic rearming of outputs can be inhibited through the configuration.