Omron CJ1-CT021 Operation Manual page 139

High-speed counter unit
Table of Contents

Advertisement

Supported IOWR/IORD-Instructions

5H &RQILJXUH 8QLW
Item
(Re) Configure Unit
!Caution

(UURU &OHDU &RPPDQG
Item
Clear Error(s)
124
During operation of the Unit (PLC is in RUN/MONITOR-mode), the Unit can be
configured by using the IOWR-instruction from the PLC ladder program. Issuing
the IOWR-instruction from the PLC ladder program results in transferring all the
Unit configuration data to the Unit. The Unit configuration data consists of the data
in the Special I/O Unit DM Area and the Range/Comparison Data.
Example:
The High-speed Counter Unit is assigned Machine Number 2. You want to (re)
configure the Unit by transferring all the configuration settings to the Unit (the PLC
is in RUN/MONITOR-mode).
IOWR(223)
#0D01
-
#00010002
Note
1. The configuration settings can also be transferred to the Unit by Powering Up
the CJ-series PC system or by restarting the Unit.
2. The Counter Values remain unchanged after the "(Re) Configure Unit" instruc-
tion has been sent to the Unit.
Before you make your ladder program operational, make sure that the IOWR-
instruction "(Re) Configure Unit" uses valid configuration data. If the Unit configu-
ration data contains invalid settings the Unit will stop operating and report the
error(s).
The error-codes of errors occurring at the High-speed Counter Unit are stored in
the Unit and are available to you as a Error History Log File (refer to 5-2 "Error
codes" for more details about the error categories that can be distinguished and
filing errors).
The error-codes generated by IORD/IOWR-instruction errors and Interrupt FIFO
Full errors can be cleared by issuing the Error Clear command ("EC") with the
IOWR-instruction. After the errors have been cleared, they are still available to you
from the Error History Log File. To troubleshoot errors from other categories refer
to 5-2 "Error codes" for the applicable remedy.
IOWR
IORD
Y
N
CC1= 0D, CC2= 01
S=Not relevant (fill in valid constant, e.g. D0300 containing
#0000)
D= #0002 (Machine Number) and D+1= #0001 (# words)
IOWR
IORD
Y
N
Control Code
CC1
CC2
0D
01
Control Code
CC1
CC2
EC
00
Section 4-5
No. of
Words
1
No. of
Words
1

Advertisement

Table of Contents
loading

Table of Contents