Sei sulla pagina 1di 2

Scan Mode

Page 1 of 2

Scan Mode
See: Related Topics

Submit Feedback

ntroduction
Use the Program Configure Configure the Behavior task to select how the controller will scan when running a program.
Scan time is monitored by the controllers Watchdog Timer. If scan time exceeds 150 ms, a fault is generated, and the
controller stops immediately.
This dialog box can also be used to configure a periodic event.
NOTE: You can configure the PLC behavior in Online stopped state via the Program Debug Monitor the behavior task.
Scan Mode

Scan mode can be set to normal or periodic:


z

Normal (Cyclic)
Continuous, cyclic scanning; a scan starts immediately after the current scan is completed.
Periodic
Controller waits until the minimum scan time has been reached before starting another scan.

Period
The duration of a periodic scan has a selectable range of 2 ms to 150 ms.
If Periodic Scan mode is unchecked, Period box is unavailable and displays 0.
Watchdog
The execution of the application is monitored by an application watchdog timer which has a default value of 250 ms. The
watchdog timer has a range of selectable values from 10 ms to a maximum of 500 ms.
Periodic Event
An event can be periodically triggered, with a period that can be defined between 5 and 255 ms (this is the trigger period).
Every time an event is triggered, the task (subroutine) is executed, the number of which can also be defined.

mk:@MSITStore:C:\Program%20Files\Schneider%20Electric\TwidoSuite\ASDC4H.chm::/... 26/11/14

Scan Mode

Page 2 of 2

NOTE: Restrictions:
z
z

The periodic event cannot be high-priority,


Only one periodic event can be configured.

Configuring Scan Mode


To configure Scan Mode:
Step

Action
1

Select Program Configure Configure the Behavior task.

Select the type of Scan Mode.


Options: Periodic or Normal

If the type of Scan Mode selected is Periodic (this is the scan period), enter the scan time in the Period: (2 150 ms) zone.

Select OK to accept the changes and close the dialog box. Select Cancel to close the dialog box without
changes to the current settings.

Configuring the Periodic Event


To configure the periodic event:
Step

Action
1

Select Program Configure Configure the Behavior task.

Uncheck the box Not used from the Periodic event zone.

Increment the period in the Period (5 - 255 ms) field.

Select the subroutine number to be periodically executed by incrementing the Subroutine number field.
Possible selections:
z
z

0 to 15 (maximum 16 subroutines) for the Twido16 controller.


0 to 63 (maximum 64 subroutines) for all other series of Twido controllers (except for Twido10
1

controllers ).
5
Note

Select OK to accept the changes and close the dialog box. Select Cancel to close the dialog box without
changes to the current settings.
1: Twido10 controllers do not support periodic events.

2011 Schneider Electric. All rights reserved.

mk:@MSITStore:C:\Program%20Files\Schneider%20Electric\TwidoSuite\ASDC4H.chm::/... 26/11/14

Potrebbero piacerti anche