3&44)"'#.-@;A9J@;9EI@*+'"&$'()*+
Section 4-5
$&'
Note
Reading/writing the Counter Value with IORD/IOWR is also supported for Simple
Counters (refer to 3-2-1
4-5-3-4
(Re) Configure Unit
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).
Note
1. The configuration settings can also be transferred to the Unit by Powering Up
the CS1-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.
!Caution
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).
4-5-3-5
Error Clear Command
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
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
for the applicable remedy.
Item
IOWR
IORD
Control Code
No. of
Words
CC1
CC2
(Re) Configure Unit
Y
N
0D
01
1
IOWR(223)
#0D01
CC1= 0D, CC2= 01
-
S=Not relevant (fill in valid constant, e.g. D0300 containing
#0000)
#00010002
D= #0002 (Machine Number) and D+1= #0001 (# words)
W902-E2-03.book Seite 134 Donnerstag, 7. Oktober 2004 2:06 14
Содержание CS1W-CT021
Страница 1: ...OPERATION MANUAL High speed Counter Units CS1W CT021 CS1W CT041 Cat No W902 E2 03...
Страница 3: ...W902 E2 03 book Seite iv Donnerstag 7 Oktober 2004 2 06 14...
Страница 5: ...W902 E2 03 book Seite vi Donnerstag 7 Oktober 2004 2 06 14...
Страница 39: ...W902 E2 03 book Seite 24 Donnerstag 7 Oktober 2004 2 06 14...
Страница 59: ...A 2 Section 2 3 W902 E2 03 book Seite 44 Donnerstag 7 Oktober 2004 2 06 14...
Страница 155: ...4 Section 4 6 W902 E2 03 book Seite 140 Donnerstag 7 Oktober 2004 2 06 14...
Страница 199: ...G W902 E2 03 book Seite 184 Donnerstag 7 Oktober 2004 2 06 14...