Date post: | 07-Aug-2018 |
Category: |
Documents |
Upload: | yuni-raflatahugs |
View: | 219 times |
Download: | 0 times |
of 8
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
1/18
505
SECTION 10Analog Input/Output Option Board
This section describes how to use Analog Input/Output Option Board.
10-1 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506
10-2 Part Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506
10-3 Installation and Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
10-3-1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
10-3-2 Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
10-3-3 Removing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
10-4 Memory Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
10-4-1 CIO Area Allocation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
10-4-2 Auxiliary Area Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
10-5 Analog Input Option Board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 509
10-6 Analog Output Option Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512
10-7 Analog I/O Option Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
10-8 Startup Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520
10-9 Trouble Shooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
10-10 The Use of Analog Option Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
10-10-1 Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
10-10-2 Program Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 522
http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
2/18
506
General Specifications Section 10-1
10-1 General SpecificationsCP1 series analog option board units are non-isolated analog units whichallow you to easily realize analog input/output function for CP1L-EL/EM seriesPLC.
10-2 Part Names
Note Two COM are connected in inner circuit.
LED pattern
Analog Option Board Voltage Input0V~10V
(Resolution:1/4000)
Current Input0mA~20mA
(Resolution:1/2000)
Voltage Output0V~10V
(Resolution:1/4000)
Analog I/O Option Board CP1W-MAB221 2CH 2CH
Analog Input Option Board CP1W-ADB21 2CH ---
Analog Output Option Board CP1W-DAB21V --- 2CH
Analog I/O terminal
Error LED (red)
Terminal Arrangement for CP1W-ADB21
Terminal Arrangement for CP1W-DAB21V
Terminal Arrangement for CP1W-MAB221
II1 VI2 COMII2 COM
VO1 VO2 COM
VI1 II1 VI2 II2 COM
VO2VO1VI1
LED Color Description Status Remark
ERR Red Fault condition indicator
FlashA communication error with CPU unit has occurredat the unit.
Lit Other errors except the communication error.
Not lit Operation is normal.
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
3/18
507
Installation and Setting Section 10-3
10-3 Installation and Setting
10-3-1 Installation
The following processing explains how to install and remove an Analog OptionBoard.
!Caution 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 fitin the Option Board slot, and firmly press the Analog Option Board in until
it snaps into place.
10-3-2 Setting
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.
Method1: Set by Dipswitch on PLC unit.
For CPU Units with 30 and 40 points, switch DipSW4 of the CPU unit to ON, ifthe 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 mountedon the Option Board slot 2 (right side).
For CPU Units with 20 I/O points, switch DipSW4 of the CPU unit to ON.
Note DipSW4 and DipSW5 are OFF at shipment.
Method2: Set the option port communication parameters by PLC settings.
If DipSW4 or DipSW5 is OFF, the relative option port's communication param-eters can also be set by PLC settings in CX-Programmer.
Please set the baud rate of the relative option port at 115200bps in Toolbusmode.
10-3-3 Removing
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 atthe same time to unlock the Option Board, and then pull it out.
00NC 02 04 06 08 10 00 02 04 06 08 10
01COM 03 05 07 09 11 01 03 05 07 09 11
BKUP
ERR/ALM
LNK/ACT
POWER
RUN
INH
1 2
00 01 02 03 04 06 00 01 03 04 06
COM 02 COM 05 07COMCOM(V+) 05 07
MAC Address:
01234567890A
ANALOG INPUT
V1+ V2 + COM
ON
1 2 3 4 5 6
DipSW4 DipSW5
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
4/18
508
Memory Allocation Section 10-4
10-4 Memory Allocation
10-4-1 CIO Area Allocation
The memory allocation about analog conversion in the CIO area of PLC isshown as the following diagram.
The beginning CIO channel is shown in the following table.
CP1L-EL/EM series PLC
The details of allocated CIO channels are described in the following table.
10-4-2 Auxiliary Area Allocation
Analog Option Unit StatusArea
Option board status area: A435 (initial value “0000H”)
Note A435.14 or A435.15 sets on if analog option board already worked normally.
Then user can read A/D input data and write D/A output data.
Output off bit: AR500.15
Note This bit will also affect other PLC output channels. Please refer to Appendix D
Auxiliary Area Allocations by Address for more information.
I/O Capacity Option Port BeginningChannel (m)
Channel Range
20 Port 1 CIO2990 CIO2990 ~ CIO2999
30/40Port 1 (Left) CIO2980 CIO2980 ~ CIO2989
Port 2 (Right) CIO2990 CIO2990 ~ CIO2999
Channel Contents
CP1W-ADB21 CP1W-DAB21V CP1W-MAB221
m Analog Input 1 --- Analog Input 1
m+1 Analog input 2 --- Analog input 2
m+2 to m+4 --- --- ---
m+5 --- Analog Output 1 Analog Output 1
m+6 --- Analog Output 2 Analog Output 2
m+7 to m+9 --- --- ---
I/O Capacity AR Bits Option Port Content Error Process
20 A435.15 Port 1 I/O optionboard runstate
0: Initial state or unitabnormity state
1: work normally30/40 A435.14 Port 1 (Left)
A435.15 Port 2 (Right)
AR Bits Content Error Process
A500.15 Output Off Bit0: output effective1: analog option board DA output clear
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
5/18
509
Analog Input Option Board Section 10-5
10-5 Analog Input Option BoardEach 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).
Main Analog Input Option Board Specifications
Analog Input SignalRanges
Analog input data is digitally converted according to the input signal range asshown below.
Note When the input exceeds the specified range, the A/D conversion data will befixed at either the lower limit or upper limit.
■ 0 to 10 V
The 0 to 10 V range corresponds to the hexadecimal values 0000 to 0FA0 (0to 4000). The entire data range is 0000 to 0FFF (0 to 4095).
Item Specifications
Voltage Input Current Input
Input signal range 0 V to 10 V 0 mA to 20 mA
Max. rated input 0 V to 15 V 0 mA to 30 mA
External input impedance 200 kΩ min. Approx. 250 Ω
Resolution 1/4000 (full scale) 1/2000 (full scale)
Overall accuracy25°C: ±0.5% (ful l scale)0 to 55°C: ±1.0% (full scale)
25°C: ±0.6% (full scale)0 to 55°C: ±1.2% (full scale)
A/D conversion data 0000 to 0FA0 hex 0000 to 07D0 hex
Averaging function Not supported
Conversion time
Inner sample time 2ms/point
Refresh time > 6ms basing on baud rate and PLC cycle timeIsolation method None
Current consumption 5 VDC: 20 mA max.
Converted Data
Hexadecimal (Decimal)
1 0V 1 0 .2 4V
0FA0(4000)
0FFF(4095)
0000(0)
0V
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
6/18
510
Analog Input Option Board Section 10-5
■ 0 to 20 mA
The 0 to 20 mA range corresponds to the hexadecimal values 0000 to 07D0(0 to 2000). The possible data range is 0000 to 0FFF (0 to 4095). But it isstrongly suggested that the input current must not exceed 30 mA.
Analog Input TerminalArrangement
Note When using current inputs, voltage input terminals must be short-circuited
with current input terminals.
Wiring
Internal Circuits
Converted Data
Hexadecimal (Decimal)
0mA 20mA
07D0(2000)
0000(0)
VI1 Voltage Input 1
Current Input 1
Voltage Input 2
Current Input 2
II1
VI2
II2
COM Input Common
Analog input 2
Analog ground
I I 1
V I 1
COM (−)
I I 2
V I 2
56 kΩ 250 Ω
250 Ω
180 kΩ
180 kΩ
I n t e r n a
l c i r c u i t s
Analog input 1
toto
56 kΩ
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
7/18
511
Analog Input Option Board Section 10-5
Applicable Cables andTerminal Wiring
■ Applicable Cables
Solid wire or ferrules can be used.
• Recommended solid wire
• Recommended ferrules
Note Do not connect bare stranded wires directly to terminals.
■ Terminal Wiring
When wiring the analog I/O terminal block, treat either solid or stranded wiresdirectly.
• 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 thescrewdriver 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.
Note (1) Ferrules with/without plastic sleeve cannot be used.
(2) When using stranded wire, twist the core so that the barbed wires cannot
protrude.
(3) Do not solder-plate the end of cable.
The screwdriver shown below is recommended for wiring.
Wire type Wire size
Solid Wire 0.2mm2 to 0.5mm2 (AWG24 to AWG20)
Manufacturer Model Applicable wire
Phoenix Contact AI-0.5-10 0.5mm2 (AWG20)
Release button
2-conductor shieldedtwisted-pair cable
Model Manufacturer
SZS 0.42.5 Phoenix Contact
0.4mm
Side Front
2.5mm
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
8/18
512
Analog Output Option Board Section 10-6
Wiring for Analog Inputs To prevent noise, 2-core shielded twisted-pair cable should be used. And theshield can be connected to the FG terminal if necessary.
Note (1) If necessary, connect the shield to the FG terminal to prevent noise.
(2) When an input is not being used, short the + and – terminals.
(3) Separate wiring from power lines (AC power supply lines, high-voltagelines, etc.)
(4) When there is noise in the power supply line, install a noise filter on the
input section and the power supply.
!Caution 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 thePLC’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.
10-6 Analog Output Option Board
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).
Main Analog Output Option Board Specifications
V IN
COM
I IN
V IN
COM
I IN
Analogdevice withvoltage
output
AnalogInputOption
Board
+
−
+
−
Analog
device with
current
output
AnalogInputOption
Board
2-core shieldedtwisted-pair cable
2-core shieldedtwisted-pair cable
FG FG
24 V
0 V 0 V
Non-insulated DC power supply
0 V
Analog Device FGFG FG
Twisted-pair
cable
FG
CPU Unit + Analog Option Board
Item Specifications
Voltage Output Current Output
Output signal range 0 V to 10 V ---
External output allowable load resistance 2 kΩ min. ---
External output impedance 0.5 Ω max. ---
Resolution 1/4,000 (full scale) ---
Overall accuracy 25°C: ±0.5% 0 to 55°C: ±1.0% ---
D/A conversion data 0000 to 0FA0 hex ---
Conversion timeInner conversion time 2ms/pointRefresh time > 6ms basing on baud rate and PLC cycle time
Isolation method None
Current consumption 5 VDC: 60 mA max.
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
9/18
513
Analog Output Option Board Section 10-6
Analog Output SignalRanges
The analog values depend on the output signal range, as shown in the follow-ing diagram.
Note When the output exceeds the specified range, the output signal will be fixed at
either the lower limit or upper limit.
■ 0 to 10 V
The hexadecimal values 0000 to 0FA0 (0 to 4000) correspond to an analogvoltage range of 0 to 10 V. The entire output range is 10 to 10.24 V.
Analog Output TerminalArrangement
WiringInternal Circuits
0V
10 V
0FA0
FFFF
0FFF
(4000) (4095)
0000(0)
Converted Data
Hexadecimal(Decimal)
10.24V
VO1 Voltage Output 1
VO2 Voltage Output 2
COM Output Common
Analog output 1
Analog ground
V O 1
COM(−)
V O 2
Analog output 2
toto
I n t e r n a l c i r c u i t s
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
10/18
514
Analog Output Option Board Section 10-6
Applicable Cables andTerminal Wiring
■ Applicable Cables
Solid wire or ferrules can be used.
• Recommended solid wire
• Recommended ferrules
Note Do not connect bare stranded wires directly to terminals.
■ Terminal Wiring
When wiring the analog I/O terminal block, treat either solid or stranded wiresdirectly.
• 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 thescrewdriver 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.
Note (1) Ferrules with/without plastic sleeve cannot be used.
(2) When using stranded wire, twist the core so that the barbed wires cannot
protrude.
(3) Do not solder-plate the end of cable.
The screwdriver shown below is recommended for wiring.
Wire type Wire size
Solid Wire 0.2mm2 to 0.5mm2 (AWG24 to AWG20)
Manufacturer Model Applicable wire
Phoenix Contact AI-0.5-10 0.5mm2 (AWG20)
Release button
2-conductor shieldedtwisted-pair cable
Model Manufacturer
SZS 0.42.5 Phoenix Contact
0.4mm
Side Front
2.5mm
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
11/18
515
Analog Output Option Board Section 10-6
Wiring for Analog Outputs To prevent noise, 2-core shielded twisted-pair cable should be used. And theshield can be connected to the FG terminal if necessary.
Note (1) If necessary, connect the shield to the FG terminal to prevent noise.
(2) Separate wiring from power lines (AC power supply lines, high-voltage
lines, etc.)
(3) When there is noise in the power supply line, install a noise filter on theinput section and the power supply.
(4) When external power is supplied, or when the power is interrupted, there
may be a pulse status analog output of up to 1 ms. If this status is a prob-lem, take the following measures.
• Turn ON the power to the CP1L-EL/EM CPU Unit, check the operationstatus, and then turn ON the power at the load.
• Turn OFF the power to the load and then turn OFF the power to theCP1L-EL/EM CPU Unit.
!Caution When connecting the analog option board to an outside analog device, eitherground the 0 V side of the PLC’s external power supply or do not ground thePLC’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.
COM
V OUTAnalogoutputoption
board
Analogdevice withvoltage
input
FG
2-core shieldedtwisted-pair cable
+
−
24 V
0 V 0 V
Non-insulated DC power supply
0 V
Analog Device FGFG FG
Twisted-pair
cable
FG
CPU Unit + Analog Option Board
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
12/18
516
Analog I/O Option Board Section 10-7
10-7 Analog I/O Option BoardEach CP1W-MAB221 Analog I/O Option Board provides two analog inputsand 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).
Main Analog I/O Option Board Specifications
Analog I/O SignalRanges
The analog values depend on the I/O signal ranges, as shown in the followingdiagrams.
Note When the input exceeds the specified range, the A/D conversion data will befixed 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.
Analog Input SignalRanges
■ 0 to 10 V
The 0 to 10 V range corresponds to the hexadecimal values 0000 to 0FA0 (0to 4000). The entire data range is 0000 to 0FFF (0 to 4095).
Item Specifications
Voltage I/O Current I/O
Analog Input Section
Input signal range 0 V to 10 V 0 mA to 20 mA
Max. rated input 0 V to 15 V 0 mA to 30 mA
External input impedance 200 kΩ min. Approx. 250 Ω
Resolution 1/4,000 (full scale) 1/2,000 (full scale)
Overall accuracy25°C: ±0.5% (full scale)0 to 55°C: ±1.0% (full scale)
25°C: ±0.6% (full scale)0 to 55°C: ±1.2% (full scale)
A/D conversion data 0000 to 0FA0 hex 0000 to 07D0 hex
Averaging function Not supported
Analog Output Section
Output signal range 0 V to 10 V ---
External output allowableload resistance
2 kΩ min. ---
External output impedance 0.5 Ω max. ---
Resolution 1/4,000 (full scale) ---
Overall accuracy 25°C: ±0.5% 0 to 55°C: ±1.0% ---
D/A conversion data 0000 to 0FA0 hex ---
Conversion timeInner conversion time 6ms (4CH total)Refresh time > 6ms basing on baud rate and PLC cycle time
Isolation method None
Current consumption 5 VDC: 80 mA max.
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
13/18
517
Analog I/O Option Board Section 10-7
■ 0 to 20 mA
The 0 to 20 mA range corresponds to the hexadecimal values 0000 to 07D0(0 to 2000). The possible data range is 0000 to 0FFF (0 to 4095). But it is
strongly suggested that the input current mustn’t exceed 30 mA.
Analog Input SignalRanges
■ 0 to 10 V
The hexadecimal values 0000 to 0FA0 (0 to 4000) correspond to an analogvoltage range of 0 to 10 V. The entire output range is 10 to 10.24 V.
Converted Data
Hexadecimal (Decimal)
1 0V 1 0 .2 4V
0FA0(4000)
0FFF(4095)
0000(0)
0V
Converted Data
Hexadecimal (Decimal)
0mA 20mA
07D0(2000)
0000(0)
0V
10 V
0FA0
FFFF
0FFF
(4000) (4095)
0000(0)Converted Data
Hexadecimal(Decimal)
10.24V
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
14/18
518
Analog I/O Option Board Section 10-7
Analog I/O TerminalArrangement
Note When using current inputs, voltage input terminals must be short-circuited
with current input terminals.
Wiring
Internal Circuits
Applicable Cables andTerminal Wiring
■ Applicable Cables
Solid wire or ferrules can be used.
• Recommended solid wire
• Recommended ferrules
Note Do not connect bare stranded wires directly to terminals.
■ Terminal Wiring
When wiring the analog I/O terminal block, treat either solid or stranded wiresdirectly.
VI1 Voltage Input 1
II1 Current Input 1
VI2 Voltage Input 2
II2 Current Input 2
COM Analog I/O CommonVO1 Voltage Output 1
VO2 Voltage Output 2
COM Analog I/O Common
Analog input Analog output
Analog input 2
Analog ground
I I 1
V I 1
COM(−)
I I 2
V I 2
56 kΩ 250 Ω
250 Ω
180 kΩ
180 kΩ
I n t e r n a l c i r c u i t s
Analog input 1
to
56 kΩ
Analog output 1
Analog ground
V O 1
COM(−)
V O 2
Analog output 2
toto
to
I n t e r n a l c i r c u i t s
Wire type Wire size
Solid Wire 0.2mm2 to 0.5mm2 (AWG24 to AWG20)
Manufacturer Model Applicable wire
Phoenix Contact AI-0.5-10 0.5mm2 (AWG20)
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
15/18
519
Analog I/O Option Board Section 10-7
• 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.
Note (1) Ferrules with/without plastic sleeve cannot be used.
(2) When using stranded wire, twist the core so that the barbed wires cannotprotrude.
(3) Do not solder-plate the end of cable.
The screwdriver shown below is recommended for wiring.
Wiring for Analog I/O To prevent noise, 2-core shielded twisted-pair cable should be used. And theshield can be connected to the FG terminal if necesssary.
Wiring for Analog Inputs
Release button
2-conductor shieldedtwisted-pair cable
Model Manufacturer
SZS 0.42.5 Phoenix Contact
0.4mm
Side Front
2.5mm
V IN
COM
I IN
V IN
COM
I IN
Analogdevice withvoltage
output
AnalogI/OOption
Board
+
−
+
−
Analog
device with
current
output
AnalogI/OOption
Board
2-core shieldedtwisted-pair cable
2-core shieldedtwisted-pair cable
FG FG
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
16/18
520
Startup Operation Section 10-8
Wiring for Analog Outputs
Note (1) If necessary, connect the shield to the FG terminal to prevent noise.
(2) When an input is not being used, short the + and – terminals.
(3) Separate wiring from power lines (AC power supply lines, high-voltage
lines, etc.)
(4) When there is noise in the power supply line, install a noise filter on the
input section and the power supply.
(5) When external power is supplied, or when the power is interrupted, theremay be a pulse status analog output of up to 1 ms. If this status is a prob-
lem, take the following measures.
• Turn ON the power to the CP1L-EL/EM CPU Unit, check the operation
status, and then turn ON the power at the load.
• Turn OFF the power to the load and then turn OFF the power to theCP1L-EL/EM CPU Unit.
!Caution When connecting the analog option board to an outside analog device, eitherground the 0 V side of the PLC’s external power supply or do not ground thePLC’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.
10-8 Startup OperationAfter the power is turned ON, analog option board starts the initialization pro-cess. If the initialization finishes normally, the initialization completed flag inrelated status area (Refer to 10-4-2 Auxiliary Area Allocation: A435 ) will be
set. Therefore, status monitor content must be added in ladder. Only when theinitialization process has finished, user can use the A/D conversion data orwrite the output data.
The analog input data will be 0000 until the initial processing is completed.
COM
V OUTAnalogI/OOptionBoard
Analogdevice withvoltageinput
FG
2-core shieldedtwisted-pair cable
+
−
24 V
0 V 0 V
Non-insulated DC power supply
0 V
Analog Device FGFG FG
Twisted-pair
cable
FG
CPU Unit + Analog Option Board
http://-/?-http://-/?-
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
17/18
521
Trouble Shooting Section 10-9
10-9 Trouble ShootingTrouble-shooting with Indicators
10-10The Use of Analog Option Board
10-10-1 Procedure
Mount the analog option board into the option port.
Connect to the analog input/output device.
Two methods:
1. DipSW4/DipSW5 set ON: TOOLBUS auto-detect
2. DipSW4/DipSW5 set OFF: Set communication protocol in PLC settings toTOOLBUS, 115200bps
Wait until the analog option board finishes initialization and works normally.
Read the analog input data/write the analog output data.
Note (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.
ERRIndicator
Error Probably Cause Correction AuxiliaryArea
Allocations
AD/DA function
Lit CPU Unit service
monitoring error
Service from the
CPU Unit wasnot completedwithin the fixedinterval.
Check and cor-
rect the CPUUnit's operatingenvironment.Check serialcommunicationsetting.
A435.14 or
A435.15will be OFF
AD/DA conversion will stop. The
analog input conversion datastops refreshing and the analogoutput conversion outputbecomes 0V.
Option boarderror
An erroroccurred in theAnalog OptionBoard.
Restart the CPUUnit. Replacethe AnalogOption Board ifthe error recurs.
Flashing Communicationerror
The communica-tion betweenPLC is out of ser-
vice
Check if PLC isrunning normally.
A435.14 orA435.15will be OFF
AD/DA conversion will stop. Theanalog input conversion datastops refreshing and the analog
output conversion outputbecomes 0V. If the communica-tion recovers from error, theAD/DA conversion will star tagain.
Connection with the analoginput/output device
Make the ladder program
Mount the analog optionboard
Communication protocolsetting
AD/DA convert
8/20/2019 InfoPLC Net CP1 E S Analogicas TarjetasOpcionales
18/18
The Use of Analog Option Board Section 10-10
10-10-2 Program Example
Use the analog option board to carry out 2CH AD inputs and 1CH DA outputat the same time.
The ranges of AD/DA are as follows:
Analog input1: 0~10V
Analog input2: 0~20mAAnalog output1: 0~10V
System composing: CP1L-EM (option port 1) + CP1W-MAB221
2980
D0
MOV(021)
2981
D1
MOV(021)
D2
2985
MOV(021)
Executioncondition
Executioncondition
Executioncondition
← Reads analog input 1's converted value to D0.
← Reads analog input 2's converted value to D1.
← The content of D2 is written to the analogoutput 1.
A435.14
A435.14
A435.14
A435.14 sets on if the analog option board (mounted in option port 1) works normally.