2,3. Multi-Counter - CEU5-D - SMC
2,3. Multi-Counter - CEU5-D - SMC
: CE*-OMB0060-C
OPERATION MANUAL
! 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.
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.
3. Grounding
Ground terminal block F.G. (Frame Ground). Do not ground it with devices generating strong
electromagnetic noise.
5. Check wiring
Incorrect wiring may cause damage or malfunction of the products. Make sure the wiring is
correct before operation.
- 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.
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.
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.
Output terminal ① ② ③ ④ ⑤
Output terminal ① ② ③ ④ ⑤ Pattern showing No. 3 On On Off Off Off
Preset No. 6 7 8 9 10
- 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
3
×4 2
1
0
3
M u ltip lie r 2 2
1 1
×1 0
(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.
- 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.
- 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** 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
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, 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
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
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
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
A
680Ω
COM B lue
+12V
+12V
( ) 1 kΩ Y ellow
B
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
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
CEU5PB-D
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.
LCD
- 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.
- 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.
- 18 -
DOWN
③-3 FUNC. FUNC.
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.
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.
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.
000OFF OA
UP
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 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.
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 (-) (+)
- 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
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.
ON ON
Reset signal Reset signal
OFF
10~100ms
- 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.
(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
- 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.
- 28 -
(4) Status details
Status is 1 byte data. Lower 4 bit are used and upper 4 bit are unused (reserved).
Response Block
# 0 0 V R * * * * * [CR]
- 29 -
②Reading preset data
Command Block
# 0 0 D R * * * * [CR]
Preset value Allowance upper limit Allowance lower limit Output form
(O/H/C)
③Writing preset data
Command Block
# 0 0 D W * * * * * * [CR]
Preset value Allowance upper limit Allowance lower limit Output form
(O/H/C)
Response Block
# 0 0 D W * * * * * [CR]
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]
Response Block
# 0 0 P W * * * [CR]
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]
Command Block
# 0 0 F W * * * * [CR]
Response Block
# 0 0 F W * * * [CR]
- 32 -
⑧Reading cylinder stop output setting
Command Block
# 0 0 S R * * [CR]
Response Block
# 0 0 S W * * * [CR]
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]
0: Normal output
1: Binary output
Command Block
# 0 0 O W * * * * [CR]
0: Normal output
1: Binary output
Response Block
# 0 0 O W * * * [CR]
- 34 -
⑫Reading input type setting
Command Block
# 0 0 I R * * [CR]
Response Block
# 0 0 I W * * * [CR]
- 35 -
⑭Reading count backup setting
Command Block
# 0 0 B R * * [CR]
0: Backup OFF
1: Backup ON
Response Block
# 0 0 B W * * * [CR]
- 36 -
⑯Reset input
Command Block
# 0 0 R S * * [CR]
Response Block
# 0 0 R S * * * [CR]
Response Block
# 0 0 H R * * * [CR]
⑱Test transmission
Command Block
# 0 0 T S * * * * [CR]
Response Block
# 0 0 T S * * * * * [CR]
- 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]
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.
- 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.
- 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.”
D0 IN
( )
D1 IN
・ ( )
・
・ ・
・
・
D23 IN
COM COM ( )
Output specification: open collector +24V
Max. : 30VDC, 15 mA DC power
0V
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.
- 43 -