Rockwell Automation Publication 2080-UM002L-EN-E - November 2021
253
Appendix D User Interrupts
STIS - Selectable Timed Start
STI0 is used in this document to define how STIS works.
The STIS instruction can be used to start and stop the STI function or to
change the time interval between STI user interrupts. The STI instruction has
two operands:
•
IRQType
— This is the STI ID that a user wants to drive.
•
SetPoint
— This is the amount of time (in milliseconds) which must
expire prior to executing the selectable timed user interrupt. A value of
zero disables the STI function. The time range is from 0…65,535
milliseconds.
The STIS instruction applies the specified set point to the STI function as
follows (STI0 is used here as an example):
•
If a zero set point is specified, the STI is disabled and STI0.Enable is
cleared (0).
•
If the STI is disabled (not timing) and a value greater than 0 is entered
into the set point, the STI starts timing to the new set point and
STI0.Enable is set (1).
•
If the STI is currently timing and the set point is changed, the new
setting takes effect immediately, restarting from zero. The STI continues
to time until it reaches the new set point.
UID - User Interrupt Disable
The UID instruction is used to disable selected user interrupts. The table below
shows the types of interrupts with their corresponding disable bits:
Table 51 - STIS Parameters
Parameter
Parameter Type Data
Type
Parameter Description
Enable
Input
BOOL
Enable Function.
When Enable = TRUE, function is performed.
When Enable = FALSE, function is not performed.
IRQType
Input
UDINT
Use the STI defined DWORD
IRQ_STI0, IRQ_STI1, IRQ_STI2, IRQ_STI3
SetPoint
Input
UINT
The user timer interrupt interval time value in milliseconds.
When SetPoint = 0, STI is disabled.
When SetPoint = 1…65535, STI is enabled.
STIS or ENO
Output
BOOL
Rung Status (same as Enable)
STIS
STIS
STIS(name or Pin ID)
or ENO(Pin ID)
Enable
IRQType
SetPoint
UID
UID
UID (name or Pin ID)
or ENO(Pin ID)
Enable
IRQType
Содержание Allen-Bradley Micro850
Страница 12: ...12 Rockwell Automation Publication 2080 UM002L EN E November 2021 Preface Notes ...
Страница 36: ...36 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 2 About Your Controller Notes ...
Страница 44: ...44 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 3 Install Your Controller Notes ...
Страница 120: ...120 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 7 Motion Control Notes ...
Страница 156: ...156 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 9 Controller Security Notes ...
Страница 184: ...184 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 10 Using microSD Cards Notes ...
Страница 226: ...226 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix C Quickstarts 10 Click Finish to complete ...
Страница 248: ...248 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix C Quickstarts Notes ...
Страница 262: ...262 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix D User Interrupts Notes ...
Страница 272: ...272 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix E Troubleshooting Notes ...