Counter [C]; Numbers Of Counters; Features Of Counters; Related Devices (To Specify Counting Direction) [32-Bit Counter] - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
4.6

Counter [C]

4.6.1

Numbers of counters

The table below shows counter (C) numbers. (Numbers are assigned in decimal.)
1. FX
/FX
PLC
3U
3UC
Counting range: 0 to 32767
General type
C0 to C99
*1
100 points
2. FX
PLCs
3G
Counting range: 0 to 32767
General type
C0 to C15
16 points
*1.
This area is not latched (battery backed). It can be changed to a latched (battery backed) area by setting the
parameters.
*2.
This area is latched (battery backed). It can be changed to a non-latched (non-battery-backed) area by setting
the parameters.
Counter numbers not used as counters can be converted as data registers for storing numeric values.
4.6.2

Features of counters

The table below shows the features of 16-bit counters and 32-bit counters. They can be used in accordance with the
operating condition such as the counting direction switching and counting range, etc.
Item
Counting direction
Set value
Set value specification
Current value change
Output contact
Reset operation
Current value register
4.6.3

Related devices (to specify counting direction) [32-bit counter]

When an auxiliary relay for switching the counting direction is set to ON, the counter executes down-counting, and
when set to OFF, the counter executes up-counting.
Counting
direction
Counter No.
switching
C200
C201
C202
C203
C204
C205
C206
C207
C208
16-bit up counter
Latched (battery backed)
type (protected by battery against
power failure)
C100 to C199
*2
100 points
16-bit up counter
Latched (EEPROM keep) type
C16 to C199
184 points
16-bit counter
Up-counting
1 to 32767
Constant (K) or data register
Does not change after counting up
Latches after counting up
When RST instruction is executed, current value of counter is reset to "0" and output contact returns
16 bits
Counting
direction
Counter No.
switching
relay
M8200
C209
M8201
C210
M8202
C211
M8203
C212
M8204
C213
M8205
C214
M8206
C215
M8207
C216
M8208
C217
→ For high-speed counters, refer to Section 4.7.
32-bit bi-directional counter
Counting range: −2,147,483,648 to +2,147,483,647
General type
C200 to C219
*1
20 points
32-bit bi-directional counter
Counting range: −2,147,483,648 to +2,147,483,647
General type
C200 to C219
20 points
Up-counting and down-counting can be switched (as
shown in Subsection 4.6.3)
−2,147,483,648 to +2,147,483,647
Constant (K) or a pair of data registers
Changes even after counting up (ring counter)
Latches (in up-counting), or reset (in down-counting)
32 bits
Counting
direction
Counter No.
switching
relay
M8209
C218
M8210
C219
M8211
C220
M8212
C221
M8213
C222
M8214
C223
M8215
C224
M8216
C225
M8217
C226
4 Devices in Detail
4.6 Counter [C]
Latched (battery backed)
type (protected by battery against
power failure)
C220 to C234
*2
15 points
Latched (EEPROM keep) type
C220 to C234
15 points
32-bit counter
Counting
direction
Counter No.
switching
relay
M8218
C227
M8219
C228
M8220
C229
M8221
C230
M8222
C231
M8223
C232
M8224
C233
M8225
C234
M8226
1
2
3
4
5
6
7
8
9
relay
M8227
M8228
M8229
M8230
M8231
10
M8232
M8233
M8234
99

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents