Chapter 4. Ladder Diagram (LD) Programming
114
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
GFK-2950C
4.5.5
Mask I/O Interrupt
Mask or unmask an interrupt from an I/O board when using I/O variables. If
not using I/O variables, use SVC_REQ 17.
When the interrupt is masked, the CPU processes the interrupt but does
not schedule the associated logic for execution. When the interrupt is
unmasked, the CPU processes the interrupt and schedules the associated
logic for execution.
When the CPU transitions from STOP Mode to RUN Mode, the interrupt is
unmasked
The function passes power to the right when it executes successfully.
Operands
Parameter Description
Allowed Types
Allowed Operands
Optional
MASK
Selects unmask or mask operation.
Unmask=0; Mask=1
BOOL variable
or Bit reference in
non-discrete memory
data flow, I, Q, M, T, G, S, SA,
SB, SC, R, P, L, AI, AQ, W,
symbolic, I/O variable
No
IN1
The interrupt trigger to be masked
or unmasked.
The I/O board must be a
supported input module.
The reference address
specified must correspond to a
valid interrupt trigger
reference.
The interrupt for the specified
channel must be enabled in the
configuration.
BOOL or WORD
variable
I, Q, M, T, G, R, P, L, AI, AQ,
W, I/O variable
No
Example
In the following example, the variable Mod_Int is mapped to an I/O point on a hardware module and
is configured as an I/O interrupt to a program block. When the BOOL variable MaskOn_Off
transitions from OFF to ON and A1 is set to ON, the interrupt Mod_Int is masked (not executed) for
one scan.
Summary of Contents for PACSystems RX7i
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...