IOEXC
IOEXC, IOEXCP
IOEXC instruction is used to replace I/O module when CPU is running (Online status).
(It supports only in XP B type CPU series)
| |
n | Slot number of module to be replaced |
S | Set 1 or Reset 0 |
Instruction | Device address | No. of Steps | Flag | |||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. |
| Error | Zero | Carry | ||
IOEXC IOEXCP | n | o | o | o | o | o | o | o | o | - | o | o | o | o | 3 | o | - | - |
S | o | o | o | o | o | o | o | o | - | o | o | o | o |
Notice
This instruction works with only IO modules. In case of special and communication module replacement, you need to reset and download parameters or special programs to the modules manually.
In order to download special programs or parameters to special and communication module automatically, click Online and choose Enable/Disable Module in CICON.
In case of error, take module off and put it in Base again.
If the IOEXCP is disabled before module replacement, the system should be dead.
Format : IOEXC n S
n : HEX that shows Base and Slot number of expansion module.
Ex) H + (Base number) + (Slot number)
Base number | Slot number | n1 |
Local Base | Slot number 5. | H0005 |
Expansion Base number 1. | Slot number 3. | H0103 |
Expansion Base number 10. | Slot number 7. | H0A07 |
Expansion Base number 14. | Slot number 12. | H0E0C |
Expansion Base number 16. | Slot number 10. | H100A |
Please refer to below the Base and Slot number system for CM1 series.
S : Set (1) or Reset (0)
Set 1 : Start I/O module replacement
Reset 0 : Stop I/O module replacement
Base and Slot number for CM1
Example) Module replacement
The module is installed at the Base number 1 and slot number 5.
Step 1) If X01 is ON, the IOEXCP instruction sets 1 to have module replaced.
Step 2) Take module off and replace module
Step 3) If there is no error, move Step 4. If there is an error, go back to Step 2.
Step 4) Turn Off X01 and complete replacement.