0% found this document useful (0 votes)
212 views39 pages

CTN320 Hardware Manual: Doc. TR229715 Ed. 03 - English - 2 June 1997

The document is a hardware manual for the CTN320 control system that provides: 1) An overview of the CTN320 describing its main components and standalone configuration. 2) Details on the front panel layout including connectors for driver signals and digital/analog inputs and outputs. 3) Information on the motherboard and CPU card layouts. 4) A warning to consult another manual to check proper system installation and connections to reduce disturbances. The manual provides technical specifications and installation instructions for the CTN320 integrated 3-axis control system to help users understand its hardware and set up the system correctly.

Uploaded by

Ivan
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)
212 views39 pages

CTN320 Hardware Manual: Doc. TR229715 Ed. 03 - English - 2 June 1997

The document is a hardware manual for the CTN320 control system that provides: 1) An overview of the CTN320 describing its main components and standalone configuration. 2) Details on the front panel layout including connectors for driver signals and digital/analog inputs and outputs. 3) Information on the motherboard and CPU card layouts. 4) A warning to consult another manual to check proper system installation and connections to reduce disturbances. The manual provides technical specifications and installation instructions for the CTN320 integrated 3-axis control system to help users understand its hardware and set up the system correctly.

Uploaded by

Ivan
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/ 39

CTN320

Hardware manual
Doc. TR229715
Ed. 03 - English - 2 June 1997

Via Scudetto di S.Giuseppe, 23


31100 TREVISO
Tel. +39 422 430243 - Fax +39 422 22474
e-mail: [email protected]
CTN320 Hardware Manual

WARNING
CMZ Sistemi Elettronici can modify or improve the products herein described at any time without prior notice.

This manual has been written by CMZ Sistemi Elettronici exclusively for its customers to provide them with the most
updated information on its products. Information in this document is subject to change and does not represent a
commitment on the part of the company.

Special attention is required when using the functions described to avoid any possible danger for workers, damages to
the machines or any consequential damage that may result from wrong installation or misuse of the equipment.

No further guarantees are given by CMZ Sistemi Elettronici in particular for imperfections, incomplete information
and/or operative difficulties.

2 Doc.TR229715 - Ed.03 - 2 June 1997


SUMMARY

SUMMARY

INTRODUCTION.........................................................................................................................4
AIM OF THE MANUAL.............................................................................................................4
CHAPTER 1. DESCRIPTION OF THE PRODUCT...................................................................5
1.1 CHARACTERISTICS OF THE CONTROLLER...................................................................8
1.1.1 Hardware characteristics..................................................................................................8
1.1.2 Software characteristics...................................................................................................8
CHAPTER 2. OPERATION MODE OF CTN320.......................................................................9
CHAPTER 3. POWER SUPPLY................................................................................................10
CHAPTER 4. CONTROL MACROMODULE..........................................................................11
CHAPTER 5. CHANNEL FOR DRIVER CONTROL..............................................................12
5.1 OUTPUT SIGNALS FROM THE CTN320.........................................................................12
5.2 INPUT SIGNALS FOR THE CTN320................................................................................13
5.3 INPUT SIGNALS FOR THE CTN320 AND FOR THE DRIVER.......................................13
5.4 NUMBERING OF THE CONNECTORS J1 AND P8 - P13................................................13
5.5 FEATURES OF THE ISA/ISE, BTB AND I2T SIGNALS..................................................14
5.5.1 Management of the limitation signals for the maximum torque ISE and ISA. ..................14
5.5.2 Management of the BTB signal......................................................................................15
5.5.3 Management of the I2T signal........................................................................................16
CHAPTER 6. THE ENCODER’S INPUT CHANNEL..............................................................17
CHAPTER 7. DIGITAL INPUTS AND OUTPUTS...................................................................21
7.1 STANDARD DIGITAL INPUTS AND OUTPUTS.............................................................21
CHAPTER 8. COMMUNICATION CHANNELS.....................................................................24
8.1 SERIAL CHANNEL RS232................................................................................................24
8.2 SERIAL CHANNEL RS-422/485........................................................................................25
8.2.1 Serial channel RS422.....................................................................................................25
8.2.2 Serial channel RS485.....................................................................................................26
APPENDIX A. MECHANICAL DIMENSIONS........................................................................28
APPENDIX B. I/OS INTERFACE CARDS...............................................................................29
B.1 MODULAR CARDS...........................................................................................................29
B.2 SINGLE CARDS................................................................................................................31
B.3 CONNECTION EXAMPLES..............................................................................................33
APPENDIX C. OPTIONAL EXPANSION CARDS..................................................................34
C.1 CTN320/R: 16+16 DIGITAL I/Os EXPANSION CARD....................................................35
C2. CTN320/A: 3 ANALOG OUTPUT EXPANSION CARD...................................................36
C3. CTN320/B: ANALOG INPUT EXPANSION CARD..........................................................37
BIBLIOGRAPHY........................................................................................................................39

Doc. TR229715 - Ed.03 - 2 June 1997 3


CTN320 Hardware Manual

INTRODUCTION

AIM OF THE MANUAL

This manual provides general information on the hardware of the axes control system CMZ
CTN320 and all the necessary information for system installation and its operation.

NOTE
Before installing the system, users should consult manual [2] to check which are the correct
connections between the CTN320 and the other plant devices in order to reduce the effect of
disturbances.

4 Doc.TR229715 - Ed.03 - 2 June 1997


Chapter 1. DESCRIPTION OF THE PRODUCT

Chapter 1. DESCRIPTION OF THE PRODUCT

The CTN320 is an integrated 3-axes control system with a high versatility. It uses a microprocessor
MOTOROLA M68331 with 16 bits and 16 Mhz, which permits axes control, digital I/Os
management and communication with other systems by means of communication channels RS232 or
RS422/485.
The system is composed of a single card type double Euro-card and is available in a stand-alone
version (Fig.1.1).
The CTN320 can interact with any kind of driver. Control signals (such as enabling signals, analog
reference, BTB, I2T) are positioned on the connectors on the front board of a support card,
separated in analog and digital signals, channel by channel.
The CTN320 and the support card are contained in an alodine rack.

CMZ CMZ
Chan. 0

Driver Signals Channel 0

Chan. 1

Driver Signals Channel 1

Chan. 2

Driver Signals Channel 2

ATTENTION!!
NEVER REMOVE OR INSTALL
CTN320 THIS MODULE WHILE
VOLTAGE IS APPLIED

DRIVER DRIVER DRIVER

Axis 2 Axis 1 Axis 0

Fig.1.1 CTN320: stand-alone version.

The following figures represent lay-outs of front panels with a description of the various connectors
(Fig.1.2), of the mother board (Fig.1.3) and of the CPU card (Fig.1.4).

Doc. TR229715 - Ed.03 - 2 June 1997 5


CTN320 Hardware Manual

CMZ CMZ

24 VDC
Chan. 0

P8 P9
P1 D
I
A
N
G A
I L
T O
I A G
A
N L
/
O
U
T

Chan. 1

P10 P11
NO NC ZI D A
I N
CH0 G A
I L
CH1 T O
A A
G
CH2 L

P3
P2 R
S
2
3 Chan. 2
2

E
N
C P12 P13
O
D D A
I N
E
R P4 G A
R I L
S T O
4 A A
G
2 L
2
/
4
8
5
ATTENTION!!
NEVER REMOVE OR INSTALL
CTN320 THIS MODULE WHILE
VOLTAGE IS APPLIED

Fig.1.2 Lay-out of the front boards of the CTN320 and of the interface card.

P1 37 pole female connector Signals for the 16 inputs and the 16 outputs
P2 37 pole female connector Encoder signals and input signals for axes initialisation
P3 9 pole female connector Signals of the serial communication channel RS232
P4 9 pole female connector Signals of the serial communication channel RS422/485
P6 37 pole female connector Signals of the optional card (see Appendix C)
P8-10-12 15 pole female connector Digital signals exchanged with the driver
P9-11-13 9 pole female connector Analog signals exchanged with the driver

6 Doc.TR229715 - Ed.03 - 2 June 1997


Chapter 1. DESCRIPTION OF THE PRODUCT

J2 J1

Power supply section


Axes control section
Power
current fuse
Dc/Dc
Transformer Converter
Suppression
filter Primary Secondary
winding winding
110+110 Vac 12+12 Vac

Lithium
battery Ch.0 Ch.2 Ch.1

JP2

Control logic
Section

JP1

16 input + 16 output
Encoders section
Section
+12 +5

I/O w3 w2
fuse

P1 P2

Fig.1.3 Lay-out of the mother board

JP1 - JP2 32 pole tulip type strips Connection of the mother board to the CPU card
J1 DIN 41612 - 64 pole Connector Signals of the three channels for driver control
J2 DIN 41612 - 32 pole Connector Input for 220 V power supply for the network
w2 - w3 Jumpers Select encoder voltage: 5-12V

Figure 1.4 represents a lay-out of the CPUcard with some of its main devices.

JP2

FE MC68881 CPU
optional MC68331
128 K
U U

RAM
EPROM
128 K
sw1
P3 P4
JP1

Fig.1.4 Lay-out of the CPU card

Doc. TR229715 - Ed.03 - 2 June 1997 7


CTN320 Hardware Manual

This figure also shows the following connectors and devices:

sw1 8 dip-switch To select the serial channel RS422 or RS485 and to insert termination
resistors
U dc/dc converter Opto-insulator of the different sections

1.1 CHARACTERISTICS OF THE CONTROLLER

We have already described the characteristics of the CTN320. Below here are listed its hardware
characteristics and some information on the software system provided. For further details see the
specific manuals.

1.1.1 Hardware characteristics

• Power supply section within the mother board


• Control macro-module with Motorola MC683331 micro-controller with 16 bits and 16 MHz.
• Mathematical co-processor Motorola MC68881 (optional).
• 128 KB plugged with a lithium battery.
• 128 KB Flash-EPROM.
• 512 KB EPROM.
• 512 bytes EEPROM.
• 3 control channels for motor driver, with galvanic insulation on the side of the bus and between
the channels, with analog outputs±10 Vdc - 12 bits.
• 3 input channels per incremental encoder and home micro-switch.
• Signals for limiting the maximum torque.
• nr.16 24 Vdc inputs - type PNP - and nr.16 24 Vdc digital inputs 24 Vdc - type PNP, opto-
insulated towards outside
• Serial communication channel RS232, opto-insulated with communication speed up to 38400 bps
(9600 bps default).
• Serial communication channel RS422 or RS485 opto-insulated with communication speed up to
38400 bps (9600 bps default).
• Expansion cards: 16+16 digital I/Os or 4 analog inputs (12 bits) or 3 analog output ( ±10 Vdc - 12
bits) - see appendix C.

1.1.2 Software characteristics

• Multi-task operative system for managing more processes at the same time.
• ASSEMBLER programming language for special functions.
• Forth programming language, especially used for automation.
• AWL programming language, especially used for complex machine cycles.
• Standard software programmes for common applications (interpolation, electric cam, flying shear,
etc.).

8 Doc.TR229715 - Ed.03 - 2 June 1997


Chapter 2. OPERATION MODE OF CTN320

Chapter 2. OPERATION MODE OF CTN320

The CTN320 can be used as an independent system, which can be programmed in order to manage 3
axes, input and output signals, to communicate with the terminal or with other devices through the
serial channels RS-232/422/485.

Input/Output CMZ CMZ

16 In + 16 Out Chan. 0

DRIVER DRIVER DRIVER

Chan. 1

RS232/422/485
Driver Signals
Terminal

Chan. 2
Axis 2 Axis 1 Axis 0

Axis 0 Axis 1 Axis 2


ATTENTION!!
NEVER REMOVE OR INSTALL
CTN320 THIS MODULE WHILE
VOLTAGE IS APPLIED

Encoders and zero-switch signals

Fig.2.1 CTN320 used as a independent system

Doc. TR229715 - Ed.03 - 2 June 1997 9


CTN320 Hardware Manual

Chapter 3. POWER SUPPLY

The CTN320 requires a power supply with alternate voltage of 220 Vac - nominal 30VA. Fig.3.1
shows the connections, the connector J2 (inside the rack, not accessible to the user) and the network
filter.

J2 DIN 41612 32 poles

Ground 2a 2c Ground PE
S
4a 4c
u N
Neutral 6a 6c Neutral
p Power current fuse
f 8a 8c L1
p
i Line 10a 10c Line
r
l 12a 12c
e
t
s
e
s
r
i
o
n
28a 28c
30a 30c
32a 32c

Fig.3.1 Connections for network power supply.

Please note the following limits and characteristics of the power supply:

Voltage range: 145 - 265 Vac.


Frequency range: 47 - 63 Hz.
Network Fuse: from 315 mA delayed.

10 Doc.TR229715 - Ed.03 - 2 June 1997


Chapter 4. CONTROL MACROMODULE.

Chapter 4. CONTROL MACROMODULE.

The following figure shows a block diagram of the control macromodule. On its surface is installed
the CPU MC68331 that manages a 128 KB RAM, a 128 KB Flash-EPROM and a 512 KB EPROM
on 8-bit bus. The co-processor MC68881 (optional - 8 bits) bus is connected to the same bus.
A synchronous serial channel enables to manage the 512 bytes EEPROM (installed in the CPU-
board) and the D/A conversion devices for axes control.
The MC68331 unit as well manages, by means of a DUART, the drivers of the serial channels
RS232 and RS422/485.

RS 422 EPROM RAM flash-EPROM


or RS 232
RS 485 128 KB 128 KB
driver
driver

RS 422/485 RS 232
signals signals 8 bit 8 bit 8 bit

8 bit Data Bus


MC68331 Address Bus
Syncronus serial channel
to mother board
8 bit

EEPROM MC68881

Fig.4.1 Block diagram of the control macromodule.

Doc. TR229715 - Ed.03 - 2 June 1997 11


CTN320 Hardware Manual

Chapter 5. CHANNEL FOR DRIVER CONTROL

This chapter describes the analog and digital output signals of the controller (inputs of the driver see
paragraph 5.1), the analog and digital input signals to enter the controller (for driver’s outputs see
paragraph 5.2) and digital signals, which both the CTN320 system and the driver consider as inputs
(see paragraph 5.3).
Paragraph 5.4 describes connectors configuration, the exact names used for signals and pins
numbering. In paragraph 5.5 there are further information on some signals.

5.1 OUTPUT SIGNALS FROM THE CTN320.

Speed reference. SW2+,SW2-


Analog signal ±10 Vdc obtained by means of a 12 bits D/A converter,
optically insulated on the outer side and in correspondence with other
channels.

NOTE
See [2] for further instructions for the connection of the reference signal to the drivers.

Current reference. ISE


Analog signal ±10 Vdc that the driver can use for testing the torque.
This signal is obtained by a software distribution of the current
reference signal "ISA", which comes from the driver or is set at a
constant value from outside. The signal is optically insulated on the
side of the bus and in correspondence with other channels (see
paragraph 5.5).

Regulation 1:1. 1:1


Digital signal 24 Vdc - type PNP - active at a high level. It achieves
commutation when there is current regulation (if needed). This signal
is optically insulated on the side of the bus.

Enable. E
Digital signal 24 Vdc - type PNP - active at a high level. It enables
the driver operation. This signal is optically insulated on the side of
the bus.

Ready to work BTBOUT1,BTBOUT2


Terminals of a voltage-free contact, which can rebuild for external
use a BTB contact for a driver ready to work (see paragraph 5.5).

12 Doc.TR229715 - Ed.03 - 2 June 1997


Chapter 5. CHANNEL FOR DRIVER CONTROL

5.2 INPUT SIGNALS FOR THE CTN320

Current reference ISA


Analog signal ±10 Vdc that is the reference signal for current exiting
from the driver. This signal can be distributed via software and sent
outside (ISE). The driver can use the ISE signal to limit the maximum
torque (see paragraph 5.5).

I2t Alarm I2T


High active digital signal (24 Vdc). It signals the presence of the
protection I2t of the driver. During normal working, this signal is at 0
Vdc in respect to DGND (see paragraph 5.5).

Ready to work BTBIN1,BTBIN2


Input signals for the controller. They take the terminals from the BTB
contact of the ‘ready to work’ driver and create a new voltage-free
contact for external use named BTBOUT1,BTBOUT2 (see
paragraph 5.5).

5.3 INPUT SIGNALS FOR THE CTN320 AND FOR THE DRIVER.

End-stroke micro switch PSTOP


Low active digital signal (24 Vdc). It informs the controller about the
intervention of the positive end-stroke micro-switch.

End-stroke micro switch NSTOP


Low active digital signal (0 Vdc). It informs the controller about the
interval of the negative end-stroke micro-switch.

NOTE
During normal working, the two signals PSTOP and NSTOP are at 24 Vdc.

WARNING
All the output signals of the CTN320 card sent to the driver need a 24 Vdc power supply, which is
internally taken from the Vaux voltage of the digital input/output. The user must provide external
power supply to make sure that also the driver alone can be enabled (see 7.1).

5.4 NUMBERING OF THE CONNECTORS J1 AND P8 - P13.

The following table shows the numbering of the pins of the connectors J1 (64 pole DIN 41612) and
P8 ÷ P13.
The connector J1 is not available outside . The control signals for the drivers are shown on the
connectors (P8 ÷ P13) on the front side of the interface card.
The installer should take these connectors as a reference.

Doc. TR229715 - Ed.03 - 2 June 1997 13


CTN320 Hardware Manual

Connector J1 Analog signals Digital signals


Connector P9-11-13 Connector P8-10-12
Initials Pin Pin Initials Pin Initials Pin Initials
SW2+/CH2 1a 1c SW2+/CH0 1 AGND 1 DGND
SW2-/CH2 2a 2c SW2-/CH0 2 AGND 2 DGND
1:1/CH2 3a 3c 1:1/CH0 3 AGND 3 DGND
E/CH2 4a 4c E/CH0 4 AGND 4 DGND
PSTOP/CH2 5a 5c PSTOP/CH0 5 AGND 5 DGND
NSTOP/CH2 6a 6c NSTOP/CH0 6 ISE 6 NSTOP
I2T/CH2 7a 7c I2T/CH0 7 ISA 7 DGND
ISA/CH2 8a 8c ISA/CH0 8 SW2- 8 1:1
ISE/CH2 9a 9c ISE/CH0 9 SW2+ 9 BTBout2
BTBIN1/CH2 10a 10c BTBIN1/CH0 10 BTBout1
11a 11c 11 BTBin2
BTBIN2/CH2 12a 12c BTBIN2/CH0 12 BTBin1
13a 13c 13 I2T
DGND/CH2 14a 14c DGND/CH0 14 PSTOP
AGND/CH2 15a 15c AGND/CH0 15 E
16a 16c
17a 17c
18a 18c SW2+/CH1
BTBOUT1/CH0 19a 19c SW2-/CH1
20a 20c 1:1/CH1
BTBOUT2/CH0 21a 21c E/CH1
22a 22c PSTOP/CH1
23a 23c NSTOP/CH1
BTBOUT1/CH1 24a 24c I2T/CH1
25a 25c ISA/CH1
BTBOUT2/CH1 26a 26c ISE/CH1
27a 27c BTBIN1/CH1
28a 28c
BTBOUT1/CH2 29a 29c BTBIN2/CH1
30a 30c
BTBOUT2/CH2 31a 31c DGND/CH1
32a 32c AGND/CH1

Fig.5.1 Signals connections of the of the 3 channels for driver control.

5.5 FEATURES OF THE ISA/ISE, BTB AND I2T SIGNALS.

5.5.1 Management of the limitation signals for the maximum torque ISE and ISA.

The CTN320 permits to limit the driver’s maximum torque by a 100 step digital potentiometer that
distributes a ±10 Vdc (ISA), taken from the driver or set at an external constant value and sends it to
the driver (ISE signal).

First of all this kind of management requires the driver to have a special input for the regulation of
the maximum torque (ISE), otherwise the software limitation for the maximum torque will be
useless. If the driver has this input, there will be two possibilities:

14 Doc.TR229715 - Ed.03 - 2 June 1997


Chapter 5. CHANNEL FOR DRIVER CONTROL

• First possibility. The driver enables access from outside to a reference analog signal (ISA) ±10
Vdc of the power generator. In this case the ISA signal becomes an input signal for the controller,
which distributes the signal and sends it back to the output (the ISE signal is opto-insulated on the
side of the bus and other channels), so the driver can make a digital test on the maximum torque.

• Second possibility. The driver does not send any kind of reference signal of the internal generator.
In this case a fixed signal can be set to the ISA input of the CTN320 (for example a +10 Vdc -
maximum allowed value), which will be distributed by the controller’s digital potentiometer and
then used again (ISE signal) for limiting the value of the maximum torque.

The torque limit can be set with software commands (see [5] and [7]).

NOTE
Please note that if the driver is not provided with an input for limiting the maximum torque, all these
instructions will be useless.

+/-10 Vdc

20 Kohm
ISA signal from servodrive or
+
external constant signal (i.e. +10 Vdc) -
2.2 Kohm
Digital
Trimer
100 STEP
470 ohm
+
+/-10 Vdc -

ISE Signal to servodrive 20 Kohm


2.2 Kohm

CTN320

Fig.5.2 Diagram of the ISE/ISA signals management

5.5.2 Management of the BTB signal.

Some drivers are provided with a special signal to inform the controller about their “ready to work”
condition or any possible misworking. This signal is a relay contact, here called
BTBin.
The contact is normally closed. It opens in case of anomalies.
This contact becomes an input signal for the CTN320 that manages it and builds a clean contact
called BTBout with 24 Vdc and 100 mA (always by relay), available from outside (Fig.5.3). The
user can control the contact rebuilt by the CTN320.

CTN320
1
BTBin
Drive
2

1
BTBout
2

Fig.5.3 Diagram of the BTB signal management

Doc. TR229715 - Ed.03 - 2 June 1997 15


CTN320 Hardware Manual

The two different possibilities are:

• When the driver provides an exiting BTB signal, this signal can be led back to CTN320’s input
(called BTBin - pin 11 and pin 12 of the digital signals’ connector). The CTN320 rebuilds the
signal and makes it available for an output (called BTBout - pin 9 and pin 10 of the digital signals’
connector).

• If the driver does not provide to the output the BTB signal, the management of that signal should
be disabled or there might be a block in the axes control program. BTB management can be
disabled from the software (see [5] and [7]) or the BTB can be excluded by causing a short-circuit
between BTBin1 and BTBin2.

NOTE
The BTBin contact must be a relay contact. The BTBout contact provided to the output by the CTN320 is a
relay contact (24 Vdc 100 mA).

5.5.3 Management of the I2T signal.

Some servo-drivers are provided with a I2T output that signals a prolonged peak dynamic current.
During normal working, this output is 0 Vdc in comparison to DGND. This driver’s output signal
becomes an input signal for the CTN320. If there is a I2T alarm, the CTN320 stops the axes control
program by making axis enter mode 12 (see [5] and [7]).
Not all the drivers are provided with this signal. Therefore there are two possibilities:

• When the driver is provided with a I2T signal, the CTN320 can manage it as above described.

• When the driver is not provided with a I2T signal, the management of the I2T signal should be
disabled via software (see [5] and [7]) or via hardware by connecting the pin I2T (pin 13) and
DGND (pins 1, 2, 3, 4, 5) or by disconnecting them by means of a PNP open collector transistor.

WARNING
Controls on BTB and I2T signals are enabled by default at each total reset of the axes control
programme. The user should disable them by using the software commands available (see [5] and
[7]) or by hardware disconnection.

16 Doc.TR229715 - Ed.03 - 2 June 1997


Chapter 6. THE ENCODER’S INPUT CHANNEL.

Chapter 6. THE ENCODER’S INPUT CHANNEL.

The encoder’s input channel is composed of a real encoder’s input and of two 24 Vdc PNP digital
inputs with an axes initialisation function.
The features of the input channel are:

• Encoder power supply 5 Vdc or 12 Vdc. The system supplies a max. current of 150 mA per
channel. Voltage is selected by the jumpers (w2 and w3 in the lay-out of the mother card -
Fig.1.3) in the card and is valid for all present encoders.

• Inputs for the two encoder phases and for the encoder index pulse signal are configured for
accepting any encoder with a push-pull output, a NPN open collector or a line driver with 5 Vdc
or 12 Vdc. All inputs are provided with a pull-up resistance of 1,2 K Ω. For a good performance
in an electrically disturbed environment use differential line drivers and follow the
instructions in manual [2].

• Counting frequency: 150 KHz primary wave . The counting logic is based on digital filtering
and on multiplying encoder impulses times four. On the input of the encoder index pulse there is
an analog filter with a time constant equal to 50µsec.

• Two opto-insulated digital inputs - type 24 Vdc - are provided for various functions of axes
initialisation.

WARNING
The regulation programme is perfectly efficient when there is a phase coincidence between the
analog command of the driver (signals sw2- and sw2+) and the encoder counting. That is, by giving
an analog positive command the motor should rotate in the direction considered positive within that
application and the encoder counting should increase.
You have to change the polarity of the analog reference signal when with a positive tension the
motor still rotates in the direction considered negative within that application. Instead when the
motor rotates in the correct direction, but the encoder counts in the wrong direction, you have to
exchange the phases FA+ and FA- with FB+ and FB-.
For a correct procedure, first of all assess the coincidence between the reference signal’s polarity and
the motor’s rotation direction. Then assess the counting performed by the encoder and, if necessary,
correct its connections.
For all these tests it is suggested using the T_MOT programme described in manual [5] or [7].

NOTE
If there is an encoder with a single e nded type input section, connect the phases A , B and the encoder index
pulse to their correspondent positive signals FA0+ , FB0+ and TZ0+.

Fig.6.1 shows the connection of the N.0 encoder in a differential way, as well as a possible
connection of the micro-switch for axes initialisation by means of a switch contact. This initialisation
is called type : A.
With this micro-switch type, the zero search operation is possible with or without an encoder
index pulse (see [5] or [7]).

Doc. TR229715 - Ed.03 - 2 June 1997 17


CTN320 Hardware Manual

Figure 6.2 shows alternative ways for axes initialisation ( type B and type C ) by means of the
encoder index pulse, as well as the one-contact (normally open) connections done with a micro-
switch or the connections to a sensor close to a PNP output. For type B a zero search operation is
necessary, even if the encoder does not have an index pulse. Type C is not software managed,
thus requires a management routine.

P2
Shield
-
FA0- 1 A
FA0+ 20 +
FB0- 2 -
FB0+ 21 +B
TZ0- 3 -
TZ0+ 22 +Z
VENC0 14,32 ENCODER
GND0 17,35 N.0
NA0 10
NC0 29
NA1 11 }Mswitch 1
NC1 30 Microswitch +
inizial. asse 0 Vaux
NA2 12 }Mswitch 2 (switch contact)
NC2 31 (24_ Vdc)
COM 13
Type A connection
FA1- 4
FA1+ 23
FB1- 5 ENCODER
FB1+ 24
TZ1- 6 N. 1
TZ1+ 25
VENC1 15,33
GND1 18,36

FA2- 7
FA2+ 26
FB2- 8
ENCODER
FB2+ 27
TZ2- 9 N. 2
TZ2+ 28
VENC2 16,34
GND2 19,37

Fig.6.1 Connection of encoder signals


Connection of the axes initialisation signals with a switch contact (Type A).

NOTE
It is better to connect the encoder’s cable shield to the connector’s shell only on the CTN320 side.

NOTE
For axes initialisation it is better to use a type A connection with switch contact. In this case the red LED
(NC) for the channel should normally be switched on the front part of the CTN320. When the zero search
micro switch is occupied, the red LED should automatically go off, while the yellow LED should
automatically go on (NO).

18 Doc.TR229715 - Ed.03 - 2 June 1997


Chapter 6. THE ENCODER’S INPUT CHANNEL.

Type B connection

P2 P2
NC0 29 (30, 31) NC0 29 (30, 31)
Zero axis microswitch Zero axis proximity +
+
NA0 10 ( 11, 12) Vaux Vaux
NA0 10 ( 11, 12)
( 24 Vdc ) ( 24 Vdc )
_ _
COM 13 COM 13

Type C connection

P2 Zero axis microswitch P2


Zero axis proximity
NC0 29 (30, 31) NC0 29 (30, 31)

NA0 10 ( 11, 12) + NA0 10 ( 11, 12)


+
Vaux
Vaux
( 24 Vdc ) ( 24 Vdc_)
COM 13 _ COM 13

Fig.6.2 Connection of Type B and C signals for axes initialisation


with micro-switch or proximity type PNP

NOTE
As already said, B type connections require a zero search operation with an encoder index pulse (see [5] and
[7]), even if the encoder is not provided with it. C type connections require the management software.
For B type connections the red LED for the channel, on the front of the CTN320, must be on (NC). Therefore
when the micro is occupied, also the yellow LED should get switched on (NO). Vice-versa for C type
connections.

Fig.6.3 shows the electric connections of the encoder input and of the axes initialisation inputs.

+5 Vdc w2
+12 Vdc +VENC0 Rpup = 1.5 Kohm
w3 Rpdn = 1 Kohm
GND0
Rpup Rpup Rs = 1 Kohm

Rs Rt = 120 ohm
+ FA+ Cp = 10 pF
FA
Rs Ct = 0.1 microF
- FA-
Cp Cp Ct
Rpdn Rt

Encoder input stage: fase A

Opto-isolator Yellow Led


Rs
NA0 Rs = 3.4 Kohm
Rp = 1 Kohm
Rs
NC0 Cp = 0.1 microF

Red Led
Rp Rp
Cp Cp
D1

COM
Zero axis contact input stage: 0 channel

Fig.6.3 Electrical connections of the encoder input (phase A)


and of the input stadium for the axes initialisation contact

Doc. TR229715 - Ed.03 - 2 June 1997 19


CTN320 Hardware Manual

WARNING
You can select the correct power supply for the encoder - 5 Vdc or 12 Vdc. Always check if the
encoder requires 5 Vdc or 12 Vdc. The CTN320 is normally provided with a jumper inserted on 5
Vdc, as shown in fig. 6.3.

WARNING
In fig. 6.3 on the differential input there is a terminal resistor Rt dynamically connected through the
Ct capacitor to the two signals FA+ and FA- (and in the same way to all the other encoder input
signals). Note that the Ct capacitor is not normally provided, therefore the user should install it if the
line connecting the encoder (differential) is more than 30 metres long.

20 Doc.TR229715 - Ed.03 - 2 June 1997


Chapter 7. DIGITAL INPUTS AND OUTPUTS

Chapter 7. DIGITAL INPUTS AND OUTPUTS

The CTN320 board is provided with I/O signals for driver control, 16 digital inputs and 16 digital
outputs (other 16+16 digital I/Os are available by means of an expansion card - see appendix C).
These signals can be tested or set by the user by means of one of the language programmes
implemented.

7.1 STANDARD DIGITAL INPUTS AND OUTPUTS

The word ‘standard’ refers to the 16 digital inputs and outputs whose signals are present on the P1
connector with 37 poles on the front of the CTN320. These signals have the following
characteristics:

Input type PNP


Number of inputs 16
Voltage separation Yes (opto-isolators)
Input voltage
- nominal +24 Vdc
- per low signal -30 ÷ +6 Vdc
- per high signal +12 ÷ +30 Vdc
Delay time < 200 µs
Current absorbency 8 mA typical ( per Vaux = 24 Vdc )

Output type PNP


Number of outputs 16
Voltage separation YES (opto-insulators)
Power supply +18 ÷ +30 Vdc (20% max. ripple)
Output current
- 16 outputs switched on 100 mA
- max 5 outputs switched on 400 mA
Output peak current 2 A per 10 msec

Doc. TR229715 - Ed.03 - 2 June 1997 21


CTN320 Hardware Manual

Fuse 2A (delayed)
+Vdc
Green Led
R
GND

OUT0

OUT15
D2 D2

Opto-isolator Rs
INP0 Rs = 3.4 Kohm
Rp = 1 Kohm
Cp = 0.1 microF

Rs
INP15

Rp Rp
Cp Cp
D1

Fig.7.1 Electric diagram of inputs and outputs

NOTE
The top left green LED on the front of the CTN320 signals the presence of the 24 Vdc.

Figures 7.2 and 7.3 show: the P1 connector with its numbering of inputs and outputs (also AWL for
the internal PLC) and of its pins, an example of signals cabling.
For the software management of those signals see software manuals.

22 Doc.TR229715 - Ed.03 - 2 June 1997


Chapter 7. DIGITAL INPUTS AND OUTPUTS

19 Pin Signal AWL Pin Signal AWL


37 address address
18
36 1 Input 5 E0.5 20 Input 6 E0.6
17 2 Input 4 E0.4 21 Input 7 E0.7
35
16 3 Input 2 E0.2 22 Input 13 E1.5
34
15 4 Input 10 E1.2 23 Input 12 E1.4
33 5 Input 11 E1.3 24 Input 9 E1.1
14
32 6 Input 8 E1.0 25 Output 2 A0.2
13
31 7 Input 1 E0.1 26 Input 15 E1.7
I 12
30 8 Input 3 E0.3 27 Output 6 A0.6
N 11 9 Input 0 E0.0 28 Output 1 A0.1
29 O
10 10 Input 14 E1.6 29 Output 10 A1.2
28 U
9 11 Output 5 A0.5 30 Output 4 A0.4
27 T
12 Output 0 A0.0 31 Output 14 A1.6
8
26 13 Output 7 A0.7 32 Output 9 A1.1
7 14 Output 3 A0.3 33 Output 13 A1.5
25
6 15 Output 12 A1.4 34 Output 8 A1.0
24
5 16 Output 15 A1.7 35 Output 11 A1.3
23 17 +Vdc 36 GND
4
22 18 +Vdc 37 GND
3
21 19 +Vdc
2
20
1

DSUB 37 POLES CONNECTOR

Fig.7.2 Configuration of the digital I/O connector

+24 Vdc
+VCC 17
+VCC 18
+VCC 19
GND
GND 36
GND 37
Load

OUT0 12
OUT1 28
Load
OUT2 25
OUT3 14

Switch

INP0 9
INP1 7
Proximity PNP
INP2 3
INP3 8

Fig.7.3 Example of a I/O connection

Doc. TR229715 - Ed.03 - 2 June 1997 23


CTN320 Hardware Manual

Chapter 8. COMMUNICATION CHANNELS

The CTN320 controller is provided with the following communication channels: RS232 (P3
connector) and RS422/485 (P4 connector).

8.1 SERIAL CHANNEL RS232

The serial channel type RS232 has been projected to be used either in programming the CTN320 (by
connecting it to a compatible IBM personal computer on which a communication programme
PCTER is installed) or as a communication channel for an intelligent unit that can be used as a user
interface (MMI).

Pin Sig. Description


1 Not connected
5 2 TXD Transmit data
9 3 RXD Receive data
4
8 4 Not connected
3 5 SG Signal ground
7
2 6 Not connected
6
1 7 CTS Clear to send
8 RTS Request to send
9 Not connected

DSUB9 FEMALE

Fig.8.1 Configuration of the connector of the serial channel RS232

5 SG GND 5

to COM1 PC 3 TXD RXD 3 to RS232 CTN320


2 RXD TXD 2

DSUB 9 FEMALE DSUB 9 MALE

GND 5

RXD 3 to RS232 CTN320


TXD 2

7 SG DSUB 9 MALE
to COM1 PC

3 RXD
2 TXD

DSUB 25 FEMALE

Fig.8.2 Connection cable RS232 between the CTN320 and the PC

24 Doc.TR229715 - Ed.03 - 2 June 1997


Chapter 8. COMMUNICATION CHANNELS

8.2 SERIAL CHANNEL RS-422/485.

The second serial channel can be configured by a dip-switch SW1 in order to work as a RS422 for
connecting a distant intelligent unit (such as a CTN320), or as a RS485 for a multi-point connection.

8.2.1 Serial channel RS422

The following figure represents a P4 connector with pins numbering and an example of connection
between two CTN320 systems or a CTN320 system and another system, such as a host computer. It
also shows the diagrams of transmitting and receiving drivers with terminal resistors, and pull-up /
pull-down resistors.

Pin Sig. Description


1 TXD+ Transmit data High
5 2 RXD+ Receive data High
9 3 Not connected
4
8 4 TXD- Transmit data Low
3 5 SG Signal ground
7
2 6 +Vdc +5 Vdc
6
1 7 Not connected
8 RXD- Receive data Low
9 Not connected

DSUB9 FEMALE

TXD DRIVER RXD DRIVER

TXD- RXD-
TX RX
TXD+ RXD+

470 470 470 470 120

sw1-5 sw1-6 sw1-4 sw1-3 sw1-2

GND +Vdc GND +Vdc

Host Computer
CTN320 or CTN320

5 - SG SG
4 - TXD- RXD-
1 - TXD+ RXD+
8 - RXD- TXD-
2 - RXD+ TXD+

Fig.8.3 RS422 connection and connection of the pull-up and pull-down resistors.

Doc. TR229715 - Ed.03 - 2 June 1997 25


CTN320 Hardware Manual

For the connection of the serial channel RS422 it is better to select the dip-switch sw1 (see Fig.1.4)
as shown in the following figure:

dip-switch n°° Description Set-up

sw1-1 If ON provides the pin 6 with a Vdc=+5 V OFF suggested


sw1-2 It permits the insertion of a terminal resistor of 120 ohm ON suggested
between RXD+ and RXD-
sw1-3 It permits the insertion of a pull -up resistor of 470 ohm in ON suggested
RXD+
sw1-4 It permits the insertion of a pull-down resistor of 470 ohm in ON suggested
RXD-
sw1-5 It permits the insertion of a pull-down resistor of 470 ohm in OFF suggested
TXD-
sw1-6 It permits the insertion of a pull -up resistor of 470 ohm in OFF suggested
TXD+
sw1-7 It permits to select the channel as RS422 ON necessary
sw1-8 It permits to select the channel as RS422 ON necessary

NOTE
Dip-switches sw1-7=OFF and sw1-8=ON can select the channel as serial RS485 (see next paragraph).

8.2.2 Serial channel RS485

A correct set-up of the dip-switch sw1 (see table below) permits to use the channel as serial multi-
point RS485.
This table shows the configuration of the connector P4, the electric diagram of the driver RS485 and
a diagram for multi-point connection between CTN320s.

Pin Sig. Description


1 Not connected
2 BUS H Signal High
3 Not connected
5 4 Not connected
9
4 5 SG Signal ground
8 6 +Vdc +5 Vdc
3
7 7 Not connected
2
6 8 BUS L Signal Low
1 9 Not connected
+Vdc

470

RS-485 Driver sw1-3

BUS+

DSUB9 FEMALE RX BUS-

120 470

TX
sw1-2 sw1-4

GND

CTN320 - 1 CTN320 - 2 CTN320 - 3 CTN320 - N

BUS L BUS H BUS L BUS H BUS L BUS H BUS L BUS H

Signal Ground

Fig.8.4 Connection of the multi-point RS485.

26 Doc.TR229715 - Ed.03 - 2 June 1997


Chapter 8. COMMUNICATION CHANNELS

For this use, select dip-switch sw1 according to the following instructions:

dip-switch n°° Description Set-up

sw1-1 If ON provides the pin 6 with a Vdc=+5 V OFF suggested


sw1-2 It permits to insert a termination resistance of 120 ohm see description
between BUS H and BUS L. The termination resistance must
be inserted (sw1-2=ON) only on the CTN320 at the
beginning and at the end of the bus.
sw1-3 It permits to insert a pull-up resistance of 470 ohm in BUS H see description
The pull-up resistance is provided only for anchoring the
line. It must be inserted (sw1-3=ON) only if the master is not
a CTN320 and it does not pilot the line. In this case only the
CTN320 must have sw1-3=ON.
sw1-4 It permits to insert a pull-down resistance of 470 ohm in see description
BUS L The pull-down resistance is provided only for
anchoring the line. It must be inserted (sw1-4=ON) only if
the master is not a CTN320 and it does not pilot the line. In
this case only the CTN320 must have sw1-4=ON.
sw1-5 It permits to select the channel as RS485 ON necessary
sw1-6 It permits to select the channel as RS485 ON necessary
sw1-7 It permits to select the channel as RS485 OFF necessary
sw1-8 It permits to select the channel as RS485 ON necessary

NOTE
As shown in fig. 8.5 and in the figure below, it is better to use a single cable per each signal (BUS L, BUS H
e Signal Ground) entering and exiting from the serial channel’s connectors of each CTN320. Avoid
derivative type connections.

Fig.8.5 Detail of the correct connection between CTN320 and serial channel RS485.

Doc. TR229715 - Ed.03 - 2 June 1997 27


CTN320 Hardware Manual

Appendix A. MECHANICAL DIMENSIONS

101.6 280
50.8 50.8 10 20
2.5 2.5
7
7
8

12 62

CMZ CMZ

24 VDC
Chan. 0

D A
I N
G A
I L
T O
I A G
N L
/
O
U
T

Chan. 1

NO NC ZI D A
I N
CH0 G A
I L
CH1 T O
A G
CH2 L

R
S
2
3 Chan. 2
2

E
N
C
O
D D A
E I N
R G A
R I L
S T O
4 A G
2 L
2
/
4
8
5
ATTENTION!!
NEVER REMOVE OR INSTALL
CTN320 THIS MODULE WHILE
VOLTAGE IS APPLIED

62
7
3.5

6.5
18.8 59 18.8

28 Doc.TR229715 - Ed.03 - 2 June 1997


Appendix B. I/Os INTERFACE CARDS

Appendix B. I/Os INTERFACE CARDS

The input-output devices can be easily connected using some I/O


s interface cards (DIN slide).

B.1 MODULAR CARDS

The following interface cards are used only for digital I/O s connections. A cascade connection can be
used between these cards.

MICAFC: Input: DSUB 37 poles male connector


Output: FLAT CABLE 34 poles connector

DSUB 37 poles connector FLAT CABLE connector


to CTE 300 to interface modules

+ -

Power supply LED


24Vdc

floor space = 67,5mm x 82mm

fig. B.1 MICAFC card

MI32IO: 16 inputs, 16 outputs


Input: FLAT CABLE 34 poles connector
Output: terminal block 37 poles connector

Doc. TR229715 - Ed.03 - 2 June 1997 29


CTN320 Hardware Manual

FLAT CABLE 34 POLES


from other modules

Input presence leds


Power supply led
Output ON leds
Pin Description Pin Description
+ +Vdc 17 Input 15
+ +Vdc 18 Input 14
31 16
1 Output 15 19 Input 13
2 Output 14 20 Input 12
3 Output 13 21 Input 11
15 0
4 Output 12 22 Input 10
5 Output 11 23 Input 9
6 Output 10 24 Input 8
7 Output 9 25 Input 7
8 Output 8 26 Input 6
9 Output 7 27 Input 5
+ + 1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1
0 1 2 3 4 5 6
10 Output 6 28 Input 4
11 Output 5 29 Input 3
12 Output 4 30 Input 2
1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 - -
7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 13 Output 3 31 Input 1
14 Output 2 32 Input 0
15 Output 1 - GND
floor space = 112,5mm x 82mm 16 Output 0 - GND

fig. B.2 MI32IO card

MI16IO: 16 inputs
Input: FLAT CABLE 34 poles connector
Output: terminal block 18 poles connector (withLEDs)
FLAT CABLE 34 POLES
from other modules Power supply led

Input presence leds


Pin Description
+ +Vdc
1 Input 15
15 8
2 Input 14
3 Input 13
4 Input 12
7 0
5 Input 11
6 Input 10
7 Input 9
8 Input 8
9 Input 7
10 Input 6
+ 1 2 3 4 5 6 7 8
11 Input 5
12 Input 4
13 Input 3
9 1 1 1 1 1 1 1 -
0 1 2 3 4 5 6 14 Input 2
15 Input 1
16 Input 0
floor space = 68,3mm x 82mm - GND

fig. B.3 MI16IO card

MIFCRE: 8 relay output.


Input: FLAT CABLE 34 poles connector
Output: terminal block 24 poles connector (withLEDs)

30 Doc.TR229715 - Ed.03 - 2 June 1997


Appendix B. I/Os INTERFACE CARDS

Power supply led Configuration jumpers

3 3 2 22 2 22 2 2 22 1 11 1 1 11 1 11 9 8 76 5 43 2 10
1 0 9 87 6 54 3 2 10 9 87 6 5 43 2 10

FLAT CABLE 34 POLES FLAT CABLE 34 POLES


from other modules to other modules

7 6 5 4 3 2 1 0

1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4

N C N N C NN C N N C N N C N N C N N C N N C N
A O C A O C A O C A O C A O C A O C A O C A O C
M M M M M M M M
floor space = 157,5mm x 82 mm

fig. B.4 MIFCRE card

The MIFCRE card has some configuration jumpers. Using these jumpers is possible to associate a
single relay with a single digital output. In the CTN320 system only the jumpers from 16 to 31 can
be used. The following table shows the MIFCRE card configuration.

A0.0 A0.1 A0.2 A0.3 A0.4 A0.5 A0.6 A0.7 A1.0 A1.1 A1.2 A1.3 A1.4 A1.5 A1.6 A1.7
relay 0 16 24
relay 1 17 25
relay 2 18 26
relay 3 19 27
relay 4 20 28
relay 5 21 29
relay 6 22 30
relay 7 23 31

table B.1 MIFCRE card configuration

B.2 SINGLE CARDS

The following interface cards can’t be connected in cascade mode.

MI-V37M-DR: 16 inputs, 16 outputs


Input: DSUB 37 poles male connector
Output: terminal block 37 poles connector (withoutLEDs)

MI-V37M-DA: 16inputs, 16 outputs o analog inputs


Input: DSUB 37 poles male connector
Output: terminal block 37 poles connector (withoutLEDs)

Doc. TR229715 - Ed.03 - 2 June 1997 31


CTN320 Hardware Manual

NOTE
The MI-V37M-DR card is only used for digital I/O s connections, while the MI-V37M-DA can be used for
analog inputs connections too (see appendix C).

WARNING
These cards transfer the signals from DSUB connector to terminal block connector. See fig 7.2 for
connectors configuration.

32 Doc.TR229715 - Ed.03 - 2 June 1997


Appendix B. I/Os INTERFACE CARDS

B.3 CONNECTION EXAMPLES

Parallel cable C237


(length 2m) Flat cable CCMI05

CTN320
INOUT

MICAFC MIFCRE 0 MIFCRE 1 MI16IO


8 relè 8 relè 16 inputs
outputs outputs

Parallel cable C237


(length 2m) Flat cable CCMI05

CTN320
INOUT

MICAFC MIFCRE 0 MI32IO


8 relè 8 outputs
outputs +16 inputs

Parallel cable C237


(length 2m) Flat cable CCMI05

CTN320
INOUT

MICAFC MI32IO
16 outputs
+16 inputs

Parallel cable C237


(length 2m)

CTN320
INOUT
MI-V37M-DR
O
MI-V37M-DA

16 outputs
+16 inputs

fig. B.5 Interface cards connection examples

Doc. TR229715 - Ed.03 - 2 June 1997 33


CTN320 Hardware Manual

Appendix C. OPTIONAL EXPANSION CARDS

This appendix provides hardware information on 3 different expansion cards that can be installed in
the CTN320.
The software functions used to manage these expansion cards, are described in the manuals [4] - [6]
- [8]. The three version of CTN320 provided with expansion cards are:

CTN320/R CTN320 with 16 additional digital inputs and 16 additional digital outputs (in this
case the total number of I/Os available is 32+32).

CTN320/A CTN320 with 3 additional analog outputs and 8 additional digital inputs.

CTN320/B CTN320 with 4 additional analog inputs.

The signals of these cards are available on a 37 female pole connector, placed on the front panel of
the CTN320 beside a standard I/O 37 pole connector (see Fig. C1).

CMZ

24 VDC 24 VDC

Expansion connector

I
N
/ A
O U
U X
T

NO NC ZI
CH0

CH1

CH2

R
S
2
3
2

E
N
C
O
D
E
R
R
S
4
2
2
/
4
8
5

CTN320

Fig.C.1 Expansion cards connector on the CTN320 front panel

Only one of the three available expansion cards can be installed in a CTN320.

34 Doc.TR229715 - Ed.03 - 2 June 1997


Appendix C. OPTIONAL EXPANSION CARDS

C.1 CTN320/R: 16+16 DIGITAL I/Os EXPANSION CARD

The 16+16 digital I/Os provide by the expansion card in the CTN320 /R have the same features as
the standard 16+16 digital I/Os (see chapter 7).
Also the numbering of the pins of the expansion card connector is the same as the standard I/Os
connector.

However, the I/Os features and the connector configuration are shown below::

Input type PNP


Number of inputs 16
Voltage separation Yes (opto-isolators)
Input voltage
- nominal +24 Vdc
- per low signal -30 ÷ +6 Vdc
- per high signal +12 ÷ +30 Vdc
Delay time < 200 µs
Current absorbency 8 mA typical ( per Vaux = 24 Vdc )

Output type PNP


Number of outputs 16
Voltage separation YES (opto-insulators)
Power supply +18 ÷ +30 Vdc (20% max. ripple)
Output current
- 16 outputs switched on 100 mA
- max 5 outputs switched on 400 mA
Output peak current 2 A per 10 msec

Fig.C2 Features of the 16+16 digital I/Os of the expansion card

The following figure represents the expansion card connector and the numbering of its pins.

The software numbering of the I/Os of the expansion card follows the numbering of standard I/Os,
so from number 16 to 31, which correspond to the bytes 2 and 3 of the PLC.

Doc. TR229715 - Ed.03 - 2 June 1997 35


CTN320 Hardware Manual

19 Pin Signal AWL Pin Signal AWL


37 address address
18
36 1 Input 21 E2.5 20 Input 22 E2.6
17 2 Input 20 E2.4 21 Input 23 E2.7
35
16 3 Input 18 E2.2 22 Input 29 E3.5
34
15 4 Input 26 E3.2 23 Input 28 E3.4
33 5 Input 27 E3.3 24 Input 25 E3.1
14
32 6 Input 24 E3.0 25 Output 18 A2.2
13
31 7 Input 17 E2.1 26 Input 31 E3.7
A 12
30 8 Input 19 E2.3 27 Output 22 A2.6
U 11 9 Input 16 E2.0 28 Output 17 A2.1
29 X
10 10 Input 30 E3.6 29 Output 26 A3.2
28 11 Output 21 A2.5 30 Output 20 A2.4
9
27 12 Output 16 A2.0 31 Output 30 A3.6
8
26 13 Output 23 A2.7 32 Output 25 A3.1
7 14 Output 19 A2.3 33 Output 29 A3.5
25
6 15 Output 28 A3.4 34 Output 24 A3.0
24
5 16 Output 31 A3.7 35 Output 27 A3.3
23 17 +Vdc 36 GND
4
22 18 +Vdc 37 GND
3
21 19 +Vdc
2
20
1

DSUB 37 POLES CONNECTOR

Fig.C3 connector of the 16+16 I/Os expansion card

NOTE
The connections of these optional I/Os are the same as for standard I/Os (see chapter 6).

NOTE
The operating system already provides AWL instructions and Forth words to manage these additional digital
I/Os.

C2. CTN320/A: 3 ANALOG OUTPUT EXPANSION CARD

The CTN320/A permits the management of 3 analog outputs and 8 digital inputs.
Digital inputs have the same features as the standard digital input (see chapter 7 or paragraph C1).
The numbering of these inputs going from 16 to 23 corresponds to byte 2 of the PLC.
The features of the 3 analog outputs are shown in this table:

Output type Analog: ±10 Vdc - 12 bits


Outputs number 3
Voltage separation Yes (opto-isolators)
Maximum current 2.5 mA
Loading permitted ≥ 4 KΩ (for max. range ±10 Vdc)
Permits time for output short-circuit indefinite

Fig.C4 Analog outputs features

NOTE
In order to use the analog outputs a file calledESP_3DA.TRX must be compiled in the CTN320 (see [8]).

36 Doc.TR229715 - Ed.03 - 2 June 1997


Appendix C. OPTIONAL EXPANSION CARDS

The following figure shows the numbering and meaning of the pins of the expansion connector.

19 Pin Signal AWL Pin Signal AWL


37 address address
18
36 1 Input 21 E2.5 20 Input 22 E2.6
17 2 Input 20 E2.4 21 Input 23 E2.7
35
16 3 Input 18 E2.2 22
34
15 4 23
33 5 24
14
32 6 25
13
31 7 Input 17 E2.1 26
A 12
30 8 Input 19 E2.3 27
U 11 9 Input 16 E2.0 28
29 X
10 10 29
28 11 30
9
27 12 31 GND Uscita 2
8
26 13 Usc. analogica 2 32
7 14 GND Uscita 1 33 Usc. analogica 1
25
6 15 34 GND Uscita 0
24
5 16 Usc. analogica 0 35
23 17 36 GND Ingressi
4
22 18 37 GND Ingressi
3
21 19
2
20
1

DSUB 37 POLES CONNECTOR

Fig.C5 CTN320/A expansion connector

C3. CTN320/B: ANALOG INPUT EXPANSION CARD

The CTN320/B permits the management of 4 opto-isolated analog inputs. These inputs can be:

• 4 auto-powered (±2.5 Vdc) potentiometric inputs with 12 bit resolution (0 - $FFFF) and with
input impedance bigger than 1MΩ. The digital value 0 corresponds to the analog value -2.5 Vdc,
while the value $FFFF corresponds to the value +2.5 Vdc.

• 4 voltage inputs (±5 Vdc) with 12 bit resolution (0 - $FFF) and input impedance bigger than
1MΩ. The digital value 0 corresponds to the analog value -5 Vdc, while the value $FFF
corresponds to the value +5 Vdc.

• 4 voltage inputs (±10 Vdc) with 12 bit resolution (0 - $FFF) and input impedance equal to
40KΩ. The digital value 0 corresponds to the analog value -10 Vdc, while the value $FFF
corresponds to the value +10 Vdc.

• 4 current inputs (0 - 20 mA) with 12 bit resolution (0 - $FFF) and input impedance equal to
125Ω

Doc. TR229715 - Ed.03 - 2 June 1997 37


CTN320 Hardware Manual

WARNING
It is necessary to choose one of these four possibilities when purchasing the system since the
hardware configuration of the expansion card is different in the four cases.

NOTE
In order to use analog inputs, it is necessary to compile a file called ESP_ACQ.TRX in the CTN320 (see
[8]).

The following figure shows the numbering and meaning of pins of the expansion connector.

19 Pin Signal Pin Signal


37
18
36 1 20
17 2 21
35
16 3 22
34
15 4 23
33 5 24
14
32 6 25
13
31 7 26
A 12
30 8 27
U 11 9 GND 28 GND
29 X
10 10 GND 29
28 11 30
9
27 12 31
8
26 13 32
7 14 33
25
6 15 34 +2.5 Vdc per In.2 e In.3
24
5 16 Ingresso 3 35 Ingresso 2
23 17 -2.5 Vdc per In.2 e In.3 36 +2.5 Vdc per In.0 e In.1
4
22 18 Ingresso 1 37 Ingresso 0
3
21 19 -2.5 Vdc per In.0 e In.1
2
20
1

DSUB 37 POLES CONNECTOR

Fig.C6 CTN320/B expansion connector

38 Doc.TR229715 - Ed.03 - 2 June 1997


BIBLIOGRAPHY

BIBLIOGRAPHY

[2] ELECTROMAGNETIC DISTURBANCES


[3] 331 SOFTWARE Basic notions
[4] 331 SOFTWARE PLC manual ver.3.11
[5] 331 SOFTWARE Axes controller in AWL
[6] 331 SOFTWARE Forth base manual
[7] 331 SOFTWARE Axes controller in Forth
[8] 331 SOFTWARE Peripheral manual

Doc. TR229715 - Ed.03 - 2 June 1997 39

You might also like