EC10 EC104638 en
EC10 EC104638 en
user manual
Emerson Network Power Co., Ltd. provides customers with comprehensive technical support. Users can contact the nearest Emerson Network Power Co., Ltd. office
Address: No. 1, Kefa Road, Science and Technology Industrial Park, Nanshan District, Shenzhen
For mobile phones and areas where 800 is not activated, please dial: 021-26037141
E-mailÿ[email protected]
Machine Translated by Google
Safety Precautions
Before starting the operation, please read the operation instructions and precautions carefully to reduce accidents. The "Danger, Warning, and Caution" items in the product and product manual do not represent all safety items that
should be observed, but are only supplements to various operational safety precautions. Therefore, the personnel responsible for product installation and operation must undergo strict training, abide by the safety regulations of the
relevant industry, strictly abide by the relevant equipment precautions and special safety instructions provided in this manual, and operate the equipment according to the correct operation method.
In this manual, safety precautions are divided into three levels: "Danger", "Warning" and "Caution".
Danger: Mishandling could result in death, serious personal injury or substantial damage.
Considerations in Design
When applying, please design a safety circuit to ensure that the application system of the programmable controller can work safely when the external power supply fails or the programmable controller fails. Aspects to consider in
Be sure to set up an emergency brake circuit, a protection circuit, an interlock circuit for forward and reverse operations, and an interlock switch for the upper and lower limits of the position to prevent damage to the
In order to make the equipment operate safely, please design an external protection circuit and safety mechanism for output signals related to major accidents;
After the programmable controller CPU detects a system abnormality, it may cause all outputs to be turned off; when part of the circuit of the controller fails, it may cause its output
Uncontrolled, in order to ensure the normal operation of the equipment, it is necessary to design a suitable external control circuit;
When the relay, transistor and other output units of the programmable controller are damaged, the output cannot be controlled to be ON or OFF;
Note 1
The programmable controller is designed to be used in indoor areas B and C, and In the electrical environment, the power supply system level should have lightning protection devices to ensure lightning overvoltage
it will not be directly applied to the power input, signal input, control output and other ports of the programmable controller to avoid damage to the equipment.
Notes on installation
Do not use the programmable controller in the following places: places with dust, oil fume, conductive dust, corrosive gas, and flammable gas; places exposed to high temperature, condensation, wind and rain; places
with vibration and shock. Electric shock, fire, misuse will also cause product damage and deterioration;
When processing screw holes and wiring, do not let metal filings and wire ends fall into the vent hole of the controller, which may cause fire, failure, and misoperation;
After the installation of the newly purchased programmable controller is completed, it is necessary to ensure that there are no foreign objects on the ventilation surface, including dustproof paper and other packaging items, otherwise
it may cause poor heat dissipation during operation, causing fire, malfunction, and misoperation;
Avoid wiring, plugging and unplugging cable plugs in a live state, otherwise it will easily cause electric shock or circuit damage;
Installation and wiring must be firm and reliable, poor contact may lead to malfunction;
The input or output cables of high-frequency signals and the cables for transmitting analog signals should use twisted-pair shielded cables to improve the anti-interference performance of the system.
The external power supply must be completely cut off before installation, wiring and other operations, otherwise it may cause electric shock or equipment damage;
After the installation and wiring are completed, remove foreign matter immediately, and please cover the terminal cover of the product before powering on to avoid electric shock;
Please follow the instructions in this manual to connect the AC power to the L and N terminals. Connecting AC power to other terminals will burn the programmable controller;
Machine Translated by Google
Please do not supply power to the +24V terminal of the main module from the outside, otherwise the product will be damaged;
The input and output signal lines connected to the PLC should not be wired side by side with other strong electricity or strong interference lines to reduce interference;
Please do not share the grounding terminal of the main module with the heavy current system.
Do not touch the terminals when the power is on, otherwise it may cause electric shock and misoperation;
Please clean and tighten the terminals after turning off the power, these operations may cause electric shock when the power is on;
Please connect or remove the communication cable, connect or remove the cable of the expansion module or the control unit after turning off the power, otherwise it may cause equipment damage and misoperation;
Be sure to read this manual thoroughly, and perform program changes, test runs, start-up and stop operations after fully confirming safety.
The main body of the programmable controller is a plastic structural part, which may produce toxic gas when burned;
Table of contents
3.5.1 Features of the built-in power supply of the main module................................... ................................................... ................................................... .......... 6
3.5.2 Specifications of the power supply that the main module can provide to the expansion module............. ................................................... ................................... 7
4.5.1 Instructions for use of analog ports................................... ................................................... ................................................... ....... twenty one
4.4.2 Analog input and output specifications................................... ................................................... ................................................... ....... twenty two
5.2.2 Handheld programmer in PDA mode................................... ................................................... ................................................... ... twenty four
Chapter VII Initial use and operation and maintenance................................... ................................................... ................................................... ......31
Chapter 1 Preface 1
Chapter 1 Preface
Thank you for purchasing the programmable logic controller (PLC) developed and produced by Emerson Network Power Co., Ltd. Before using our company's EC10 series PLC products, please be careful
Read this manual carefully so that you can have a clearer grasp of the features of the product, use it more safely, and make full use of the rich functions of this product.
This manual mainly describes the hardware specifications, features and usage methods of EC10 series programmable controllers, and also includes a brief introduction of related options, answers to frequently asked questions,
summary of user instruction sets, etc., for easy reference. For the use of the user program development environment of this product and the user program design method, please refer to the separate document issued by our company.
"ControlStar Programming Software User Manual", "EC20/EC10 Series Programmable Controller Programming Reference Manual", if necessary, please consult the supplier.
This manual is suitable for technical engineers who study, design, install, operate and maintain EC10 series PLC applications.
Main module: also known as basic module or CPU module, is the basic unit of PLC, including main control CPU, I/O interface and power supply, etc.
Extension module: generally refers to modules other than the main module
Special function modules: expansion modules with functions other than I/O expansion modules, such as analog input, analog output, bus modules, etc.
Number of points: the number of channels of input and output switching values and
Switch signal: input or output signal with only two states of "ON" and "OFF"
Analog signal: continuously changing electrical signal, such as 4-20mA pressure transmitter output signal
Unipolar signal: generally refers to a continuously changing signal with positive polarity
Bipolar signal: generally refers to a continuously changing signal whose polarity may be positive or negative
Counter: Refers to the value register that adds or subtracts 1 to the count value every time a pulse is input according to the increase or decrease control signal
Two-phase counter: a counter with up and down pulse input terminals, one pulse makes the counter count up, and the other pulse makes the counter count down
AB phase counter: a counter with two quadrature phase pulse input terminals, counting up or down according to the frequency and phase difference of the two signals
Figure 2-1 shows the outline structure of the main module of the EC10 series.
System working
Bus socket
status indicator
output signal
status indicator
Figure 2-1 The outline structure and components of the main module of EC10 series (taking EC10-1614BRA as an example)
PORT0 and PORT1 are communication ports. PORT0 is RS232 level, the socket is Mini DIN8. PORT1 provides two levels of RS485 and RS232. The bus socket is used to
connect expansion modules. The mode selection switch has three positions of ON, TM and OFF.
EC 1 0 - 1 6 1 4 B R A 1 Add special functions (such as adding 2 channels of AD, 1 channel of DA), starting
from 1, increasing in chronological order, such as 1, 2, 3, ... (empty here means
no special functions, only switch input and output) Power input mode (A:
version number
EC10 series PLC models and their I/O configuration parameters are shown in Table 2-1.
Table 2-1 EC10 series PLC model and its I/O configuration
voltage input Output digital input digital input digital input digital output Analog input Analog input Interrupt/Pulse pulse
model
Vac points signal voltage out type end/common end end/common end Entry exit enter output
EC10-1410BRA 85ÿ264 14/10 24Vdc Relay 14/1 10/3 None None with or without
EC10-1410BTA 85ÿ264 14/10 24Vdc Transistor 14/1 10/3 None None yes there
EC10-2416BRA 85ÿ264 24/16 24Vdc Relay 24/1 16/4 None None with or without
EC10-2416BTA 85ÿ264 24/16 24Vdc Transistor 24/1 16/4 None None yes there
The expansion module is an expansion part to increase the I/O points of the main module, or to realize special functions, and it must be used in conjunction with the main module. Currently the EC10 series is available
The types of expansion modules provided are shown in Table 2-2. In the EC10 series, each main module allows up to 4 expansion modules.
I/O expansion module EC10-0800ENN digital 8-way input, no output expansion module
EC10-0008ERN switch value without input, 8-way relay output expansion module
The I/O expansion modules and their configurations are shown in Table 2-3.
model Power supply voltageVac Input/Output Points output type Built-in working power
The main features of EC10 series PLC are shown in Table 2-4.
Input and output relay 128 in/128 out (input X0ÿX177, output Y0ÿY177)
16 external input interrupts (the interrupt trigger edge can be set by the user, corresponding to the rising edge and falling edge of X0~X7 terminals)
Power outage 1
Protocol Programming port protocol, MODBUS protocol, free port protocol, ECBUS (Emerson special protocol), can form 1:N, N:N network
Pulse output Y0ÿY1 100kHz two independent outputs (transistor outputs only)
input filter X0ÿX7 provide digital filtering, other ports use hardware filtering
Up to 64 user subroutines are allowed, and 6 levels of subroutine nesting are allowed. Support for local variables, each subroutine can provide up to 16 parameters
subroutine call
special function call, supports variable aliases
upload password
Provide 3 forms of password, the password does not exceed 8 characters, each character is a combination of letters and numbers,
download password
User Program Protection case sensitive
monitor password
other protective measures Provide functions such as prohibiting formatting, prohibiting uploading, subroutine password protection, etc.
ControlStar programming tool Note 3 It needs to be installed and run on an IBM PC microcomputer or compatible computer
Programming method note 2
Real Time Clock Built-in, it can keep for 100 hours after power failure (the main module needs to work continuously for more than 2 minutes before power failure)
Note 1: The analog potentiometer is an external channel for the user to set the value of the internal device, which can be used to set the value in the range of 0 to 255 for the user program to read. When adjusting the set value, you can
Use a Phillips screwdriver to adjust. Rotate the potentiometer clockwise to change the set value from small to large. The maximum rotation angle of the potentiometer is 270°. Do not rotate excessively to avoid damage to the electric motor.
Bit device.
Note 2: Provide component forcing function to facilitate debugging and analysis of user programs and improve debugging efficiency. Up to 128 bit elements and 16 word elements are allowed to be forced at the same time.
Note 3: The user program can be modified online during operation, which facilitates the modification of user programs in important production occasions
3.1 Dimensions
The height and width of each module of EC10 series PLC are consistent, and the length is related to the number of input and output terminals. The dimensions of each model of the main module and expansion module are as follows:
Table 3-2 Environmental Condition Requirements for Working, Storage and Transportation
Environmental parameters
high temperature ÿ 55 70 70
climate
humidity Relative humidity ÿ 95ÿ30±2ÿÿ 95ÿ40±2ÿÿ /
condition
displacement mm 3.5ÿ5ÿ9Hzÿ / /
sinusoidal vibration
5ÿ20Hzÿ1.92dB
Acceleration spectral density m2 /s3 (dB/Oct) / /
20ÿ200Hzÿÿ3dB
mechanical random vibration
Frequency Range Hz / 5ÿ200 /
stress
Vibration direction / / X/Y/Z /
The reliability specifications of EC10 series PLC are shown in Table 3-3.
200,000 hours of fixed use on the ground, the mechanical stress is basically close to zero, with temperature and humidity control (Controlled condition)
Relay output
100,000 hours of fixed use on the ground, the mechanical stress is basically close to zero, and there is no temperature and humidity control (Uncontrolled condition)
300,000 hours of fixed use on the ground, the mechanical stress is basically close to zero, with temperature and humidity control (Controlled condition) 150,000
transistor output
hours of fixed use on the ground, the mechanical stress is basically close to zero, without temperature and humidity control (Uncontrolled condition)
For relay output controllers, the service life of the relay contacts is related to the type and size of the load it carries, as shown in Table 3-4.
220Vac, 15VA, inductive ON for 1 second, OFF for 1 second 3.2 million times
220Vac, 30VA, Sensitive ON for 1 second, OFF for 1 second 1.2 million times
220Vac, 60VA, Sensitive ON for 1 second, OFF for 1 second 300,000 times
AC input pair extension bus ÿ5×106 ÿ Ambient temperature 25±5ÿ; relative humidity 90% (non-condensing);
insulation
resistance
User output (relay output type) to expansion bus ÿ5×106 ÿ The test voltage is 500Vdc
Between user output port groups (relay output type) Between AC ÿ5×106 ÿ
AC input pair extension bus Should be able to withstand 50Hz, effective value of 2830Vac AC voltage or equivalent DC voltage1
insulation
strength User output (relay output type) to expansion bus Minutes, no breakdown or arcing phenomenon; leakage current ÿ5mA
The withstand voltage and insulation of other unlisted circuits are designed according to the requirements of ultra-low voltage circuits
Table 3-6 lists the built-in power characteristics of the main module.
Table 3-6 Built-in power supply characteristics of EC10 series main modules
Input voltage range Vac 85 220 264 normal startup and operating range
The logic circuit working power supply of the PLC main module. At the same time through the module expansion port, to expand
5V/GND IN 4.75 5 5.25
The module's logic circuits are powered. For expansion modules with their own power supply, this power supply is not used
The working power supply of the relay output circuit of the PLC main module. At the same time through the module expansion port,
The output voltage 24V/GND IN 21 24 27 Supply power to the relay output circuit of the expansion module. It shares ground with the 5V/GND power supply. for
scope Expansion modules with their own power supply, do not use the power supply
The lead wire length of the 24V power supply provided by the PLC main module to the user shall not exceed 30 meters. Can be used
24V/COM IN 21 24 27 Auxiliary power supply for other user circuits, sensors or expansion modules. It is connected with 5V/GND,
5V/GND mA / 900 /
output rating The combined total power of 5V/GND and 24V/GND two-way output shall not exceed 10.4W.
24V/GND mA / 300 /
electric current The maximum output power of the power supply is the sum of the full load of each channel, which is 24.8W
24V/COM mA / 600 /
3.5.2 Specifications of the power supply that the main module can provide to the expansion modules
Table 3-7 shows the power consumption of the main module of the EC10 series and the available external capacity.
Table 3-7 EC10 series main module power consumption and available external capacity
Internal consumption note Provide maximum capacity injection Internal consumption provides maximum external capacity Note 2 Internal consumption provides external capacity
Note 1: The current shown in "Internal Consumption" is the average current consumed by the internal circuit of the module, which cannot be changed directly by the user.
Note 2: The total power of the two outputs of 5V/GND and 24V/GND is limited. The "maximum capacity provided externally" in the table means that when 24V/GND (or 5V/GND) has no external consumption
Time-consuming, the maximum output capacity that the other road can provide to the outside world. When the two channels output externally at the same time, it is necessary to determine whether the external power supply design meets the output capacity of the main module through calculation.
warn
If the input power voltage exceeds the rated range, it may cause abnormal operation of the system, damage to the module, or even personal injury!
The above table is the value when the ambient temperature is stable at 25°C. If the maximum temperature of the working environment exceeds +50°C, derating design should be considered to ensure the stability and reliability of the PLC.
by running. Derating is mainly achieved by reducing the external output capacity. The derating relationship is shown in Figure 3-1.
100%
50%
Figure 3-1 Derating curve of power supply output capacity and operating temperature
The maximum current consumption of each expansion module is shown in Table 3-8.
EC10-0008ETN 170mA 0 0
Note 1: The power consumption when the analog output channel terminal is connected to the load, if the current output terminal (0 ~ 20mA) is not used, the current can be reduced to 50mA
Before the programmable controller is connected to the expansion module, two power supply capacity calculations are required to avoid overloading the power supply of the main module.
1. The sum of the current consumption of each power supply of the expansion module is required to be less than the output current that the corresponding power supply of the main module can provide.
2. When both 5V/GND and 24V/GND are loaded, it must be ensured that 5×(5V consumption current)+24×(24V consumption current)ÿ10.4W.
Example 1: The main module is EC10-1614BRA, and one EC10-0808ETN, one EC10-4AD, one EC10-4DA, and one EC10-4TC need to be connected in the design.
25°C working environment temperature, check whether it is available. Checking content is shown in Table 3-9.
power circuit The main module can supply current externally Actual current consumption in conclusion
In this example, the total consumption of 5V/GND and 24V/GND is 5×(0.25+0.34)+24×(0.070+0)=4.63W<10.4W. Each power supply of the expansion module
The total power consumption is less than the allowable load value of the main module, and the total consumption of 5V/GND and 24V/GND is also less than the allowable load value of the main module, so the access scheme is feasible.
Example 2: The main module is EC10-2416BTA, and two EC10-0808ETN, one EC10-4AD, and one EC10-4DA need to be connected in the design. Use 20mA input
Out of the terminal, the working environment temperature is 25°C. Checking content is shown in Table 3-10.
power circuit The main module can supply current externally Actual current consumption in conclusion
In this example, the sum of the 5V/GND power consumption of the expansion module is 460mA, which is greater than the 420mA allowed by the 5V power supply in the main module, so this expansion scheme is not suitable.
The calculation function of the power capacity is provided in the PLC programming software ControlStar, providing users with a simple and intuitive auxiliary tool. After specifying a configuration combination,
ControlStar can calculate the power supply capacity for this design, and check the user's configuration and design.
The terminal distribution of EC10-1006BRA and EC10-1006BTA is shown in Figure 4-1. The definitions of each terminal are shown in Table 4-1.
NL
+24V Y0 Y1 Y2 Y4
L/N 220V AC power input terminals, live wire and neutral wire respectively
ÿ24V Auxiliary DC power supply provided to the user's external equipment, used in conjunction with COM
WITH Provide the negative pole of +24V auxiliary power supply to the outside
S/S Provide the user with the choice of input mode, connect with +24V to support the sink input mode, and connect with COM to support the source input mode
X0ÿX11 Digital signal input terminal, use this terminal together with the COM terminal to generate an input signal
Y1ÿCOM1 Control output terminals, group 1 COMx of each output group are electrically isolated from each other
The terminal distribution of EC10-1410BRA and EC10-1410BTA is shown in Figure 4-2. The definitions of each terminal are shown in Table 4-2.
NL
+24V Y0 Y1 Y2 Y4 Y6 Y10
L/N 220V AC power input terminals, live wire and neutral wire respectively
ÿ24V Auxiliary DC power supply provided to the user's external equipment, used in conjunction with COM
WITH Provide the negative pole of +24V auxiliary power supply to the outside
S/S Provide the user with the choice of input mode, connect with +24V to support the sink input mode, and connect with COM to support the source input mode
X0ÿX15 Digital signal input terminal, use this terminal together with the COM terminal to generate an input signal
Y1ÿCOM1 Control output terminals, group 1 COMx of each output group are electrically isolated from each other
The terminal distribution of EC10-1614BRA and EC10-1614BTA is shown in Figure 4-3. The definition of each terminal is shown in Table 4-3.
NL
L/N 220V AC power input terminals, live wire and neutral wire respectively
ÿ24V Auxiliary DC power supply provided to the user's external equipment, used in conjunction with COM
WITH Provide the negative pole of +24V auxiliary power supply to the outside
S/S Provide the user with the choice of input mode, connect with +24V to support the sink input mode, and connect with COM to support the source input mode
X0ÿX17 Digital signal input terminal, use this terminal together with the COM terminal to generate an input signal
The terminal distribution of EC10-2416BRA and EC10-2416BTA is shown in Figure 4-4. The definition of each terminal is shown in Table 4-4.
NL
L/N 220V AC power input terminals, live wire and neutral wire respectively
ÿ24V Auxiliary DC power supply provided to the user's external equipment, used in conjunction with COM
WITH Provide the negative pole of +24V auxiliary power supply to the outside
S/S Provide the user with the choice of input mode, connect with +24V to support the sink input mode, and connect with COM to support the source input mode
X0ÿX27 Digital signal input terminal, use this terminal together with the COM terminal to generate an input signal
The terminal distribution of EC10-1614BRA1 and EC10-1614BTA1 is shown in Figure 4-5. The definition of each terminal is shown in Table 4-5.
NL
L/N 220V AC power input terminals, live wire and neutral wire respectively
ÿ24V Auxiliary DC power supply provided to the user's external equipment, used in conjunction with COM
WITH Provide the negative pole of +24V auxiliary power supply to the outside
Provide the user with the choice of input mode, connect with +24V to support sink input mode, connect with COM to support source input mode
S/S
Way
X0ÿX17 Digital signal input terminal, use this terminal together with the COM terminal to generate an input signal
Analog input terminals, group 1. AV1+ is the positive terminal of voltage input, AI1+ is the positive terminal of current input, and AVI1- is the public terminal of voltage and current input.
AV1ÿÿAI1ÿÿAVI1ÿ
common negative terminal
Analog input terminals, group 2. AV2+ is the positive terminal of voltage input, AI2+ is the positive terminal of current input, and AVI2- is the public terminal of voltage and current input.
AV2ÿÿAI2ÿÿAVI2ÿ
common negative terminal
AVO+, AIO+, AO- Analog output terminals. AVO+ is the positive terminal of voltage output, AIO+ is the positive terminal of current output, and AO- is the common negative terminal of voltage and current output
Table 4-6 shows the specification of digital input port of EC10 series PLC main module.
project Specification
Signal input method Source/sink mode, the user can select through the S/S terminal
The input is ON and the external loop resistance is less than 400ÿ
The input is OFF and the external loop resistance is greater than 24kÿ
Digital filter X0ÿX7 has digital filter function, the filter time can be between 0ms, 8ms, 16ms, 32ms, 64ms, and the hardware filter is set by user programming. The rest of the I/O ports except X0ÿ
filter function
X7 are hardware filters, and the filter time about 8ms
X0ÿX7 can realize high-speed counting, interrupt, pulse capture and other functions
The PLC has a built-in user switch state detection power supply (24Vdc), and the user only needs to connect the dry contact switch signal. To connect the output signal of an active transistor sensor
No., it needs to be connected according to the open collector output mode. The S/S terminal on the PLC terminal block is used to select the input mode of the signal, which can be set as the source input mode
Or sink input mode. Connect the S/S terminal to the +24V terminal, that is, set it as a sink input mode, which can be connected to an NPN sensor. In the sink input mode
The internal equivalent circuit and external wiring are shown in Figure 4-6. See 4.2.3 for specific external wiring methods /
Source-sink input mode wiring method ÿ
+24V
24V+ Internal logic circuit working power supply
24V dc auxiliary power supply
WITH 24V/5V/GND
24V
S/S
sensor
X0
each
kind X1 logic
letter
deal with
Number
circuit
lose
enter x2
set up
prepare
Xn
Figure 4-6 The internal equivalent circuit of the main module in the sink input mode
The user can also connect according to the source input mode, and connect the PNP sensor by shorting the S/S terminal and the COM terminal. Inside of the source input method, etc.
The effective circuit and external wiring are shown in Figure 4-7. See 4.2.3 for specific external wiring methods /
Source-sink input mode wiring method ÿ
S/S
sensor
X0
cd
V4 2
processing circuit
x2
Figure 4-7 Internal equivalent circuit of the main module in the source input mode
It should be noted that in the main module, all input ports can only use the same input mode (sink or source). If you have any doubts about the connection method, please consult the supplier for
The internal equivalent circuit and external wiring of the I/O expansion module are shown in Figure 4-8. See 4.2.3 for specific external wiring methods /
Source-sink input mode wiring method ÿ
+24V/COM
X0
X1 logic
processing circuit
sensor
x2
Xn
Figure 4-8 Equivalent input circuit inside the I/O expansion module
Source input mode and sink input mode are for digital input. If you connect a PNP sensor, you must choose the source input method; if you use an NPN sensor, you must choose the sink input method; if
you use a dry contact without power supply, you can choose both sink and source input methods.
The source input wiring using the module's internal power supply is shown in Figure 4-9.
S/S
sensor
X isolation circuit
Figure 4-9 Source input wiring diagram using the module's internal power supply
The source input wiring using external auxiliary power is shown in Figure 4-10.
cdV42
auxiliary power supply
24V
S/S
sensor
X isolation circuit
Figure 4-10 Source input wiring diagram using external auxiliary power supply
The sink input wiring using the internal power supply of the module is shown in Figure 4-11.
Figure 4-11 Sink input wiring diagram using the module's internal power supply
The sink input wiring using external auxiliary power is shown in Figure 4-12.
leak connection
+24V
24V+ 24Vdc
User-supplied power supply
WITH
24V auxiliary power supply
S/S
cdV42
sensor X
isolation circuit
Figure 4-12 Sink input wiring diagram using external auxiliary power supply
Figure 4-13 is an example of the connection of EC10-1614BRA plus one EC10-0808ERN to realize simple positioning control. The position signal obtained by the encoder passes through X0,
For the detection of X1 high-speed counting terminal, the travel switch signals that require fast response can be connected to the high-speed terminals X2~X7, and the rest of the user signals can be distributed to the input ports.
Encoder
+24V VGND
AC - N
sensor
AM - L
X0 X1 X2 X3 X4 X16 X17 X0 X1 X7
+24V
EC10-1614BRA EC10-0808ERN
switching power supply
+5V
GND
In the application system that needs to respond immediately to the input signal, the interrupt method can be used for signal processing. Each pair of rising edge and falling edge of X0ÿX7 input terminal
If the input terminal is treated as an interrupt mode, the corresponding interrupt control flag must be enabled during programming, and the corresponding interrupt user program must be prepared. Need to pay attention when using
When interrupt is used, the digital filter function corresponding to the input terminal does not work, that is, the filter time of the corresponding port is automatically set to 0;
When used as high-speed counting input or interrupt input, it is recommended that the cable of the corresponding input port adopt twisted-pair shielded wire, and the shielding layer should be grounded (connected with the terminal or
Some counters need to cooperate with multiple X input terminals (for example, C242, C244, and C254 are composed of 2, 3, and 4 terminals respectively, as shown in Table 4-7).
After using this type of counter, these terminals can no longer be used as the input of other counters, nor can they be used as ordinary input methods;
The counter input port has a corresponding maximum frequency limit. When the input frequency exceeds this limit, it may cause inaccurate counting or the system cannot operate normally. Please
Reasonably arrange the input port and select the appropriate external sensor.
The relationship between the counter and X0~X7 input terminals is shown in Table 4-7.
Table 4-7 The counter connection mode and characteristics realized by X0ÿX7
single-phase single-ended
count input
Counter C241 increase/decrease
Way 10
Counter C242 increase/decrease reset
Phase A: The phase A input terminal of the two-phase counter. B-phase: B-phase input terminal of the two-phase counter.
1. The output types of EC10 series PLC can be divided into relay type and transistor type. The working parameters of the two are quite different, so they need to be distinguished before use to avoid misuse and lead to
2. When the load driving the DC circuit is inductive (such as a relay coil), the user circuit needs to connect a freewheeling diode in parallel; if the load driving the AC circuit is inductive,
The user circuit needs to be connected in parallel with an RC surge absorbing circuit to protect the output relay contacts of the PLC. In principle, the output port of the relay should not be connected to a capacitive load, if necessary
If necessary, ensure that the surge current is less than the maximum current specified in the specifications (as shown in Table 4-9).
3. Transistor output ports must comply with the allowable maximum current limit (as shown in Table 4-9) to ensure that the heat generation of the output port is within the allowable range; if there are multiple crystals
If the output current of the tube port is greater than 100mA, it should be evenly distributed on the output port, and should not be arranged on the adjacent output port, which is good for heat dissipation.
4. It is recommended that the number of output points that are ON (conducting) at the same time should not exceed 60% of the total output points for a long time.
The comparison of the two output types of relay and transistor is shown in Table 4-8.
Output mode Conducting when the output state is "ON"; disconnecting when the output state is "OFF"
There are several groups of common terminals, and each group has a common terminal COMn, which is suitable for control circuits with different potentials, and the common terminals are insulated and isolated.
The current requirements are used in accordance with the output electrical specifications (as shown in Table 4-9)
Features difference High driving voltage, large current Small drive current, high frequency, long life
Table 4-9 shows the electrical specifications of the switch output ports of the EC10 series PLC main module.
Leakage current The relay output contact closure indicator light is on. The indicator light is on when the optocoupler is driven.
Y0ÿY1ÿ7.2W/24Vdc
Inductive load 220Vac, 80VA
Other: 12W/24Vdc
Y0ÿY1ÿ0.9W/24Vdc
Lamp load 220Vac, 100W
Other: 1.5W/24Vdc
common terminal Y0ÿCOM0; Y1ÿCOM1; after Y2, at most every 8 ports use 1 common port, each common port is isolated from each other
The internal equivalent circuit of the relay output type PLC output part is shown in Figure 4-14.
COM0
Y1
output group 1
COM1
Y2
Y3
logic output
Y7
COM2
Figure 4-14 Internal equivalent circuit of relay output PLC output part
It can be seen from the figure that the output terminals are divided into several groups, each group is electrically isolated, and the output contacts of different groups are connected to different power circuits;
For the inductive load of the DC circuit, the external circuit should consider the RC instantaneous voltage absorption circuit; for the inductive load of the DC circuit, the freewheeling diode should be considered, as shown in the figure
4-15.
24V+ 24V
In
Inductive load
24V+ 24V
In
Inductive load
AC-L
In AC-N
Inductive load
R=200ohm, 2W
R C C=0.022uF, 250AC
The internal equivalent circuit of the transistor output type PLC output part is shown in Figure 4-16.
COM0
Y1
output group 1
COM1
Y2
Y3
logic output
drive
output group 2
processing circuit circuit
Y7
COM2
Figure 4-16 Internal equivalent circuit of transistor output PLC output part
It can also be seen from the figure that the output terminals are divided into several groups, each group is electrically isolated, and the output contacts of different groups can be connected to different power circuits.
Transistor output stage can only be used in DC 24V load circuit, and attention must be paid to the polarity of the power supply. When driving an inductive load, consider adding a freewheeling diode, as shown in Figure 4-15.
Figure 4-17 shows the connection method of EC10-1614BRA plus one EC10-0808ERN. Different output groups can be connected to different signal voltage circuits. Some output groups (such as
Y0-COM0) is connected to the 24Vdc loop, and is powered by the 24V/COM of the controller. Some output groups (such as Y1-COM1) are connected to the 5Vdc low voltage signal circuit. And other output groups (such
as Y2~Y7) are connected to the 220Vac AC voltage signal circuit. That is, different output groups can work in circuits with different voltage levels.
AC - N
AM - L
X0 X1 X2 X3 X4 X16 X17 X0 X1 X7
+24V
EC10-1614BRA EC10-0808ERN
GND
AM - L
A
B
B
AC - N
+24V +5V
The transistor output main module includes two high-speed output ports Y0 and Y1, and the two channels can output high-speed pulses independently. When used as a high-speed output, it is recommended that the cable of the
corresponding input port use a twisted-pair shielded cable, and the shielding layer should be grounded (connected to the same terminal or connected to the signal ground) to improve noise immunity. The highest frequency of the high-speed output port
rate up to 100kHz. Provide high-speed I/O instructions and positioning instructions to manage high-speed output channels. For details, refer to "EC20/EC10 Series Programmable Controller
The status of digital input/output terminals can be indicated by status indicators. Figure 4-18 shows the position of the main module status indicator.
When the input port is closed (ON state), the input status indicator is on, otherwise the indicator is off.
The state of the control output port is indicated by the output state LED. When the output port is in the closed (ON) state, that is, when the connection between Yn and COMn is closed, the indicator
EC10 series PLC products provide a main module integrated with AD/DA functions, which can meet the needs of users for analog control with small size, low cost and integrated
solution. The models that support analog input and output are shown in Figure 4-10.
Table 4-10 PLC models supporting analog input and output in EC10 series
EC10-1614BRA1 2 ÿ ÿ 1 ÿ ÿ
EC10-1614BTA1 2 ÿ ÿ 1 ÿ ÿ
The terminal distribution and definition of EC10-1614BRA1 and EC10-1614BTA1 have been introduced. The details of analog input and output terminals are shown in Table 4-11.
Table 4-11 Definition of analog input and output terminals of EC10-1614BRA1 and EC10-1614BTA1
Note: For each input channel, the voltage and current signals cannot be input at the same time. When measuring the current signal, please short-circuit the channel voltage signal input terminal and the current signal input terminal
The internal equivalent circuit of the analog input and output part is shown in Figure 4-19.
CH1
ÿ AI1+ electric current AIO+ electric current
output load
AVI1- TO THE
ÿ
hO
K05
ÿ052
ÿ ÿ
or
AGND ÿ
Voltage
AGND
current input 150K output
Oh
AV2+ HIGH+
ÿ
CH2 Voltage
AI2+ AIO+ ÿ
load
AVI2- TO THE
ÿ ÿ
hO
K05
ÿ052
ÿ ÿ
AGND
ÿ AGND
When wiring, please refer to Figure 4-18, and pay attention to the following 8 aspects:
1. It is recommended to use twisted-pair shielded cables for analog input/output, and the cables should be kept away from power lines or other wires that may cause electrical interference;
2. If the input/output signal has electrical noise or voltage fluctuation, you can connect a capacitor (0.1ÿFÿ0.47ÿF/25V), and ceramic capacitors are recommended;
4. If the current channel uses current input, please short-circuit the voltage input terminal and current input terminal of the channel;
6. If the voltage output is short-circuited or a current load is connected to the voltage output, the programmable controller may be damaged;
8. Use a single point ground at the load end of the output cable.
The performance indicators of analog input and output are shown in Table 4-12.
project index
-10~10Vdc (input impedance not less than 200kÿ), input signal frequency <10Hz.
voltage input
WARNING: This unit may be damaged when the input voltage exceeds ±15Vdc
Analog input range
-20ÿ20mA (input impedance is 250ÿ), input signal frequency < 10Hz.
current input
WARNING: There is a possibility of damage to this unit when the input current exceeds ±30mA
voltage input 5 mV
isolation An optocoupler is used to isolate the analog circuit and the digital circuit. No isolation between analog channels
The analog ports are accessed through special data registers, as defined in Table 4-13. For details, please refer to "EC20/EC10 Series Programmable Controller Programming Reference
manual".
EC10 series PLC main module provides two serial asynchronous communication ports, namely PORT0 and PORT1. The characteristics of the communication port are shown in Table 5-1.
Table 5-1 Communication port characteristics of the main module of EC10 series
Port Socket Type Signal Level Working Mode Provide Protocol use Supported baud rate (bps)
Programming port protocol user programming, debugging, monitoring, etc. 9600 and 19200
1
Realize partial communication with other PLCs in the network 115200ÿ57600ÿ38400ÿ19200ÿ
ECBUS Protocol Note
Data exchange by component 9600ÿ4800ÿ2400ÿ1200
The communication protocol of PORT0 is selected by the mode selection switch near its socket, as shown in Figure 5-1.
3
4
5
6
7
8
PORT0
1 2
to RS232)
PORT0 is a dedicated interface for user programming, which can be forcibly switched to the programming port protocol through the mode selection switch, PLC running status and PORT0 usage protocol
Determined by the user program and its system configuration, it can be programming port protocol, MODBUS protocol, free port protocol,
ON run
N:N network protocol (ECBUS)
TMÿONÿTMÿ run
Forcibly switch to programming port protocol
TMÿOFFÿTMÿ stop
If the system setting of the user program is the free port protocol, it will automatically switch to the programming port protocol after stopping, otherwise it will keep
OFF stop
The protocol set by the system remains unchanged
PORT1 is suitable for connection with production equipment with communication functions, such as inverters, using MODBUS protocol or RS485 port free protocol, for multiple devices
The PORT1 port is a screw-fixed terminal, and the communication signal cable can be made by the user. It is recommended that the user use twisted-pair shielded wire as the connection cable for the communication port.
Note that the RS232 and RS485 ports of PORT1 cannot be used at the same time; the unused terminals cannot be connected with external cables, otherwise it may cause communication abnormalities.
The user programs of EC10 series programmable controllers need to be compiled and downloaded in the ControlStar integrated software development environment developed by our company. ControlStar programming
Software operating environment: IBM PC microcomputer or compatible computer, supporting Microsoft's Windows 98, Me, NT 4.0, Windows 2000 or XP and other operating systems
system. The minimum and recommended configurations of the computer are shown in Table 5-3.
CPU configuration is equivalent to Intel's Pentium 233 or above CPU Equivalent to Intel's Pentium 1G or above CPU
Graphics card can work in 640×480 resolution, 256 color mode Can work in 800×600 resolution, 65535 color mode
The communication port must have a RS232 serial communication port output by a DB9 socket
The integrated ControlStar programming environment is compatible with the IEC61131-3 standard, and can use ladder diagram, instruction list, sequential function chart programming, and provides upload/download, monitor
Control, debugging and online modification functions; the programming environment provides powerful instruction guides and online help functions. For details, see "ControlStar Programming Software User
manual".
Our company provides PDA handheld programmer EC10-PD01, which supports EC10 series PLC programming.
The handheld programmer has a built-in 3.5-inch VGA reflective screen, uses Windows CE operating system, supports program upload and download, online monitoring of component values, online debugging,
PLC status monitoring, project management, off-line programming and compilation, password setting, clock management and other functions. The program can be stored permanently in the programmer and can be used with the computer
Emerson Network Power Co., Ltd. can provide serial communication cables for programming download. The plugs at both ends of the cable are Mini-DIN8 and DB9 respectively, and the model description is shown in the table
5-4 shown.
B2053RASL1 Common programming cable 2m Non-isolated design, please do not plug and unplug when in use, so as not to damage the device
B2053RASL2 Isolated Programming Cable 2m Plugs at both ends are electrically isolated, hot-swappable, suitable for programming in strong interference situations
Chapter 6 Installation 25
Chapter 6 Installation
6.1 Precautions
Danger
The programmable controller design is suitable for the application occasions of the installation environment II standard and pollution level 2. Therefore, the installation environment is required to be free from dust, oily smoke, conductive dust,
Corrosive gas or flammable gas, etc., should not be exposed to high temperature, condensation, wind and rain environment; vibration and shock will also affect the stability and reliability of PLC work and shorten the service life.
The commonly used installation method is to install the programmable controller and the switches, contactors and other equipment used in conjunction with it in a special electrical cabinet, and maintain a suitable natural
convection of the air. If the working environment temperature is high, or there is heating equipment nearby , There must be a forced air convection device on the top or side of the electrical cabinet to ensure that the equipment
When processing screw holes and wiring, do not let metal filings and wire ends fall into the ventilation holes of the PLC, which may cause fire, failure, and misoperation.
After the PLC is installed, please remove foreign matter on the ventilation surface, including dust-proof paper and other packaging items, otherwise it may cause poor heat dissipation during operation, resulting in fire, failure,
and misoperation.
Avoid wiring, plugging and unplugging the cable while it is live, as this may easily cause electric shock or damage the circuit.
Installation and wiring must be firm and reliable, poor contact may lead to malfunction.
Figure 6-1 shows the external dimensions and installation hole dimensions of EC10-1410BRA and EC10-1410BTA.
135
71.2 125
4.5
DIN rail
fixing slot
(35mm)
Figure 6-1 The appearance and installation dimensions of EC10-1410BRA and EC10-1410BTA
Figure 6-2 shows the external dimensions and mounting hole dimensions of EC10-1614BRA and EC10-1614BTA.
26 Chapter 6 Installation
150
71.2 140
4.5
DIN rail
fixing
slot (35mm)
Figure 6-2 The appearance and installation dimensions of EC10-1614BRA and EC10-1614BTA
Figure 6-3 shows the external dimensions and installation hole dimensions of EC10-2416BRA, EC10-2416BTA, EC10-1614BRA1 and EC10-1614BTA1.
182
71.2 172
4.5
DIN rail
fixing
slot (35mm)
Figure 6-3 The outline and installation dimensions of EC10-2416BRA, EC10-2416BTA, EC10-1614BRA1 and EC10-1614BTA1
The external dimensions and installation hole dimensions of the I/O expansion modules EC10-0808ERN, EC10-0808ETN, EC10-0800ENN, EC10-0008ERN, EC10-0008ETN are shown in Figure 6-4.
The special function modules EC10-4AD, EC10-4DA , EC10-5AM, EC10-4TC, EC10-4PT and other dimensions and installation
71.2 4.5
61
81 90
Figure 6-4 Outline and installation dimensions of I/O expansion modules and special function modules
The programmable controller must be installed horizontally on the back panel of the electrical cabinet, as shown in Figure 6-5. Install it in the up and down direction and keep the ventilation space above and below it. The installation in other directions is not
conducive to its own heat dissipation, so it is an inappropriate installation method. . It is required that the distance between the programmable controller and the upper and lower equipment or the cabinet wall is greater than 15cm, and there should be no
Chapter 6 Installation 27
Generally, a 35mm wide DIN slot can be used for installation, as shown in Figure 6-6.
Block Block
35mm wide DIN slot Press back into the DIN slot snap
Pull out the DIN slot buckle
2. Pull out the DIN slot buckle at the bottom of the module;
4. Press the buckle back to its original position to lock the module;
5. Finally, fix the two ends of the module with DIN slot clips to avoid sliding left and right.
For occasions where there may be a large impact, screw hole installation can be used, as shown in Figure 6-7. Use fixing screws to fix the module on the back panel of the electrical cabinet through the two
ÿ4 screw holes of the PLC shell. It is recommended to use M3 screws for fixing.
M3 screw fixing
4 mounting holes
M3 screw fixing
28 Chapter 6 Installation
6.4 Connection
Danger
1. Do not use the programmable controller in the following places: places with dust, oil fume, conductive dust, corrosive gas, flammable gas; places exposed to high temperature,
Places with condensation, wind and rain; places with vibration and shock. Electric shock, fire, misuse can also cause product damage and deterioration.
2. When processing screw holes and wiring, do not let metal filings and wire ends fall into the ventilation holes of the controller, as this may cause fire, failure, and misoperation.
3. After the installation and wiring are completed, remove foreign matter immediately, and please cover the terminal cover of the product before powering on to avoid electric shock.
4. After the newly purchased programmable controller is installed, it is necessary to ensure that there are no foreign objects on the ventilation surface, including packaging items such as dustproof paper, otherwise it may cause problems during operation.
5. Avoid wiring, plugging and unplugging the cable when the power is on, otherwise it will easily cause electric shock or circuit damage.
6. Installation and wiring must be firm and reliable, poor contact may lead to malfunction.
7. The input or output cables of high-frequency signals and the cables for transmitting analog signals should use twisted-pair shielded cables to improve the anti-interference performance of the system.
8. Please follow the instructions in this manual to connect the AC power to the L and N terminals. Connecting AC power to other terminals will burn the PLC.
9. Please do not supply power to the +24V terminal of the main module from the outside, otherwise the product will be damaged.
10. The input and output signal lines connected to the PLC should not be wired side by side with other strong electric or strong interference lines to reduce interference.
11. Please do not share the grounding terminal of the main module with the heavy current system.
When wiring for PLC applications, it is recommended to use multi-strand copper wires with prefabricated insulated terminals, which can ensure the quality of wiring. Recommended wire cross-sectional area and type
Cable name Wire cross-section requirements Recommended Cooperating terminals and heat shrinkable tubes
AC power cord (L, N) 1.0ÿ2.0mm² wire type AWG12, 18 H1.5/14 pre-insulated tubular end, or wire end hot tin treatment
Ground wire( ) 2.0mm² AWG12 H2.0/14 Pre-insulated tubular ends, or wire ends are tinned
Input signal line (X) 0.8ÿ1.0mm² AWG18, 20 UT1-3 or OT1-3 ferrule, ÿ3 or ÿ4 heat shrink tube
Output signal line (Y) 0.8ÿ1.0mm² AWG18, 20 UT1-3 or OT1-3 ferrule, ÿ3 or ÿ4 heat shrink tube
UT cold-pressed end heat-shrinkable tubing line number marking wire H-type pre-insulated cold-pressed terminal
not greater than 5.0
18
not greater than 5.0 682
47 PG
Fix the processed cable head on the terminal of the PLC with screws. Pay attention to the correct position of the screws. The tightening torque of the screws is 0.5~0.8Nm to ensure reliable connection.
Notice
The power input terminal is the delivery accessory of the module, the user should install the power cord on the power input terminal under the power off condition, and then plug the power input terminal into the PLC
main module.
Chapter 6 Installation 29
Danger
There are two types of power input for EC10 series PLC modules: 220Vac and 24Vdc. Be sure to check and confirm before wiring and power-on to avoid equipment damage and other losses caused by misuse.
PLC is designed to be used in the control circuit, and its AC power circuit should have lightning protection measures, and the power circuit should be separated from the power supply circuit to avoid operation overvoltage. Do not
connect AC
power or DC power to the 24Vdc output terminal of the main module. Do not connect or disconnect cables with
power on to avoid electric shock accidents and equipment damage. When inserting the power input terminal into the PLC main
module, it must be installed firmly to avoid electric shock accidents, equipment damage and abnormal operation caused by the terminal falling off.
Connect the power cables of each module according to the instructions in Figure 6-9.
AC - N
AM - L
+24V
+5V
switching power supply
GND EC10-4AD
EC10-4DA
EC10 EC10-4AM
EC10-1614BRA
0808ERN EC10-4TC
Figure 6-9 Connection example of AC power supply and auxiliary power supply
Setting up a reliable grounding wire can enhance the safety of the equipment and improve the electromagnetic immunity of the PLC. When installing, connect the PG terminal of the PLC power supply to the grounding body. suggestion
Use AWG12~16 connecting wires, and reduce the length of the wires as much as possible. It is recommended to set up an independent grounding device, and try to avoid common paths with the grounding wires of other devices
Figure 6-10 Example of connection between PLC and other equipment power grounding wires
If the PLC special function module is used, it is better to connect the grounding wires of the main module and each special module to the grounding body separately, as shown in Figure 6-11.
PLC main module special module 1 special module 2 PLC main module special module 1 special module 2
better poor
Figure 6-11 Example of connection between the main module of the programmable controller and the grounding wire of the power supply of the special function module
30 Chapter 6 Installation
When the PLC application system is wired, there are often multiple cable ends connected to the same terminal, such as +24V, COM, output group common terminal COMn, etc. (as shown in Figure 4-13 and Figure 4-17) . It is
recommended to use the expansion terminal block for connection expansion, and there are corresponding signs, which can make the connection convenient and reliable, and the wiring simple.
Connect the input/output terminals of the main module and each expansion module according to the instructions in Chapter 4.
When the main module is not powered on, first remove the small cover plate of the expansion cable socket at the right end of the main module, and then insert the busbar cable head of the expansion module into the cable seat in the
socket. If multiple expansion modules are connected, they can be connected one by one. As shown in Figure 6-12.
Small cover for extension cable socket, remove before connecting cables
Notice
Pay attention to the direction of the bus plug when connecting the extended bus, and do not use too much force to avoid damage to the pins.
The main module of the EC10 series can automatically identify the connected expansion modules and address them sequentially without user intervention.
After the PLC is powered on normally, it will perform an automatic addressing operation, and then the addresses of each expansion module will remain unchanged. During operation, do not connect or unplug I/O expansion modules and
special function modules, so as not to damage the PLC or cause abnormal operation.
The numbering of I/O points adopts an octal encoding scheme, such as: 0, 1, ..., 7, 10, 11 ..., without numbers 8, 9.
The input port numbers of the main module and the I/O expansion module are: X0, X1, X2, …X7, X10, X11…, and the output port numbers are: Y0, Y1, Y2, …Y7,
Y10, Y11... numbers are arranged in this order. Points are numbered in groups of 8, and parts with less than 8 points will be blanked.
For example: EC10-1614BRA module has 16 input points, numbered X0~X17, and the X terminals of subsequent expansion modules are numbered from X20; output points are 14 points, numbered Y0~Y15, and terminals numbered
Y16~Y17 will be Not present, the Y terminals of subsequent expansion modules will be numbered starting from Y20.
The I/O expansion module is numbered incrementally corresponding to the X terminal and Y terminal according to the connection sequence of the expansion connection cable with the main module. Figure 6-13 shows an example of the port
Figure 6-13 Example of port logic numbers of the main module and the expansion module
Please read the safety precautions in this manual before using this product, install and wire in strict accordance with the requirements described above, check and verify item by item before power on, and power on for trial operation after
1. Check whether the voltage level of the power input line is consistent with the rated input of the PLC model. Check that the power cord is connected to the correct terminal. Please note: 220V AC power terminals are L and N respectively,
and 24V DC power terminals are respectively ÿ 24Vdc ÿ, please do not confuse them with +24V and COM terminals, make sure they are correct.
2. Check and confirm that the user signal input line is connected to the PLC input terminal, and the signal characteristics conform to the electrical technical specifications of the input port.
3. Check and confirm the output port. If the output circuit has different voltage levels, it should be noted that different levels should be distributed in different output groups to avoid short circuit and damage to equipment.
4. Carefully check the connection method of the ground wire and the specification of the wire to meet the specification requirements.
5. Make sure that no foreign matter falls into the PLC, and the heat dissipation channel of the shell is unblocked.
6. If you need to use the host computer or human-machine interface (HMI), you need to connect the communication signal cable accurately.
1. Turn on the PLC power supply, and the POWER light of the PLC should be on.
2. Start the ControlStar software on the PC, and download the compiled user program to the PLC.
3. After the downloaded program has been verified, turn the mode selection switch to the ON position, and the RUN light should be on. If the ERR light is on, it means that there is an error in the user program or the system. Please refer to
"EC20/EC10 Series Programmable Controller Programming Reference Manual" Instructions for troubleshooting errors.
4. Then turn on the power supply of the external system of the PLC to debug the system.
PLC working state is divided into running state and stop state. The main module provides a variety of operation and shutdown control methods: mode selection switch, ControlStar programming environment, communication port (such as
MODBUS), input terminals X0~X17, etc., which facilitate the operation control of the user system.
When the main module is in the running state, the user program will be executed by the system, that is, one scan cycle completely includes four tasks (execute user programÿcommunicationÿhousekeepingÿrefresh I/O).
When the main module is in the stopped state, the system does not execute the user program, but the other three tasks are still executed by the system in one scan cycle (communicationÿhousekeepingÿrefresh I/O).
PLC provides the user with a mode selection switch, which can switch the programming protocol and select the operating mode. The definition of each gear position of the mode selection switch has been described in Table 5-2, and the
relationship between the switching of the mode selection switch and the PLC running status and programming protocol is shown in Table 7-1.
RUN ONÿTM RUN The protocol of PORT0 is switched to the programming port protocol
RUN TMÿON RUN The protocol of PORT0 is switched to the protocol set by the user in the system block
RUN TMÿOFF STOP enters the stop state, and the protocol switching is the same as above
STOP OFFÿTM STOP The protocol of PORT0 is switched to the programming port protocol
STOP TMÿOFF STOP The protocol of PORT0 is switched to the protocol set by the user in the system block
STOP TMÿON RUN enters the running state, and the protocol switching is the same as above
Reset method
When the mode selection switch is in the ON position, the system will automatically enter the running state after reset (including system power-on reset);
Note: If the "input point control mode" item in the system configuration is valid, the state of the specified input point should be ON, otherwise it cannot enter the running state. Input point control
Manually
In the stop state, when the mode selection switch is toggled from the OFF position or the TM position to the ON position, the system enters the running state;
In the stop state, after the system receives the RUN communication command, the system enters the running state;
In the stop state, when the system detects that the specified input port has changed from OFFÿON, the main module enters the running state.
It should be noted that when selecting the input point control mode, the "Input point control mode" item in the system configuration should be configured as valid, and the mode selection switch should be in the
ON position.
Reset method
When the mode selection switch is in the OFF position, the system will automatically enter the stop state after reset (including system power-on reset);
If the "input point control mode" item in the system configuration is valid, the state of the specified input point should be OFF, otherwise it cannot enter the stop state.
Manually
In the running state, when the mode selection switch is toggled to the OFF position, the system enters the stop state;
In the running state, after the system receives the STOP communication command, the system enters the stop state;
In the running state, when the STOP instruction in the user program is effectively executed, the system enters the stop state;
When the system detects a serious error (such as user program error, user program overtime, etc.), it will automatically stop the execution of the user program.
Ensure the cleanliness of the working environment of the PLC controller and prevent foreign objects from falling into the machine;
All wiring connections and terminals are securely fastened and in good condition.
1. The connection of power lines and the status of related switches and protective appliances to ensure that the PLC has been reliably powered;
If it still cannot work after the above checks, refer to Table 8-1 to analyze according to the PLC working status and I/O status indicators.
Power loss or low voltage Check the power status and rule it out
POWER and other LEDs are The power switch is off or the fuse is blown
Check switch, wire or fuse condition, rule out
not bright Abnormal power wiring
user program error Use the ControlStar environment to re-edit the user program and debug it before downloading
ERR LED blinks
The actual running time exceeds the WDT setting time Increase WDT setting time
The mode selector switch is not in the ON position Turn the switch to the ON position
Set the operation control mode to terminal mode, and the terminal is OFF
Close the set control operation terminal
RUN LED off Location
Shutdown by remote control of host computer equipment Make the upper computer start up remotely
Correct the electrical parameters of the external circuit to an appropriate range, such as shortening the length of the wire
Input status indicator and input The on-resistance of the user line is too large
degree without using excessively thin wire
Inconsistent terminal status
Poor contact of signal circuit
Check and troubleshoot connections
Bad external connection
Output cannot be turned off (OFF)
Damaged relay contacts
Status indication, etc. and output terminals The relay port with frequent action can be exchanged with the idle port
The relay is aging and damaged, or the indicator light is damaged
inconsistent state
Unable to download, upload, monitor cable connection is bad, the ON/TM/OFF position of the PLC is incorrect Use the special communication cable for PLC downloading from Emerson
Poor cable connection, or incorrect signal properties of the connection line, such as
Connect the signal wires correctly
TXD is confused with RXD
The serial port cannot control other devices
The settings of communication master and slave characteristics are inconsistent, such as baud rate, parity,
prepare Set the communication parameters to be consistent
Data bits, address
The protocol used by the communication master and slave is inconsistent Set the communication protocol to be consistent
Connect a capacitor of about 22uF50V in parallel at the counting input terminal , pay attention to the pole of the capacitor
In the case of multi-counting, the input signal waveform is greatly disturbed
sex
Inaccurate counting at low speed If the execution time of the user program is too long, it is recommended to install the counting signal
The case of less counting is that the period of the detected signal is shorter than the PLC program
row in the high-speed counting port. If it is set to constant scan, set the scan reasonably
program execution cycle
scan time
0 no error occurred
44 Mandatory table missing error system error Elimination conditions: clear components/mandatory operation/formatting/detection after reset
No fault
Do not stop the user program (the error light does not indicate)
45 User information file error system error
Elimination condition: download new program and new data block file/format
46ÿ59 reserved
60 User program compilation error Execution error stops the user program (the error light is always on)
61 User program running timed out Execution error stops the user program (the error light is always on)
62 Illegal user program instruction reached Execution error stops the user program (the error light is always on)
63 The element type of the instruction operand is illegal Execution error stops the user program (the error light is always on)
66 subroutine stack overflow execution error Does not stop user program execution, error light does not indicate, but will be on SD20
ÿ60ÿ75ÿ
67 User interrupt request queue overflow execution error Indicates the error type code in
When the stack size and the number of elements in the stack are less than zero
71 reserved
Instruction Category Instruction Command function description Instruction Category Instruction Command function description
LDI Normally closed contact command DMOV double word data transfer instruction
AND Normally open contacts and commands RMOV floating point data transfer instruction
YEARS Normally closed contacts and commands BMOV data block transfer instruction
OR Normally open contact or instruction SWAP high and low byte exchange instruction
make
FMOV data block fill instruction
SET Coil Set Command
FIFO FIFO
NOP no-op instruction
LIFO LIFO
basic instructions MPS output can flow into the stack instruction
ADD Integer addition instructions
MC master command
DSUB long integer subtraction instruction
MCR master clear command
INC integer increment instruction
CTU 16 -bit counter count up instruction DDIV Long Integer Division Instruction
CTR 16 -bit counter loop counting instruction VABS integer absolute value instruction
CNCD 32 -bit counting instructions DVABS long integer absolute value instruction
CSRET User subroutine conditional return DSQT long integer arithmetic square root instruction
User interrupt subroutine conditional return DSUM long integer accumulation instruction
program flow control CIRET
RIGHT SFC program end EXP floating-point number natural number power instruction EXP
Instruction Category Instruction Command function description Instruction Category Instruction Command function description
WOR word or instruction positioning command PLSV Variable speed pulse output command
word/double word
DWXOR double word exclusive OR instruction TRD Real-time clock read command
Enhanced bit BITS ON bit statistics command in word LDD<= Long integer comparison LD<= instruction
processing instructions DBITS ON bit statistics command in double word LDR<= Floating-point comparison LD<= instruction
EGG Batch Bit Clear Instructions LD<> Integer comparison LD<> instruction
ZSET Batch Bit Set Instructions LDD<> Long integer comparison LD<> instruction
HCNT High-speed counter drive instruction LDR<> Floating point comparison LD<> instruction
DHSCS High-speed counting compare set instruction AND= Integer comparison AND= instruction
REFF Set Input Filter Constant Command WORD= Long integer comparison OR= instruction
REF I/O Immediate Refresh Instruction ORR= Floating-point comparison OR= instruction
Instruction Category Instruction Command function description Instruction Category Instruction Command function description
ORD> long integer comparison OR> instruction BLD Word bit contact LD instruction
ORR> Floating-point comparison OR> instruction BLDI Word bit contact LDI instruction
OR >= integer comparison OR >= instruction BAND word bit contact AND instruction
ORD>= long integer comparison OR>= instruction MONEY Word bit contact ANI command
word contact means
ORR>= floating point comparison OR>=instruction There is Word bit contact OR instruction
make
OR< Integer comparison OR< instruction WIN Word bit contact ORI instruction
compare contacts ORD< long integer comparison OR<instruction BSET Word bit coil set instruction
instruction ORR< floating-point comparison OR> instruction BRST Word bit coil clear command
ORD<= long integer comparison OR<=instruction MODBUS MODBUS master communication command
ORR<= floating point comparison OR<=instruction IOM Freeport Send (XMT) command
OR<> integer comparison OR<> instruction RCV Freeport Receive (RCV) Instruction
ORD<> long integer comparison OR<> instruction EVFWD inverter forward command
ORR<> Floating point comparison OR<> instruction EVREV inverter reverse command
ETC integer to long instruction EVDFWD Inverter Jog Forward Rotation Command
communication order
DTI Long Integer Convert Integer Instruction EVDREV inverter jog reverse command
DFLT Long Integer to Float Instructions EVFRQ sets the inverter frequency command
INT Floating point conversion integer instruction EVWRT write single register value instruction
DINT Floating point number conversion long integer instruction EVRDST read inverter status command
BCD Word conversion 16 -bit BCD code instruction EVRD read inverter single register value command
DBCD double word conversion 32 -bit BCD code instruction CCITT CCITT check command
Data validation
Numeric conversion BIN 16 -bit BCD code conversion word instruction CRC16 CRC16 check instruction
instruction
instruction DBIN 32 -bit BCD code conversion double word instruction LRC LRC check instruction
GAMES Word conversion to 16 -bit Gray code instructions DCMP = date equality comparison instruction
DGRY double word conversion 32 -bit Gray code instruction DCMP> date greater than comparison instruction
GAIN 16 -bit Gray code conversion word instruction date comparison DCMP< date less than comparison instruction
DGBIN 32 -bit Gray code conversion double word instruction instruction DCMP>= date is greater than or equal to comparison instruction
SAY word conversion 7- segment code DCMP<= date greater than or equal to comparison instruction
ASC ASCII code conversion command DCMP<> date not equal comparison instruction
SHE 16 - bit hexadecimal number conversion ASCII code instruction TCMP = time equality comparison instruction
WE HAD ASCII code number conversion 16 -bit hexadecimal instruction TCMP> time greater than compare instruction
Special registers mainly include special intermediate relays and special data registers.
All special auxiliary registers are initialized by the system at STOPRUN. The special auxiliary registers that are set in the system setup will be done in the previous initialization
After that, re-assign according to the setting value in the system setting. The characteristics of special intermediate relays are shown in Table 10-1~Table 10-18. Where reserved SD, SM form
If not listed, the read-write attribute of reserved SM components defaults to read-only (R)
SM0 monitor run bit In the RUN state, it is always high, and in the STOP state it is always zero R
SM1 initial running pulse bit user program from STOP-RUN, set high for one running cycle and then set low R
SM2 power-on flag Set to high when the system is powered on, and set to low when the user program runs for one cycle R
SM3 system error This bit is set when a system error is detected after power-on or during STOP-RUN . If no system error occurs, this bit is cleared. R
SM4 Reserved
Set when AC power failure is detected (the detection time window is 40ms long), after delaying the power failure detection time (SD05, unit ms),
SM5 AC power failure detection bit R
This bit is cleared if the brownout condition disappears
Set when detecting 24Vdc power loss (the detection time window is 50ms long), after a delay of 50ms , detect 24Vdc power loss again, such as
SM6 24Vdc power loss R
The brownout condition disappears, clear this bit
SM7 Reserved R
SM8 constant scan mode When this bit is set, the scan time is constant (only configurable via system block) R
SM9 input point start mode After this bit is set, the PLC can enter the RUN state from STOP when the set X input point is ON (only through system block configuration) R
SM10 10ms clock 10ms cycle clock oscillation (half cycle flip, the first half cycle is 0 when the user program is running) R
SM11 100ms clock 100ms cycle clock oscillation (half cycle flip, the first half cycle is 0 when the user program is running) R
SM12 1s clock Clock oscillation with a cycle of 1s (half cycle flip, the first half cycle is 0 when the user program is running) R
SM13 1min clock Clock oscillation with a cycle of 1min (half cycle flip, the first half cycle is 0 when the user program is running) R
SM14 1hour clock Clock oscillation with a period of 1hour (half-period reversal, the first half-period is 0 when the user program is running) R
SM15 scan cycle oscillation bit This bit flips once every scan cycle. (the first cycle is 0 when the user program is running ) R
SM20 instruction execution error Cleared to 0 after the execution of the application instruction is correct; set to 1 if the instruction is executed incorrectly. At the same time, fill in the specific error type code in SD20 R
SM21 Instruction component number subscript overflows and clears to zero after executing the application instruction correctly; instruction execution error, set to 1. At the same time, fill in the specific error type code in SD20 R
SM22 Instruction parameter is illegal Cleared to 0 after the execution of the application instruction is correct; set to 1 if the instruction is executed incorrectly. At the same time, fill in the specific error type code in SD20 R
When the SM40 X0 input rising/falling edge interrupt enable flag is set to 1 , it is enabled to enter the X0 rising edge (falling edge) interrupt R/W
When the SM41 X1 input rising/falling edge interrupt enable flag is set to 1 , it is enabled to enter the X1 rising edge (falling edge) interrupt R/W
When the SM42 X2 input rising/falling edge interrupt enable flag is set to 1 , it is enabled to enter the X2 rising edge (falling edge) interrupt R/W
When the SM43 X3 input rising/falling edge interrupt enable flag is set to 1 , it is enabled to enter the X3 rising edge (falling edge) interrupt R/W
When the SM44 X4 input rising/falling edge interrupt enable flag is set to 1 , it is enabled to enter the X4 rising edge (falling edge) interrupt R/W
When the SM45 X5 input rising/falling edge interrupt enable flag is set to 1 , it is enabled to enter the X5 rising edge (falling edge) interrupt R/W
When the SM46 X6 input rising/falling edge interrupt enable flag is set to 1 , it is enabled to enter the X6 rising edge (falling edge) interrupt R/W
When the SM47 X7 input rising/falling edge interrupt enable flag is set to 1 , it is enabled to enter the X7 rising edge (falling edge) interrupt R/W
When the character transmission interrupt enable flag of SM48 PORT0 is set to 1 , it is allowed R/W
When the character reception interrupt enable flag of SM49 PORT0 is set to 1 , it allows R/W
Frame transmission interrupt enable flag bit of SM50 PORT0 When set to 1 , allows R/W
Frame reception interrupt enable flag bit of SM51 PORT0 When set to 1 , allows R/W
When the character transmission interrupt enable flag of SM52 PORT1 is 1 , it is allowed R/W
When the character reception interrupt enable flag of SM53 PORT1 is set to 1 , it is allowed R/W
Frame transmission interrupt enable flag bit of SM54 PORT1 When set to 1 , allows R/W
Frame reception interrupt enable flag bit of SM55 PORT1 When set to 1 , allows R/W
SM57 Reserved
SM58 Reserved
SM59 Reserved
SM60 Reserved
SM61 Reserved
SM62 Reserved
SM63 high-speed output 0 completion interrupt enable flag bit When set to 1 , when the high-speed output 0 is completed, enable to enter the high-speed output 0 complete interrupt R/W
SM64 high-speed output 1 completion interrupt enable flag bit When set to 1 , when the high-speed output 0 is completed, enable to enter the high-speed output 1 complete interrupt R/W
SM65 high-speed counting interrupt enable flag bit When set to 1 , enables access to R/W
SM66 timing interrupt 0 enable flag bit When set to 1 , enable entry to timer interrupt 0 R/W
SM67 timing interrupt 1 enable flag bit When set to 1 , enable entry to timer interrupt 1 R/W
SM68 timing interrupt 2 enable flag bit When set to 1 , enable entry to timer interrupt 2 R/W
SM80 Y000 pulse output stop command When this bit is set, the Y000 pulse will be prohibited R/W
SM81 Y001 pulse output stop command When this bit is set, the Y001 pulse will be disabled. ON when R/W
SM82 Y000 pulse output monitoring (busy /ready) busy / OFF when ready. ON / OFF when busy. R
SM85 reset function is valid The CLR signal output function of the positioning command origin return (ZRN) is valid R/W
This bit is set when using the XMT command, and cleared when the transmission is over; when this bit is cleared, port 0
SM110 port 0 send enable flag R/W
The current sending task is suspended, and when the power flow is turned on again, the sending task will continue
This bit is set when using the RCV instruction, and cleared when the reception is over; when this bit is cleared, port 0
SM111 port 0 receive enable flag R/W
The current receiving task of is suspended, and when the power flow is turned on again, continue to receive the task
SM112 serial port 0 sending completion flag send done set R/W
SM113 serial port 0 receiving completion flag receive complete set R/W
SM114 serial port 0 idle flag When the serial port has no communication task, the flag bit is set R
When using the XMT command, this bit is set, and it is cleared when the transmission is over; when this bit is cleared, port 1
SM120 port 1 send enable R/W
The current sending task is suspended, and when the power flow is turned on again, the sending task will continue
This bit is set when using the RCV instruction, and cleared when the reception is over; when this bit is cleared, port 1
SM121 port 1 receive enable R/W
The current receiving task of is suspended, and when the power flow is turned on again, continue to receive the task
SM124 serial port 1 idle flag When the serial port has no communication task, the flag bit is set R
SM130 Reserved
SM131 Reserved
SM132 Reserved
SM133 Reserved
SM134 Reserved
The MODBUS communication of SM135 PORT1 is completed Set when communication is complete R/W
MODBUS communication error of SM136 PORT1 Set when communication error R/W
SM137 Reserved
SM138 Reserved
Enable flag of SM173 AD channel 1 Set to 1, enable the sampling of AD channel 1 R/W
SM174 AD channel 0 voltage and current enable flag Set to 1 for current input, 0 for voltage input R/W
SM175 AD channel 1 voltage and current enable flag Set to 1 for current input, 0 for voltage input R/W
SM176 Reserved
SM177 Reserved
Enable flag of SM178 DA channel 0 Set to 1 to enable the output of DA channel 0 R/W
SM181 carry/overflow flag When the relevant operation has a carry, this bit is turned on when the relevant instruction is executed, and the user can manually clear and set this bit R/W
SM182 Borrow When the related operation has a borrow bit, the bit is set when the related instruction is executed, and the user can manually clear and set this bit R/W
SM185 Form Comparison Signs Set when the entire table record is complete R/W
1. When a general module bus operation error occurs, this bit is set and the system alarms;
SM191 general module bus error flag bit R
2. System fault elimination flag is automatically cleared
1. When a special module bus operation error occurs, this bit is set and the system alarms;
SM192 special module bus error flag bit R
2. System fault elimination flag is automatically cleared
Its corresponding SM2 _ _ becomes high level and low level corresponding to the decrease and increase of the counter respectively
SM240 C240 R/W
enter
The characteristics of special data registers are shown in Table 10-19 to Table 10-33. Among them, all special data registers except SD50~SD55, when STOPRUN
initialized by the system. Reserved SD and SM are not listed in the table, and the read-write attribute of reserved SD components is read-only (R) by default.
SD03 System error code Stores the system error code that occurred R
SD04 battery voltage value Doesn't make sense in EC10 main module R
SD05 AC power loss detection delay time setting value If the setting value is greater than 100ms, it will be processed as 100ms R 10ÿ100ms
SD09 Use decimal system (X0 is displayed as 0, X10 is displayed as 8, up to 15) R 0ÿ15
SD10 main module I/O points High byte: input; low byte: output R
SD11 expansion module I/O points High byte: input; low byte: output R
SD12 main module analog I/O points High byte: input; low byte: output R
When SD25 uses the FROM/TO instruction, a wrong special module number (starting from 0 ) occurs The initial value of R is 255
When SD26 refreshes the I/O operation, a wrong I/O chip number occurs (starting from 0 ) The initial value of R is 255
SD31 minimum scan time The minimum value of the scan time ( in ms) R
SD32 maximum scan time The maximum value of the scan time ( in ms) R
The initial value is 0ms, and the unit is 1ms . When the constant scan time is greater than the user monitoring timeout setting value, the function will be
User program timeout alarm. When a scan period of the user program is greater than
constant scan time
SD33 During constant scanning, the periodic constant scanning mode will automatically fail, and no alarm will be processed. R 0ÿ1000ms
set value
When the SD33 setting value is greater than 1000ms , it will be processed as 1000 .
The initial value is 100ms, which can be modified by the user program. After modification, it will be valid in the next scan cycle.
User program timed out When the SD34 value is less than 100 , treat it as 100
SD34 R 100ÿ1000ms
set value When the SD34 value is greater than 1000 , treat it as 1000
Notice
2. When the constant scan time setting value SD33 is close to the user program timeout setting value SD34, due to the influence of the system working conditions and user programs, the user program is prone to occur.
Timeout error, it is recommended that the user program timeout setting value is greater than (SD33) when the constant scan time setting value (SD33) is 5ms.
SD51 PLSR/PLSY command output Y0 pulse total number (low bit) R/W
SD52 PLSR/PLSY command output Y1 pulse total number (high bit) R/W
SD53 PLSR/PLSY command output Y1 pulse total number (low bit) R/W
SD54 PLSR/PLSY command output Y1, Y0 pulse total number (high bit) R/W
SD55 PLSR/PLSY command output Y1, Y0 total number of pulses (low) R/W
SD56 PLS outputs the number of segments currently executed by the Y0 instruction R
SD57 PLS outputs the number of segments currently executed by the Y1 instruction R
Note: SD50-SD55 are cleared when the system program is reset and running
SD66 timing interrupt 0 cycle setting value When the value is not in the range of 1~32767 , the interrupt will not trigger R/W 1~32767ms
SD67 timing interrupt 1 cycle setting value When the value is not in the range of 1~32767 , the interrupt will not trigger R/W 1~32767ms
SD68 timing interrupt 2 cycle setting value When the value is not in the range of 1~32767 , the interrupt will not trigger R/W 1~32767ms
Note: The system has a 1ms error when processing the user's scheduled interrupt . In order to ensure that the scheduled interrupt can work normally, it is recommended that the user's scheduled interrupt period be set to a value greater than or equal to 5ms .
SD84 16 100 Base speed when executing ZRN, DRVI, DRVA instructions R/W
SD87 16 1000 Acceleration and deceleration time when executing ZRN, DRVI, DRVA instructions R/W
The user can only set it through the TWR command or the host computer
b2ÿb1ÿb0
0 = even parity
SD110.4 parity check
1 = odd parity
0 = no verification
SD110.5 parity check allows
1 = verify
The timeout between free port characters is valid 0 - no timeout between characters is valid;
SD110.11 reserve
SD110.13ÿSD110.15 reserve
SD113 timeout between characters Default 0ms (ignore inter-character timeout) R/W 1ÿ32767ms
SD114 frame timeout Default 0ms (ignore frame timeout) R/W 1ÿ32767ms
b2ÿb1ÿb0
0 = even parity
SD120.4 parity check
1 = odd parity
0 = no verification
SD120.5 parity check allows
1 = verify
The timeout between free port characters is valid 0 - No inter-character timeout is valid
SD120.11 reserve
SD123 timeout between characters Default 0ms (ignore inter-character timeout) R/W 0ÿ32767ms
SD124 frame timeout Default 0ms (ignore frame timeout) R/W 0ÿ32767ms
SD134 Reserved
SD135 PORT1 own station number setting R MODBUS (1ÿ31), ECBUS (0ÿ31)
SD180 DHSP table compares the high bits of the output data R/W
SD181 DHSP table compares the lower bits of the output data R/W
SD184 The record number of the form currently being executed R/W
SD191 General module bus error module number Module number when a general module bus operation error occurs R
SD192 Special module bus wrong module number Module number when a special module bus operation error occurs R