Skip to main content

Start and Stop Module Replacement

Instruction Parameters

Supported PLC Series

XPnA/1RXPnBXPnEXPnFCP3A/B/P/U
CP4A~D/U
CPnECPnFBPPLC-S
---

Supported Data Registers

MXYKLFTCSZRQD@DConstant
n-
D-

Supported Flags

FlagBitSupport
ErrorF11.0-
ZeroF11.1-
CarryF11.2-

Number of Steps

Steps
3

Operands

OperandDescription
SThe first operand.
Entries are Hexadecimal data registers or constants.
This is the base and slot number where the load cell is located.

This location depends on the amount of expansion modules the chassis contains.
nThe second operand.
Entries are WORD data registers or constants using BOOL values.
This enables or disables the online input/output module replacement.

The value is 0 for concluded.
The value is 1 for replacing.

Assignment Example

The following example shows how to assign values to Base/Slot.

Base/Slot (CM1)

Base NumberSlot Number
H0A0B
Hexadecimal2 Digits in Hexadecimal2 Digits in Hexadecimal
Base NumberSlotExample
Local BaseSlot Number 5H0005 or 5
1st ExpansionSlot Number 3H0103
10th ExpansionSlot Number 7H0A07
14th ExpansionSlot Number 12H0E0C
16th ExpansionSlot Number 10H100A

IMPORTANT: Base Number and Slot Number have specific parameters:

  • Base Number and Slot Number could be different according to the PLC CPU and base type.
  • Base Number:
    • Local base: H00
    • Expansion range: H01 ~ H10
  • Slot Number:
    • Range: H00 ~ H0B

Notice

CM1 Series Configuration

Please refer to the below image for the Base and Slot Number for the CM1 series.

Execution Condition

It is recommended that the IOEXC instructions be used with a pulse contact as an execution condition, or use the IOEXCP instruction.

Instruction Behavior

The IOEXC and IOEXCP instructions behave as follows:

  • The WORD data register S can be assigned BOOL values.
    • Assign S 0 upon conclusion of replacing the I/O expansion module.
    • Assign S 1 to signal I/O expansion module replacement is occurring.
  • Both instructions are for I/O and special expansion modules that do NOT require module setups and special programs.
    • Example: Analog modules.

Examples