CP1L Analog Input Board Overview
CP1L Analog Input Board Overview
505
General Specifications
CP1 series analog option board units are non-isolated analog units which
allow you to easily realize analog input/output function for CP1L-EL/EM series
PLC.
506
Installation and Setting
The following processing explains how to install and remove an Analog Option
Board.
Always turn OFF the power supply to the CPU unit and wait until all the oper-
ation indicators go out before installing or removing the analog option board.
Not doing so may result in an unexpected operation.
1,2,3... 1. Press the up/down lock-levers on both sides of the Option Board slot cover
at the same time to unlock the cover, and then pull the cover out.
2. Check the alignment to make the corner cut of the Analog Option Board fit
in the Option Board slot, and firmly press the Analog Option Board in until
it snaps into place.
To use the analog option board on CP1L-EL/EM series PLC, firstly, it is neces-
sary to set the serial communication settings of the CPU Unit in one of the fol-
lowing two ways.
Set by Dipswitch on PLC unit.
For CPU Units with 30 and 40 points, switch DipSW4 of the CPU unit to ON, if
the Analog Option Board is mounted on the Option Board slot 1 (left side).
Switch DipSW5 of the CPU unit to ON, if the Analog Option Board is mounted
on the Option Board slot 2 (right side).
For CPU Units with 20 I/O points, switch DipSW4 of the CPU unit to ON.
DipSW4 and DipSW5 are OFF at shipment.
COM 01 03 05 07 09 11 01 03 05 07 09 11
NC 00 02 04 06 08 10 00 02 04 06 08 10
ON
00 01 02 03 04 06 00 01 03 04 06
COM(V+) COM 05 07 COM 02 COM 05 07
1 2 3 4 5 6
DipSW4 DipSW5
Always turn OFF the power supply to the CPU unit and wait until all the oper-
ation indicators go out.
Press the up/down lock-levers on both sides of the Analog Option Board at
the same time to unlock the Option Board, and then pull it out.
507
Memory Allocation
The memory allocation about analog conversion in the CIO area of PLC is
shown as the following diagram.
The beginning CIO channel is shown in the following table.
The details of allocated CIO channels are described in the following table.
0: output effective
A500.15 Output Off Bit
1: analog option board DA output clear
This bit will also affect other PLC output channels. Please refer to Appendix D
Auxiliary Area Allocations by Address for more information.
508
Analog Input Option Board
Each CP1W-ADB21 Analog Input Option Board provides two analog inputs.
• The analog input signal ranges are 0 to 10 V (with a resolution 1/4,000)
and 0 to 20 mA (with a resolution 1/2,000).
Analog input data is digitally converted according to the input signal range as
shown below.
When the input exceeds the specified range, the A/D conversion data will be
fixed at either the lower limit or upper limit.
Converted Data
Hexadecimal (Decimal)
0FFF(4095)
0FA0(4000)
0000(0)
0V 10V 10.24V
509
Analog Input Option Board
07D0(2000)
0000(0)
0mA 20mA
180 k
VI1
56 k 250
II1
Analog input 1
Internal circuits
to to
180 k
VI2
56 k 250
II2
Analog input 2
COM ( )
Analog ground
510
Analog Input Option Board
• Recommended ferrules
Manufacturer Model Applicable wire
Phoenix Contact AI-0.5-10 0.5mm2 (AWG20)
When wiring the analog I/O terminal block, treat either solid or stranded wires
directly.
2-conductor shielded
twisted-pair cable
Release button
• To make the connection, press the release button in with a small flat blade
screwdriver and push the line in while the lock is released. Remove the
screwdriver and lock it inside.
• To disconnect the wiring, press the release button in with a small flat
blade screwdriver and pull the line out while the lock is released.
Side Front
0.4mm 2.5mm
511
Analog Output Option Board
To prevent noise, 2-core shielded twisted-pair cable should be used. And the
shield can be connected to the FG terminal if necessary.
When connecting the analog option board to an outside analog device, either
ground the 0 V side of the PLC’s external power supply or do not ground the
PLC’s external power supply at all. Otherwise the PLC’s external power sup-
ply may be shorted depending on the connection methods of the outside ana-
log device. DO NOT ground the 24 V side of the PLC's external power supply,
as shown in the following diagram.
0V 0V
0V
FG
Each CP1W-DAB21V Analog Output Option Board provides two analog outputs.
• The analog output signal range is 0 to 10 V (with a resolution 1/4,000).
512
Analog Output Option Board
The analog values depend on the output signal range, as shown in the follow-
ing diagram.
When the output exceeds the specified range, the output signal will be fixed at
either the lower limit or upper limit.
10.24V
10V
VO1
Analog output 1
Internal circuits
to to
VO2
Analog output 2
COM( )
Analog ground
513
Analog Output Option Board
• Recommended ferrules
Manufacturer Model Applicable wire
Phoenix Contact AI-0.5-10 0.5mm2 (AWG20)
When wiring the analog I/O terminal block, treat either solid or stranded wires
directly.
2-conductor shielded
twisted-pair cable
Release button
• To make the connection, press the release button in with a small flat blade
screwdriver and push the line in while the lock is released. Remove the
screwdriver and lock it inside.
• To disconnect the wiring, press the release button in with a small flat
blade screwdriver and pull the line out while the lock is released.
Side Front
0.4mm 2.5mm
514
Analog Output Option Board
To prevent noise, 2-core shielded twisted-pair cable should be used. And the
shield can be connected to the FG terminal if necessary.
2-core shielded
twisted-pair cable
V OUT
Analog Analog
output device with
option voltage
board COM input
FG
When connecting the analog option board to an outside analog device, either
ground the 0 V side of the PLC’s external power supply or do not ground the
PLC’s external power supply at all. Otherwise the PLC’s external power sup-
ply may be shorted depending on the connection methods of the outside ana-
log device. DO NOT ground the 24 V side of the PLC’s external power supply,
as shown in the following diagram.
0V 0V
0V
FG
515
Analog I/O Option Board
Each CP1W-MAB221 Analog I/O Option Board provides two analog inputs
and two analog outputs.
• The analog input signal ranges are 0 to 10 V (with a resolution 1/4,000)
and 0 to 20 mA (with a resolution 1/2,000).
• The analog output signal ranges are 0 to 10 V (with a resolution 1/4,000).
The analog values depend on the I/O signal ranges, as shown in the following
diagrams.
When the input exceeds the specified range, the A/D conversion data will be
fixed at either the lower limit or upper limit.
When the output exceeds the specified range, the output signal will be fixed at
either the lower limit or upper limit.
516
Analog I/O Option Board
Converted Data
Hexadecimal (Decimal)
0FFF(4095)
0FA0(4000)
0000(0)
0V 10V 10.24V
07D0(2000)
0000(0)
0mA 20mA
10.24V
10V
517
Analog I/O Option Board
180 k
VI1 VO1
56 k 250 Analog output 1
II1
Analog input 1
Internal circuits
Internal circuits
to to
to to
180 k VO2
VI2
56 k 250 Analog output 2
II2
Analog input 2
COM( )
COM( )
Analog ground Analog ground
• Recommended ferrules
Manufacturer Model Applicable wire
Phoenix Contact AI-0.5-10 0.5mm2 (AWG20)
When wiring the analog I/O terminal block, treat either solid or stranded wires
directly.
518
Analog I/O Option Board
2-conductor shielded
twisted-pair cable
Release button
• To make the connection, press the release button in with a small flat blade
screwdriver and push the line in while the lock is released. Remove the
screwdriver and lock it inside.
• To disconnect the wiring, press the release button in with a small flat
blade screwdriver and pull the line out while the lock is released.
Side Front
0.4mm 2.5mm
To prevent noise, 2-core shielded twisted-pair cable should be used. And the
shield can be connected to the FG terminal if necesssary.
519
Startup Operation
2-core shielded
twisted-pair cable
V OUT
Analog Analog
I/O device with
Option voltage
Board COM input
FG
When connecting the analog option board to an outside analog device, either
ground the 0 V side of the PLC’s external power supply or do not ground the
PLC’s external power supply at all. Otherwise the PLC’s external power sup-
ply may be shorted depending on the connection methods of the outside ana-
log device. DO NOT ground the 24 V side of the PLC’s external power supply,
as shown in the following diagram.
0V 0V
0V
FG
After the power is turned ON, analog option board starts the initialization pro-
cess. If the initialization finishes normally, the initialization completed flag in
related status area (Refer to : A435) will be
set. Therefore, status monitor content must be added in ladder. Only when the
initialization process has finished, user can use the A/D conversion data or
write the output data.
The analog input data will be 0000 until the initial processing is completed.
520
Trouble Shooting
Lit CPU Unit service Service from the Check and cor- A435.14 or AD/DA conversion will stop. The
monitoring error CPU Unit was rect the CPU A435.15 analog input conversion data
not completed Unit's operating will be OFF stops refreshing and the analog
within the fixed environment. output conversion output
interval. Check serial becomes 0V.
communication
setting.
Option board An error Restart the CPU
error occurred in the Unit. Replace
Analog Option the Analog
Board. Option Board if
the error recurs.
Flashing Communication The communica- Check if PLC is A435.14 or AD/DA conversion will stop. The
error tion between running normally. A435.15 analog input conversion data
PLC is out of ser- will be OFF stops refreshing and the analog
vice output conversion output
becomes 0V. If the communica-
tion recovers from error, the
AD/DA conversion will start
again.
Two methods:
Communication protocol
setting 1. DipSW4/DipSW5 set ON: TOOLBUS auto-detect
2. DipSW4/DipSW5 set OFF: Set communication protocol in PLC settings to
TOOLBUS, 115200bps
Wait until the analog option board finishes initialization and works normally.
Make the ladder program
(1) If PLC communication protocol setting is error, the option board will al-
ways try to link the PLC, and the error LED will flash.
(2) Only when the initialization process has finished (AR435.14/15 sets on),
user can use the A/D conversion data or write the D/A output data.
521
The Use of Analog Option Board
Use the analog option board to carry out 2CH AD inputs and 1CH DA output
at the same time.
The ranges of AD/DA are as follows:
Analog input1: 0~10V
Analog input2: 0~20mA
Analog output1: 0~10V
Execution
condition A435.14
MOV(021)
2980
D0 Reads analog input 1's converted value to D0.
Execution
condition A435.14
MOV(021)
2981
D1 Reads analog input 2's converted value to D1.
Execution
condition A435.14
MOV(021)
D2
2985 The content of D2 is written to the analog
output 1.
522