0% found this document useful (0 votes)
17 views45 pages

2,3. Multi-Counter - CEU5-D - SMC

The document is an operation manual for the Multi-counter model CEU5, detailing safety instructions, installation, wiring, and operational guidelines. It covers product specifications, functions, and troubleshooting procedures, emphasizing the importance of reading the manual before use. The counter is designed to count pulses from encoders and communicate with PCs or PLCs, offering various output options and features for enhanced functionality.

Uploaded by

Pandu Abadinata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views45 pages

2,3. Multi-Counter - CEU5-D - SMC

The document is an operation manual for the Multi-counter model CEU5, detailing safety instructions, installation, wiring, and operational guidelines. It covers product specifications, functions, and troubleshooting procedures, emphasizing the importance of reading the manual before use. The counter is designed to count pulses from encoders and communicate with PCs or PLCs, offering various output options and features for enhanced functionality.

Uploaded by

Pandu Abadinata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 45

DOCUMENT No.

: CE*-OMB0060-C

OPERATION MANUAL

PRODUCT NAME: Multi-counter


MODEL : CEU5

z READ THIS OPERATION MANUAL CAREFULLY BEFORE USE IT.

z NEVER INSTALL THE PRODUCT UNTIL FINISH READING THIS

z KEEP THIS MANUAL ALL THE TIME FOR YOUR REFERENCE.


Contents
Chapter 1: Read Before Use 1
Chapter 2: Product Summary 4
2-1. How to Order 4
2-2. Outside Dimensions 4
Chapter 3: Functions and Terminology 5
Chapter 4: Specifications 8
Chapter 5: Description of Each Part 10
Chapter 6: Wiring
6-1. Terminal block arrangement 11
6-2. Wiring of sensor input part 11
6-3. Wiring of control signal input part 12
6-4. Wiring of output part 12
6-5. Wiring of RS-232C 12
6-6. Noise countermeasures 13
Chapter 7: Setting and Counter operation
7-1. Modes and setting items 14
7-1-1. Mode types and functions 14
7-1-2. Mode switching procedure 14
7-1-3. Setting of function mode 15
7-1-4. Data setting range 16
7-2. Setting 17
7-3. Counter operation 21
7-3-1. Handling data range 21
7-3-2. Reset and hold input 21
7-3-3. Correspondence of banks and bank terminals at switching 21
7-3-4. Correspondence of preset numbers and output terminals 21
7-3-5. Output 22
7-3-6. Preset output forms list 23
7-3-7. Output timing chart 24
7-4. Memory (E2ROM) 26
Chapter 8: RS-232C Communication Functions
8-1. Communication specifications 27
8-2. Communication format 27
Chapter 9: BCD Output 39
Chapter 10: When the counter does not operate normally
10-1. Troubleshooting 41
10-2. Counter error indication 43
Chapter 1: Read Before Use
These safety instructions are intended to prevent a hazardous situation and/ or equipment
damage. These instructions indicate the level of potential hazard by label of “Caution”, “Warning”
or “Danger”. To ensure safety, follow the below instructions as well as other safety instructions.

! Caution Operator error could result in injury or equipment damage.

! Warning Operator error could result in serious injury or loss of life.

! Danger In extreme conditions, there is a possible result of serious injury or loss of life.

! Warning
1. The compatibility of pneumatic equipment is the responsibility of the person who designs the
pneumatic system or decides its specifications.
Since the products specified here are used in various operating conditions, their compatibility for
the specific pneumatic system must be based on specifications or after analysis and/ or tests
to meet your specific requirements. Ensuring the initial performance and safety are the
responsibility of the person who decides the compatibility of pneumatic system. Pneumatic
systems should be constructed after full review on the details of the products other than
specifications and possibilities of failures by checking the latest product information.

2. Only trained personnel should operate pneumatically operated machinery and equipment.
Assembly, handling or repair of pneumatic systems should be performed by trained and
experienced operators.

3. Do not service machinery/ equipment or attempt to remove component until safety is


confirmed.
a. Inspection and maintenance of machinery/ equipment should only be performed after
confirmation of safe locked-out control positions.
b. When equipment is to be removed, confirm the safety process as mentioned above. Cut
the supply pressure for this equipment and exhaust all residual compressed air in the
system.
c. Before machinery/ equipment is re-started, take measures to prevent shooting-out of
cylinder piton rod etc.

4. Contact SMC and take necessary safety measures if the products are to be used in any of
the following conditions:
a. Conditions and envrionments beyond the given specifications, or if products are used
outdoors.
b. Installation on equipment in conjunction with atomic energy, railway, air navigation,
vehicles, medical equipment, food and beverage, recreation equipment, emergency stop
circuits, press applications, or safety equipment.
c. An application which has the possibility of having negative effects on people, property, or
animals, requiring special safety analysis.

- 1 -
Installation
! Warning
1. Operation manual
Do not install the products unless the safety insturctions have been read and understood.
Keep this operation manual on file for future reference.

! Caution
1. Maintenance space
When installing the products, allow space for maintenance.

Wiring
! Warning
1. Preparation for wiring
Shut off the power before wiring (including insertion and removal of connectors). Mount a
protective cover on the terminal block after wiring.

2. Check the power


Make sure the power has sufficient capacity and voltages are within the specified range before
wiring.

3. Grounding
Ground terminal block F.G. (Frame Ground). Do not ground it with devices generating strong
electromagnetic noise.

4. Separation of signal wires from power wire


Avoid common or parallel wiring of signal and power wires to prevent malfunction due to noise.

5. Check wiring
Incorrect wiring may cause damage or malfunction of the products. Make sure the wiring is
correct before operation.

6. Wiring arrangement and fixation


Avoid bending cables sharply at connector part or electrical entry in wiring arrangement.
Inproper arrangement may cause disconnection which in turn causes malfunction. Fix cables
close enough not to give excessive force to the connector.

Operating and Storage Environments


! Warning
1. Envionments to avoid
Avoid using or storing the products in the following environments which may cause failures.
If the products need to be used or stored in those environments, take necessary measures.

- 2 -
a. Place where ambient temperature exceeds the range of 0℃ to 50℃.
b. Place where ambient humidity exceeds the range of 35% to 85% RH.
c. Place where condensation occurs due to sudden temperature change.
d. Place where atmosphere containing corrosive gas, flammable gas or organic solvent.
e. Place where atmosphere containing conductive powder such as dust and iron chips, oil
mist, salt, or organic solvent, or splashing cutting chips, dust and cutting oil (water ,
liquid) over the products.
f. Place where the products are exposed to direct sunlight or radiated heat.
g. Place where strong electromagnetic noise is generated (place where strong electric
field, strong magnetic field or surge is generated).
h. Place where static electricity is discharged or condition that the products have
electrostatic discharge.
i. Place where strong high frequency is generated.
j. Place where damages of thunder are expected.
k. Place where vibration or impact is directly given to the products.
l. Condition that the products are deformed by force or weight applied.

Operation
! Warning
1. Terminal block protective cover
Key operation should be done with the condition that the terminal block protective cover is
mounted. If human body touches the terminal block accidentally, an electric shock may
be a result.

2. Prohibition of operation with wet hands


Do not perform key operation with wet hands, which may cause an electric shock and/ or
failure of the products and other devices.

Maintenance and Check


! Caution
1. Performing regular check
Check regularly that the products do not operate with failures unsolved. Check should be
done by trained and experienced operators.

2. Prohibition of disassembly and modification


To prevent accidents such as failures and electric shocks, do not remove the cover to perform
disassembly or modification. If the cover has to be removed, shut off the power before
removal.

3. Disposal
Request a special agent for handling industrial waste to dispose the products.

- 3 -
Chapter 2: Product Summary
This counter counts pulses coming from encoder (A/B quadrature pulse or UP/ DOWN
individual pulse) and sends a signal to PC/ PLC if the count matches with the preset data. The
method specified in the RS-232C allows this counter to send counts to PC/ PLC and set the
counter by communications with PLC/ PC. For the counter with BCD output, counts can be
sent to PC/ PLC by BCD coding.

2-1. How to Order


Eight variations of CEU5 are available for different functions.
CEU5※※-※
Supply voltage
Nil 100 to 240 VAC
Base part number D 24VDC

Output to PC/ PLC


Nil RS-232C
B RS-232C + BCD

Output transistor type


Nil NPN
P PNP

2-2. Outside Dimensions

DIN rail groove


68±0.2

35.5
56

80

104
113±0.2 33.5
125 4-φ4.5
64
59

- 4 -
Chapter 3: Functions and Terminology
Terms on output are defined as follows in this operation manual.
Output signals
Output signals are signals from CEU5 to PLC/ PC: preset output, Cylinder stop output and BCD
output.
Preset output This is the output signal sent to PLC/ PC when counts are matched with the
set values. Upper and lower limits can be set in preset output. Output form
can be selected from three types.
Cylinder stop This is the output signal sent to PLC/ PC when pulses coming from encoder
output do not change for a certain time. This output signal provides better timing
for reading preset output and outputs sent to PLC/ PC.
BCD output This is the output signal of a value indicated on CEU 5 sent to PLC/ PC for
64ms.
Preset output forms
Preset output forms are three types of output in preset output: compare, 1-shot and hold. Refer to
“Preset output forms list” in a following page for details.
Output method
Preset output can be selected from two methods: normal output and binary output. No. 1 through
No. 31 can be stored in preset setting. However, No. 21 through No. 31 can be used only for
binary output.

Normal output Binary output


Features ・Allocate one output terminal to one preset ・Send signals to PLC/ PC to indicate preset
number. numbers matched with counts by using all the
・Divide preset numbers of 1 through 20 into four five output terminals.
blocks, which are called bank 1 through 4 ・To obtain information on preset output, output
respectively. terminals 1 through 5 need to be checked.
・Preset output is active for a preset number of a ・This output is active only when cylinder stopped.
bank selected. Passed points are not outputted.
・Bank can be switched by external signals. 31
If a count matches with
30
preset No. 3

If bank 2 is selected ・

Preset No. 3
Bank 4 16 17 18 19 20 2
Bank 3 11 12 13 14 15 Preset No. 1
Bank 2 6 7 8 9 10
Bank 1 1 2 3 4 5

Output terminal ① ② ③ ④ ⑤
Output terminal ① ② ③ ④ ⑤ Pattern showing No. 3 On On Off Off Off
Preset No. 6 7 8 9 10

Memory 20 presets(with bank function used) 31 presets


Application ・20 types of work can be sorted to Good or No ・31 types of work can be classified without
Good when the types of work are known in external switching.
advance. ・Unknown work types transferred can be classified
・Another equipment can be operated in the timing into a maximum of 31 types.
of preset output in CEU5.
・This output can be used for switching preset
output for work group or process.

- 5 -
CEU5 has the following features.
(1) Multiplication function
All the pulses are multiplied by four times multiplier in hardware at input of A/B quadrature while it
is multiplied by two times multiplier or no multiplier in software. This will provide higher
resolution of measurement and improve the accuracy of the origin. The following figure
shows the relation between count by four times multiplier and no multiplier.

A -p h a s e p u ls e

B -p h a s e p u ls e

12
11 11
Count 10 10
9 9
8 8
7 7
6 6
5 5
M u ltip lie r 4 4

×4 2



M u ltip lie r 2 2
1 1
×1 0

* Multiplier ×1 : Use quadrature input signals for a bi-directional count.


* Multiplier ×4 : Use quadrature input signals to count on leading and trailing edges of "A"
and "B" for a bi-directional count.

(2) Switching of A/B quadrature input and UP/ DOWN individual pulse input
Accommodate to encoders with A/B quadrature output and UP/ DOWN individual pulse output.

(3) Pre-scale function


Function for the user to optionally set the number indicated for one count.

(4) Setting of tolerances for preset values


Upper and lower limits can individually set to preset values. Each set value can be either positive
or negative. For example, tolerances of + 0.04 and + 0.01 can be inputted as in the tolerance
indications in drawings.

(5) Bank functions (4 channels)


Preset output can be sent from 5 points simultaneously. Preset values of 5 points are
grouped into one frame (bank) and there are four banks from 1 to 4. A maximum of 20 types
of work can be classified by switching these banks. Refer to “Correspondence of bank and
bank terminals at switching” in a following page.

(6) Binary output (31 points)


Preset output can be sent from 31 points without bank switching by sending signals from five
output terminals in binary output method (If output signals are overlapped, a signal of smaller
preset No. is sent. Output form is compare output only).

- 6 -
(7) Cylinder stop output
Cylinder stop output is a signal sent out from S. STOP terminal when
pulse signals from encoder do not change for a certain period of time. This output signal
provides better timing for reading preset output and outputs sent to PLC/ PC.

(8) Hold function (for RS-232C communication or BCD output)


The display on the counter is held during a hold signal is coming in. With RS-232C
communication or BCD output, the data indicated is sent out. Even if reading process of the
PLC is delayed, the count when the hold signal is inputted can be taken in (The display is
held, however, counting is continued inside. At this time, preset output is sent out according
to the count inside with or without hold signal).

(9) Backing up of counts (changeable between hold and non-hold)


Back up counts after power interruptions. This function can be selected either ON or OFF.

(10) RS-232C communication function


Count output and setting of each function can be done by PLC (with RS-232C functions) or PC in
serial transmission of the RS-232C specifications.

(11) BCD output function (equipped only with CEU5*B-* type)


Send out counts by BCD coding. This function also allows taking in counts by PLC or PC and
connecting to external large indicator.

- 7 -
Chapter 4: Specifications
Product Multi-counter
Mounting Surface mount (with DIN rail or set screws)
Operation Addition and subtraction
Mode Operation mode, Preset data setting mode, Function setting mode
Reset External reset terminal
Indication LCD (with back-light)
Digits 6 digits
Memory Backup Set values (Constantly hold), counts (hold/ non-hold switching)
{medium} {E2 ROM (alarm indication at approx. 800,000 data writings)}
Input signal Count input, control signal input (reset, hold, bank selection)
Count Input No-voltage input
Pulse signal input A/B quadrature input, UP/ DOWN individual pulse input (Note 1)
Counting speed 100 kHz (Note 2)
Control signal input "For connecting COM terminal to 12VDC or 24VDC"
Conduction between each input terminal and GND terminal.
"For connecting COM terminal to GND terminal"
Conduction between each input terminal and 12VDC or 24VDC terminal.
power supply for sensor 12VDC ±10%, 60 mA
Preset output form Compare, hold, one-shot (fixed at 100 ms)
Output method Individual 5 points output, binary code output
Output time lag 5 ms or less (in normal output)/ 60ms or less (in binary output)
Communication RS-232C
Proof voltage Between case and AC line: 1500 VAC, 1 minute
Between case and signal earth: 500 VAC, 1 minute
Insulation resistance Between case and AC line: 500 VDC, 50MΩor more
Ambient temperature 0℃ to + 50℃ (No freezing)
Ambient humidity 35% to 85%RH (no dew condensation)
Noise resistance Square wave noise by noise simulator (pulse width: 1μs)
Between power terminals: ±2000V, input line: ±600V
Vibration proof Durable to 10 Hz to 55 Hz and amplitude of 0.75 mm in X, Y and Z directions
for 2 hours each.
Impact resistance Durable to 10 G in X, Y and Z directions for three times each.
Weight Approx. 350 g

CEU5*-* (Without "B") CEU5*B-*


Output signal Preset output , cylinder stop output Preset output , cylinder stop output ,
BCD output

CEU5*-* (Without "P") CEU5P*-*


Output transistor type NPN open collector (Max.30VDC,50mA) PNP open collector (Max.30VDC,50mA)

CEU5** CEU5**-D
Power voltage 100VAC to 240VAC (±10%) 24VDC (±10%)
Power consumption 20VA or less 10W or less
Note 1: Pulse signals can be counted by CEU5 should meet “Input waveform requirements” in the next
page.
Note 2: Counting speed of 100 kHz is provided when “Input waveform requirements” are met. When
signals are damped due to long wires, taking countermeasures such as reducing the speed
is required.

- 8 -
Input waveform requirements
[A/B quadrature input]
Two count channel input (A and B) in quadrature (90°nominal phase relationship).
A maximum of input waveform shall be 100 kHz, and the waveforms of A and B phases at this
time are as below.
Channel A +12V
±10%
"A-phase pulse"

Channel B +12V
"B-phase pulse" ±10%

A B C D
E F
G H
A : requires 2.5μsec or more E : requires 5μsec or more
B : requires 2.5μsec or more F : requires 5μsec or more
C : requires 2.5μsec or more G : requires 5μsec or more
D : requires 2.5μsec or more H : requires 5μsec or more

[UP/ DOWN individual pulse input]


"UP pulse" is a input to add the count, and "DOWN pulse" is a input to subtract the count.
A maximum of input waveform shall be 100 kHz, and the waveforms of UP and DOWN pulses
are as below.
Channel A +12V
"UP pulse" ±10%

Channel B +12V
"DOWN pulse" ±10%

A B C
A : requires 5μsec or more C : requires 5μsec or more
B : requires 5μsec or more
Not applicable to absolute type encoders.

“When using encoders from other manufacturers”

When using encoders from other manufacturers, check if the encoders are within the
specification range of CEU5 before use (Refer to the previous page and this page).
Performance test is given to SMC Monosashi-kun (Scale reading cylinders) and CEU5
using a 23 meter long exclusive extension cable. Wiring length depends on the specifications
of the encoder and cable given by each manufacturer and it should be checked before use.
CEU5 has a power supply for encoder (12VDC, 60 mA). If an encoder requires a power
other than 12VDC or large current consumption, use a separate power supply.

- 9 -
Chapter 5: Description of Each Part
External
Frame ground
power
Pulse input terminal supply Control signal input

Indication
BCD
output
connector
(side)

Operation
key

Power Output terminal Communication terminal

[Indication part details]


Upper limit
Bank No. Function items
Preset No. "PRESCL", "OFFSET", "STOP", "OUTPUT",
Multiplication Mode indication "INPUT", "BACKUP", "RS232C", "UNIT"

Counts, Preset values, Count


value per pulse, Offset setting,
Cylinder stop output, Output
type, Input type, Backup,
RS-232C, Unit No.

Preset output form Output type (bin)/ output state indication (□_□_□)
Cylinder stop output indication ( _ _ _ _ _ S)
Lower limit
Connected model (CEP1, CE1, MANUAL)
RS-232C communication speed unit (bps)

- 10 -
Chapter 6: Wiring
6-1. Terminal block arrangement

A-phase pulse input

B-phase pulse input

Bank 1 selection

Bank 2 selection
(UP pulse)

Sensor power

Sensor power
(DOWN pulse)

Control input
Sensor input

Sensor input

FG terminal

Reset input

Hold input
common

common

common
output

GND
A COM B COM DC12V GND F.G. RESET HOLD COM BANK1 BANK2

Sensor input block Control input block


(connect to Monosashi-kun or encoder) (input control signals)

Counter Output block (terminals for preset output and Serial transmission block
power cylinder stop output) (terminals for RS-232C
supply communication)
100 - 240VAC
(+) 24 VDC (-)
COM OUT1 OUT2 OUT3 OUT4 OUT5 S.STOP RD SD SG
Output terminal 1

Output terminal 2

Output terminal 3

Output terminal 4

Output terminal 5
Output signal

Cylinder stop

transmission
common
Power input

output
terminals

Serial
! Caution
The COM terminal of each block is insulated from COM terminals of other blocks
(However, COM terminal and GND terminal in sensor input block are connected inside).
6-2. Wiring of sensor input part
Change the wiring combination of white-A/blue-COM and yellow-B/brown-COM like white-B/blue-COM
and yellow-A/brown-COM in pair to reverse the count direction.
C E U 5 sen sor inp ut part S M C M onosashi-kun series
+12V
+12V

( ) 1 kΩ W hite

680Ω

COM B lue

+12V
+12V

( ) 1 kΩ Y ellow

680Ω

COM B row n

+12V Red
B uilt-in sensor pow er
supply
12V D C , 60 m A
GND B lack

F .G .

! Caution
Wire colors are for SMC Monosashi-kun series. For other encoders, check the wiring
specified in encoder operation manual.

- 11 -
6-3. Wiring of control signal input part (reset, hold and bank selection)
Each control signal shall be inputted in a circuit using a transistor that allows current flow
of 15 mA or more, or a circuit of contact output. Input time for reset signal shall be 10 ms
or longer. Bank selection and hold are active only in signal inputting.
COM is common for each signal input as well as for NPN and PNP input types. Use a
power of 24VDC or 12VDC and connect to DC- for PNP input and to DC+ for NPN input.
CEU5 control signal input part
COM

( ) 1kΩ Or
C ontrol signal input

2.2kΩ (reset, hold and bank Power (24VD C or 12VD C )


selection)

6-4. Wiring of output part (preset output and cylinder stop output)
The following shows the wiring for preset output (OUT 1 through 5) and cylinder stop
output (S. STOP) with two output types: NPN and PNP.

Model Wiring
NPN transistor (open collector output)
CEU5 50 m A or
OUT
CEU5B Load
Power
CEU5-D COM (3 0 V D C o r le ss )

CEU5B-D

PNP transistor (open collector output)


CEU5P (50 m A or less)
OUT
CEU5PB Load
Power
CEU5P-D COM (30VDC or less)

CEU5PB-D

6-5. Wiring of RS-232C


Electric feature: complying with EIA RS-232C
Terminal block signal name
C o u n t e r s id e H o s t c o m p u t e r s id e
RS- 232C RS- 232C
S ig n a l
S ym b o l S y m b o l d ir e c t io n S ig n a l

S D S D O u tp u t T r a n s m it te d d a ta

R D R D In p u t R e c e iv e d d a ta

S G S G - S ig n a l g r o u n d
E q u i v a le n t t o
LT1181 F G - F ra m e g ro u n d

R S O u tp u t R e q u e s t to s e n d

C S In p u t C le a r to s e n d

D R In p u t D a ta s e t r e a d y

E R O u tp u t D a ta te r m in a l r e a d y

- 12 -
6-6. Noise countermeasures
Follow the instructions below to prevent malfunction due to noise.
(1) Use SMC extension cable CE1-R** for wiring of Monosashi-kun and CEU5.
(2) Use a shielded cable of 5 meters or less for wiring of control input signals, output
signals and serial transmissions.
(3) Keep signal wires away from the power cables in wiring.
(4) When cables may cause radiation noise, mount a ferrite core on a signal cable.
(5) Use another stable power source for CEU5 power supply, separate from motor and
solenoid valve for AC type.
(6) Mount a noise filter for possible noise effects of power source.
(7) Keep relays at least 10 cm away from CEU5 when they are installed.
(8) Power supply voltage DC24V type of CU5**D will conform to EMC directive
(2004/108/EC) in combination with stroke reading cylinder (CE1 series) or high
precision stroke reading cylinder (CEP1 series).
-

- 13 -
Chapter 7: Setting and Counter Operation
7-1. Modes and setting items
CEU5 does not have DIP-switch and setting of each item is done by software. There are
three basic modes (count, preset and function) and eight items can be set in the function
mode.

7-1-1. Mode types and functions


(1) Count mode
Count pulses coming from outside and display a value in the counter. At the same time,
send out a signal to PLC/ PC if the count matches with the preset data. Output
process is only done in this mode.
(2) Preset mode
Set preset data (preset value, upper limit and lower limit for the basis of output sending).
Note that preset data are 1 through 31, but 21 to 31 are only used for binary output.
(3) Function mode
Set eight items: pre-scale, offset, cylinder stop output, output type, input type, backup,
RS-232C and unit No.

7-1-2. Mode switching procedure


Mode can be switched by [MODE] key all the time. The initial mode (when turning ON the
power) is count mode. Modes are switched each time [MODE] key is pressed in the order
shown below. The mode at that time is displayed in LCD.

LCD

① Count mode COUNT


(at power turned ON)

② Preset mode PRESET

③ Function mode FUNC.

【Set first at purchasing】


For connecting the series CEP1
The initial setting at shipment is ready for use.
For connecting the series CE1, CE2 or ML2
Set the counter to function mode and change the connecting model to CE1 in pre-scale
setting. Refer to “Operation” in the following pages for details.
For connecting encoders from other manufacturers
Set the counter to function mode and change the connecting model to MANUAL in
pre-scale setting. Next, set multiplication function and preset value. Refer to “Operation”
in the following pages for details.

- 14 -
7-1-3. Setting of function mode
Eight items are set in function mode. Items can be switched by UP/ DOWN key during the
items are flashing.
(1) Pre-scale
Display :
Meaning : Function to optionally set the unit per count
Setting : In model selection, select "CE1" for connecting the series CE1, CE2 or
ML2 and "CEP1" for connecting the series CEP1 to complete pre-scale
setting. For encoders from other manufacturers, select MANUAL and
input multiplication and the unit per count by keys.
(2) Indication offset
Display :
Meaning : Function to set the initial value displayed in reset inputting to an optional
value (with +/- setting)
Setting : Input values by keys.
(3) Cylinder stop output
Display :
Meaning : Cylinder stop output is a signal sent out from S. STOP terminal when
pulse signals from Monosashi-kun (encoder) do not change for a certain
period of time. This output signal provides better timing for reading
preset output and outputs sent to PLC/ PC.
Setting : Input values by keys. Unit is 0.1 second.
(4) Output type
Display :
Meaning : Switch normal output (using bank function) and binary output (enabling
classification of 31 points).
Setting : Select normal output "NORMAL" or binary output "BINARY".
(5) Input type
Display :
Meaning : Counter directions can be switched between A/B quadrature input and
UP/ DOWN individual pulse input.
Setting : Select A/B quadrature input "±2PHASE" or individual pulse input
"±UPDOWN"
(6) Counts backup
Display :
Meaning : Function to backup counts even when the counter power shut off
Setting : Select backup active "ON" or inactive "OFF".
(7) RS-232C communication speed
Display :
Meaning : Set communication speed of RS-232C.
Setting : Select a speed from 1200 bps, 2400 bps, 4800 bps, 9600 bps, or
19200 bps.

- 15 -
(8) Unit No. Display:
Meaning : Set identification number of the counter, which is used for RS-232
communication.
Setting : Input values by keys.
(9) Digital filter Display:
Switch ON (Valid) and OFF (Invalid)
In case of ON, eliminate 10MHz or more of high frequency noise that interferes in input
pulse. However, response of input pulse signal will be delayed for 0.9μS when filter is ON
and for 0.5μS when it’s OFF.

7-1-4. Data setting range


Mode Setting items Setting range Default value
Count None None None
Preset (1) Preset No. 1 to 31 1
(2) Preset value - 999999 to + 999999 + 000000
(3) Upper limit - 999999 to + 999999 + 000000
(4) Lower limit - 999999 to + 999999 - 000000
(5) Preset output form 1SHOT/ HOLD/ 1SHOT
COMPARE
Function (1) Pre-scale
・Connecting model CEP1/ CE1/ MANUAL CEP1
・Multiplication ×1,×2,×4 ×4
・Count value per pulse 0.00001 to 999999 0.01
・Decimal point position ******. to *.***** ****.**
(2) Offset value - 999999 to + 999999 + 000000
(Decimal point depends on
the pre-scale.)
(3) Cylinder stop output 00.1 to 99.9 sec 00.1
value (When "0.00" is [SET],
it will be "00.1".)
(4) Output type NORMAL/ BINARY NORMAL
(5) Input type 2PHASE/ UPDOWN 2PHASE
(6) Backup OFF/ ON OFF
(7) RS-232C 1200/ 2400/ 4800/ 9600/ 9600
19200
(8) Unit No. 00 to 99 00
(9) Digital filter OFF,ON OFF
! Caution
When default values are set, preset data will be set to zero (0). Take ample care for
1-shot output at turning ON the power.

- 16 -
7-2. Setting
《Indication in normal output》 《Indication in binary output》
Indicate only when incoming pulses
Indicate the current output bank matched with the preset data.
①Count mode
COUNT COUNT
BANK
0I No. I6

000000 ・
6 ----
000000 ・
67A
MODE
Indicate output condition of Indication when binary
each OUT terminal. output is selected.

(1)
②Preset mode PRESET
《Preset No. selection》
No. 0I +000000
・ z Select preset No. from 1 through 31 by
+000000
1SHOT

+000000

UP/ DOWN key.
z Move onto the next item by SEL. key.

SEL.
(2)
PRESET 《Preset value setting》
No. 0I +000000
・ z Move digits by LEFT/ RIGHT key. Increase

+000000
1SHOT

+000000

or decrease numerical values by UP/
DOWN key.
z Move on to the next item by SEL. key.
MODE
SEL.
(3)
PRESET
《Upper limit setting》
No. 0I +000000
・ z Set numerical values by direction keys.

MODE
+000000
1SHOT

+000000

z When ± is selected, lower limit display
disappears and ± can be set.
z Move onto the next item by SEL. key.

SEL.
(4)
PRESET
《Lower limit setting》
No. 0I +000000
・ z Set numerical values by direction keys.
+000000
1SHOT

+000000

z When ± is selected in “Upper limit
setting,” this item is not displayed.
z Move on to the next item by SEL. key.

SEL.
(5)
PRESET
《Output form setting》
No. 0I +000000
・ z Switch output form to 1-SHOT, HOLD,
+000000 COMPARE

+000000

COMPARE by UP/ DOWN key.
z Store the setting by SET key.
z With SEL. key, the cursor moves among
SET items, but setting is not stored.

z SET key : Store indicated data in memory, in any condition of (1) to (5), and
move onto (1).
③Function mode z SEL key : Move onto the next item. Does not write data in memory.
z MODE key: Move onto the next mode in any condition. Does not write data in
memory.
- 17 -
The following explains each setting in function mode.
Moving onto the next setting item by UP/ DOWN key during the items are flashing. The cursor
moves by pressing SEL. key to change the setting for the item displayed.
Item
(1)
FUNC.
③-1 Change to pre-scale setting mode by
×4 PRESCL pressing SEL. key while PRESCL is flashing.
Pre-scale
00000 I ・
CEP1

SEL.
(2)
FUNC.
《Selection of connecting model》
×4 PRESCL z Select CEP1, CE1 or Manual by

00000 I ・
CEP1
UP/DOWN key.
z Selection of CEP1 or CE1: Store the
setting by SET key and return to (1).
z Selection of Manual: Move onto the next
item by pressing SEL. key.
SEL.
(3)
FUNC.
×4 PRESCL 《Setting of multiplication function》
z Select ×1, ×2, or ×4 by UP/ DOWN

UP
00000 I ・
WAAUAL
-
key.
×4 indicates a four-quadrant.
z Move onto the next item by SEL. key.

DOWN SEL.
(4)
FUNC.
《Setting of pre-scale value》
×I PRESCL
z Set the unit per count.

00000 I ・
WAAUAL
-
z Move digits by LEFT/ RIGHT key.
Increase or decrease numerical values by
UP/ DOWN key.
z Move onto the next item by SEL. key.
SEL.
(5)
FUNC.
×I PRESCL 《Setting of decimal point》
z Move the position of decimal point by
00000 I ・
WAAUAL
-
LEFT/ RIGHT key.
z Store the setting by SET key.
z With SEL. key, the cursor moves among
items, but setting is not stored.
SET

FUNC. FUNC.

③-2 OFFSET OFFSET


SEL.
Offset
+ 000000 ・
+000000 ・
UP
z Change to offset setting mode by z Move digits by LEFT/ RIGHT key. Increase or
pressing SEL. key while OFFSET decrease numerical values by UP/ DOWN key.
is flashing. z Store the setting by SET key.
z With SEL. key, the cursor moves among items,
but setting is not stored.

- 18 -
DOWN
③-3 FUNC. FUNC.

Stop output STOP SEL. 0STOP

000 ・ 000 ・
z Change to the mode of time z Move digits by LEFT/ RIGHT key. Increase or
setting for stop output sending decrease numerical values by UP/ DOWN key.
UP
by pressing SEL. key while z Unit is 0.1 second.
STOP is flashing. z Store the setting by SET key.
z With SEL. key, the cursor moves among items,
DOWN
but setting is not stored.

③-4 FUNC. FUNC.

Output type OUTPUT SEL. OUTPUT

A6PWAL
- 6 IAAPY
z Change to output type setting z Select normal or binary output by UP/
UP mode by pressing SEL. key DOWN key.
while OUTPUT is flashing. z Store the setting by SET key.
z With SEL. key, the cursor moves among
DOWN items, but setting is not stored.

③-5 FUNC. FUNC.

Input type IAPUT SEL. IAPUT

2PHASE UP88WK
z Select A/B quadrature input (+/-2PHASE) or
UP z Change to input type setting indi-vidual pulse input (+/-UP/ DOWN) by UP/
mode by pressing SEL. key DOWN key. When polarity is changed, counter
while INPUT is flashing. directions are reversed.
DOWN 2PHASE ⇔ UP/Down ⇔ –2PHASE ⇔ –UP/Down
z Store the setting by SET key.
z With SEL. key, the cursor moves among items,
but setting is not stored.
③-6
Counts backup FUNC. FUNC.

6ACKUP SEL. 6ACKUP

000OFF OA
UP

z Change to counts backup z Select On or OFF by UP/ DOWN key.


DOWN setting mode by pressing SEL. z Store the setting by SET key.
key while BACKUP is flashing. z With SEL. key, the cursor moves among items,
but setting is not stored.
③-7
RS-232C FUNC. FUNC.

RS- 232 SEL. RS- 232

I9200 6PS
I9200 6PS
UP
z Change to RS-232C z Select communication speed among 1200, 2400,
communication speed 4800, 9600 or 19200 by UP/ DOWN key.
setting mode by pressing z Store the setting by SET key.
SEL. key while RS-232 z With SEL. key, the cursor moves among items, but
is flashing. setting is not stored.

- 19 -
DOWN
③-8
Unit No. FUNC. SEL. FUNC.

UA IT UA IT

000000 000000
z Move digits by LEFT/ RIGHT key.
z Change to Unit No. register mode Increase or decrease numerical values
by pressing SEL. key while UNIT by UP/ DOWN key.
UP is flashing. z Can be set between 0 to 99.
z Store the setting by SET key.
z With SEL. key, the cursor moves among
DOWN items, but setting is not stored.

③-9
SEL.
Digital filter FUNC. FUNC.

OFF OA
z Select ON or OFF with UP DOWN key.
z Memorize setting with SET key.

Caution)
When changing the setting (ON/OFF) of
the digital filter (ON/OFF), reset the
counter values to prevent wrong counter.

[Keys and functions]

Keys Functions
MODE Change modes. Move onto the next mode in any condition.
Does not write data.
SEL. Move the cursor onto the next item. Does not write data.
SET Store indicated data at setting in memory.
RIGHT Move the cursor to the right at setting numerical values.
LEFT Move the cursor to the left at setting numerical values.
UP Change the setting. Increase numerical values at setting.
DOWN Change the setting. Decrease numerical values at setting.

z “Direction keys” in operation procedure indicate four keys: UP, DOWN, LEFT and RIGHT.

- 20 -
7-3. Counter operation
7-3-1. Handling data range
Data range of the counter inside is between-7,999,999 to + 7,999,999. If a value in the
counter is out of the range, it displays “FFFFFF” and stops counting (For over + 8,000,000,
it displays “FFFFFF” and displays“FFFFFF” for below-8,000,000. “-FFFFFF” is displayed
with the decimal point already set).
Outputs in counter mode are six digits between -999,999 to + 999,999. Display overflow is
disregarded and lower six digits are displayed.

7-3-2. Reset and hold input


[ Reset input ]
By using reset input from outside, count value can be reset as initial value. Initial value is
determined by "Indication Offset". If the value of "Indication Offset" is 0, it will be cleared as
0 by reset input.
[ Hold function (for RS-232C communication or BCD output) ]
The display on the counter is held during a hold signal is coming in. With RS-232C
communication or BCD output, the data indicated is sent out. Even if reading process of the
PLC is delayed, the count when the hold signal is inputted can be taken in.
The display is held, however, counting is continued inside. At this time, preset output is sent
out according to the count inside with or without hold signal.

7-3-3. Correspondence of banks and bank terminals at switching


In count mode, switching of banks 1 through 4 are done by bank input terminals.

Bank No. Bank terminal 2 Bank terminal 1


1 OFF OFF
2 OFF ON
3 ON OFF
4 ON ON

7-3-4. Correspondence of preset numbers and output terminals


[ For normal output ]
Preset numbers (1 to 20) are allocated to output terminals of 1 through 5 as in the table
below according to the bank number.

Output
terminals 1 2 3 4 5
Bank No.
1 1 2 3 4 5
2 6 7 8 9 10
3 11 12 13 14 15
4 16 17 18 19 20

- 21 -
[ For binary output ]
The table below shows correspondence of preset numbers (1 to 31) and output terminals
(OUT 1 to 5) in binary output. A smaller preset number is outputted when outputs are
overlapped. Output form is COMPARE output only and fixed.
(○: ON, ×: OFF)
Output Output
terminals 1 2 3 4 5 terminals 1 2 3 4 5
Preset No. Preset No.
1 ○ × × × × 17 ○ × × × ○
2 × ○ × × × 18 × ○ × × ○
3 ○ ○ × × × 19 ○ ○ × × ○
4 × × ○ × × 20 × × ○ × ○
5 ○ × ○ × × 21 ○ × ○ × ○
6 × ○ ○ × × 22 × ○ ○ × ○
7 ○ ○ ○ × × 23 ○ ○ ○ × ○
8 × × × ○ × 24 × × × ○ ○
9 ○ × × ○ × 25 ○ × × ○ ○
10 × ○ × ○ × 26 × ○ × ○ ○
11 ○ ○ × ○ × 27 ○ ○ × ○ ○
12 × × ○ ○ × 28 × × ○ ○ ○
13 ○ × ○ ○ × 29 ○ × ○ ○ ○
14 × ○ ○ ○ × 30 × ○ ○ ○ ○
15 ○ ○ ○ ○ × 31 ○ ○ ○ ○ ○
16 × × × × ○
Preset data are represented by combinations of output signals from OUT 1 to 5. When
incoming pulses do not match with any preset numbers, all the outputs (OUT 1 to 5) are
turned OFF. Reading OK signal is cylinder stop output. Binary output is only active when
a cylinder is at stop. Reading outputs by PLC/ PC shall be done only when cylinder stop
output is ON. Preset values can be stored up to 31 points. However, No. 21 to 31 are
only active in binary output and their preset output form is fixed at "COMPARE" mode.

7-3-5. Output
(1) Output form can be set to preset data No. 1 through 31 (However, No. 21 to 31 are
only active in binary output and their preset output form is "COMPARE" only).
(2) In normal output, indication in LCD corresponding to “OUT 1 to 5” changes from “_” to
“□” in preset output.
(3) With upper or lower limit, if the preset data including lower limit (point A in the next
page) or upper limit (point B in the next page) exceeds -999999 or + 999999, point A or
B will be compulsorily corrected to the range of -999999 to + 999999.
(4) Refer to “Output timing chart” in the following page for time of output delay.

! Caution
With preset data set to zero, take ample care for preset output at turning ON the power.

- 22 -
7-3-6. Preset output forms list
[ COMPARE ] : “COMPARE” indicated in LCD.
Without allowance With allowance
When a count matches with the preset value, When a count is within the range of the preset
output is ON. value + allowance, output is ON.
When they are different, output is OFF. When a count is out of the setting range again,
output is turned OFF.
Preset value Preset value
A B
Allowance
Count direction (-) (+) Count direction (-) (+)

When moved toward (+) When moved toward (+)

When moved toward (-) When moved toward (-)

[ 1-SHOT ] : “1SHOT” is indicated in LCD.


Without allowance With allowance
Output is ON for 100ms when a count crossed Output is ON for 100ms when a count
the preset value. crossed the preset value + allowance.
Preset value Preset value
A B
Allowance
Count direction (-) (+) Count direction (-) (+)

When moved toward (+) When moved toward (+)

When moved toward (-) When moved toward (-)

[ HOLD ] : “HOLD” is indicated in LCD.


Without allowance With allowance
Output is ON when a count crossed the Output is ON when a count crossed the
preset value and the ON state is maintained preset value and the ON state is maintained
until output is released. even when a count becomes out of the setting
Releasing output is done either in power range.
shut down, reset signal input, set value Releasing output is done either in power
change or RS-232C command. shut down, reset signal input, set value
change or RS-232C command.
Preset value Preset value
A B
Allowance
Count direction (-) (+) Count direction (-) (+)

When moved toward (+) When moved toward (+)

When moved toward (-) When moved toward (-)

- 23 -
7-3-7. Output timing chart
Reset if a measurement is
Cylinder taken with this position as a
basis.
operation

Counts

+100.00

+60.00

0
-20.00

-60.00

Note 1
Reset input

Note 4
Note 2 Note 3
OUT1
100ms
Note 2 Note 5
OUT2

Note 4
Note 2
OUT3

OUT4

OUT5

Note 4 Note 6
S.STOP

Not countable during reset processing (Note 7)

The above chart is an example when the settings of No. 1 through 5 are as in the table below
(With normal output and bank 1 selection).
No. 1 No. 2 No. 3 No. 4 No. 5
Preset value + 0060.00 + 0060.00 + 0060.00 + 0000.00 - 0060.00
Allowance (upper limit) + 0040.00 + 0040.00 + 0040.00 + 0000.00 + 0040.00
Allowance (lower limit) + 0000.00 + 0000.00 + 0000.00 + 0000.00 + 0000.00
Output form COMPARE 1-SHOT HOLD COMPARE COMPARE

- 24 -
Note 1: Reset shall be done when the cylinder is at stop.
Note 2: ON delay time of preset output is 5 ms or less (in normal output and all output forms).
Note 3: OFF delay time of preset output OFF is 5 ms or less (in normal output and COMPARE
output form only).
Note 4: OFF delay time at reset input is approximately 30 ms.
Note 5: 1-SHOT output is fixed at 100 ms.
Note 6: Waiting time for cylinder stop output ON can be set in the unit of 0.1 second in the item of
STOP in function mode.
Note 7: Reset processing takes approximately 300 ms from reset input. Counting after reset shall
be done after 350 ms or more has passed since the reset input. Input of reset signal
from
PLC/ PC shall be between 10 ms and 100 ms. For longer input time, processing takes
approximately 150 ms from startup of reset signal and it increases total reset processing
time. That is, the shortest reset processing time takes 300 ms and it will be longer for
longer reset signal input time.

[ Reset input time: 10 ms to 100 ms ] [ Longer reset input time ]


Reset processing time
Reset processing time
(reset input time + 150 ms)
300 ms
150ms

ON ON
Reset signal Reset signal
OFF
10~100ms

Note 8: Reset in RS-232C communication


When a reset command is received, a response is sent out from CEU5. CEU5 is ready
for
counting in two seconds after sending the response. Operation to start counting after
reset shall be done in two seconds or more after receiving the response.
Note 9: Power ON reset (at turning ON the power)
It takes approximately 1 second for the DC power to stabilize from turning ON. Then
trouble check processing such as memory check is done and CEU5 is ready for counting
in approximately 2.5 seconds from turning ON the power. Operation to start counting
shall be done in three seconds or more after turning ON the power.
Note 10: Delay of binary output
Binary output is delayed for 30 ms or less. Reading of binary output shall be done only
when cylinder stop output is ON.

- 25 -
About "Cylinder stop output"
There are cases where cylinder stop output is output when cylinder stops temporarily due to
knocking and cylinder operates at extremely low speed. In such cases, provide longer time to
output.

! Caution
When utilizing cylinder stop output for safety related parts, be sure to use it with other
sensor output.

7-4. Memory (E2ROM)


(1) The following data are stored in E2ROM.
z Preset data
z Upper and lower limits data
z Output type
z Pre-scale setting
z Offset setting
z Cylinder stop output setting Stored in E2ROM when settings are
z Output type setting changed.
z Input type setting
z Backup setting
z RS-232C setting
z Unit No. setting
z Digital filter setting
z Current counts: Only when back up setting is ON, current counter value is different
from data written in E2ROM and power supply is OFF, the current
value is written in E2ROM.

(2) When storing in E2ROM is done approximately 800,000 times, the message “E2FUL” (life
of E2ROM) is indicated in LCD. Consult the shop or SMC Corporation. The indication
disappears by pressing any key and resumes its normal operation after that.

(3) Backup check is done at turning ON the power and the message “E2Err” is indicated in
LCD if an error occurred.

- 26 -
Chapter 8: RS-232C Communication Functions
8-1. Communication specifications
Standard RS-232C
Line type Half duplex
Transmission type Asynchronous
Transmission speed Select from 1200, 2400, 4800, 9600, or 19200bps
Letter code ASCII
Parity Even parity
Start bit 1 bit
Data length 7 bit
Stop bit 1 bit
Block check Sum check

8-2. Communication format


(1) Command list
Command Meaning Count mode Setting mode
① VR Reading counts ○ ×
② DR Reading preset data ◎ ○
③ DW Writing preset data ◎ ○
④ PR Reading pre-scale setting × ○
⑤ PW Writing pre-scale setting × ○
⑥ FR Reading indication offset setting × ○
⑦ FW Writing indication offset setting × ○
⑧ SR Reading cylinder stop output setting × ○
⑨ SW Writing cylinder stop output setting × ○
⑩ OR Reading output type setting × ○
⑪ OW Writing output type setting × ○
⑫ IR Reading input type setting × ○
⑬ IW Writing input type setting × ○
⑭ BR Reading count backup setting × ○
⑮ BW Writing count backup setting × ○
⑯ RS Reset input ○ ×
⑰ HR Hold output release ○ ×
⑱ TS Test transmission ○ ○
⑲ EE Command error (response) - -
With ◎, command is accepted only when cylinder stop signal is sent out.
! Caution
Sequence shall have no safety problems for preset outputs changing when a setting is
accepted.

- 27 -
(2) Communication procedure and format
Initiative of the sequence is on the host computer side. The sequence always starts with
the host computer side and the counter responds to it. The host computer side has the
initial transmission right, and the counter always give a response back to the host
computer when a command is transmitted from the host computer to the counter.
However, the counter does not respond when counter unit No. specified is different or
when parity error or check sum error occurs.

Command Block
# Unit No. Command code Command data Check sum CR

Response Block
# Unit No. Command code Response data Status Check sum CR

When data out of the setting range is coming in at setting by communication, setting is not
conducted, instead response block (EE command) containing error code is sent back.
The values set in setting mode by communication are stored in E2ROM. Since E2ROM
has the life of 1,000,000 times, avoid unintentional continuous storing of the set values.
The values set in counter mode are not stored in E2ROM.

(3) Check sum procedure


Operation range : from # to the last letter of command data
Operation procedure : Add all ASCII code in operation range and take a lower 1 byte.
Add 30H to the 1 byte.
Example: # 0 0 V R
23H 30H 30H 56H 52H
23H + 30H + 30H + 56H + 52H = 12BH
Take 2B and add 30H to each part of the 1 byte. Check sums are 32H and 3BH.
Therefore, command block will be:
# 0 0 V R 2 ; [CR]
23H 30H 30H 56H 52H 32H 3BH 0DH

Note: ASCII code and check sum data


Check sum data are not the letter data of the ASCII code, but correspondence will
be as the table below.

Letter data 0・・・9 A B C D E F


ASCII 30H・・・39H 41H 42H 43H 44H 45H 46H
Check sum 30H・・・39H 3AH 3BH 3CH 3DH 3EH 3FH

- 28 -
(4) Status details
Status is 1 byte data. Lower 4 bit are used and upper 4 bit are unused (reserved).

Meaning of each bit (ON: 1)


b4 b3 b2 b1
in HOLD inputting
Indication overflow
Indication underflow
Counter overflow (reset is required)

(5) Communication format details


①Reading counts VR
Command Block
# 0 0 V R * * [CR]

Unit No. Command Check sum


code

Response Block
# 0 0 V R * * * * * [CR]

Unit No. Command Response Status Check sum


code data

Response data details


+ 0 1 2 3 4 5

Sign Indicated value

- 29 -
②Reading preset data

Command Block
# 0 0 D R * * * * [CR]

Unit No. Command Preset No. Check sum


code
Response Block
# 0 0 D R * * * * * * * [CR]

Unit No. Command Preset No. Response Status Check sum


code

Response data details


+ 3 3 3 3 3 3 + 1 1 1 1 1 1 - 2 2 2 2 2 2 C

Preset value Allowance upper limit Allowance lower limit Output form
(O/H/C)
③Writing preset data
Command Block
# 0 0 D W * * * * * * [CR]

Unit No. Command Preset No. Command Check sum


code data

Command data details


+ 3 3 3 3 3 3 + 1 1 1 1 1 1 - 2 2 2 2 2 2 C

Preset value Allowance upper limit Allowance lower limit Output form
(O/H/C)
Response Block
# 0 0 D W * * * * * [CR]

Unit No. Command Preset No. Status Check sum

Note: For the value of zero (0), sign can be any of +, - or space.
Output form O: 1SHOT output
H: HOLD output
C: COMPARE output

- 30 -
④Reading pre-scale setting
Command Block
# 0 0 P R * * [CR]

Unit No. Command Check sum


code
Response Block
# 0 0 P R * * * * * [CR]

Unit No. Command Response Status Check sum


code data

Response data details


1 0 0 0 0 0 1 1

Multiplication Pre-scale value Decimal point position

⑤Writing pre-scale setting


Command Block
# 0 0 P W * * * * [CR]

Unit No. Command Command Check sum


code data

Command data details


1 0 0 0 0 0 1 1

Multiplication Pre-scale value Decimal point position

Response Block
# 0 0 P W * * * [CR]

Unit No. Command Status Check sum


code

Note: For decimal point position, right end is 0 and in order of 1, 2, 3, 4, 5 towards left.

- 31 -
⑥Reading indication offset setting
Command Block
# 0 0 F R * * [CR]

Unit No. Command Check sum


code
Response Block
# 0 0 F R * * * * * [CR]

Unit No. Command Response Status Check sum


code data

Response data details


+ 0 1 2 3 4 5

Sign Indication offset

⑦Writing indication offset setting

Command Block
# 0 0 F W * * * * [CR]

Unit No. Command Command Check sum


code data

Command data details


+ 0 1 2 3 4 5

Sign Indication offset

Response Block
# 0 0 F W * * * [CR]

Unit No. Command Status Check sum


code

- 32 -
⑧Reading cylinder stop output setting
Command Block
# 0 0 S R * * [CR]

Unit No. Command Check sum


code
Response Block
# 0 0 S R * * * * * [CR]

Unit No. Command Response Status Check sum


code data

Response data details


0 0 1

Stop output set time Unit: 0.1 (s)

⑨Writing cylinder stop output


Command Block
# 0 0 S W * * * * [CR]

Unit No. Command Command Check sum


code data

Command data details


0 0 1

Stop output set time Unit: 0.1 (s)

Response Block
# 0 0 S W * * * [CR]

Unit No. Command Status Check sum


code

Note: Setting time for cylinder stop output is 1 (0.1 second) or more. For zero (0), error
occurs.

- 33 -
⑩Reading output type setting
Command Block
# 0 0 O R * * [CR]

Unit No. Command Check sum


code
Response Block
# 0 0 O R * * * * * [CR]

Unit No. Command Response Status Check sum


code data

Response data details


0

0: Normal output

1: Binary output

⑪Writing output type setting

Command Block
# 0 0 O W * * * * [CR]

Unit No. Command Command Check sum


code data

Command data details


0

0: Normal output

1: Binary output

Response Block
# 0 0 O W * * * [CR]

Unit No. Command Status Check sum


code

- 34 -
⑫Reading input type setting
Command Block
# 0 0 I R * * [CR]

Unit No. Command Check sum


code
Response Block
# 0 0 I R * * * * * [CR]

Unit No. Command Response Status Check sum


code data

Response data details


0

0: Phase difference input of A and B phases

1: Individual input of UP/ DOWN

⑬Writing input type setting


Command Block
# 0 0 I W * * * * [CR]

Unit No. Command Command Check sum


code data

Command data details


0
0: Phase difference input of A and B phases
1: Individual input of UP/ DOWN

Response Block
# 0 0 I W * * * [CR]

Unit No. Command Status Check sum


code

- 35 -
⑭Reading count backup setting
Command Block
# 0 0 B R * * [CR]

Unit No. Command Check sum


code
Response Block
# 0 0 B R * * * * * [CR]

Unit No. Command Response Status Check sum


code data

Response data details


0
0: Backup OFF
1: Backup ON

⑮Writing count backup setting


Command Block
# 0 0 B W * * * * [CR]

Unit No. Command Command Check sum


code data

Command data details


0

0: Backup OFF

1: Backup ON

Response Block
# 0 0 B W * * * [CR]

Unit No. Command Status Check sum


code

- 36 -
⑯Reset input
Command Block
# 0 0 R S * * [CR]

Unit No. Command Check sum


code

Response Block
# 0 0 R S * * * [CR]

Unit No. Command Status Check sum


code

⑰HOLD output release


Command Block
# 0 0 H R * * [CR]

Unit No. Command Check sum


code

Response Block
# 0 0 H R * * * [CR]

Unit No. Command Status Check sum


code

⑱Test transmission
Command Block
# 0 0 T S * * * * [CR]

Unit No. Command Text Check sum


code

Response Block
# 0 0 T S * * * * * [CR]

Unit No. Command Text Error Check sum


code status

- 37 -
Error status details
Code Meaning
0 No troubles
1 Life of E2ROM (cannot write in):
Consult the shop or SMC Corporation.
2 Parity error of E2ROM:
Reset memory. Re-input all the data since these are erased after reset.

Note: Text is up to 10 byte. Error status indicates trouble on the counter side.
Troubles can be checked at turning ON the power. Error status is a text data of
1 byte.

⑲Command error
Response Block
# 0 0 E E * * * [CR]

Unit No. Command Error Check sum


code code

When there is an error in the command block that has been sent, the response block above is
sent back to the host computer side. Error code is a text data of 2 byte.

Error Code Meaning


0 1 Not executed due to count mode
0 2 Not executed due to setting mode
0 3 Set value differs from command format
0 4 No corresponding command
0 5 Not executed due to cylinder stop output OFF
0 6 (Unused)
0 7 (Unused)
0 8 (Unused)
0 9 (Unused)

- 38 -
Chapter 9: BCD Output
CEU5*B-* type only has BCD output function.
(1) BCD output connector : Half pitch D-sub connector
DX10M-36S (made by Hirose Denki)
(2) Applicable connector : DX30AM-36P (plug: made by Hirose Denki)
DX30M-36-CV (cover: made by Hirose Denki)
or commercial cable with connector on the market can be
used, if it is compatible as above.
Note: When connectors (plug and cover) and cables (separately ordered) with the above
mode number are wired, a crimping tool is necessary.
In addition, as applicable connectors and cables are available as ASS’Y,
please contact MISUMI Corporation directly.
SHPT-H-36-L(length): One side of cable is loosened.
SHPT-HH-36-L(length): BCD connectors (male) are mounted on both sides of cable.

(3) Pin allocation and output signals in detail


18 1
C ounter side connector
pin allocation
(D X 10M -36S )
36 19

Pin No. Signal Meaning Pin No. Signal Meaning


1 D0 Digit of 10 -2
Bit0 19 D12 Digit of 101 Bit0
2 D1 Digit of 10-2 Bit1 20 D13 Digit of 101 Bit1
3 D2 Digit of 10-2 Bit2 21 D14 Digit of 101 Bit2
4 D3 Digit of 10-2 Bit3 22 D15 Digit of 101 Bit3
5 D4 Digit of 10-1 Bit0 23 D16 Digit of 102 Bit0
6 D5 Digit of 10-1 Bit1 24 D17 Digit of 102 Bit1
7 D6 Digit of 10-1 Bit2 25 D18 Digit of 102 Bit2
8 D7 Digit of 10-1 Bit3 26 D19 Digit of 102 Bit3
9 D8 Digit of 100 Bit0 27 D20 Digit of 103 Bit0
10 D9 Digit of 100 Bit1 28 D21 Digit of 103 Bit1
11 D10 Digit of 100 Bit2 29 D22 Digit of 103 Bit2
12 D11 Digit of 100 Bit3 30 D23 Digit of 103 Bit3
13 (+/-) Sign 31 N.C. Unused
14 DATA Reading OK signal 32 N.C. Unused
VALID
15 N.C. Unused 33 N.C. Unused
16 COM Signal ground 34 COM Signal ground
17 N.C. Unused 35 N.C. Unused
18 COM Signal ground 36 COM Signal ground
The above output is displayed in the digit of 10-2 to 103 when the counter is connected to SMC
CEP1 series (decimal point setting is ***. **). When it’s connected to CE1 series (point
setting is *****.*), output is displayed in the digit of 10-1 to 104 and the first place of decimal
point is displayed in pin no., 1 to 4 (signal D0 to D3).
BCD output sending out is the same as a value shown in LCD. That is, output includes
pre-scale and offset conditions (“FFFFFF” is outputted for counter IC overflow).
Polarity symbols (+/-) of Pin number 13 are assigned as shown below.
Low level (0): +/ High level (1): -

- 39 -
(4) Wiring example for BCD output part
The below shows a wiring example for NPN output type. For PNP output type, refer to the
wiring shown in “6-4. Wiring of output part.”

CEU5B-* BCD output part PLC input part


(for NPN output type) (for photo-coupler input)

D0 IN

( )
D1 IN

・ ( )

・ ・


D23 IN

COM COM ( )
Output specification: open collector +24V
Max. : 30VDC, 15 mA DC power
0V

(5) Output timing

Data in
Data 1 Data 2
BCD output

DATA VALID

40±3 ms 40±3 ms
24±3 ms 24±3 ms
64±3 ms 64±3 ms

When readout enable signal is High (when output transistor is OFF), data will be valid.
BCD output is continuously transmitted in the timing as shown above.

- 40 -
Chapter 10: When the counter does not operate normally
10-1. Troubleshooting
Page for
Failure Cause Countermeasure
reference
Does not count Is the wiring of encoder input Refer to “Wiring” and correct the 11
correct? wiring.
Is an encoder output signal Change the setting of A/B 9 & 19
matched with the counter input quad-rature input and individual
type? pulse input according to the
encoder output signals.
Is the counter in count mode? Press [MODE] key to switch the 14
current mode to count mode.
Is HOLD input OFF? Turn OFF HOLD input. 7
Indication does not change while
HOLD input is ON.
Are the power voltage and Use a power suitable for the 9
current consumption of the encoder specifications.
encoder within the specification
range of the power used?
Miscounting Is the pre-scale setting proper? Set pre-scale according to the 14 & 18
encoder type and measured
object.
Does the frequency of encoder Reduce the speed and lower the 9
output signals exceed the frequency of encoder output
counting speed? signals.
Is there a source of noise Keep encoder signal wires and 13
nearby? power wires (such as motor)
away from each other at wiring.
Preset output Is the wiring of preset output Refer to “Wiring” and correct the 12
is not sent correct? wiring.
out. Are the values in preset setting Set proper setting values, 23
proper? allowance and output form.
Is the output type setting Check the output type and 5 & 19
correct? select a proper type from normal
output and binary output types.
Is the +/- sign of the preset Count may be minus depending 17
values proper? on the encoder proceeding
direction. In such a case, set
preset values with minus sign.

- 41 -
Page for
Failure Cause Countermeasure
reference
Cylinder stop Is the wiring of cylinder stop Refer to “Wiring” and correct the 12
output is not output correct? wiring.
sent out. Is the set time for output proper? Set proper time taking timing on 19
the reading side into
consideration.
Does the encoder detect the Reduce the vibration or use 9
vibration of the equipment itself encoder with lower resolution.
and keep sending signals even
when the actuating part is
stopped?
Control signal Is the wiring of control signal Refer to “Wiring” and correct the 12
input does not input correct? wiring.
become active. Is each signal inputted in a Reset input requires 10 ms or 12
[RESET] proper time duration? longer for pulse input. Hold
[HOLD] signals for other inputs.
[BANK] Is the counter in count mode? Press [MODE] key to switch the 14
mode to count mode.
RS-232C Is the wiring of RS-232C input/ Refer to “Wiring” and correct the 13
communicatio output correct? wiring. Some devices do not
n cannot be operate only with three signal
done. wires.
Is the communication speed Set the communication speed to 19
proper? have the same speed for the
counter and host computer
Is the transmitted data Transmit data matched with the 27
matched? communication command.
Are the unit numbers specified Match the unit numbers of the 20
matched between the sending counter and transmitted data.
side and receiving side?
Are the command and mode Some command are only active 27
matched? in count mode and others are
only active in setting mode.
Switch to a proper mode for the
command.

- 42 -
10-2. Counter error indication
CEU5 checks troubles at turning ON the power. If an error occurs, take measures below.
Error indication Meaning Measures
Trouble occurred at reading a z Shut off the power and then turn it on
program from ROM. again.
z If normal operation cannot be resumed,
consult the shop or SMC Corporation.
Trouble occurred at testing z Shut off the power and then turn it on
RAM operation. again.
z If normal operation cannot be resumed,
consult the shop or SMC Corporation.
Check sum trouble with z Press any key to delete the memory and
2
E ROM storing the set return to normal state.
values. z Since the set values in the items in which
an error was detected were deleted, make
sure the settings and set values again.
Alarm indication for the z Press any key to return to normal
2
expired life of E ROM. This operation.
is indicated when storing in z The same indication appears after turning
2
E ROM reached to about on the power next time.
800,000 times. z Since replacement is required, consult the
shop or SMC Corporation.

Specifications are subject to change without prior notice.

- 43 -

You might also like