CJ1W CTS21 e
CJ1W CTS21 e
CJ1W CTS21 e
Model
PNSPO Unit via DM for further details.
x 100
90 95
Keep this instruction sheet for future reference.
OMRON MANUFACTURING OF THE NETHERLANDS B.V.
OMRON Corporation 2004 All Rights Reserved
1634330-1A
1
Terminal Block layout Notes:
Use the following table to make connections directly to the screw • Electrical isolation is provided for each data input line. Electrical
terminals block: isolation is not provided for the outgoing clock lines. The
encoder power supply can be connected to the unit’s connector.
Item Description Terminal Description • The power supply should match the encoders specifications.
2 2
Row B no. Row A • Use shielded twisted pair, 2×2×0.25mm (+ optional 2×0.5mm
for PS).
SSI DATA CH1 DATA1 - B1 • The shield must be connected to the SSI encoder and to the
A1 DATA1 + frame-ground near the PLC-system.
• The SSI protocol has no mechanism to reject noise. See section
SSI Clock CH1 CLOCK1 - B2
Noise Prevention for more information.
A2 CLOCK1 + • Recommended maximum cable length by selected clock
SSI Power Supply frequency:
0V_ENC_PS¹ B3
OUT CH1 2 100kHz: < 400m
A3 +_ENC_PS
300kHz: < 100m
N.C. B4 200kHz: < 200m
A4 N.C. 400kHz: < 50m.
SSI DATA CH2 DATA2 - B5
A5 DATA2 +
Communication Errors
During normal operation, the SSI Unit can detect three kinds of
SSI Clock CH2 CLOCK2 - B6 communication errors (see section Error Processing). At the
A6 CLOCK2 + occurrence of a communication error on channel 1(2):
SSI Power Supply • the corresponding error code is set in CIO n+6, n+7
0V_ENC_PS¹ B7
OUT CH2 2
• the corresponding error code is stored inside the SSI Unit
A7 +_ENC_PS • the Global Error Indication bit in CIO (n+8, bit 00) is set
N.C. B8 • the ERC-LED is turned on
A8 N.C. • the corresponding CH1(2)-LED is turned off
Encoder Power This status will remain, even if during the next SSI-communication no
Supply Input 0V_ENC_PS¹ B9
error is detected by the SSI Unit. In this case only the “New valid SSI
2
A9 +_ENC_PS data received” bit in CIO will be set, indicating that for the current SSI
data in CIO no communication error was detected.
1 2
( )( ): All these pins are internally connected. To clear the above error status, the “Clear Error” bit in CIO has to be
set.
The following table describes the possible statuses of the SSI Unit
after proper initialisation:
SSI Communication ERC CH New Status
Item Specification LED / LED Valid
Global SSI data
CLK lines Non-isolated differential line driver, error bit received
RS422 compliant bit
DATA lines Electrically isolated differential line Off On On The channel SSI data in CIO can
receiver, RS422 compliant be used; no error has occurred.
Number of data-bits 9 to 31 (default: 24) Off On Off No new channel SSI data has
Value coding Gray/Binary/Tannenbaum/Raw been received since last cyclic
(default Gray) refresh; no error has occurred.
Clock frequency 100kHz to 1.5MHz (default 400kHz) Off Off Off Channel is not configured for SSI
communication (see DM m+10/20).
Monoflop time 10µs to 99,990µs (default: 40µs)
On Off On The channel SSI data in CIO can
Sample rate Approx. 2500 Samples/sec with 2 be used; a communication error
encoders connected has occurred earlier *.
(with default settings) On Off Off The channel SSI data in CIO
Default: All DM-settings are 0000 cannot be used; a communication
error has occurred *.
On On On The channel SSI data in CIO can
be used; a non-communication
SSI Circuitry error has occurred *.
On On Off No new channel SSI data has
SSI ENCODER Shielded Twisted-pair Cable CJ1W-CTS21-E been received since last cyclic
+ DATA+ refresh; a non-communication error
A1
has occurred *.
RS422
DATA- B1 * See Error Processing section for countermeasures.
-
CLOCK+ +
A2
CLOCK-
B2
RS422 Noise Prevention
The symptoms of picking up noise are random jumps in the SSI data
-
+_ENC_PS values read (CIO n+10/11 and n+15/16). For applications that expect
A3
a continuous change of SSI data values, the PLC application can e.g.
0V_ENC_PS
B3
identify noise by detecting an unexpected large change in the SSI
B9 A9
data values or data values outside the expected range.
2
Configuring the Unit via DM Operating the Unit via CIO
m = D20000 + (Nx100), with N the Machine Number of the Unit. n = CIO2000 + (Nx10), with N the Machine Number of the Unit.
DM Word Bit Function Word Bit Function
General (output)
m 00-15 Reserved* General
m+1 00-15 Reserved* n 00-15 Reserved*
m+2 00-15 Reserved* n+1 00 Read (next) Error (0→1) from error history
m+3 00-15 Reserved* 01 Clear all Errors (0→1) from error history
m+4 00-15 Reserved* 02-15 Reserved*
m+5 00-15 Reserved* n+2 00-15 Reserved*
m+6 00-15 Reserved* n+3 00-15 Reserved*
m+7 00-15 Additional SSI-communication start-up n+4 00-15 Reserved*
delay **: n+5 00-15 Reserved*
0 = 2000ms delay n+6, 00-15 Error Code (See Error Processing section for
1 = 1050ms delay n+7 details)
2 = 500ms delay n+8 00 Global Error Indication
3 = no delay 01 Reserved*
m+8 to 00-15 Reserved* 02 Unit initialising after restart or power-up
m +9
03-15 Reserved*
SSI Channel 1 *** n+9 00-15 Reserved*
m+10 00-15 SSI baudrate: SSI Channel 1
0 = 400kHz
n+10, 00-15 Current SSI data
1 = 100kHz
n+11
2 = 200kHz
n+12 00-07 Optional SSI encoder status (see DM m+15)
3 = 300kHz
4 = 400kHz 08 Valid SSI data received since previous I/O-
5 = 500kHz refresh
6 = 1MHz 09-15 Reserved*
7 = 1.5MHz n+13, 00-15 Reserved*
FFFF = No encoder connected (the rest of n+14
settings is not processed) SSI Channel 2
m+11 00-15 Value coding: n+15, 00-15 Current SSI data
0 = Gray code n+16
1 = Binary n+17 00-07 Optional SSI encoder status (see DM m+25)
2 = Raw SSI data only (settings m+13..16 08 Valid SSI data received since previous I/O-
are not processed) refresh
m+12 00-15 Encoder resolution: 09-15 Reserved*
Number of data bits: [9..31] (in BCD), 0 n+18, 00-15 Reserved*
means value = 24 bits n+19
m+13 00-15 Leading bits ****: Reserved*: Address should not be used, value must be 0000
Number of bits preceding encoder data:
[0..31] (in BCD)
Σ m+12..13 ≤ 31
m+14 00-15 Trailing bits ****:
Number of bits following encoder data:
[0..31] (in BCD)
Σ m+12..14 ≤ 31
m+15 00-15 Optional SSI encoder status bits (see CIO
n+12 bits 00-07):
Number of bits succeeding trailing bits:
[0..8]
Σ m+12..15 ≤ 31
m+16 00-07 Parity check:
0 = no parity check
1 = check for even parity
2 = check for odd parity
Parity is calculated over all bits received.
08-15 Not used
m+17 00-15 Mono-flop time: check if the data line is
high after the mono-flop time has expired.
Set in tens of microseconds (BCD).
m+18 00-15 Reserved*
m+19 00-15 Reserved*
SSI Channel 2 ***
m+20 to 00-15 Same as SSI channel 1, see m+10 to
m+29 m+19
Reserved*: Address should not be used, value must be 0000
** This delay is additional to the PLC-system start-up time.
*** Refer to the operation manual of the SSI encoder for proper
configuration of the SSI Unit’s channels.
**** Trailing and leading bits are to be used for connecting Tannen-
baum coded SSI-encoders. E.g. for a 24-bit Tannenbaum
encoder with 10 multi-turn and 10 single turn-bits and 1 status
bit, centred around bit 12/13, the leading bits have to be set to 2
and the trailing bits to 2.
3
Error Processing
At the occurrence of an error:
• the corresponding error code is transferred to words CIO n+6,
n+7
• the corresponding error code is stored inside the SSI Unit
• the Global Error Indication bit in CIO (n+8, bit 00) is set
• the ERC-LED or ERH-LED is turned on
PNSPO
OMRON EUROPE B.V.
Wegalaan 67-69
NL-2132 JD Hoofddorp
The Netherlands
Phone (+31) 23 - 56 81 300
Fax (+31) 23 - 56 81 388
Internet: www.eu.omron.com
Note: Specification subject to change without notice.
Printed in The Netherlands 1634330-1A