Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
User Manual
Version V1.1
Revision date June 26, 2006
BOM 31011166
Emerson Network Power provides customers with technical support. Users may contact the nearest
Emerson local sales office or service center.
Danger: indicates that death, severe personal injury, or substantial property damage will result if proper
precautions are not taken.
Warning: indicates that death, severe personal injury, or substantial property damage could possibly
result if proper precautions are not taken.
Caution: indicates that minor personal injury or property damage can result if proper precautions are not
taken.
2.1 Outline................................................................................................................................................................ 2
2.2 Maximum Configuration ..................................................................................................................................... 2
2.3 Internal Memory Capacity Of User Program ...................................................................................................... 2
2.4 Resource Configuration Of System Soft-device ................................................................................................. 2
2.5 High-speed Input/Output Function...................................................................................................................... 3
2.6 Filter Function Of Input Port ............................................................................................................................... 3
2.7 Interrupt Source.................................................................................................................................................. 3
2.8 Subroutine Call................................................................................................................................................... 3
2.9 Reinforced Debugging Function ......................................................................................................................... 3
2.10 Support Online Modification ............................................................................................................................. 3
2.11 Multiple Password Protection Function ............................................................................................................ 4
2.12 Expansion Module............................................................................................................................................ 4
2.13 RUN And STOP Control................................................................................................................................... 4
2.14 User Program Developing And Debugging ...................................................................................................... 4
2.15 Communication And Networking ...................................................................................................................... 4
Chapter 3 Installation........................................................................................................................................................ 5
Chapter 1 Preface
Thank you for using EC20 series Programmable Logic Controller (PLC) made by Emerson Network Power Co., Ltd.
This book contains text, diagrams and explanations that will guide the reader in the correct installation and operation
of the EC20 series PLC and should be read and understood before attempting to install or use the product.
The book describes the hardware, features and applications of the EC20 series PLC, also includes the options
introduction, troubleshooting guide and instruction quick reference. For the information about how to setup an EC20
programming system and the customer programming application, please refer to ControlStar Programming Software
User Manual or EC20 series PLC Programming Manual printed by Emerson Network Power Co., Ltd. For ordering
the above user manuals, contact your Emerson distributor or sales office.
This manual is designed for the engineer who is studying, programming, installing, or servicing the EC20 series PLC.
2.1 Outline
The outline of EC20 main module is shown in Figure 2-1.
1 2 3 4
15
14 5
13 6
7
8
12 11 10 9
Figure 2-1 Outline of EC20 main module
The name and function of the components in the figure are as follows:
1. The installation position of a button cell battery (CR2032 lithium battery) for data backup.
2. Power supply input ports
3. Signal input ports
4. Input signal status LEDs
5. 26pin busbar socket, used for connecting the expansion module
6. Output signal status LEDs
7. Fix screws, used for tightening the top/bottom cover of the PLC
8. Mounting holes, used for installing screws
9. Locking device of 35mm DIN, used for DIN rail installation mode.
10. Signal output ports
11. System operation status LEDs
12. Communication port COM1, providing RS485 and RS232 at the same time
13. Communication port COM0, RS232, Mini DIN8 socket
14. System operation control switch, with three positions: ON, TM and OFF.
15. Analog potentiometers (two)
Chapter 3 Installation
Pull out the Clip DIN rail with 35mm width Snap the clip of the DIN rail
of DIN rail
Figure 3-2 Installing a PLC onto a standard rail
Under the conditions with great impact, you should mount the PLC on a panel using the screw installation. Using four
fix screws through the four Φ4 mounting holes on the enclosure of the PLC (while EC20-2012BR/BT has only two Φ4
fix screws) to fix the PLC on the back panel of the electric cabinet, as shown in the Figure 3-3.
M3 fix screw
DIN rail
(35mm)
Figure 3-4 Dimensions of outline and mounting holes of EC20-2012BR and EC20-2012BT
2. The dimensions for the outline and mounting holes of EC20-3232BR and EC20-3232BT are shown in the Figure
3-5:
Figure 3-5 Dimensions of outline and mounting holes of EC20-3232BR and EC20-3232BT
3. The dimensions for the outline and mounting holes of EC20-0808ER are shown in the Figure 3-6. And the
dimensions for the outline and mounting holes of the analog signal expansion module such as EC20-4AD, EC20-4DA,
EC20-4AM, and EC20-4TC are the same with that of EC20-0808ER.
Figure 3-6 Dimensions of outline and mounting holes of EC20-0808ER and the analog signal expansion module
EC 2 0 - 20 12 B R D
Addition (A: AC 220V input power)
D: DC 24V input power N: No power
Output points
Input points
Version
Emerson PLC
Figure 4-1 Model Legend of PLC
☆ “ 32/1(2)” in the table: Represent only one common port in logic, but two common ports in structure, and the two
are connected inside the PLC.
Table 4-2 I/O expansion module and configuration of EC20 series PLC
Model Power Supply Vac Input/output points Output type Inner power supply
EC20-0808ERN - 8/8 Relay No
EC20-0808ETN - 8/8 Transistor No
EC20-1616ERA 220Vac 16/16 Relay Yes
EC20-1616ETA 220Vac 16/16 Transistor Yes
EC20-1600ENN - 16/00 - No
EC20-0016ERN - 00/16 Relay No
EC20-0016ETN - 00/16 Transistor No
4.6 Reliability
Table 4-7 MTBF of EC20 series PLC
Output type Time Conditions
200,000 hours Fix on the floor , mechanical stress is almost close to zero, with temperature and humidity control
Relay
100,000 hours Fix on the floor , mechanical stress is almost close to zero, without temperature and humidity control
300,000 hours Fix on the floor , mechanical stress is almost close to zero, with temperature and humidity control
Transistor
150,000 hours Fix on the floor , mechanical stress is almost close to zero, without temperature and humidity control
For the PLC with relay output, the life of its contactors is related to the load type and load capacity, as listed in Table
4-8.
Table 4-8 Use life of EC20 series output relay
Load capacity Action frequency Life-span of contactors
220Vac, 15VA, inductive load 1sec. ON / 1sec. OFF 3,200,000 times
220Vac, 30VA, inductive load 1sec. ON / 1sec. OFF 1,200,000 times
220Vac, 60VA, inductive load 1sec. ON / 1sec. OFF 300,000 times
1. Output1 (5V/GND): Output1 is the working power of the PLC main module logic circuit, and provides power supply
to the expansion module logic circuit through the expansion port of the module at the same time. And this power will
not be used for the expansion module with self-carried power source.
2. Output2 (24V/GND): Output2 is the working power of the PLC main module relay output circuit, and provides
power supply to the expansion module relay output circuit through the expansion port of the module at the same time.
Output1 and output2 share the common ground. And this power will not be used for the expansion module with
self-carried power source.
3. Output3 (24V/COM): Output3 is the 24V power supply, which is provided to users by the PLC main module. Also it
can be used as an auxiliary power to other user circuits, sensors or expansion modules through the “24V” and “COM”
ports of the main module. Output3 is electrical isolated with Output1 and Output2.
*Explanation:
The current of “Inner consumption” in Table 4-10 is the average current consumed when the module inner circuit
works. Users cannot change it directly.
The current of “capacity provided” in Table 4-10 is the part capacity of the main module that can be used for the
external control module. The data listed in Table 4-10 is under the stable ambient condition with 25°C. If input voltage
is out of rated voltage range or the working temperature exceeds +50°C, users should consider the derating design,
which is mainly obtained by decreasing the value of “capacity provided”, to ensure the reliable operation of the PLC.
1. Relation between power supply output capacity derating and power supply input voltage
When the input voltage of the PLC is beyond the rated voltage range, users should consider decreasing the main
module’s output power to the expansion module. The derating relation is shown in Figure 4-2.
Power load %
Figure 4-2 Derating curves of power supply output capacity and power supply input voltage
Power load %
Operation ambient
temperature°C
Figure 4-3 Derating curve between power output capacity and work temperature
☆: Refer to the power consumption when the analog output channel port connects with the output. If the current
output port (0~20mA) is not used, the current can be decreased to 50mA.
Before the PLC connects with an expansion module, users should calculate the current sum of each power supply of
the expansion module, and ensure the current sum is less than the output current provided by the corresponding
power supply of the main module to avoids the over loading of the main module power supply.
Example 1: the main module is EC20-2012BR, at 25°C ambient temperature, two EC20-0808ET, two EC20-4AD,
one EC20-4DA and one EC20-4TC shall be connected to, verifying the feasibility.
Checking computations as following:
Power circuit Current provided by the main module Actual consumed current conclusion
5V/GND 750mA (80×2+50×2+50+50) = 360mA Pass
24V/GND 580mA (0×2+0×2+0+0) =0 mA Pass
24V/COM 460mA (50×2+25×2+110+25) = 285mA Pass
It is obvious that the total power consumption of above expansion module is less than the permission load of the main
module, and the designing scheme is feasible.
Example 2: the main module is EC20-3232BT, at 25°C ambient temperature, three EC20-0808ET, two EC20-4AD,
one EC20-4DA shall be connected to, using 20mA output port and one EC20-4TC.
Checking computations as following:
Power circuit Current provided by the main module Actual consumed current conclusion
5V/GND 350mA (80×3+50×2+50+50)=440mA Un-passed
24V/GND 650mA (50×3+0×2+0+0)=150mA Pass
24V/COM 360mA (50×3+25×2+120+25)=345mA Pass
The sum of the 5V/GND power consumption of the expansion module is 440mA, it is larger than 350mA which is the
upper limit of 5V power supply; although the power consumption of 24V/GND and 24V/COM is less than the
permitted current of the main module, the designing scheme is unfeasible.
The solution to solve the insufficient of power supply capacity is to select the expansion module with self-carried
power source. It can power by itself, also its outputs of 5Vdc/GND, 24Vdc/GND, and 24Vdc/COM can power to the
expansion module added later.
Figure 5-1 The outline and the port of EC20-2012BR and EC20-2012BT
The pin definitions of EC20-2012BR and EC20-2012BT are listed in Table 5-1:
Table 5-1 Pin functions of EC20-2012BR and EC20-2012BT
Pin Function Note
L/N 220Vac AC power input port, L is live line, N is neutral line
PG Earth port
● Null port, used for isolation and not wiring
X0~X23 User input signal ports, used together with COM can produce input signal
Common port, it is the negative pole of the +24Vdc auxiliary power and the
COM
common port of input as well. Two COMs connect inside the PLC
+24V The auxiliary power to user external equipment , used together with COM
Y0, COM0 Control output port, group 0
The COMx (COM0 ~
Y1, COM1 Control output port, group 1
COM4) of each output
Y2, Y3, COM2 Control output port, group 2
group are electrical
Y4~Y7, COM3 Control output port, group 3
isolated one another
Y10~Y13, COM4 Control output port, group 4
The outline, port layout and function definition of EC20-3232BR and EC20-3232BT are the same. The port layout is
shown in Figure 5-2:
PG COM COM X0 X2 X4 X6 X10 X12 X14 X16 X20 X22 X24 X26 X30 X32 X34 X36
L N +24V X1 X3 X5 X7 X11 X13 X15 X17 X21 X23 X25 X27 X31 X33 X35 X37
COM
Y0 Y1 Y5 Y7 Y11 Y13 Y15 Y17 Y21 Y23 Y25 Y27 Y31 Y33 Y35 Y37
2 Y3
COM COM Y2 COM COM
Y4 Y6 COM Y10 Y12 Y14 Y16 Y20 Y22 Y24 Y26 Y30 Y32 Y34 Y36
0 1 3 4 5
Sensor X0
X2
Xn
Figure 5-3 Inner equivalent input circuit of the main module (upon delivery)
As shown in Figure 5-3, the external signal input is “a SINK input”. You may need “a SOURCE input” in some special
application, and you can change the soldering of the three jumper terminals of JP0, JP1, and jp2 on the interface
board inside the PLC to reset the input mode, according to the screen-printing on the board (“ ” represents soldering;
“×”represents disconnection). As shown in Table 5-4:
Table 5-4 Screen print illustration
JP0 JP1 JP2
Source input mode % %
Drain input mode (default setting) %
The equivalent input circuit changed to the SOURCE input mode is as Figure 5-4:
User signal wiring Inner equivalent circuit of SOURCE input mode of the main module
24V+
24V+
24Vdc auxiliary Working power for
COM
power supply inner logic circuit
24V-
24V/5V/GND
Various signal input equipment
X0
Logic processing circuit
For equipment with self-carried
X1
power source (24Vdc)
X2
Xn
Figure 5-4 inner equivalent circuit of SOURCE input mode of the main module
Note: in the main module, all the input ports can but use the same input mode (SOURCE input mode or SINK input
mode); if you have any requirement, please contact your supplier and ask for the technical support before purchasing
the product. To avoid damage, you’d better not change the circuit by yourself.
The inner equivalent power supply and input signal connection of the I/O expansion module are shown in Figure 5-5:
Provided by
extension cable
User signal wiring
Internal equivalent circuit of the
Power supply of logic
PLC extension module circuit : 24V/5V/GND
To 24V+ of main module 24V+
Sensor
Signal input equipment X0
Logic circuit
X1
X2
Xn
Figure 5-5 Inner equivalent input circuit of the I/O expansion module
Among which:
Phase A: phase-A input port of the two-phase counter;
Phase B: phase-B input port of the two-phase counter.
PG
VGND
+24V
AC-N
Sensor
A
Z
AC-L
EC20-3232BT 0808ER
Y1
Output group 1
COM1
Logic processing circuit
Y2
Y3
Output group 2
Y4
Y5
COM2
Figure 6-1 Inner equivalent circuit of output part of relay output PLC
Figure 6-1 shows, output ports are divided into multiple groups, and each group is electrical isolated from others.
Output contacts of different group can connect to the different power loop. For the inductive load in AC loop, the
external circuit should be RC transient voltage absorbing circuit; for the inductive load in DC loop, it should consider
to add a fly-wheel diode. As shown in Figure 6-2:
24V + 24V -
Y7
Inductive load
Y1
Inductive load
R C R=200Ω, 2W
C=0.022uF , 250Vav
The inner equivalent circuit of the output part of the transistor output PLC is shown in Figure 6-3.
We can see that, output ports are divided into multiple groups, and each group is electrical isolated from others.
Output contacts of different group can connect to the different power loop. Transistor output can but be used in DC
24Vdc load circuit, and you should pay attention to the polarity of the power supply. When driving the inductive load, it
should consider adding a fly-wheel diode.
Y1
Output group 1
COM1
Logic processing circuit
Y2
Output drive circuit
Y3
Output group 2
Y4
Y5
COM2
Figure 6-3 Inner equivalent circuit of output part of transistor output PLC
AC-N
AC-L
Switch
power supply +24V
+5V 0808ER
GND EC20-3232BR
AC-L
A B
A B
A B
A B
A B
A B
A B
A B
A B
A B
A B
A B
A B
7.1 Model
The expansion module is used to increase the point configuration of the main module, or to realize expansion part
with special function. It must use together with the main module. At present, expansion modules provided by EC20
series are shown in Table 7-1.
Table 7-1 Expansion module provided by EC20 series
Type Model Function
I/O expansion EC20-0808ERN Digital signal 8-channel input, 8-channel relay output
module EC20-0808ETN Digital signal 8-channel input, 8-channel transistor output
EC20-4AD 4-channel analog signal input
EC20-4DA 4-channel analog signal output
Special module
EC20-4AM 2-channel analog signal input, 2-channel analog signal output
EC20-4TC 4-channel electric couple temperature input
Extension module
Main module Extension cable
I/O point numbering uses octal numbering system, and the serial number is as following: 0, 1, 2, 3, 4, 5, 6, 7, 10, 11,
12, 13, 14, 15, 16, 17, 20, 21…, without the figure 8 and 9.
The numbering of the input port of the main module and I/O expansion module is: X0, X1, X2, …X7, X10, X11…; the
output port is: Y0, Y1, Y2, …Y7, Y10, Y11…, and so on. Eight point numbers are a group. Insufficient section will be
vacant.
For example: EC20-2012BR module, the input port has 20 points, with serial number X0~X23. The port with serial
number X24~X24 will be vacant; the X port of the subsequent expansion module is numbering from X30. In the same
way, the output port has 12 points, the serial number is Y0~Y13, the port with serial number Y14~Y17 will be vacant
and the Y port of the subsequent expansion module is numbering from Y20.
According to the connection sequence to the main module, the numbering of X and Y ports of the I/O expansion
module is in the increasing order.
The example for the port logic numbering of the main module and the expansion module is as following:
The addressing number of the special function module is according to the unit of the module and independent of I/O
expansion module addressing. Its address numbering is as following: 1, 2, 3, …6, 7; the minimum address number is
0; the maximum is 7. Eight special function modules can be connected to at the same time, and the number of the I/O
expansion module added later will not affect the special function module addressing number. Take the module
addressing number as the distinguishing identification upon call on. The software read-writing the corresponding data
buffer memory (BFM) of the module with assigned address can call on the different channel inside the expansion
module. More details refer to programming reference manual.
Among of which, the communication protocol of COM0 is selected by the operation control switch (ON/TM/OFF) on
the side of the port. Refer to Figure 8-1.
COM1 port
RS232 RS485
Used as special port of user programming, COM0 can be compulsorily converted to programming protocol through
ON/TM/OFF switch. The conversion relation between PLC operating status and the protocol used by COM0 refers to
Table 8-2.
Table 8-2 COM0 protocol conversion by switch
ON/TM/OFF switch position status COM0 port operation protocol
Decided by user program and system configuration, it may be programming protocol,
ON Operation
Modbus protocol, and free-port protocol.
TM(ON TM) Operation
Compulsorily converted to programming protocol .
TM(OFF TM) Stop
If the system configuration of user program is free-portprotocol, it converts to
OFF Stop programming protocol automatically after stop; otherwise the system configured
protocol keep unchanged.
COM1 port is suitable to connect with the equipment that have communication function, such as variable speed drive,
and uses Modbus protocol or RS485 port free protocol to control multiple equipment through network.
COM1 port is fixed by screws. You can use a twisted pair line to make the communication signal cable by yourself.
Note: you should not use RS232 port and RS485 port at the same time, and do not connect the cable to the ports that
are not used; otherwise the communication may be interrupted.
Programming cable
ControlStar B2053RASL1
Warning
z EC20 series PLC module have two kinds of input power supply: 220Vac and 24Vdc. You should check and
identify before the wiring and powering on the module to avoid the equipment damage and other damages due
to misoperation.
z The PLC is designed for use in control circuit. There should have SPD in its AC power circuit, and its power
circuit should be separated from the power circuit to avoid the overvoltage.
z Do not connect AC power supply with 24Vdc output port of the main module, or connect DC power with 24Vdc
output port of the main module.
z Do not connect or disconnect the cable with power on. Otherwise it may get an electric shock or equipment
damage.
AC - N
AC - L
When using a PLC expansion module, you should connect the earthing line of each module with earthing object
separately, as shown in Figure 9-3:
Worse
Better
Figure 9-3 Earthing wiring example of PLC main module and expansion module
<5.0
<5.0
Fix the prepared cable head on the connector of the PLC using a screw. The screw position should be right, and its
moment strength should be within 0.5~0.8NM which ensures the connection is reliable and no damage to the screw.
10.3 Startup
1. Switch on the PLC, the POWER indicator of the PLC should be on.
2. Startup the Controlstar software, download the compiled user program to the PLC;
3. After checking the download program, switch the operation switch to RUN position, the RUN indicator should be on;
if the ERR indicator is on, it indicates that the user program or the system has mistake, then remove the mistake
referring to the programming reference manual.
4. Then switch on the circuit breaker of the PLC external system to carry through system debugging.
RUN
When the main module operation status is ON, user program will be executed by the system, which is a scan period
including four tasks (executing the user program → communicating → housekeeping → refreshing I/O).
STOP
When the main module operation status is STOP, the system does not execute the user program, but still execute
other three tasks in a scan period (communicating → housekeeping → refreshing I/O).
Reset mode
Status switch is in ON position, after resetting (including power on resetting), the system starts up automatically.
Note: if the “input point control mode” in the system configuration is enabled, the status of the appointed input point
should be ON. Otherwise the system cannot startup. The description about the “input point control mode” refers to the
fourth pieces in the following.
Manual mode
In the STOP state, toggle the status switch from OFF or TM position to ON position, the system stars up
automatically.
Note
When selecting input point control mode, you should enable the “input point control mode” in the system configuration and set
the status switch in ON position.
Reset mode
The status switch is in OFF position, and the system will stop automatically after resetting (including system power on
reset).
Note
If the “input point control mode” is enabled in the system configuration, the state of the input point should be OFF; otherwise the
system will not stop.
Manual mode
In the RUN state, after the status switch is toggled from ON or TM position to OFF position, the system stops.
Stop by mistake
When the system detects the serious mistake (such as the user program error, overtime operation), the system stops
executing the user program automatically.
Observe the PLC BATT indicator and know the capacity state of the standby battery. When the BATT indicator
flashing, it indicates that the battery capacity is insufficient and the new button lithium cell should be replaced during a
month; when the BATT indicator is on, it indicates that the battery voltage is severe insufficient or battery lost, and a
new button lithium cell should be replaced as soon as possible. Only trained personnel can replace the cell; the
power must be disconnected; the shorter the replacement time the better; the replacement should be within one
minute to avoid losing the backup data and the real time clock data.
Chapter 11 Troubleshooting
When the PLC works abnormally, first check the wiring of the power supply line and the status of the relative switches
and protective device; if PLC is power on, check whether the user ports are fastness, the position of the run control
switch is right; if all the conditions are normal but the PLC still does not work, you can analyze the problem according
to the PLC operation state and the I/O state LEDs in Table 11-1.
Table 11-1 Faults and actions
Phenomena Cause Actions
Power off or power source voltage too low Check power source
POWER LED and Power source switch or fuse disconnected
Check switch, line, and fuse state
other LEDs all off Power source wiring abnormal
Power source board damaged
Check:
Bad contact of power source circuit
1) the voltage between L and N terminal is within the
Too many expansion module connected to
POWER LED normal range
result in current limit
intermittent blinking 2) whether a short circuit or overload occur between 24V
24V/COM auxiliary power source output short
and COM port
circuit and result in current limit
Use ControlStar to re-compile the user program and
User program mistake
ERR LED blinking download again
Actual run time exceeds the WDT setting time Increase the WDT setting time
BATT LED blinking Cell low voltage alarm
Replace button cell
BATT LED is on Cell voltage low or no stand-by cell
ON/TM/OFF is not in ON position Toggle the switch to ON position
Set the run control mode as port mode, but
Close the setting control run port
RUN LED is off the port is in OFF position
The host remote control power off Make the host remote control power on
Power off due to system mistake Check PLC application system
Modify the electric parameters of the external circuit to the
Input state LED
Conducting resistance of user line toobig suitable value, shorten the wire length and do not use thin
inconsistent with the
wire
input port state
Bad contact of the signal circuit
Check wiring
Can not shutdown the Bad contact of the external wiring
output (OFF) Relay contactors damaged
Status LED The relay port with frequently action can exchange with the
inconsistent with output Relay aging or LED damaged idle port
port state
Can not download / Bad contact of cable wiring, the position of Use the specialized communication cable of Emerson to
upload / monitor ON/TM/OFF switch wrong download
Bad contact of cable wiring, or the signal
characteristic mistake, such as confusing TXD Connect signal wire correctly
with RXD
Serial port can not
Communication parameters of slave/master
control other
computer are inconsistent, such as baudrate, Set the communication parameters consistent
equipment
checking, data bit and address
Communication protocols used by
Set the communication parameters consistent
slave/master computer are inconsistent
I/O expansion board or
Power off , check and get rid of the problem, then power on
special expansion Bad contact of expansion wire
again.
board no response
In most conditions, input signal waveform has Parallel connecting a 22uF50V capacitor with the counter
much bigger interference input port (note the capacitor polarity)
Low-speed counting If the user program executing time is too long, the counter
inaccuracy In few conditions, the cycle of detected signal signal should connect with the high speed counting port. If
is shorter than the executive cycle of the PLC. the setting is constant scan, the scan time should be set
reasonably.
Clock bit
Address Title Action and function R/W
Clock oscillation period is 10ms (turn over per half period, and the half of the first
SM10 10ms clock R
run period of the user program is 0)
Clock oscillation period is 100ms (turn over per half period, and the half of the first
SM11 100ms clock R
run period of the user program is 0)
Clock oscillation period is 1s (turn over per half period, and the half of the first run
SM12 1s clock R
period of the user program is 0)
Clock oscillation period is 1min (turn over per half period, and the half of the first
SM13 1min clock R
run period of the user program is 0)
Clock oscillation period is 1hour (turn over per half period, and the half of the first
SM14 1hour clock R
run period of the user program is 0)
SM15 Scan period oscillation bit The bit turns over once per scan period ( the first period of the user program is 0) R
Interrupt control
Address Title Action and function R/W
X0 input rising/falling edge interrupt enable
SM40 Set as “1”, enable entering X0 rising edge (falling edge) interrupt R/W
flag bit
SM41 X1 input rising/falling edge interrupt flag bit Set as “1”, enable entering X1 rising edge (falling edge) interrupt R/W
Free-port (COM 0)
Address Title Action and function R/W
When using XMT instruction, the bit is set; and the bit is cleared after sending
SM110 Port 0 sending enable flag is finished. When the bit is cleared, the current sending task of the Port 0 is R/W
paused; and it continues to send when the power-flow conducts.
When using CRV instruction, the bit is set; and the bit is cleared after receiving
SM111 Port 0 receiving enable flag g is finished. When the bit is cleared, the current receiving task of the Port 0 is R/W
paused; and it continues to receive when the power-flow conducts.
SM112 Serial port 0 sending END flag The bit is set when the sending is finished. R/W
SM113 Serial port 0 receiving END flag The bit is set when the receiving is finished. R/W
SM114 Serial port 0 idle flag The flag bit is set when the serial port doesnot have communication task. R
Free-port (COM 1)
Address Title Action and function R/W
When using XMT instruction, the bit is set; and the bit is cleared after sending is
SM120 Port 1 sending enable flag finished. When the bit is cleared, the current sending task of the Port 1 is R/W
paused; and it continues to send when the power-flow conducts.
When using CRV instruction, the bit is set; and the bit is cleared after receiving g
SM121 Port 1 receiving enable flag is finished. When the bit is cleared, the current receiving task of the Port 1 is R/W
paused; and it continues to receive when the power-flow conducts.
SM122 Port 1 sending finished flag The bit is set when the sending is finished. R/W
SM123 Port 1 receiving finished flag The bit is set when the receiving is finished. R/W
SM124 Serial port 1 idle flag The flag bit is set when the serial port doesnot have communication task. R
MODBUS communication
Address Title Action and function R/W
SM135 MODBUS communication finished The bit is set when the communication is finished . R/W
SM136 MODBUS communication mistake The bit is set when the communication is mistake. R/W
FROM/TO error
Address Title R/W Range
When using FROM/TO instruction, the mistaken special module numbering occurs ( starting
SD25 R Initial value: 255
from 0).
SD26 When refreshing I/O, the mistaken I/O chip numbering occurs (starting from 0). R Initial value: 255
Scan time
Address Title Action and function R/W Range
SD30 Current scan value Current scan time (unit: ms) R
SD31 Minimum scan time Minimum value of scan time (unit: ms) R
SD32 Maximum scan time Maximum value of scan time (unit: ms) R
Real-time clock
Address Title Register content R/W Range
SD100 Year For real-time clock R 2000~2099
SD101 Month For real-time clock R 1~12 months
SD102 Date For real-time clock R 1~31 days
SD103 Hour For real-time clock R 0~23 hours
SD104 Minute For real-time clock R 0~59 minutes
SD105 Second For real-time clock R 0~59 seconds
SD106 Week For real-time clock R 0(Sunday)~6(Saturday)
Users can but set through TWR instruction or the host.
MODBUS setting
Address Title R/W range
SD130 Station number setting (COM0) R/W
SD135 Station number setting (COM1) R/W
SD136 Max. overtime setting (after sending and before receiving) (COM1) R/W
SD137 Retry times (COM1) R/W 0-100
SD139 MODBUS main station error code (COM1) R