Counter [C]; Numbers Of Counters; Features Of Counters - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
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
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
→ 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
Latched (battery backed)
General type
type (protected by battery
against power failure)
C200 to C219
*1
20 points
32-bit bi-directional counter
Counting range: −2,147,483,648 to +2,147,483,647
General type
Latched (EEPROM keep) type
C200 to C219
20 points
32-bit counter
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
4 Devices in Detail
4.6 Counter [C]
C220 to C234
*2
15 points
C220 to C234
15 points
103
1
2
3
4
5
6
7
8
9
10

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents