The embedded I/O function allows configuration of the controller inputs and outputs.
The M241 logic controller provides:
I/O Type |
24 I/O References |
40 I/O References |
---|---|---|
TM241•24• |
TM241•40• |
|
Fast inputs |
8 |
8 |
Regular inputs |
6 |
16 |
Fast outputs |
4 |
4 |
Regular outputs |
6 |
12 |
Follow these steps to access the I/O configuration window:
Step |
Description |
---|---|
1 |
Double-click Devices tree. (digital inputs) or (digital outputs) in the . Refer to |
2 |
Select the tab. |
This figure shows the
tab for digital inputs:For each digital input, you can configure the following parameters:
Parameter |
Value |
Description |
Constraint |
---|---|---|---|
|
None 1 ms 4 ms* 12 ms |
Reduces the effect of noise on a controller input. |
Available if and are disabled.In the other cases, this parameter is disabled and its value is . |
|
No* Yes |
Allows incoming pulses with amplitude widths shorter than the controller scan time to be captured and recorded. |
This parameter is only available for the fast inputs I0 to I7. Available if disabled and are disabled.Use latch inputs in MAST task only. |
|
No* Rising edge Falling edge Both edges |
Event detection |
This parameter is only available for the fast inputs I0 to I7. Available if disabled and are disabled. When is selected, and the input state is TRUE before the controller is powered on, the first falling edge is ignored. |
|
0.000 ms 0.001 ms 0.002 ms* 0.005 ms 0.010 ms 0.05 ms 0.1 ms 0.5 ms 1 ms 5 ms |
Reduces the effect of bounce on a controller input. |
Available if is enabled or is enabled.In the other cases, this parameter is disabled and its value is 0.002. |
|
None I0...I13 (TM241•24• references) I0...I23 (TM241•40• references) |
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 |
This table presents the different states:
Input states |
Result |
---|---|
State 0 |
Stops the controller and ignores external Run commands. |
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:
Run/Stop command is available through the Web Server command. |
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.
WARNING | |
---|---|
This figure shows the
tab for digital outputs:This table presents the function of the different parameters:
Parameter |
Function |
---|---|
|
|
Alarm Output |
Select an output to be used as alarm output. |
Rearming Output Mode |
Select the rearming output mode. |
|
|
Minimize jitter for local Output |
Select this option to minimize jitter on local outputs. |
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.
The alarm output is set to 0 when a short-circuit is detected.
Fast outputs of the Modicon M241 Logic Controller use push/pull technology. In case of detected error (short-circuit or over temperature), the output is put in the default value and the condition is signaled by status bit and PLC_R.i_wLocalIOStatus.
Two behaviors are possible:
Automatic 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.
Manual rearming: when an error is detected, the status is memorized and the output is forced to the default value 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.
WARNING | |
---|---|
This option allows the embedded I/Os to be read or set at predictable time intervals, regardless of the task duration. Minimizes jitter on outputs by delaying the write to the physical outputs until the read input operation of the next bus cycle task starts. The end time of a task is often less easy to predict than the start time.
Normal scheduling of input/ouput phases is:
When the
option is selected, the scheduling of the IN and OUT phases becomes: