Manual XBC
Manual XBC
Manual XBC
XGB Series
Main unit XBC-DR20SU XBC-DR10E
XBC-DN20S(U) XBC-DN10E
XBC-DP20SU XBC-DP10E
XBC-DR30SU XBC-DR14E
XBC-DN30S(U) XBC-DN14E
XBC-DP30SU XBC-DP14E
XBC-DR40SU XBC-DR20E
XBC-DN40SU XBC-DN20E
XBC-DP40SU XBC-DP20E
XBC-DR60SU XBC-DR30E
XBC-DN60SU XBC-DN30E
XBC-DP60SU XBC-DP30E
Safety Instruction
For your safety and effective operation, please read the safety instructions
thoroughly before using the product.
► Instructions are separated into “Warning” and “Caution”, and the meaning of
the terms is as follows;
► The marks displayed on the product and in the user’s manual have the
following meanings.
► The user’s manual even after read shall be kept available and accessible to
any user of the product.
Safety Instruction
Warning
Never connect the overload than rated to the output module nor
allow the output circuit to have a short circuit, which may cause a
fire.
Caution
I/O signal or communication line shall be wired at least 100mm
away from a high-voltage cable or power line. If not, it may cause
abnormal output or operation.
Caution
Use PLC only in the environment specified in PLC manual or
general standard of data sheet. If not, electric shock, fire, abnormal
operation of the product or flames may be caused.
Don’t let any metallic foreign materials inside the product, which
may cause electric shock, fire or abnormal operation..
Safety Instruction
Warning
Prior to wiring, be sure that power of PLC and external power is
turned off. If not, electric shock or damage on the product may be
caused.
Before PLC system is powered on, be sure that all the covers of
the terminal are securely closed. If not, electric shock may be caused
Caution
Let the wiring installed correctly after checking the voltage rated
of each product and the arrangement of terminals. If not, fire,
electric shock or abnormal operation may be caused.
Don’t let any foreign materials such as wiring waste inside the
module while wiring, which may cause fire, damage on the product
or abnormal operation.
Safety Instruction
Warning
Don’t touch the terminal when powered. Electric shock or abnormal
operation may occur.
Caution
Don’t remove PCB from the module case nor remodel the module.
Fire, electric shock or abnormal operation may occur.
Caution
Product or battery waste shall be processed as industrial waste.
The waste may discharge toxic materials or explode itself.
Revision History
Version Date Remark Page
V 1.0 2010.3 1. First Edition -
1. XGB output module added
(XBC-RY08B, XBE-DC16B)
V 1.1 2010.12 2. Error fixed
3. Sequence diagram on troubleshooting fixed
1. XGB SU type added -
V 1.2 2010.12 (XBC-DN20SU, XBC-DN30SU)
2. RTC option board added (XBO-RTCA) Chapter 9
1. XGB SU type added
(XBC-DN40SU, XBC-DN60SU, XBC-DR40SU, XBC-DR60SU) -
V 1.3 2011.06 2. XGB option module added Ch10, Ch11,
(XBO-DC04A, XBC-TN04A, XBO-M2MB) Ch12
1. XGB E type added
V1.4 2012.01 (XBC-DN10E, XBC-DN14E, XBC-DN20E, XBC-DN30E, -
XBC-DP10E, XBC-DP14E, XBC-DP20E, XBC-DP30E)
1. XGB SU type added -
V1.5 2013.01 (XBC-DP20SU, XBC-DP30SU, XBC-DP40SU, XBC-DP60SU)
2. Data Backup time modified 4-14
1. Domain of Homepage changed Front/Back
V1.6 2014.09 Cover
2. RTC Option specification added(Available on slot 9) 2-2,2-4,9-4
2015.02 1. Data backup time and available slot added 9-2, 9-5
2. Address& phone number changed BackCover
2015.07 3. Description of using Timer flag added . App1-2,App1-7
4.I/O(Input/Output) terminal error check and modification
V1.7 -Input terminal block error check 7-7~7-14
-Output terminal block error check, SG→PE 7-15~7-38
5.New PLC added
-XBF-TC04RT/ TC04TT, XBL-PMEC/ PSEA/DSEA 2-1~ 2-9,
※ The number of User’s manual is indicated the right side of the back cover.
ⓒ LSIS Co.,Ltd. 2010 All Rights Reserved.
About User’s Manual
The Use’s Manual describes the product. If necessary, you may refer to the following description and order
accordingly. In addition, you may connect our website(http://www.lsis.com/) and download the information as
a PDF file.
XGB Cnet I/F It describes how to use built-in communication function for
10310000816
User’s Manual XGB main unit and external Cnet I/F module.
Chapter 1 Introduction
1.1 Guide to Use This Manual
This manual includes specifications, functions and handling instructions for the XGB series PLC.
This manual is divided up into chapters as follows.
Appendix 1 Flag List Describes the types and contents of various flags.
Appendix 2 Dimension Shows dimensions of the main units and expansion modules.
Compatibility with
Appendix 3 Describes the compatibility with MASTER-K.
MASTER-K
Appendix 4 Instruction List Describes the special relay and instruction list.
1-1
Chapter 1 Introduction
1.2 Features
The features of XGB system are as follows.
XBC-Dx20S
“S” type
XBC-Dx30S
135*90*64
XBC-Dx20SU
XBC-Dx30SU
“SU” type
XBC-Dx40SU 161 * 90 * 64
Basic unit
XBC-Dx60SU 210 * 90 * 64
XBC-Dx10E
100*90*64
XBC-Dx14E
“E” type
XBC-Dx20E
135*90*64
XBC-Dx30E
Extension module XBE-,XBF-,XBL- 20 * 90 * 60 Basis of minimum size
(4) Improved maintenance ability with kinds of register, RTC option, comment backup and etc
(a) Convenient programming environment by providing analogue register and index register.
(b) Improved maintenance ability by operating plural programs and task program through module program.
(c) Built-in Flash ROM enabling permanent backup of program without any separate battery.
1-2
Chapter 1 Introduction
(7) Applications expanded through analogue-exclusive dedicated register design and full attachable
mechanism.
(a) All analogue modules can be attachable on extension base. (“S(U)” type: up to 7 racks stages available)
(b) With analogue exclusive dedicated register(U) and monitoring exclusive dedicated function, convenient
use for I/O is maximized (can designate operations using easy programming of U area and monitoring
function)
1-3
Chapter 1 Introduction
1.3 Terminology
The following table gives definition of terms used in this manual.
1-4
Chapter 1 Introduction
Current flows from the switch to the PLC input terminal if a input
signal turns on.
Z: Input
Sink Input
impedance
−
Current flows from the PLC input terminal to the switch after a
input signal turns on.
Source Input -
Current flows from the load to the output terminal and the PLC
output turn on.
Sink Output -
Output
Contact
Current flows from the output terminal to the load and the PLC
output turn on.
Source Output -
1-5
Chapter 2 System Configuration
Item Description
2-1
Chapter 2 System Configuration
Item Description
• XBE-DC08/16A/B/32A • XBE-TN08/16/32A • XBE-TP08/16/32A
Digital I/O module • XBE-RY08A/B/16A • XBE-DR16A
• XBF-AD04A • XBF-DV04A • XBF-TC04RT
• XBF-AD08A • XBF-DV04C • XBF-TC04TT
Expansion Special module • XBF-AD04C • XBF-AH04A • XBF-PD02A
• XBF-DC04A • XBF-RD04A • XBF-HD02A
module • XBF-DC04C • XBF-TC04S • XBF-HO02A
• XBL-C41A • XBL-C21A • XBL-EIPT
Communication • XBL-EMTA • XBL-EIMT • XBL-CMEA
• XBL-CSEA • XBL-PMEC • XBL-PSEA
Items I/F module • XBL-DSEA
• XBO-DC04A(High speed counter is available on “SU ”type)
Digital I/O module • XBO-TN04A(Positioning is available on slot 9 of “SU ”type)
• XBO-AD02A • XBO-DA02A • XBO-AH02A
Option Special module • XBO-RD01A • XBO-TC02A
2-2
Chapter 2 System Configuration
XBC-DN60SU AC100~220V power supply, DC 24V input 36 point, transistor output 24 point
XBC-DP60SU AC100~220V power supply, DC 24V input 36 point, transistor output 24 point
XBC-DR10E AC100~220V power supply, DC 24V input 6 point, relay output 4 point
XBC-DR14E AC100~220V power supply, DC 24V input 8 point, relay output 6 point
XBC-DR20E AC100~220V power supply, DC 24V input 12 point, relay output 8 point
XBC-DR30E AC100~220V power supply, DC 24V input 18 point, relay output 12 point
XBC-DN10E AC100~220V power supply, DC 24V input 6 point, transistor output 4 point
XBC-DN14E AC100~220V power supply, DC 24V input 8 point, transistor output 6 point
XBC-DN20E AC100~220V power supply, DC 24V input 12 point, transistor output 8 point
XBC-DN30E AC100~220V power supply, DC 24V input 18 point, transistor output 12 point
XBC-DP10E AC100~220V power supply, DC 24V input 6 point, transistor output 4 point
XBC-DP14E AC100~220V power supply, DC 24V input 8 point, transistor output 6 point
XBC-DP20E AC100~220V power supply, DC 24V input 12 point, transistor output 8 point
XBC-DP30E AC100~220V power supply, DC 24V input 18 point, transistor output 12 point
XBM-DN16S DC24V Power supply, DC24V Input 8 point, Transistor output 8 point
XBM-DN32S DC24V Power supply, DC24V Input 16 point, Transistor output 16 point
XBM-DR16S DC24V Power supply, DC24V Input 8 point, Relay output 8 point
XBE-DC08A DC24V Input 8 point
XBE-DC16A/B DC24V Input 16 point
XBE-DC32A DC24V Input 32 point
XBE-RY08A Relay output 8 point
Expansion Module
2-3
Chapter 2 System Configuration
Note
Download Cable (PMC-310S) Diagram
2-4
Chapter 2 System Configuration
X B M - D R XX S
XGB PLC economy (E)
No. of IO point
MK language supported (B)
IEC language supported (E)
Relay output (R)
DC input
2-5
Chapter 2 System Configuration
2-6
Chapter 2 System Configuration
X B E - DC XX A
2-7
Chapter 2 System Configuration
X B F - AD XX A
No. of No. of
Classification Name Input type Output type
input ch. output ch.
XBF-AD04A/C 4 Voltage/Current None -
Analog input
XBF-AD08A 8 Voltage/Current None
XBF-TC04S 4 K, J, T, R None -
XBF-TC04TT 4 K, J, T, R 4 Transister
2-8
Chapter 2 System Configuration
X B L - C21A
2-9
Chapter 2 System Configuration
X B O - AD XX A
Memory capacity
TR output (TN)
2-10
Chapter 2 System Configuration
Cnet I/F System is used for communication between the main unit and external devices using RS-
232C/RS-422 (485) Interface. The XGB series has a built-in RS-232C port, RS-485 port
For “E” type, only one communication port between RS-232C and RS-485 can be used and you can
specify at parameter setting window. For “S” type, RS-232C and RS-485 can be used independently
and add RS-232C dedicated Cnet I/F module (XBL-C21A) and RS-422/485 dedicated Cnet I/F module
(XBL-C41A). It is possible to configure the following communication system on demand
(a) 1:1 communication of an external device (computer) with main unit using a built-in port
(RS-232C/RS-485)
XBC-DN30S(U)
RS-232C / RS-485
(b) 1:1 communication with main unit using a built-in RS-485 port
(In case of built-in RS-232C,it is for connecting to HMI device.)
XBC-DN30S(U) XBC-DN30S(U)
PADT
connection
XP30-TTA
2-11
Chapter 2 System Configuration
(c) 1:1 RS-232C Communication with remote device via modem by Cnet I/F modules
Modem
Modem
XBC-DN30S(U) XBL-C21A
Modem
Modem
(d) 1:1 communication of an external device (monitoring unit) with main unit using a built-in RS-
232C/485 port.
XBC-DN30S(U)
XP30-TTA
2-12
Chapter 2 System Configuration
(a) Using RS-485 built-in function can connect between one computer and multiple main units for up
to 32 stations.
XBC-DN30S(U) XBM-DN32S
XBC-DN30S(U)
PADT
Connection
Max. 32 stations
(b) Using RS-485 built-in function/expansion Cnet I/F module can be connect for up to 32 stations.
Max. 32 stations
PADT
connection
Max. 32 stations
Built-in RS-232C connection
Note
2-13
Chapter 2 System Configuration
Ethernet made by cooperation of Xerox, Intel, DEC is standard LAN connection method (IEEE802.3),
which is network connection system using 1.5KB packet with 100Mbps transmission ability. Since
Ethernet can combine a variety of computer by network, it is called as standard specification of LAN and
diverse products. By adopting CSMA/CD method, it is easy to configure the network and collect large
capacity data.
Router or gateway
Hub
Public line
Hub
Router or gateway
H
HMI
Hub Hub
100Base-TX
HMI
Note
2-14
Chapter 3 General Specifications
Notes
3-1
Chapter 4 CPU Specifications
Program control method Reiterative operation, fixed cycle operation, constant scan
U00.00 ~ U07.31
U Word
(Analog data refresh area: 256 word, analog data refresh area)
4- 1
Chapter 4 CPU Specifications
4- 2
Chapter 4 CPU Specifications
The following table shows the general specifications of the XGB compact type CPU (XBC-DN20/30S).
Program control method Reiterative operation, fixed cycle operation, constant scan
4- 3
Chapter 4 CPU Specifications
The following table shows the general specifications of the XGB compact type CPU
(XBC-Dx20/30/40/60SU).
4- 4
Chapter 4 CPU Specifications
4- 5
Chapter 4 CPU Specifications
Specifications
Items Remark
“E” type “S(U)” type
Controlled by instructions, Auto-tuning, PWM output,
Supported
Forced output, Adjustable operation scan time, Anti Windup, Delta
PID control function in “S(U)”
MV function, SV-Ramp function type
Max. 16 loops are supported
Dedicated protocol support
MODBUS protocol support
User defined protocol support
Cnet I/F function Select one port between RS-
RS-232C 1 port, RS-485 1 port
232C 1 port, RS-485 1 port by
respectively
parameter
1 phase: 100 kHz 2 channel,
1 phase: 4 kHz 4 channel 20kHz 6 channel
Capacity 2 phase: 2 kHz 2 channel 2 phase: 50 kHz 1 channel,
8kHz 3 channel
4 different counter modes according to input pulse and
addition/subtraction method
High-speed counter
4- 6
Chapter 4 CPU Specifications
“E” Type
⑧ ③
⑦
①
⑪ ⑪
⑥
⑤ ⑩
②
⑨ ④
4- 7
Chapter 4 CPU Specifications
“S” Type
⑧ ③
⑦
①
⑥ ⑪ ⑪
⑤
⑩
②
⑨ ④
No. Name Description
4- 8
Chapter 4 CPU Specifications
“SU” Type
⑧ ③
⑦
①
⑥ ⑪ ⑪
⑤
⑩
②
⑨ ④
No. Name Description
4- 9
Chapter 4 CPU Specifications
Specification
Items XBC- XBC- XBC- XBC- XBC- XBC-
Dx10/14E Dx20/30E Dx20S(U) Dx30S(U) Dx40SU Dx60SU
Rated voltage
AC 100 ~ 240 V
(UL warranty voltage)
4- 10
Chapter 4 CPU Specifications
4- 11
Chapter 4 CPU Specifications
4- 12
Chapter 4 CPU Specifications
In case system is configured as above, since 5V consumption current is total 850mA and 5V output of XGB
standard type main unit is maximum 1.5A, normal system configuration is available.
If system is configured as above, total 5V current consumption is exceeded 1,985 mA and it exceeds the 5V
output of XGB standard type main unit. Normal system configuration is not available. Although we assume
the above example that all contact points are on, please use high-end type main unit which 5V output
capacity is higher than standard type main unit.
4- 13
Chapter 4 CPU Specifications
The above system is an example using XBC-DN32H about system example (2). Unlike (2) example, 5V
output capacity of XBC-DN32H is maximum 2A, normal configuration is available.
In case super capacitor is not charged enough or power is off more than data backup time, latch data is
not kept and warning occurs. At this time, phenomenon and measure are as follows.
(1) Phenomenon
(a) RUN mode
1) In case of Remote Run mode, operation mode changes to Stop mode. In case of Local Run
mode, it operates normally with abnormal data backup warning
2) In case of Stop mode, abnormal data backup warning occurs.
(b) Latch data
1) Latch area 1,2 : all data are cleared into “0”.
2) K area, F area : all data are cleared into “0”.
(2) Measure
(a) In case abnormal data backup warning occurs when turning off and turning on within data backup
time, technical assistance of main unit is necessary. Be careful data backup time is getting shorter at
high temperature.
Notice
4- 14
Chapter 5 Program Configuration and Operation Method
Start -
Program start Performs the operation in order from the program start to last
step.
Performs the operation in order from the program start to last step.
Output image area refresh
5-1
Chapter 5 Program Configuration and Operation Method
Remark
5-2
Chapter 5 Program Configuration and Operation Method
(a) Scan time = Scan program processing time + Interrupt program processing time + PLC internal
processing time
Scan program processing time = processing time of user program except interrupt program
Interrupt program processing time = Sum of interrupt program proceeding time processed during 1 scan
PLC internal processing time = Self-diagnosis time + I/O refresh time + Internal data processing time
+ Communication service processing time
(b) Scan time depends on whether to execute interrupt program and communication processing.
The main unit executes controls along the following steps. A user can estimate the control performance of a
system that the user is to structure from the following calculation.
Expansion
Module
Interface
I/O Module Network Module
Data Refresh Data exchange
Scan time = ① Scan program process + ② System check & Task process + ③I/O data Refresh
+ ④ Network Service + ⑤ XG5000 Service + ⑥ User Task Program process
① Scan program process = no. of instruction x process speed per each instruction (refer to XGK/XGB
instruction user manual)
② System check & Task process: 600 ㎲ ~ 1.0 ms [varies depending on the usage of auxiliary functions]
③ XG5000 Service process time: 100 ㎲ at the max data monitor
④ Task Program process time: sum of task processing time that occurs within a scan; the time calculation
by task programs are as same as that of scan program.
5- 3
Chapter 5 Program Configuration and Operation Method
(2) Example
The scan time of a system consisting of main unit (program 4kstep) + five 32-point I/O modules + one analog
module + one communication modules (200 byte 1 block)
Scan time(㎲) = ladder execution time + system processing time + digital module I/O processing time +
analog I/O processing time + communication module processing time + XG5000 Service processing time
= (2047 x (0.67(LOAD)+ 0.80(OUT)) + (500) + (300 x 5) + (3000 x 1) + (800 x 1) + (100) ㎲
= 3009 + 500 + 1500 + 3000 + 800 + 100 ㎲ = 8909 ㎲
= 8.9 ㎳
(But, in case of online editing or writing XG-PD parameter, scan time increases temporary up to 100ms)
5- 4
Chapter 5 Program Configuration and Operation Method
(1) WDT is the timer used to detect the operation delay by user program error. The detection time of WDT is set
in Basic parameter of XG5000.
(2) If WDT detects the excess of detection setting time while watching the elapsed time of scan during
operation, it stops the operation of PLC immediately and keeps or clears the output according to
parameter setting
(3) If the excess of Scan Watchdog Time is expected in the program processing of specific part while performing
the user program (FOR ~ NEXT instruction, CALL instruction), clear the timer by using ‘WDT’ instruction.
‘WDT’ instruction initializes the elapsed time of Scan Watchdog Timer and starts the time measurement from
0 again.
(For further information of WDT instruction, please refer to Instruction.)
(4) To clear the error state of watchdog, we can use the following method : power re-supply, manipulation of
manual reset switch, mode conversion to STOP mode.
WDT
count(ms)0 1 2 3 ….. …8 9 0 1 2 … 012… …6 7 0 1 2 …
Remark
5- 5
Chapter 5 Program Configuration and Operation Method
The XGB series use up count timer. There are 5 timer instructions such as on-delay (TON), off-delay (TOFF),
integral (TMR), monostable (TMON), and re-triggerable (TRTG) timer.
The measuring range of 100msec timer is 0.1 ~ 6553.5 seconds, 10msec timer is 0.01 ~ 655.35 seconds,
and that of 1msec timer is 0.001 ~ 65.53 seconds. Please refer to the ‘XG5000 User manual’ for details.
Preset value
Timer output relay
Timer type
(1) On delay timer
The current value of timer starts to increase from 0 when the input condition of TON instruction turns on.
When the current value reaches the preset value (Current value=Preset value), the timer output relay
(Txxxx) turns on. When the timer input condition is turned off, the current value becomes 0 and the timer
output relay is turned off.
Input condition
t0 t1 t2 t3 t4 t5
Output relay
t0+PT t1 t4+PT t5
Preset value
Current value
t0 t1 t2 t3 t4 t5
Input condition
t0 t1 t2 t3 t5
Output relay
t0 t1+PT t2 t5+PT
Preset value
Current value
t0 t1 t2 t4 t5
5- 6
Chapter 5 Program Configuration and Operation Method
Timer input
condition
t0 t1 t2 t4 t5
Current value
t0 t1 t2 t3 t5 t5+PT
Timer reset input
Timer input
condition
t0 t1 t2 t3 t4
Current value
t0 t1 t2 t4
5- 7
Chapter 5 Program Configuration and Operation Method
Remark
The Maximum timer error of timers of XGB series is ‘1 scan time + the time from 0 step to timer
instruction’
5- 8
Chapter 5 Program Configuration and Operation Method
The counter counts the rising edges of pulses driving its input signal and counts once only when the input
signal is switched from off to on. XGB series have 4 counter instructions such as CTU, CTD, CTUD, and
CTR. The followings shows brief information for counter operation. Refer to the ‘XGB Instruction Manual’ for
details.
• Down counter decreases the current value at the rising edges of input.
• The counter output contact (Cxxx) is turned On when the current value reaches the preset value.
When the reset input is turned On, the counter output contact (Cxxx) is turned Off.
• The current value is increased with the rising edge of up-count input signal, and decreased with the
rising edge of down-count input signal. The counter output contact (Cxxx) is turned On when the
current value is same as or more than current value. The counter output contact (Cxxx) is turned Off
when the current value is same as or less than current value.
• When the reset input is turned On, the current value is cleared as 0.
5- 9
Chapter 5 Program Configuration and Operation Method
• The current value is increased with the rising edge of the counter input signal, and the counter output
contact (Cxxx) is turned on when the current value reaches the preset value. Then the current value and
counter output contact (Cxxx) is cleared as 0 when the next rising edge of the counter input signal is
applied.
• When the reset input is turned On, the counter output contact is cleared as 0.
The maximum counting speed of determined by the length of scan time. Counting is possible only when
the on/off switching time of the counter input signal is longer than scan time.
n 1 n : duty (%)
Maximum counting speed C max = ×( )
100 tS t S : scan time [s]
• Duty is the ratio of the input signal’s on time to off time as a percentage.
On
Off Off
T1 T2
T2
T1 > T2, n= x 100 [%]
T1+T2
Remark
1) Use of High Speed Counter
In order to counter pulse that is faster than maximum counting speed of normal counter, use
built-in High Speed counter function.
5- 10
Chapter 5 Program Configuration and Operation Method
• The program is performed according to the fixed time interval in case that the
required processing time condition is as below.
In case that the faster processing than 1 scan average processing time is
Cycle time interrupt
required
program
In case that the longer time interval than 1 scan average processing time is
required
In case that program is processed with the appointed time interval
External interrupt • The external interrupt program is performed process on external interrupt
program signal.
Subroutine • Only when some condition is satisfied.(in case that input condition of CALL
program instruction is On)
Start processing
Subroutine program
External interrupt program
Scan program
Only when some
condition is satisfied.
Cycle time program
END processing
5- 11
Chapter 5 Program Configuration and Operation Method
(a) Function
• This program performs the operation repeatedly from 0 step to last step in order prepared by the program
to process the signal that is repeatedly regularly every scan.
• In case that the execution condition of interrupt by task interrupt or interrupt module while executing
program is established, stop the current program in execution and perform the related interrupt program.
(2) Interrupt program
(a) Function
• This program stops the operation of scan program and then processes the related function in prior to
process the internal/external signal occurred periodically/non-periodically.
(b) Type
• Task program is divided as below.
▶ Cycle time task program: available to use up to 8.
▶ Internal device task program: available to use up to 8.
▶ I/O (External contact task program): “S” type available to use up to 8. (P000 ~ P007)
“E” type available to use up to 4. (P000~P003)
Remark
(1) Write the interrupt program as shortly as possible. In case same interrupt occurs repeatedly
before completion of interrupt, program is not executed and O/S watch dog error may occur.
(2) Though interrupt which has lower priority occurs many times during execution of interrupt
which has higher priority, interrupt which has lower priority occurs only one time.
5- 12
Chapter 5 Program Configuration and Operation Method
5.2.3 Interrupt
For your understanding of Interrupt function, here describes program setting method of XG5000 which is an XGB
programming S/W. Example of interrupt setting is as shown bellows.
• Interrupt setting
Interrupt source Interrupt name priority Task No. Program
Initializing Interrupt 0_ - - -
Cycle time 1 Interrupt 1_cycle time 2 0 Cycle time 1
External Interrupt 2_external 2 8 External
Internal device Interrupt 3_internal 3 14 Internal
Cycle time 2 Interrupt 4_cycle time 3 1 Cycle time 2
Scan program
Initializing
(Before INIT_DONE instruction)
Cycle time 1/
Cycle time 1 execution
external occur
simultaneously
External I/O execution
Internal device
Interrupt occur
Cycle time 2
Cycle time 2 execution
occur
Remark
• In case that several tasks to be executed are waiting, execute from the highest Task Program in
priority. When the same priority tasks are waiting, execute from the order occurred.
• While interrupt executing, if the highest interrupt is occurred, the highest interrupt is executed earliest of
all.
• When power On, All interrupts are in the state ‘Enable’. In case you don’t use it, disable the
interrupts by using DI instruction. If you want to use it again, enable by using EI instruction.
5- 13
Chapter 5 Program Configuration and Operation Method
Generate the task in the project window of XG5000 as below and add the program to be performed by each
task. For further information, please refer to XG5000 user’s manual.
(It can be additional when XG5000 is not connected with PLC.)
(a) Click right button of mouse on project name and click 『Add item』-『Task』.
(b) The screen of Task setting is shown. Click 『Initialization』 in Execution condition and make a Task
name.
5- 14
Chapter 5 Program Configuration and Operation Method
(c) Click right button of mouse at registered task and select『Add Item』-『Program』.
(d) Make initializing program. In initializing program, INIT_DONE instruction must be made. If not, Scan
program is not executed.
5- 15
Chapter 5 Program Configuration and Operation Method
Generate the task in the project window of XG5000 as below and add the program to be performed by each
task. For further information, please refer to XG5000 user’s manual.
(It can be additional when XG5000 is not connected with PLC)
(a) Click right button of mouse at registered task and select『Add Item』-『Task』.
5- 16
Chapter 5 Program Configuration and Operation Method
(c) Click right button of mouse at registered task and select『Add Item』-『Program』.
5- 17
Chapter 5 Program Configuration and Operation Method
5- 18
Chapter 5 Program Configuration and Operation Method
Here describes common processing method and notices for Task program.
5- 19
Chapter 5 Program Configuration and Operation Method
5- 20
Chapter 5 Program Configuration and Operation Method
It described the I/O task program processing. (“S” type: P000~P007, “E” type: P000~P003)
5- 21
Chapter 5 Program Configuration and Operation Method
5- 22
Chapter 5 Program Configuration and Operation Method
(d) Is program protection for the high priority task needed during program execution?
If other task is inserted during task program execution, complete the task in execution and operate the
standby tasks in the order of high priority. In case that it is not allowed to insert other task in Scan Program,
prevent the insert partially by using ‘DI’ and ‘EI’ application instruction. The problem may occur while
processing the global variables used commonly with other program or special or communication module.
Scan started
(Initial operation started) Scan program stopped New scan started
Scan program
Program 1
10ms_Cycle time
Program 2
Internal device_M000
Program 3
External I/O_P000
Time
0 6 7 8 10 12 20 22 24 25 30 32 34
5- 23
Chapter 5 Program Configuration and Operation Method
5- 24
Chapter 5 Program Configuration and Operation Method
5- 25
Chapter 5 Program Configuration and Operation Method
5- 26
Chapter 5 Program Configuration and Operation Method
(b) Go
▪ Run the program to breakpoint. At break-pointer (stop indicator) is displayed.
5- 27
Chapter 5 Program Configuration and Operation Method
5- 28
Chapter 5 Program Configuration and Operation Method
Remark
5- 29
Chapter 5 Program Configuration and Operation Method
(a) Remote mode conversion is available only in the state of ‘Remote Enabled: On’, ‘Mode switch: Stop’.
In case of changing the Remote ‘RUN’ mode to ‘STOP’ by switch, operate the switch as follows.
(STOP) RUN STOP.
Warning
In case of changing Remote RUN mode to RUN mode by switch, PLC operation continues the
operation without interruption.
It is available to modify during RUN in RUN mode by switch but the mode change operation by
XG5000 is limited. This should be set only in case that remote mode change is not allowed.
5- 30
Chapter 5 Program Configuration and Operation Method
5.4 Memory
There are two types of memory in CPU module that the user can use. One is Program Memory that saves the
user program written by the user to build the system, and the other is Data Memory that provides the device area
to save the data during operation.
Various Bit Device are provided per function. The indication method is indicated by device type for first digit,
word position by decimal for middle digit and bit position by hexadecimal for the last digit.
L0000 ~ L0000~ Communication device Device to indicate high speed link/P2P service state
L1279f L2047f “L” information of communication module.
F0000 ~ F0000~ System flag area that manages the flag necessary
Special device “F”
F255f F1023f for system operation in PLC.
5- 31
Chapter 5 Program Configuration and Operation Method
D00000 ~ D0000~ Data register “D” Area to preserve the internal data.
D5119 D10239 Bit expression possible. (D0000.0)
U00.00 ~ U00.00~ Analog data Register used to read data from special module installed
U0A.31 U0A.31 register “U” in the slot. Bit expression possible
5- 32
Chapter 5 Program Configuration and Operation Method
0 ~ F 0000 ~ FFFF
P000 D0000
I/O Relay Data Register Parameter area
(2048 points) (5120 words)
P127 “P”
M000 D5119 “D” User Program area
Auxiliary Relay
U00.00 (4 K step)
(4096 points)
M255 “M” Analog Data
K000 Register
Keep Relay
U0A.31 (1024 words) “U”
(40960 points)
K2559 “K”
F000 Z000 Index Register
Special Relay
Z127 (128 words)
(4096 points) “Z”
F255 “F”
T000 Timer setting value
L0000
Link Relay T255 (256 words)
T000 Timer current value
(20480 points) “L”
L1279
T255 (256 words)
C000
T000 Counter setting value
Timer C255 (256 words)
C000
(256 points) Counter current value
T255 “T”
C000 C255 (256 words)
Counter
C255 (256 points) “C”
S000
Step controller
(128 x 100 step)
S00.00~S127.99 “S”
S127
5- 33
Chapter 5 Program Configuration and Operation Method
0 ~ F 0000 ~ FFFF
P0000 D0000
I/O Relay Data Register Parameter area
(16384 points) (10240 words)
P1023 “P”
M0000 D10239 “D” User Program area
Auxiliary Relay
U00.00 (15 K step)
(16384 points)
M1023 “M” Analog Data
K0000 Register
Keep Relay
U0A.31 (1024 words) “U”
(65536 points)
K4095 “K”
F0000 Z000 Index Register
Special Relay
Z127 (128 words)
(16384 points) “Z”
F1023 “F”
5- 34
Chapter 5 Program Configuration and Operation Method
Remark
5- 35
Chapter 5 Program Configuration and Operation Method
For keep or reset (clear) operation of latch area data according to PLC operation, please refer to the
below table.
No. Classification Detailed operation Latch 1 Latch 2
1 Power change Off/On Keep Keep
2 Reset by XG5000 Overall reset Reset Keep
3 Program write (online) - Keep Keep
SRAM broken by battery error Reset Reset
4 Data broken
Data broken by other reason Reset Reset
Clear Latch 1 Reset Keep
5 XG5000 online
Clear Latch 2 Reset Reset
5- 36
Chapter 5 Program Configuration and Operation Method
In case of Memory Delete state, the memory of all device shall be cleared as ‘0’. In case of giving the data
value at the beginning according to system, please use the initialization task.
5- 37
Chapter 6 CPU Functions
PLC
CPU type Description Reference
Series
XGB-DR16C3 Dedicated product Modular type
XGB-DR32HL Dedicated product Modular type
XGB-XBCE “E” type : XBC-DR10/14/20/30E Compact type
XGB-XBCH “H” type : XBC-DR32/64H , XBC-DN32/64H Compact type
XGB
“S(U)” type : XBC-DR20/30/40/60SU,
XGB-XBCS Compact type
XBC-DN20/30S(U), XBC-DN40/60SU
XGB-XBMS “S” type : XBM-DN16/32S , XBM-DR16S Modular type
Compact type
XGB-XECH “H” type : XEC-DR32/64H, XEC-DN32/64H
IEC language
Remark
6- 1
Chapter 6 CPU Functions
There are three main options ; “Basic Operation Setup” , “Device Area Setup” and “Error Operation
Setup”.
6- 2
Chapter 6 CPU Functions
This setting is to set and reserve each I/O information. Clicking 『I/O Parameter』 in the project
window shows the following setting window.
Clicking 『Module』 in 『Slot Position』 indicates a list of modules, in which you may set I/O
corresponding to the actual system. Then, the following window is displayed.
Clicking 『Details』 in 『Slot Position』 shows the following window to set filter and emergency output.
Remark
(1) If settings are different with I/O module actually accessed, “Inconsistent module type error” occurs,
displaying error.
(2) Without settings, CPU reads each I/O module information and operates.
6- 3
Chapter 6 CPU Functions
Remark
(1) Saved data are not deleted until selecting a menu of XG5000 and clicking “Delete”.
6.3.2 Troubleshooting
6- 4
Chapter 6 CPU Functions
Remark
(1) If any trouble occurs, the trouble number is saved in a special relay F002,003.
(2) For details of flag, refer to the appendix 1 Flag List.
6- 5
Chapter 6 CPU Functions
Remark
(1) For details regarding remote functions, refer to ‘Ch10 Online’ of XG5000 Users Manual.
6- 6
Chapter 6 CPU Functions
Item Description
Move to the beginning and end of I/O area (P000↔P127)
Move address Move to ±8 of I/O area displayed at the very left.
Move to ±1 of I/O area.
Application Set whether to allow or not Force I/O
Flag Set whether to allow or not Force I/O by bits.
Single
Data Set Force I/O data on or off by bits.
Select All Set to allow Force I/O with all I/O area on
6- 7
Chapter 6 CPU Functions
6.5.2 Processing time and processing method of Force Input/Output On and Off
(1) Forced Input
Regarding input, at the time of input refresh it replaces the data of contact set as Force On/Off among
data read from input module with the data as Force and updates input image area. Therefore, user
program executes operations with actual input data while Force input area is operated with data set as
Force.
6- 8
Chapter 6 CPU Functions
This function may be useful when directly reading the status of input contact during program operation by
refreshing I/O by means of ‘IORF’ instruction or outputting operation results to output contact.
‘IORF’ command is operated when M00000 is ON. First operand designates slot number. Second operand
designates the upper 32 bit data as mask data. Third operand designates the lower 32 bit data as mask data.
The bit to refresh set as 1 (hFF) and others set as 0 (h00) (not refreshed).
Remark
- When using IORF instruction to read/write data at expansion module, scan time increases by 2ms. So
when executing interrupt task program by external input less than 10ms or cycle time task less than 10ms,
task collision may occurs.
-For details regarding IORF instruction, refer to XGK/XGB Instructions List.
6- 9
Chapter 6 CPU Functions
This flag is provided for a user to diagnose any fault of external device and, in turn, execute halt or warning of
the system. Use of this flag displays faults of external device without any complicated program prepared and
monitors fault location without any specific device (XG5000 and etc) or source program.
Example
M000
Error device bit On
FSET F2020
(c) If any trouble occurs, CPU is in error status and operation halts. At this moment, F2020 and F2002 flags
are off (error LED switches on and off every second.)
Example
M000
FSET F2030 Warning device bit On
System Configuration
Number of
Type I/O allocation Remarks
Connection stage
Input : P0000 ~ P003F
0 XBC-DN30S(U) Main unit fixed
Output : P0040 ~ P007F
1 XBE-DC32A Input : P0080~P011F Actual input: P0080 ~ P009F
6- 11
Chapter 6 CPU Functions
6- 12
Chapter 6 CPU Functions
6- 13
Chapter 6 CPU Functions
(3) It turns to program modification mode during run when the program background is changed.
6- 14
Chapter 6 CPU Functions
(7) The program background returns and the program modification during run is completed.
Remark
▪ For parameter modification during run, change each parameter on XG-PD and click『Online』-『Write
Modified Program 』.
6- 15
Chapter 6 CPU Functions
(1) Click『Online』-『I/O Info』. Then, information of each module connected to the system is monitored.
(2) If clicking Details after selecting a module, it displays detail information of a selected module.
6- 16
Chapter 6 CPU Functions
6.11 Monitoring
It monitors system information of XGB series system.
Start/Stop Monitoring Designate the start and stop of monitor. Click for reverse turn.
6- 17
Chapter 6 CPU Functions
6- 18
Chapter 6 CPU Functions
6- 19
Chapter 6 CPU Functions
1) It monitors detail information when an event set by a user occurs. Additional user event may be
registered.
6- 20
Chapter 6 CPU Functions
5) Double-clicking a number produced monitors the relative values of device and the detail message as
follows.
Remark
6- 21
Chapter 6 CPU Functions
(2) When reading PLC is prohibited, if you try to read PLC, the following dialog box appears. After releasing
Program Upload Prohibit, execute reading.
6- 22
Chapter 6 CPU Functions
(c) If you select 『Yes』 on the dialog box, PLC program, parameter, data, password will be deleted.
Note
6- 23
Chapter 6 CPU Functions
6- 24
Chapter 6 CPU Functions
6- 25
Chapter 7 Input/Output Specifications
(1) For the type of digital input, there are two types such as current sink input and current source
input.
(2) The number of max. Simultaneous input contact point is different according to module type. It
depends on the input voltage, ambient temperature. Use input module after checking the
specification.
(3) When response to high speed input is necessary, use interrupt input contact point. Up to 8
interrupt points are supported.
(4) In case that open/close frequency is high or it is used for conductive load open/close, use
Transistor output module or triac output module as the durability of Relay Output Module shall
be reduced.
(5) For output module to run the conductive (L) load, max. open/close frequency should be used
by 1second On, 1 second Off.
(6) For output module, in case that counter timer using DC/DC Converter as a load was used,
Inrush current may flow in a certain cycle when it is ON or during operation. In this case, if
average current is selected, it may cause the failure. Accordingly, if the previous load was
used, it is recommended to connect resistor or inductor to the load in serial in order to reduce
the impact of Inrush current or use the large module having a max. load current value.
module
Output
Output
7-1
Chapter 7 Input/Output Specifications
100
Open/Close times (× 10000)
50
30
20
10
AC 125V Resistive load
0.5 1 2 3 5 10 100
7-2
Chapter 7 Input/Output Specifications
(8) A clamped terminal with sleeve can not be used for the XGB terminal strip. The clamped terminals
suitable for terminal strip are as follows (JOR 1.25-3:Daedong Electricity in Korea).
(9) The cable size connected to a terminal strip should be 0.3~0.75 ㎟ stranded cable and 2.8 ㎜ thick.
The cable may have different current allowance depending on the insulation thickness.
(10) The coupling torque available for fixation screw and terminal strip screw should follow the table below.
(11) Relay life graph is not written based on real use. (This is not a guaranteed value). So consider margin.
Relay life is specified under following condition.
(a) Rated voltage, load: 3 million times: 100 million times
(b) 200V AC 1.5A, 240V AC 1A (COS¢ =0.7): 1 million times
(c) 200V AC 0.4A, 240V AC 0.3A (COS¢ =0.7): 3 million times
(d) 200V AC 1A, 240V AC 0.5A (COS¢ =0.35): 1 million times
(e) 200V AC 0.3A, 240V AC 0.15A (COS¢ =0.35): 3 million times
(f) 24V DC 1A, 100V DC 0.1A (L/R=7ms): 1million times
(g) 24V DC 0.3A, 100V DC 0.03A (L/R=7ms): 3million times
(12) Noise can be inserted into input module. To prevent this noise, the user can set filter for input delay in
parameter. Consider the environment and set the input filter time.
Input filter time (ms) Noise signal pulse size (ms) Reference
1 0.3
3 1.8 Initial value
5 3
10 6
20 12
70 45
100 60
7-3
Chapter 7 Input/Output Specifications
(a) Setting input filter
1) Click I/O Parameter』in the project window of XG5000
7-4
Chapter 7 Input/Output Specifications
3) Set I/O module really equipped.
7-5
Chapter 7 Input/Output Specifications
(b) Setting output status in case of error
1) Click Emergency Out in the I/O parameter setting window.
If it is selected as Clear, the output will be Off and if Hold is selected, the output will be kept.
7-6
Chapter 7 Input/Output Specifications
Response Off → On
1/3/5/10/20/70/100 ㎳ (Set by I/O parameter) Default: 3 ㎳
time On → Off
Insulation pressure AC560Vrms / 3 cycle (altitude 2000m)
Insulation resistance 10 ㏁ or more by MegOhmMeter
Common method 6 point / COM
Proper cable size 0.3 ㎟
Operation indicator LED On when Input On
External connection
14 point terminal block connector (M3 X 6 screw)
method
Weight 330g 313g 313g
Circuit configuration No. Contact No. Contact Type
TB1 RX
TB2 485+
DC5V TB3 TX
0 Photo coupler
TB6
R TB4 485-
LED TB5 SG
R TB6 00
5 Internal TB7 01
TB11
circuit TB8 02
TB14
TB9 03
COM
TB10 04
DC24V
TB11 05
Terminal block no. TB12 NC
TB13 NC
TB14 COM
7-7
Chapter 7 Input/Output Specifications
Response Off → On
1/3/5/10/20/70/100 ㎳ (set by I/O parameter) default: 3 ㎳
time On → Off
Insulation pressure AC560Vrms / 3 cycle (altitude 2000m)
Insulation resistance 10 ㏁ or more by MegOhmMeter
Common method 8 point / COM
Proper cable size 0.3 ㎟
Operation indicator LED On when Input On
External connection
14 point terminal block connector (M3 X 6 screw)
method
Weight 340g 313g 313g
Circuit configuration No. Contact No. Contact Type
TB1 RX
TB2 485+
DC5V TB3 TX
0 Photo coupler
TB6
R TB4 485-
LED TB5 SG
R TB6 00
7 Internal TB7 01
TB13
circuit TB8 02
TB14
TB9 03
COM
TB10 04
DC24V
TB11 05
Terminal block no. TB12 06
TB13 07
TB14 COM
7-8
Chapter 7 Input/Output Specifications
Response Off → On
1/3/5/10/20/70/100 ㎳ (set by I/O parameter) default: 3 ㎳
time On → Off
Insulation pressure AC560Vrms / 3 cycle (altitude 2000m)
Insulation resistance 10 ㏁ or more by MegOhmMeter
Common method 12 point / COM
Proper cable size 0.3 ㎟
Operation indicator LED On When Input On
External connection
24 point terminal block connector (M3 X 6 screw)
method
Weight 450g 418g 418g
Circuit configuration No. Contact No. Contact Type
TB1 RX
TB2 485+
TB3 TX
TB4 485-
TB5 SG
DC5V TB6 00
0 Photo coupler TB7 01
TB6
R TB8 02
LED TB9 03
R
TB10 04
0B Internal
TB17 TB11 05
TB24
circuit TB12 06
COM TB13 07
TB14 08
DC24V TB15 09
Terminal block no. TB16 0A
TB17 0B
TB18 NC
TB19 NC
TB20 NC
TB21 NC
TB22 NC
TB23 NC
TB24 COM
7-9
Chapter 7 Input/Output Specifications
Response Off → On
1/3/5/10/20/70/100 ㎳ (set by I/O parameter) default: 3 ㎳
time On → Off
Insulation pressure AC560Vrms / 3 cycle (altitude 2000m)
Insulation resistance 10 ㏁ or higher by MegOhmMeter
Common method 18 point / COM
Proper cable size 0.3 ㎟
Operation indicator LED on when Input On
External connection
24 point terminal block connector (M3 X 6 screw)
method
Weight 465g 423g 423g
Circuit configuration No. Contact No. Contact Type
TB1 RX
TB2 485+
TB3 TX
TB4 485-
TB5 SG
Photo coupler DC5V TB6 00
0 TB7 01
TB6
R TB8 02
LED
TB9 03
R
TB10 04
11
TB23 Internal TB11 05
TB24
circuit TB12 06
COM TB13 07
TB14 08
DC24V TB15 09
Terminal block no. TB16 0A
TB17 0B
TB18 0C
TB19 0D
TB20 0E
TB21 0F
TB22 10
TB23 11
TB24 COM
7-10
Chapter 7 Input/Output Specifications
Response Off → On
1/3/5/10/20/70/100 ㎳ (set by I/O parameter) default: 3 ㎳
time On → Off
Insulation pressure AC560Vrms / 3 cycle (altitude 2000m)
Insulation resistance 10 ㏁ or more by MegOhmMeter
Common method 12 point / COM
Proper cable size 0.3 ㎟
Operation indicator LED On When Input On
External connection
24 point terminal block connector (M3 X 6 screw)
method
Weight 514g 475g 475g
Circuit configuration No. Contact No. Contact Type
TB1 RX
TB2 485+
TB3 TX
TB4 485-
TB5 SG
DC5V TB6 00
0 Photo coupler TB7 01
TB6
R TB8 02
LED TB9 03
R
TB10 04
0B Internal
TB17 TB11 05
TB24
circuit TB12 06
COM TB13 07
TB14 08
DC24V TB15 09
Terminal block no. TB16 0A
TB17 0B
TB18 NC
TB19 NC
TB20 NC
TB21 NC
TB22 NC
TB23 NC
TB24 COM
7-11
Chapter 7 Input/Output Specifications
Response Off → On
1/3/5/10/20/70/100 ㎳ (set by I/O parameter) default: 3 ㎳
time On → Off
Insulation pressure AC560Vrms / 3 cycle (altitude 2000m)
Insulation resistance 10 ㏁ or higher by MegOhmMeter
Common method 18 point / COM
Proper cable size 0.3 ㎟
Operation indicator LED on when Input On
External connection
24 point terminal block connector (M3 X 6 screw)
method
Weight 528g 476g 476g
Circuit configuration No. Contact No. Contact Type
TB1 RX
TB2 485+
TB3 TX
TB4 485-
TB5 SG
Photo coupler DC5V TB6 00
0 TB7 01
TB6
R TB8 02
LED
TB9 03
R
TB10 04
11
TB23 Internal TB11 05
TB24
circuit TB12 06
COM TB13 07
TB14 08
DC24V TB15 09
Terminal block no. TB16 0A
TB17 0B
TB18 0C
TB19 0D
TB20 0E
TB21 0F
TB22 10
TB23 11
TB24 COM
7-12
Chapter 7 Input/Output Specifications
TB1 RX
TB2 485+
TB3 TX
TB4 485-
TB5 SG
TB6 00
Photo-coupler
0
TB6 TB7 01
R
TB8 02
R TB9 03
TB10 04
11
TB23 Internal
circuit
TB11 05
TB24 TB12 06
COM
TB13 07
DC24V
TB14 08
TB15 09
Terminal block No. TB16 0A
TB17 0B
TB18 0C
TB19 0D
TB20 0E
TB21 0F
TB22 10
TB23 11
TB24 12
TB25 13
TB26 14
TB27 15
TB28 16
TB29 17
TB30 COM
7-13
Chapter 7 Input/Output Specifications
7-14
Chapter 7 Input/Output Specifications
Specification XBC-DR10E
Output point 4 point
Insulation method Relay insulation
Rated load
DC24V 2A (resistive load) / AC220V 2A (COSΦ = 1), 5A/COM
voltage/current
Min. load voltage/current DC5V / 1 ㎃
Max. load voltage AC250V, DC125V
Off leakage current 0.1 ㎃ (AC220V, 60 ㎐)
Max. On/Off frequency 3,600 times / hour
Surge absorber None
Mechanical 20 million times or more
Rated load voltage / Current 100,000 times or more
Service
AC200V / 1.5A, AC240V / 1A (COSΦ = 0.7) 100,000 times or more
life Electrical
AC200V / 1A, AC240V / 0.5A (COSΦ = 0.35) 100,000 times or more
DC24V / 1A, DC100V / 0.1A (L / R = 7 ㎳) 100,000 times or more
Response Off → On 10 ㎳ or less
time On → Off 12 ㎳ or less
Common method 2 point / COM
Proper cable size Stranded cable 0.3~0.75 ㎟ (External diameter 2.8 ㎜ or less)
Operation indicator LED On when Output On
External connection
14 point terminal block connector (M3 X 6 screw)
method
Weight 330g
Circuit configuration No. Contact No. Contact Type
TB5 TB1
AC100
RY TB2 PE
~240V
TB3
COM0 TB4 TB4 COM0
TB7
Internal circuit
TB5 40
RY TB6 COM1
TB7 41
COM1 TB6 TB8 COM2
TB9 TB9 42
RY TB10 43
TB10 TB11 NC
COM2 TB8 TB12 NC
TB13 24V
Terminal no.
TB14 24G
7-15
Chapter 7 Input/Output Specifications
Specification XBC-DR14E
Output point 6 point
Insulation method Relay insulation
Rated load
DC24V 2A (resistive load) / AC220V 2A (COSΦ = 1), 5A/COM
voltage/current
Min. load voltage/current DC5V / 1 ㎃
Max. load voltage AC250V, DC125V
Off leakage current 0.1 ㎃ (AC220V, 60 ㎐)
Max. On/Off frequency 3,600 times / hour
Surge absorber None
Mechanical 20 million times or more
Rated load voltage / Current 100,000 times or more
Service
AC200V / 1.5A, AC240V / 1A (COSΦ = 0.7) 100,000 times or more
life Electrical
AC200V / 1A, AC240V / 0.5A (COSΦ = 0.35) 100,000 times or more
DC24V / 1A, DC100V / 0.1A (L / R = 7 ㎳) 100,000 times or more
Response Off → On 10 ㎳ or less
time On → Off 12 ㎳ or less
Common method 4 point / COM
Proper cable size Stranded cable 0.3~0.75 ㎟ (External diameter 2.8 ㎜ or less)
Operation indicator LED On when Output On
External connection
14 point terminal block connector (M3 X 6 screw)
method
Weight 340g
Circuit configuration No. Contact No. Contact Type
TB5 TB1
AC100
RY TB2 PE
~240V
TB3
COM0 TB4 TB4 COM0
Internal circuit
TB7 TB5 40
RY TB6 COM1
TB7 41
COM1 TB6 TB8 COM2
TB9 TB9 42
RY TB10 43
TB12 TB11 NC
COM2 TB8 TB12 NC
TB13 24V
Terminal no.
TB14 24G
7-16
Chapter 7 Input/Output Specifications
TB6 TB9 42
COM1
TB10 43
TB9
TB11 NC
RY TB12 COM3
TB10 TB13 44
COM2 TB8 TB14 45
TB15 46
TB13 TB16 47
RY
TB17 NC
TB16 TB18 NC
COM3 TB12 TB19 NC
TB20 NC
Terminal No. TB21 NC
TB22 NC
TB23 24V
TB24 24G
7-17
Chapter 7 Input/Output Specifications
Specification XBC-DR30E
Output point 12 point
Insulation method Relay insulation
Rated load
DC24V 2A (resistive load) / AC220V 2A (COSΦ = 1), 5A/COM
voltage/current
Min. load voltage/current DC5V / 1 ㎃
Max. load voltage AC250V, DC125V
Off leakage current 0.1 ㎃ (AC220V, 60 ㎐)
Max. On/Off frequency 3,600 times / hour
Surge absorber None
Mechanical 20 million times or more
Rated load voltage / Current 100,000 times or more
Service
AC200V / 1.5A, AC240V / 1A (COSΦ = 0.7) 100,000 times or more
life Electrical
AC200V / 1A, AC240V / 0.5A (COSΦ = 0.35) 100,000 times or more
DC24V / 1A, DC100V / 0.1A (L / R = 7 ㎳) 100,000 times or more
Response Off → On 10 ㎳ or less
time On → Off 12 ㎳ or less
Common method 4 point / COM (COM0~COM8), 8 point / COM (COM4~COM5)
Proper cable size Stranded cable 0.3~0.75 ㎟ (External diameter 2.8 ㎜ or less)
Operation indicator LED On when Output On
External connection
2 point terminal block connector (M3 X 6 screw)
method
Weight 465g
Circuit configuration No. Contact No. Contact Type
TB5 TB1
AC100
TB2 PE
TB3 ~240V
COM0 TB4
TB4 COM0
TB7 TB5 40
TB6 COM1
TB7 41
COM1 TB6
Internal Circuit
TB8 COM2
TB9 TB9 42
TB10 TB10 43
TB11 NC
COM2 TB8 TB12 COM3
TB13 TB13 44
TB14 45
TB16
TB15 46
COM3 TB12 TB16 47
TB19 TB17 NC
TB22 TB18 COM4
TB19 48
COM4 TB18 TB20 49
Terminal No. TB21 4A
TB22 4B
TB23 24V
TB24 24G
7-18
Chapter 7 Input/Output Specifications
Specification XBC-DN10E
Output point 4 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Operation load voltage
DC 10.2 ~ 26.4V
range
Max. load current 0.5A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop when
DC 0.4V or less
On
Surge absorber Zener diode
Response Off → On 1 ㎳ or less
time On → Off 1 ㎳ or less (rated load, resistive load)
Common method 4 point / COM
Proper wire size Stranded wire 0.3~0.75 ㎟ (external diameter 2.8 ㎜ or less)
External Voltage DC12/24V ± 10% (Ripple voltage 4 Vp-p or less)
power Current 25 ㎃ or less (When connecting DC24V)
Operation indicator LED On when Output On
External connection
14 point terminal block connector(M3 X 6 screw)
method
Weight 313g
Circuit configuration No. Contact No. Contact Type
TB1
AC100
TB2 PE
~240V
TB3
TB4 P
Internal Circuit
TB5 40
TB6 COM0
TB7 41
TB8 COM1
TB9 42
TB10 43
TB11 NC
TB12 NC
TB13 24V
Terminal No.
TB14 24G
7-19
Chapter 7 Input/Output Specifications
Specification XBC-DN14E
Output point 6 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Operation load voltage
DC 10.2 ~ 26.4V
range
Max. load current 0.5A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop when
DC 0.4V or less
On
Surge absorber Zener diode
Response Off → On 1 ㎳ or less
time On → Off 1 ㎳ or less (rated load, resistive load)
Common method 4 point / COM
Proper wire size Stranded wire 0.3~0.75 ㎟ (external diameter 2.8 ㎜ or less)
External Voltage DC12/24V ± 10% (Ripple voltage 4 Vp-p or less)
power Current 25 ㎃ or less (When connecting DC24V)
Operation indicator LED On when Output On
External connection
14 point terminal block connector(M3 X 6 screw)
method
Weight 315g
Circuit configuration No. Contact No. Contact Type
TB1
AC100
TB2 PE
~240V
TB3
TB4 P
Internal Circuit
TB5 40
TB6 COM0
TB7 41
TB8 COM1
TB9 42
TB10 43
TB11 44
TB12 45
TB13 24V
Terminal No. TB14 24G
7-20
Chapter 7 Input/Output Specifications
Specification XBC-DN20E
Output point 8 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Operation load voltage range DC 10.2 ~ 26.4V
Max. load current 0.5A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop when On DC 0.4V or less
Surge absorber Zener diode
TB1
AC100
TB2 PE
~240V
TB3
TB4 P
TB5 40
Internal Circuit
TB6 COM0
TB7 41
TB8 COM1
TB9 42
TB10 43
TB11 NC
TB12 COM2
TB13 44
TB14 45
TB15 46
TB16 47
TB17 NC
TB18 NC
TB19 NC
TB20 NC
Terminal No. TB21 NC
TB22 NC
TB23 24V
TB24 24G
7-21
Chapter 7 Input/Output Specifications
Specification XBC-DN30E
Output point 12 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Operation load voltage range DC 10.2 ~ 26.4V
Max. load current 0.5A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop when On DC 0.4V or less
Surge absorber Zener diode
TB1
AC100
TB2 PE
~240V
TB3
TB4 P
Internal Circuit
TB5 40
TB6 COM0
TB7 41
TB8 COM1
TB9 42
TB10 43
TB11 NC
TB12 COM2
TB13 44
TB14 45
TB15 46
TB16 47
TB17 NC
TB18 COM3
TB19 48
TB20 49
TB21 4A
TB22 4B
TB23 24V
Terminal No.
TB24 24G
7-22
Chapter 7 Input/Output Specifications
Specification XBC-DP10E
Output point 4 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Operation load voltage
DC 10.2 ~ 26.4V
range
Max. load current 0.5A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop when
DC 0.4V or less
On
Surge absorber Zener diode
Response Off → On 1 ㎳ or less
time On → Off 1 ㎳ or less (rated load, resistive load)
Common method 4 point / COM
Proper wire size Stranded wire 0.3~0.75 ㎟ (external diameter 2.8 ㎜ or less)
External Voltage DC12/24V ± 10% (Ripple voltage 4 Vp-p or less)
power Current 25 ㎃ or less (When connecting DC24V)
Operation indicator LED On when Output On
External connection
14 point terminal block connector(M3 X 6 screw)
method
Weight 313g
Circuit configuration No. Contact No. Contact Type
TB1
AC100
TB2 PE
~240V
TB3
TB4 N
Internal Circuit
TB5 40
TB6 COM0
TB7 41
TB8 COM1
TB9 42
TB10 43
TB11 NC
TB12 NC
Terminal No. TB13 24V
TB14 24G
7-23
Chapter 7 Input/Output Specifications
Specification XBC-DP14E
Output point 6 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Operation load voltage
DC 10.2 ~ 26.4V
range
Max. load current 0.5A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop when
DC 0.4V or less
On
Surge absorber Zener diode
Response Off → On 1 ㎳ or less
time On → Off 1 ㎳ or less (rated load, resistive load)
Common method 4 point / COM
Proper wire size Stranded wire 0.3~0.75 ㎟ (external diameter 2.8 ㎜ or less)
External Voltage DC12/24V ± 10% (Ripple voltage 4 Vp-p or less)
power Current 25 ㎃ or less (When connecting DC24V)
Operation indicator LED On when Output On
External connection
14 point terminal block connector(M3 X 6 screw)
method
Weight 315g
Circuit configuration No. Contact No. Contact Type
TB1
AC100
TB2 PE
~240V
TB3
TB4 N
Internal Circuit
TB5 40
TB6 COM0
TB7 41
TB8 COM1
TB9 42
TB10 43
TB11 44
TB12 45
Terminal No. TB13 24V
TB14 24G
7-24
Chapter 7 Input/Output Specifications
Specification XBC-DP20E
Output point 8 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Operation load voltage range DC 10.2 ~ 26.4V
Max. load current 0.5A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop when On DC 0.4V or less
Surge absorber Zener diode
TB1
AC100
TB2 PE
~240V
TB3
TB4 N
TB5 40
Internal Circuit
TB6 COM0
TB7 41
TB8 COM1
TB9 42
TB10 43
TB11 NC
TB12 COM2
TB13 44
TB14 45
TB15 46
TB16 47
TB17 NC
TB18 NC
TB19 NC
TB20 NC
Terminal No. TB21 NC
TB22 NC
TB23 24V
TB24 24G
7-25
Chapter 7 Input/Output Specifications
Specification XBC-DP30E
Output point 12 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Operation load voltage range DC 10.2 ~ 26.4V
Max. load current 0.5A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop when On DC 0.4V or less
Surge absorber Zener diode
TB1
AC100
TB2 PE
~240V
TB3
TB4 N
Internal Circuit
TB5 40
TB6 COM0
TB7 41
TB8 COM1
TB9 42
TB10 43
TB11 NC
TB12 COM2
TB13 44
TB14 45
TB15 46
TB16 47
TB17 NC
TB18 COM3
TB19 48
TB20 49
TB21 4A
TB22 4B
TB23 24V
Terminal No. TB24 24G
7-26
Chapter 7 Input/Output Specifications
TB6 TB9 42
COM1
TB10 43
TB9
TB11 NC
RY TB12 COM3
TB10 TB13 44
COM2 TB8 TB14 45
TB15 46
TB13 TB16 47
RY
TB17 NC
TB16 TB18 NC
COM3 TB12 TB19 NC
TB20 NC
Terminal No.
TB21 NC
TB22 NC
TB23 24V
TB24 24G
7-27
Chapter 7 Input/Output Specifications
Specification XBC-DR30SU
Output point 12 point
Insulation method Relay insulation
Rated load
DC24V 2A (resistive load) / AC220V 2A (COSΦ = 1), 5A/COM
voltage/current
Min. load voltage/current DC5V / 1 ㎃
Max. load voltage AC250V, DC125V
Off leakage current 0.1 ㎃ (AC220V, 60 ㎐)
Max. On/Off frequency 3,600 times / hour
Surge absorber None
Mechanical 20 million times or more
Rated load voltage / Current 100,000 times or more
Service
AC200V / 1.5A, AC240V / 1A (COSΦ = 0.7) 100,000 times or more
life Electrical
AC200V / 1A, AC240V / 0.5A (COSΦ = 0.35) 100,000 times or more
DC24V / 1A, DC100V / 0.1A (L / R = 7 ㎳) 100,000 times or more
Response Off → On 10 ㎳ or less
time On → Off 12 ㎳ or less
Common method 4 point / COM (COM0~COM8), 8 point / COM (COM4~COM5)
Proper cable size Stranded cable 0.3~0.75 ㎟ (External diameter 2.8 ㎜ or less)
Operation indicator LED On when Output On
External connection
42 point terminal block connector (M3 X 6 screw)
method
Weight 465g
Circuit configuration No. Contact No. Contact Type
TB5 TB1
AC100
TB2 PE
TB3 ~240V
COM0 TB4
TB4 COM0
TB7 TB5 40
TB6 COM1
TB7 41
COM1 TB6
Internal Circuit
TB8 COM2
TB9 TB9 42
TB10 TB10 43
TB11 NC
COM2 TB8 TB12 COM3
TB13 TB13 44
TB14 45
TB16
TB15 46
COM3 TB12 TB16 47
TB19 TB17 NC
TB22 TB18 COM4
TB19 48
COM4 TB18 TB20 49
Terminal No. TB21 4A
TB22 4B
TB23 24V
TB24 24G
7-28
Chapter 7 Input/Output Specifications
TB1 AC100
TB2 PE
TB5 TB3 ~240V
R
TB4 COM0
TB5 40
COM0 TB4
TB6 COM1
TB7 TB7 41
TB8 COM2
R TB9 42
COM1 TB6 TB10 43
TB11 NC
Internal circuit
TB9
TB12 COM3
R TB10 TB13 44
COM2
TB14 45
TB8
TB15 46
TB13 TB16 47
TB17 NC
R TB16 TB18 COM4
COM3 TB12 TB19 48
TB25 TB20 49
TB21 4A
R TB28 TB22 4B
COM5 TB24
TB23 NC
TB24 COM5
Terminal TB25 4C
block no. TB26 4D
TB27 4E
TB28 4F
TB29 24V
TB30 24G
7-29
Chapter 7 Input/Output Specifications
TB9
TB17 NC
TB18 COM4
R TB10 TB19 48
COM2 TB8 TB20 49
TB21 4A
TB13 TB22 4B
TB23 NC
R TB16 TB24 COM5
COM3 TB25 4C
TB12
TB26 4D
TB37 TB27 4E
TB28 4F
R TB40 TB29 NC
COM7 TB30 COM6
TB36 TB31 50
TB32 51
Terminal block TB33 52
no. TB34 53
TB35 NC
TB36 COM7
TB37 54
TB38 55
TB39 56
TB40 57
TB41 24V
TB42 24G
7-30
Chapter 7 Input/Output Specifications
Specification XBC-DN20S(U)
Output point 8 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Operation load voltage range DC 10.2 ~ 26.4V
Max. load current 0.5A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop when On DC 0.4V or less
Surge absorber Zener diode
TB05 TB1
AC100
DC5V TB2 PE
R ~240V
TB3
TB07
TB4 COM0
TB04 TB5 40
DC12/24V TB6 COM1
TB9
TB7 41
R TB8 COM2
TB10 TB9 42
TB06 TB10 43
Internal circuit
DC12/24V TB11 P
TB13 TB12 COM3
TB13 44
R
TB14 TB14 45
TB15 46
TB08 TB16 47
DC12/24V TB17 NC
TB15
TB18 NC
R TB19 NC
TB16
TB20 NC
TB12 TB21 NC
DC12/24V TB22 NC
TB11
TB23 24V
Terminal no. TB24 24G
7-31
Chapter 7 Input/Output Specifications
Specification XBC-DN30S(U)
Output point 12 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Operation load voltage range DC 10.2 ~ 26.4V
Max. load current 0.5A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ (AC220V, 60 ㎐)
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop when On DC 0.4V or less
Surge absorber Zener diode
TB05 TB1
AC100
DC5V TB2 PE
R ~240V
TB3
TB07
TB4 COM0
TB04 TB5 40
DC12/24V TB6 COM1
TB10
TB7 41
R TB8 COM2
TB13 TB9 42
TB06 TB10 43
Internal circuit
TB11 P
DC12/24V
TB15 TB12 COM3
TB13 44
R
TB18 TB14 45
TB15 46
TB08 TB16 47
DC12/24V TB17 NC
TB20
TB18 COM4
R TB19 48
TB22
TB20 49
TB18 TB21 4A
DC12/24V TB22 4B
TB11
Terminal TB23 24V
block no. TB24 24G
7-32
Chapter 7 Input/Output Specifications
TB05
TB1 AC100
DC5V
TB2 PE
TB3 ~240V
R
TB4 COM0
TB5 40
TB04 TB6 COM1
DC12/24V TB7 41
TB9 TB8 COM2
R
TB9 42
TB10 TB10 43
TB11 P
TB08 TB12 COM3
Internal circuit
DC12/24V TB13 44
TB13 TB14 45
TB15 46
R TB16 47
TB16
TB17 NC
TB12
TB18 COM4
TB19 48
DC12/24V TB20 49
TB25
TB21 4A
R TB22 4B
TB28 TB23 NC
TB24 COM5
TB24 TB25 4C
DC12/24V TB26 4D
TB11
TB27 4E
Terminal block no. TB28 4F
TB29 24V
TB30 24G
7-33
Chapter 7 Input/Output Specifications
7-34
Chapter 7 Input/Output Specifications
Specification XBC-DP20SU
Output point 8 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Operation load voltage range DC 10.2 ~ 26.4V
Max. load current 0.5A / 1point, 2A / 1COM (P40, P41: 0.1A / 1point)
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop when On DC 0.4V or less
Surge absorber Zener diode
TB1
AC100
TB2 PE
~240V
TB3
TB4 COM0
TB5 40
TB6 COM1
TB7 41
TB8 COM2
TB9 42
TB10 43
TB11 N
TB12 COM3
TB13 44
TB14 45
TB15 46
TB16 47
TB17 NC
TB18 NC
TB19 NC
TB20 NC
TB21 NC
TB22 NC
TB23 24V
TB24 24G
7-35
Chapter 7 Input/Output Specifications
Specification XBC-DP30SU
Output point 12 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Operation load voltage range DC 10.2 ~ 26.4V
Max. load current 0.5A / 1point, 2A / 1COM (P40, P41: 0.1A / 1point)
Off leakage current 0.1 ㎃ (AC220V, 60 ㎐)
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop when On DC 0.4V or less
Surge absorber Zener diode
TB1
AC100
TB2 PE
~240V
TB3
TB4 COM0
TB5 40
TB6 COM1
TB7 41
TB8 COM2
TB9 42
TB10 43
TB11 P
TB12 COM3
TB13 44
TB14 45
TB15 46
TB16 47
TB17 NC
TB18 COM4
TB19 48
TB20 49
TB21 4A
TB22 4B
TB23 24V
TB24 24G
7-36
Chapter 7 Input/Output Specifications
TB1 AC100
TB2 PE
TB3 ~240V
TB4 COM0
TB5 40
TB6 COM1
TB7 41
TB8 COM2
TB9 42
TB10 43
TB11 N
TB12 COM3
TB13 44
TB14 45
TB15 46
TB16 47
TB17 NC
TB18 COM4
TB19 48
TB20 49
TB21 4A
TB22 4B
TB23 NC
TB24 COM5
TB25 4C
TB26 4D
TB27 4E
TB28 4F
TB29 24V
TB30 24G
7-37
Chapter 7 Input/Output Specifications
7-38
Chapter 7 Input/Output Specifications
Specification XBE-DC08A
Input point 8 point
Insulation method Photo coupler insulation
Rated input voltage DC24V
Rated input current About 4 ㎃
Operation voltage range DC20.4~28.8V (ripple rate < 5%)
On Voltage/Current DC19V or higher / 3 ㎃ or higher
Off Voltage/Current DC6V or less / 1 ㎃ or less
Input resistance About 5.6 ㏀
Response Off → On
1/3/5/10/20/70/100 ㎳(set by CPU parameter) Default: 3 ㎳
time On → Off
Insulation pressure AC560Vrms / 3Cycle (altitude 2000m)
Insulation resistance 10 ㏁ or more by Megohmmeter
Common method 8 point / COM
Proper cable size Stranded pair 0.3~0.75 ㎟ (External diameter 2.8 ㎜ or less)
Current consumption 30 ㎃ (when all point On)
Operation indicator Input On, LED On
External connection
9 point terminal block connector
method
Weight 52 g
Circuit configuration No. Contact Type
TB1 0
TB2 1 TB1
0 Photo coupler TB3 2 TB2
TB1
R
TB3
R
TB4 3
TB4
7 Internal
TB8 TB5 4 TB5
TB9
circuit
COM TB6 5 TB6
TB7
DC24V TB7 6
Terminal block no.
TB8
TB8 7
TB9
TB9 COM
7-39
Chapter 7 Input/Output Specifications
Response Off → On
1/3/5/10/20/70/100 ㎳ (set by CPU parameter) Default: 3 ㎳
time On → Off
Insulation pressure AC560Vrms / 3Cycle (altitude 2000m)
Insulation resistance 10 ㏁ or more by Megohmmeter
Common method 16 point / COM
Proper cable size Stranded cable 0.3~0.75 ㎟ (External diameter 2.8 ㎜ or less)
Current consumption 40 ㎃ (when all point On)
Operation indicator Input On, LED On
External connection method 8 pin terminal block connector + 10 pin terminal block connector
Weight 53 g
Circuit configuration No. Contact Type
TB1 0
TB2 1 TB1
TB3 2 TB2
TB4 3 TB3
TB4
TB5 4
TB5
TB6 5
TB6
TB7 6 TB7
0
TB1 Photo coupler
R TB8 7 TB8
R TB1 8 TB1
7 Internal
TB8
circuit TB2 9 TB2
TB9
COM TB3 A TB3
DC24V TB4 B TB4
Terminal block no. TB5
TB5 C
TB6
TB6 D TB7
TB7 E TB8
TB8 F TB9
TB10
TB9 COM
TB10 COM
7-40
Chapter 7 Input/Output Specifications
Specification XBE-DC32A
Input point 32 point
Insulation method Photo coupler insulation
Rated input voltage DC24V
Rated input current About 4 ㎃
Operation voltage range DC20.4~28.8V (ripple rate < 5%)
Input Derating Refer to Derating diagram
On Voltage/Current DC 19V or higher / 3 ㎃ or higher
Off Voltage/Current DC 6V or less / 1 ㎃ or less
Input resistance About 5.6 ㏀
Response Off → On
1/3/5/10/20/70/100 ㎳ (set by CPU parameter) Default:3 ㎳
time On → Off
Insulation pressure AC 560Vrms / 3 Cycle (altitude 2000m)
Insulation resistance 10 ㏁ or more by Megohmmeter
Common method 32 point / COM
Proper cable size 0.3 ㎟
Current consumption 50 ㎃ (when all point On)
Operation indicator Input On, LED On
External connection method 40 pin connector
Weight 60g
Circuit configuration No. Contact No. Contact Type
B20 00 A20 10
0
DC5V B19 01 A19 11
B20 R Photo coupler
LED B18 02 A18 12
R
B17 03 A17 13 B20 A20
1F A05 Internal B19 A19
B02 circuit B16 04 A16 14 B18 A18
COM
B15 05 A15 15 B17 A17
Terminal block no.
DC24V B16 A16
B14 06 A14 16
B15 A15
Input Derating diagram B13 07 A13 17 B14 A14
100 B13 A13
B12 08 A12 18
B12 A12
90 B11 09 A11 19 B11 A11
80 DC28.8V B10 0A A10 1A B10 A10
On rate (%)
B09 A09
70 B09 0B A09 1B B08 A08
60 B08 0C A08 1C B07 A07
B06 A06
50 B07 0D A07 1D B05 A05
40 B06 0E A06 1E B04 A04
0 10 20 30 40 50 55 ℃ B03 A03
Ambient temperature (℃) B05 0F A05 1F B02 A02
A01
B04 NC A04 NC B01
B03 NC A03 NC
B02 COM A02 COM
B01 COM A01 COM
7-41
Chapter 7 Input/Output Specifications
7.5 Digital Output Module Specification
7.5.1 8 point relay output module
Specification XBE-RY08A
Output point 8 point
Insulation method Relay insulation
Rated load voltage / Current DC24V 2A (Resistive load) / AC220V 2A (COSΨ = 1), 5A/COM
Min. load voltage/Current DC5V / 1 ㎃
Max. load voltage/Current AC250V, DC125V
Off leakage current 0.1 ㎃ (AC220V, 60 ㎐)
Max. On/Off frequency 3,600 times/hr
Surge absorber None
Mechanical 20 millions times or more
Rated load voltage / current 100,000 times or more
Service life AC200V / 1.5A, AC240V / 1A (COSΨ = 0.7) 100,000 times or more
Electrical
AC200V / 1A, AC240V / 0.5A (COSΨ = 0.35) 100,000 times or more
DC24V / 1A, DC100V / 0.1A (L / R = 7 ㎳) 100,000 times or more
TB1 0
DC5V TB2 1
TB1
TB3 2
TB1 TB2
TB4 3 TB3
Internal RY
circuit TB4
TB5 4
TB8 TB5
TB6 5 TB6
TB9
TB7
TB7 6 TB8
Terminal block no. TB9
TB8 7
TB9 COM
7-42
Chapter 7 Input/Output Specifications
Specification XBE-RY08B
Output point 8 point
Insulation method Relay insulation
Rated load voltage /
DC24V 2A (Resistive load) / AC220V 2A (COSΨ = 1), 2A/COM
Current
Min. load voltage/Current DC5V / 1 ㎃
Max. load
AC250V, DC125V
voltage/Current
Off leakage current 0.1 ㎃ (AC220V, 60 ㎐)
Max. On/Off frequency 3,600 times/hr
Surge absorber None
Mechanical 20 millions times or more
Rated load voltage / current 100,000 times or more
Service
AC200V / 1.5A, AC240V / 1A (COSΨ = 0.7) 100,000 times or more
life Electrical
AC200V / 1A, AC240V / 0.5A (COSΨ = 0.35) 100,000 times or more
DC24V / 1A, DC100V / 0.1A (L / R = 7 ㎳) 100,000 times or more
Internal TB1 4
TB1
circuit TB2 COM4
TB7 TB2
TB3 5 TB3
RY
TB8 TB4 COM5 TB4
TB5 6 TB5
TB6 COM6 TB6
Terminal no.
TB7
TB7 7
TB8
TB8 COM7
TB9
TB9 NC
7-43
Chapter 7 Input/Output Specifications
Specification XBE-RY16A
Output point 16 point
Insulation method Relay insulation
Rated load voltage/ current DC24V 2A (Resistive load) / AC220V 2A (COSΨ = 1), 5A/COM
Min. load voltage/current DC5V / 1 ㎃
Max. load voltage/current AC250V, DC125V
Off leakage current 0.1 ㎃ (AC220V, 60 ㎐)
Max. On/Off frequency 3,600 times/hr
Surge absorber None
Mechanical 20 millions times or more
Rated load voltage / current 100,000 times or more
Service
AC200V / 1.5A, AC240V / 1A (COSΨ = 0.7) 100,000 times or more
life Electrical
AC200V / 1A, AC240V / 0.5A (COSΨ = 0.35) 100,000 times or more
DC24V / 1A, DC100V / 0.1A (L / R = 7 ㎳) 100,000 times or more
TB9 TB1 8
TB1
TB2 9 TB2
TB3 A TB3
Terminal block no.
TB4 B TB4
TB5 C TB5
TB6 D TB6
TB7
TB7 E
TB8
TB8 F
TB9
TB9 COM
7-44
Chapter 7 Input/Output Specifications
Specification XBE-TN08A
Output point 8 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Load voltage range DC 10.2 ~ 26.4V
Max. load voltage 0.5A / 1 point
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop (On) DC 0.4V or less
Surge absorber Zener Diode
DC5V TB02 1
TB01 TB01
TB03 2 TB02
R
TB04 3 TB03
Internal TB04
circuit TB05 4 TB05
TB08
TB06 5 TB06
TB07
TB09 TB07 6
TB08
TB10 TB08 7 TB09
DC12/24V DC12 TB10
TB09
Terminal block no. /24V
TB10 COM
7-45
Chapter 7 Input/Output Specifications
Specification XBE-TN16A
Output point 16 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Load voltage range DC 10.2 ~ 26.4V
Max. load voltage 0.2A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop (On) DC 0.4V or less
Surge absorber Zener Diode
7-46
Chapter 7 Input/Output Specifications
Specification XBE-TN32A
Output point 32 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Load voltage range DC 10.2 ~ 26.4V
Max. load voltage 0.2A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ or less
Max. inrush current 0.7A / 10 ㎳ or less
Max. voltage drop (On) DC 0.4V or less
Surge absorber Zener Diode
Off → On 1 ㎳ or less
Response time
On → Off 1 ㎳ or less (Rated load, resistive load)
Common method 32 point / COM
Proper cable size 0.3 ㎟
Current consumption 120 ㎃ (when all point On)
7-47
Chapter 7 Input/Output Specifications
Specification XBE-TP08A
Output point 8 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Load voltage range DC 10.2 ~ 26.4V
Max. load voltage 0.5A / 1 point
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop (On) DC 0.4V or less
Surge absorber Zener Diode
7-48
Chapter 7 Input/Output Specifications
Specification XBE-TP16A
Output point 16 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Load voltage range DC 10.2 ~ 26.4V
Max. load voltage 0.5A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop (On) DC 0.4V or less
Surge absorber Zener Diode
7-49
Chapter 7 Input/Output Specifications
Specification XBE-TP32A
Output point 32 point
Insulation method Photo coupler insulation
Rated load voltage DC 12 / 24V
Load voltage range DC 10.2 ~ 26.4V
Max. load voltage 0.2A / 1 point, 2A / 1COM
Off leakage current 0.1 ㎃ or less
Max. inrush current 4A / 10 ㎳ or less
Max. voltage drop (On) DC 0.4V or less
Surge absorber Zener Diode
Off → On 1 ㎳ or less
Response time
On → Off 1 ㎳ or less (Rated load, resistive load)
Common method 32 point / COM
Proper cable size 0.3 ㎟
Current consumption 120 ㎃ (When all outputs are on)
Voltage DC12/24V ± 10% (ripple voltage 4 Vp-p or less)
External power
Current 20 ㎃ or less (connecting DC24V)
Operation indicator LED On when output On
External connection method 40 pin connector
Weight 60g
Circuit configuration No. Contact No. Contact Type
B20 00 A20 10
B19 01 A19 11
B18 02 A18 12
DC5V B20 A20
B17 03 A17 13
B02,B01 B19 A19
LED B16 04 A16 14 B18 A18
DC12/24V B15 05 A15 15 B17 A17
A02,A01 B16 A16
Internal B14 06 A14 16 B15 A15
circuit A05 B13 07 A13 17 B14 A14
L B13 A13
B12 08 A12 18 B12 A12
B11 09 A11 19 B11 A11
B10 A10
B10 0A A10 1A B09 A09
R
B09 0B A09 1B B08 A08
B07
B20 L B08 0C A08 1C
A07
B06 A06
B07 0D A07 1D B05 A05
Connector B04 A04
B06 0E A06 1E B03 A03
No.
B05 0F A05 1F B02 A02
B01 A01
B04 NC A04 NC
B03 NC A03 NC
B02 A02
COM 0V
B01 A01
7-50
Chapter 7 Input/Output Specifications
Specification XBE-DR16A
Input point 8 point
Insulation method Photo coupler insulation
Rated input voltage DC24V
Rated input current About 4 ㎃
Operation voltage range DC20.4~28.8V (within ripple rate 5%)
On Voltage/Current DC19V or higher / 3 ㎃ or higher
Off Voltage/Current DC6V or less / 1 ㎃ or less
Input resistance About 5.6 ㏀
Response Off → On
1/3/5/10/20/70/100 ㎳(set by CPU parameter) Default: 3 ㎳
time On → Off
Insulation pressure AC560Vrms / 3Cycle (altitude 2000m)
Insulation resistance 10 ㏁ or more by Megohmmeter
Common method 8 point / COM
Proper cable size Stranded cable 0.3~0.75 ㎟ (External diameter 2.8 ㎜ or less)
Current consumption 280 ㎃ (When all inputs and outputs are on)
Operation indicator LED on when input on
External connection
9 pin terminal block connector
method
Weight 81g
Circuit configuration No. Contact Type
TB1 0
TB2 1 TB1
DC5V
0 Photo coupler TB3 2 TB2
TB1
R
LED TB3
R
TB4 3
TB4
7 Internal
TB8 TB5 4 TB5
TB9
circuit
COM TB6 5 TB6
TB7
DC24V TB7 6
Terminal TB8
block no.
TB8 7
TB9
TB9 COM
7-51
Chapter 7 Input/Output Specifications
Specification XBE-DR16A
Output point 8 point
Insulation method Relay insulation
Rated load
DC24V 2A(Resistive load) / AC220V 2A(COSΨ = 1), 5A/COM
voltage / Current
Min. load voltage/Current DC5V / 1 ㎃
Max. load voltage AC250V, DC125V
Off leakage current 0.1 ㎃ (AC220V, 60 ㎐)
Max. On/Off frequency 3,600 times/hr
Surge absorber None
Mechanical 20 millions times or more
Rated load voltage / current 100,000 times or more
Service
AC200V / 1.5A, AC240V / 1A (COSΨ = 0.7) 100,000 times or more
life Electrical
AC200V / 1A, AC240V / 0.5A (COSΨ = 0.35) 100,000 times or more
DC24V / 1A, DC100V / 0.1A (L / R = 7 ㎳) 100,000 times or more
TB1 0
DC5V TB2 1
LED TB1
TB3 2
TB1 TB2
L
Internal TB4 3 TB3
circuit RY
TB4
TB5 4
TB8 TB5
L
TB6 5 TB6
TB9
TB7
TB7 6 TB8
Terminal
block no. TB9
TB8 7
TB9 COM
7-52
Chapter 7 Input/Output Specifications
Easy wiring is available by connecting the IO connector with smart link board.
The available smart link and IO cable are as follows.
XGB Smart link Connection cable
No. of
Item Model Model Model Length Contents
Pin
XBM-
DN32S SLP- SLT-CT101- For main unit connection
Main unit 40 1m
XBM- T40P XBM (20Pin + 20Pin)
DN16S
XBE- SLP- SLT-CT101-
40 1m
DC32A T40P XBE For expansion module
SLP- SLT-CT101- connection (40Pin)
40 1m
Expansion T40P XBE
module XBE- For expansion module
TN32A SLP- SLP-CT101- connection (40Pin)
40 1m
RY4A XBE Exclusive for relay built-in
SLP type
Item Specification
Rated voltage AC/DC 125[V]
Rated current Max. 1[A]
Withstanding
600V 1min
voltage
Insulation
100 ㏁ (DC500V)
resistor
Cable
1.25[㎟] or below
specification
Terminal/screw M3 X 8L
6.2 ㎏f.㎝ or
Torque
above
Terminal
PBT, UL94V-0
material
Weight 186g
7-53
Chapter 7 Input/Output Specifications
At this time, relationship of XGB IO signal and Smart link board terminal number is as follows.
The following figure describes signal allocation when SLT-CT101-XBE is used as connection cable.
When the user makes the cable, make sure that wring is done as figure below.
7-54
Chapter 7 Input/Output Specifications
3) I/O wiring
- XBE-DC32A (SLP-T40P)
- XBE-TN32A (SLP-T40P)
- XBE-TP32A (SLP-T40P)
- XBE-TN32A (SLP-RY4A)
7-55
Chapter 8 Built-in High-speed Counter Function
8-1
Chapter 8 Built-in High-speed Counter Function
Description
Classification
“E” type “S(U)” type
1 point/channel (for each channel) 2 point/channel (for each channel)
Output points :uses output contact point of main :use output contact point of main
External unit unit
output Selects single-compared (>, >=, =, =<, <) or section-compared output
Type
(included or excluded) (program setting)
Output type Relay, Open-collector output (Sink)
Count Enable To be set through program (count available only in enable status)
Input current 4㎃
Notice
If higher pulse than high speed counter input limit is inputted, 「abnormal operation stop」 error
may occur because MPU processing time increases to count fast and memory becomes full.
When using high speed counter, consider this.
8-2
Chapter 8 Built-in High-speed Counter Function
8-3
Chapter 8 Built-in High-speed Counter Function
Operation
Terminal
I/O Internal circuit guaranteed
No. 1-phase 2-phase
voltage
Ch 0 Ch 0 On 20.4~28.8V
2.7 kΩ P00
Pulse input A-phase input Off 6V or less
Ch 1 Ch 0 On 20.4~28.8V
2.7 kΩ P01
Pulse input B-phase input Off 6V or less
Ch 2 Ch 2 On 20.4~28.8V
P02
2.7 kΩ Pulse input A-phase input Off 6V or less
Ch 3 Ch 2 On 20.4~28.8V
P03
2.7 kΩ Pulse input B-phase input Off 6V or less
Input
Ch 0 Ch 0 On 20.4~28.8V
P04
5.6 kΩ Preset input Preset input Off 6V or less
Ch 1 On 20.4~28.8V
P05 -
Preset input Off 6V or less
5.6 kΩ
Ch 2 Ch 2 On 20.4~28.8V
P06
5.6 kΩ Preset input Preset input Off 6V or less
Ch 3 On 20.4~28.8V
P07 -
5.6 kΩ Preset input Off 6V or less
COM0 COM (input common)
For XBC-DR10E, there is no physical circuit for P0006 ~ P0007. Turn on this contact
point by program.
8-4
Chapter 8 Built-in High-speed Counter Function
(b) “S(U)” type
Signal On/Off
Operation
Terminal
I/O Internal circuit guaranteed
No. 1-phase 2-phase
voltage
Ch 0 Ch 0 On 20.4~28.8V
P0000
2.7 kΩ Pulse input A-phase input Off 6V or less
Ch 1 Ch 0 On 20.4~28.8V
P0001
2.7 kΩ Pulse input B-phase input Off 6V or less
Ch 2 Ch 2 On 20.4~28.8V
P0002
2.7 kΩ Pulse input A-phase input Off 6V or less
Ch 3 Ch 2 On 20.4~28.8V
P0003
2.7 kΩ Pulse input B-phase input Off 6V or less
Ch 4 Ch 4 On 20.4~28.8V
P0004
2.7 kΩ Pulse input A-phase input Off 6V or less
Ch 5 Ch 4 On 20.4~28.8V
P0005
2.7 kΩ Pulse input B-phase input Off 6V or less
Ch 6 Ch 6 On 20.4~28.8V
P0006
2.7 kΩ Pulse input A-phase input Off 6V or less
Ch 7 Ch 6 On 20.4~28.8V
2.7 kΩ P0007
Pulse input B-phase input Off 6V or less
Input Ch 0 Ch 0 On 20.4~28.8V
5.6 kΩ P0008
Preset input Preset input Off 6V or less
Ch 1 On 20.4~28.8V
P0009 -
5.6 kΩ Preset input Off 6V or less
Ch 2 Ch 2 On 20.4~28.8V
P000A
5.6 kΩ Preset input Preset input Off 6V or less
Ch 3 On 20.4~28.8V
P000B -
5.6 kΩ Preset input Off 6V or less
Ch 4 Ch 4 On 20.4~28.8V
P000C
5.6 kΩ Preset input Preset input Off 6V or less
Ch 5 On 20.4~28.8V
P000D -
5.6 kΩ Preset input Off 6V or less
Ch 6 Ch 6 On 20.4~28.8V
P000E
5.6 kΩ Preset input Preset input Off 6V or less
Ch 7 On 20.4~28.8V
5.6 kΩ P000F -
Preset input Off 6V or less
COM0 COM(input common)
For XBC-DR/DN20S, there is no physical circuit for P000C ~ P000F. Turn on this
contact point by program.
8-5
Chapter 8 Built-in High-speed Counter Function
● Operation example
Count value 10 11 12 13 12 11 10 11
8-6
Chapter 8 Built-in High-speed Counter Function
● 1-phase 2-input 1-multiplication operation mode
A-phase input pulse counts at rising and increasing/decreasing will be decided by B-phase.
Increasing/Decreasing classification A-phase input pulse A-phase input pulse
rising falling
● Operation example
Count value 7 8 9 10 9 8 7 8
Increasing Decreasing Increasing
▪ Operation example
Count value 2 3 4 5 6 7 8 9 8 7 6 5 4 3
Increasing Decreasing
8-7
Chapter 8 Built-in High-speed Counter Function
3) CW(Clockwise)/CCW(Counter Clockwise) operation mode
A-phase input pulse counts at rising , or B-phase input pulse counts at rising.
Increasing operation executed when B-phase input pulse is Low with A-phase input pulse at
rising, and Decreasing operation executed when A-phase input pulse is Low with B-phase
input pulse at rising.
Increasing/Decreasing
A-phase input pulse High A-phase input pulse Low
classification
B-phase input pulse High - decreasing count
▪ Operation example
7 8 9 10 11 10 9 8 7
Count value
Increasing Decreasing
8-8
Chapter 8 Built-in High-speed Counter Function
2 types of count can be selected for the applicable use based on functions.
(a) Linear counter
1) Linear Count range: -2,147,483,648 ~ 2,147,483,647
2) If count value reaches the maximum value while increased, Carry will occur, and if count
value reaches the minimum value while decreased, Borrow will occur.
3) If Carry occurs, count stops and increasing is not available but decreasing is available.
4) If Borrow occurs, count stops and decreasing is not available but increasing is available.
+2,147,483,647
Decreasing Increasing
-2,147,483,648
Count start point
Borrow
Carry
8-9
Chapter 8 Built-in High-speed Counter Function
Carry occurred
Ring Count
maximum value
Preset value
Present position ○:Not included
●:Included
Ring Count
minimum value
Ring Count
maximum value
Present position
Preset value
○:Not included
●:Included
Ring Count
Minimum value (0)
Borrow occurred
3) Operation when setting Ring Count based on present count value (during increasing
count)
■ If present count value exceeds user-defined range when setting Ring Count
- Error (code no. 27) is occurred and it operates linear counter.
■ If present count value is within user-defined range when setting Ring Count
- Present count value starts to increase up to the user-defined maximum value and
down to the user-defined minimum value and keeps counting after Carry occurs.
- Not the maximum but the minimum value only is displayed with count kept on as
shown below.
8-10
Chapter 8 Built-in High-speed Counter Function
Carry occurred
2,147,483,647
Carry occurred
Ring Count
maximum value
Present position
Ring Count
minimum value (0) ○:Not included
●:Included
Present position
-2,147,483,648
※If out of the user-defined ※If within the user-defined range
range
4) Operation when setting Ring Count based on present count value (during decreasing count)
■ If present count value exceeds user-defined range when setting Ring Count
- Error (code no. 27) is occurred and it operates linear counter.
■ If present count value is within user-defined range when setting Ring Count
- Present count value starts to decrease down to the user-defined minimum value and up to
the user-defined maximum value and keeps counting after Borrow occurs.
2,147,483,647
Ring Count
maximum value Present position
Present
Ring Count position
minimum value Borrow occurred
○:Not included
●:Included
Borrow occurred
-2,147,483,648
※If out of the user- ※If within the user-
defined range defined range
Remark
(1) Based on count value within or out of user-defined range, count will be decided to be within or
out of the range when setting Ring Count.
(2) Ring Count setting when count value is out of the range is regarded as user’s mistake. The
count is not available within the Ring Count range.
(3) Use preset function or the like when using Ring Count so to surely position the count value
within the range.
8-11
Chapter 8 Built-in High-speed Counter Function
■ In order to make actual comparison enabled after compared output condition set, the
compared enable signal is to be On.
Area per channel
Classification Operation
Ch. 0 Ch. 1 Ch. 2 Ch. 3
Count enable signal K2600 K2700 K2800 K2900 0: N/A, 1: enable
8-12
Chapter 8 Built-in High-speed Counter Function
▪ In order to make external output, the compared equivalent output signal (P20~P27) must be
set. If Compared output contact is Off, Compared coincidence output signal (internal device)
is only output.
Area per channel
Classification Operation
Ch. 0 Ch. 1 Ch. 2 Ch. 3
0: Compared output not
Compared equivalent equivalent
K2612 K2712 K2812 K2912
output signal 1: Compared output
equivalent
8-13
Chapter 8 Built-in High-speed Counter Function
Compared Output
Enable
Compared Output
output signal
External output
(in case of
designated output)
Compared Output
Enable
Compared Output
output signal
External output
(in case of
designated output)
8-14
Chapter 8 Built-in High-speed Counter Function
Compared Output
Enable
Compared Output
output signal
External output
(in case of
designated output)
Compared Output
123460
Min. set value
Compared Output
Enable
Compared Output
output signal
External output
(in case of
designated output)
8-15
Chapter 8 Built-in High-speed Counter Function
Compared Output
123459
Min. set value
Compared Output
Enable
Compared Output
signal
External output
(in case of
designated output)
6) Mode 5 (Compared output Min. set value ≤ Count value ≤ Compared output Max. set value)
■ If present count value is greater than or equal to compared output Min. value and less than
or equal to compared output Max. set value, output is sent out, and if count value
increases/decreases to exceed compared value’s range, output is not sent out.
Count value
123456 123457 123458 123459 123460 123461 123462
Compared Output
Min. set value
123458
Compared Output
Max. set value 123460
Compared Output
Enable
Compared Output
signal
External Output
(in case of
designated output)
8-16
Chapter 8 Built-in High-speed Counter Function
7) Mode 6 (Count value ≤ Compared output Min. value, Count value ≥ Compared output
Max. value)
■ If present count value is less than or equal to compared output Min. value and greater than
or equal to compared output Max. value, output is sent out, and if count value
increases/decreases to exceed compared value’s range, output is not sent out.
Count value
123456 123457 123458 123459 123460 123461 123462
Compared Output
Min. set value
123457
Compared Output
Max. set value 123461
Compared Output
Enable
Compared Output
output signal
External output
(in case of
designated output)
8-17
Chapter 8 Built-in High-speed Counter Function
8-18
Chapter 8 Built-in High-speed Counter Function
6) Revolution/Unit time
While auxiliary mode enable signal is On, it counts the number of input pulses for a specified time.
(a) Setting
1) Input unit time and pulse number per 1 revolution
Setting value is saved at the following special K are and user can designate it directly.
Device area per channel
Classification
Channel 0 Channel 1 Channel 2 Channel 3
*3)
Unit time (1~60000㎳) K322 K352 K382 K412
*3)
If revolution per unit time is enabled and unit time value is other than 1~60000ms, error code
‘34’ occurs.
2) Input pulse number per 1 revolution
Device area per channel
Classification
Channel 0 Channel 1 Channel 2 Channel 3
Pulse number /revolution
*4)
K323 K353 K383 K413
(1~60000)
*4)
If revolution per unit time is enabled and pulse number/revolution is other than 1~60000,
error code ‘35’ occurs.
3) If Count function of revolution per unit time is used, enable signal set by On.
Device area per channel
Classification
Channel 0 Channel 1 Channel 2 Channel 3
Revolution/unit time
K2605 K2705 K2805 K2905
command
(a) Count function of Revolution per Unit time is used to count the number of pulses for a
specified time while Enable signal is On.
8-19
Chapter 8 Built-in High-speed Counter Function
(b) With the displayed number of pulses updated for a specified time and the number of
pulses per revolution input, Revolution/Unit time can be counted.
(c) Number of Revolution per 1 second is indicated after number of pulse per 1 revolution is
set and time is set to 1 second (1000ms). In order to indicate by Revolutions per minute
(RPM), the operation is executed in program.
(d) The example that number of pulse per 1 revolution set to ‘1’ and time is set to 1000 ms is
as shown below. (Ch0)
Command
1000
700
Count value
500 500
400
300 350
0
(f) In order to indicate revolution per minute (RPM), the program is as shown below. In case
of DMUL operation, RPM value is saved 64 bit in D100~D103. If operated RPM value is
used, it can use to Word or Dword type according to system (case of RPM value is small
number).
8-20
Chapter 8 Built-in High-speed Counter Function
(g) The example that number of pulse per 1 revolution set to ‘10’ and time is set to 60,000 ms
is as shown below.
Command
1000
700
Count value
500 500
400
300 350
0
Revolution 30 10 30 20
per time
60000㎳ 60000㎳ 60000㎳ 60000㎳
(c) Count latch function is operated when Count latch signal is On. Namely, counter value is not
cleared when power supply Off =>On and mode change, it is counted from previous value.
(d) In latch counter function, internal or external preset function has to use for clearing present
value.
8-21
Chapter 8 Built-in High-speed Counter Function
• Preset command is specified through the following special K area, external preset is used by
executing the designated input contact point after allowance bit is on.
Area per each channel (Bit)
Type Ref.
Ch.0 Ch.1 Ch.2 Ch.3
Internal preset
K2601 K2701 K2801 K2901 -
command
External preset
K2602 K2702 K2802 K2902 -
allowance
External preset
P004 P005 P006 P007 -
command
8-22
Chapter 8 Built-in High-speed Counter Function
● Operation example
Count value 10 11 12 13 12 11 10 11
8-23
Chapter 8 Built-in High-speed Counter Function
● Operation example
Count value 7 8 9 10 9 8 7 8
Increasing Decreasing Increasing
▪ Operation example
Increasing Decreasing
8-24
Chapter 8 Built-in High-speed Counter Function
▪ Operation example
7 8 9 10 11 10 9 8 7
Count value
Increasing Decreasing
8-25
Chapter 8 Built-in High-speed Counter Function
+2,147,483,647
Decreasing Increasing
-2,147,483,648
Count start point
Borrow
Carry
• Ring counter max. and min value is saved at the following special K area.
Area per each channel (Double word)
type Ref.
Ch.0 Ch.1 Ch.2 Ch.3 Ch.4 Ch.5 Ch.6 Ch.7
Ring counter
K308 K338 K368 K398 K2228 K2258 K2288 K2318 -
min. value
Ring counter
K310 K340 K270 K400 K2230 K2260 K2290 K2320 -
max. value
8-26
Chapter 8 Built-in High-speed Counter Function
▪ Range of Ring counter: user defined min. value ~ user defined max. value
▪ Counter display: in case of using ring counter, user defined max. value is not displayed.
1) During increasing count
■ Even if count value exceeds user-defined maximum value during increasing count,
Carry only occurs and count does not stop differently to Linear Count.
Carry occurred
Ring Count
maximum value
Preset value
Present position ○:Not included
●:Included
Ring Count
minimum value
Ring Count
maximum value
Present position
Preset value
○:Not included
●:Included
Ring Count
Minimum value (0)
Borrow occurred
3) Operation when setting Ring Count based on present count value (during increasing
count)
■ If present count value exceeds user-defined range when setting Ring Count
- Error (code no. 27) is occurred and it operates linear counter.
■ If present count value is within user-defined range when setting Ring Count
- Present count value starts to increase up to the user-defined maximum value and
down to the user-defined minimum value and keeps counting after Carry occurs.
- Not the maximum but the minimum value only is displayed with count kept on as
shown below.
8-27
Chapter 8 Built-in High-speed Counter Function
Carry occurred
2,147,483,647
Carry occurred
Ring Count
maximum value
Present position
Ring Count
minimum value ○:Not included
●:Included
Present position
-2,147,483,648
※If out of the user-defined ※If within the user-defined range
range
4) Operation when setting Ring Count based on present count value (during decreasing count)
■ If present count value exceeds user-defined range when setting Ring Count
- Error (code no. 27) is occurred and it operates linear counter.
■ If present count value is within user-defined range when setting Ring Count
- Present count value starts to decrease down to the user-defined minimum value and up to
the user-defined maximum value and keeps counting after Borrow occurs.
2,147,483,647
Ring Count
maximum value
Present position
Ring Count
minimum value Present position Borrow occurred
○:Not included
●:Included
Borrow occurred
-2,147,483,648
※If out of the user- ※If within the user-defined
defined range
range
Remark
(1) Based on count value within or out of user-defined range, count will be decided to be within or
out of the range when setting Ring Count.
(2) Ring Count setting when count value is out of the range is regarded as user’s mistake. The
count is not available within the Ring Count range.
(3) Use preset function or the like when using Ring Count so to surely position the count value
within the range.
8-28
Chapter 8 Built-in High-speed Counter Function
8-29
Chapter 8 Built-in High-speed Counter Function
■ In order to output the compared output signal, compared output enable flag set to ‘1’ after
compared output condition set.
Area per channel
Classification Operation
Ch. 0 Ch. 1 Ch. 2 Ch. 3 Ch. 4 Ch. 5 Ch. 6 Ch. 7
Count enable 0:disable, 1:
K2600 K2700 K2800 K2900 K21800 K21900 K22000 K22100
signal enable
Compared 0 0: disable, 1:
K2604 K2704 K2804 K2904 K21804 K21904 K22004 K22104
enable signal enable
Compared 1 0: disable, 1:
K2607 K2707 K2807 K2907 K21807 K21907 K22007 K22107
enable signal enable
▪ In order to make external output, the compared coincidence output signal (P20~P2F) must
be set. If Compared output contact is ‘Off’ at Special Module Parameter Setting of XG5000,
Compared coincidence output signal (internal device) is only output.
Area per channel
Classification Operation
Ch. 0 Ch. 1 Ch. 2 Ch.4 Ch.5 Ch. 6 Ch.7
Compared coincidence 0: Compared output Off
K2612 K2712 K2812 K2912 K21812 K22012 K22112
output signal 0 1: Compared output On
Compared coincidence 0: Compared output Off
K2613 K2713 K2813 K2913 K21813 K22013 K22113
output signal 1 1: Compared output On
8-30
Chapter 8 Built-in High-speed Counter Function
Compared output 0
Enable
Compared output 0
Output Signal
External output
(in case of
designated output)
Compared Output 0
Enable
Compared Output 0
output signal
External output
(in case of
designated output)
8-31
Chapter 8 Built-in High-speed Counter Function
Compared Output 0
Enable
Compared Output 0
output signal
External output
(in case of designated output)
Compared Output 0
Enable
Compared Output 0
Output signal
External output
(in case of designated output)
8-32
Chapter 8 Built-in High-speed Counter Function
Compared Output 0
Output Enable
Compared Output 0
Output signal
External output
(in case of designated output)
6) Mode 5
(Section comparison: Min. set value of Compared Output 0 ≤ Count value ≤ Max. set value
of Compared Output 0)
■ If present count value is greater than or equal to the minimum set value of compared
output 0 and less than or equal to the maximum set value of compared output 0, output is
sent out, and if count value increases/decreases to exceed compared value’s range,
output is not sent out.
Compared Output 0
output signal
External output
(in case of designated output)
8-33
Chapter 8 Built-in High-speed Counter Function
7) Mode 6 (Count value ≤ Min. set value of Compared Output 0 or Count value ≥ Max. set
value of Compared Output 0)
■ If present count value is less than or equal to the minimum set value of compared 0 and
greater than or equal to the maximum set value of compared 0, output is sent out, and if
count value increases/decreases to exceed compared value’s range, output is not sent out.
Compared Output 0
output signal
External output
(in case of designated
8-34
Chapter 8 Built-in High-speed Counter Function
8-35
Chapter 8 Built-in High-speed Counter Function
Setting value is saved at the following special K area and user can designate directly.
2) In case of using Rev/unit time function, enable the following special K area
Device per each channel (Word)
Class Operation
Ch.0 Ch.1 Ch.2 Ch.3 Ch.4 Ch.5 Ch.6 Ch.7
Rev/unit
0: disable
time K2605 K2705 K2805 K2905 K21805 K21905 K22005 K22105
1: enable
command
8-36
Chapter 8 Built-in High-speed Counter Function
(b) Count function of Revolution/Unit time is used to count the number of pulses for a
specified time while auxiliary mode enable signal is On.
(c) With the displayed number of pulses updated for a specified time and the number of
pulses per revolution input, Revolution/Unit time can be counted.
(d) Number of Revolution per 1 second is indicated after number of pulse per 1 revolution is
set and time is set to 1 second (1000ms). In order to indicate by Revolutions per minute
(RPM), the operation is executed in program.
(e) The example that number of pulse per 1 revolution set to ‘1’ and time is set to 1000 ms is
as shown below. (Ch0)
Command
1000
700
Count value
500 500
400
300 350
0
(f) In order to indicate revolution per minute (RPM), the program is as shown below. In case
of DMUL operation, RPM value is saved 64 bit in D100~D103. If operated RPM value is
used, it can use to Word or Dword type according to system (case of RPM value is small
number).
8-37
Chapter 8 Built-in High-speed Counter Function
(g) The example that number of pulse per 1 revolution set to ‘10’ and time is set to 60,000 ms
is as shown below.
Command
1000
700
Count value
500 500
400
300 350
0
Revolution 10 30 20 15
per time
60000㎳ 60000㎳ 60000㎳ 60000㎳
▪ Count latch function is operated when Count latch signal is On. Namely, counter value is not
cleared when power supply Off =>On and mode change, it is counted from previous value.
▪ In latch counter function, internal or external preset function has to use for clearing present
value.
8-38
Chapter 8 Built-in High-speed Counter Function
• Preset command is specified through the following special K area, external preset is used by
executing the designated input contact point after allowance bit is on.
Area per each channel (Bit)
Type Ref.
Ch.0 Ch.1 Ch.2 Ch.3 Ch.4 Ch.5 Ch.6 Ch.7
Internal
preset K2601 K2701 K2801 K2901 K21801 K21901 K22001 K22101 -
command
External
preset K2602 K2702 K2802 K2902 K21802 K21902 K22002 K22102 -
allowance
External
preset P008 P009 P00A P00B P00C P00D P00E P00F -
command
8-39
Chapter 8 Built-in High-speed Counter Function
24V
Pulse Generator
CHSC
COM
24V
8-40
Chapter 8 Built-in High-speed Counter Function
8-41
Chapter 8 Built-in High-speed Counter Function
Internal
preset value -2,147,483,648 ~ 2,147,483,647 K304 K334 K364 K394 DWord
setting
External
preset value -2,147,483,648 ~ 2,147,483,647 K306 K336 K366 K396 DWord
setting
8-42
Chapter 8 Built-in High-speed Counter Function
1 ~ 60,000 DWord
Pulse/Rev.value K323 K353 K383 K413
8-43
Chapter 8 Built-in High-speed Counter Function
8-44
Chapter 8 Built-in High-speed Counter Function
h0001 (Magnitude) ≤
Comp. K302 K332 K362 K392
h0002 (Magnitude) =
Output 0
h0003 (Magnitude) ≥ Word
mode
h0004 (Magnitude) >
setting
h0005 (Range) Include K2222 K2252 K2282 K2312
h0006 (Range) Exclude
h0000 (Magnitude) <
h0001 (Magnitude) ≤
Comp. K303 K333 K363 K393
h0002 (Magnitude) =
Output 1
h0003 (Magnitude) ≥ Word
mode
h0004 (Magnitude) >
setting
h0005 (Range) Include K2223 K2253 K2283 K2313
h0006 (Range) Exclude
Internal K304 K334 K364 K394
preset value -2,147,483,648 ~ 2,147,483,647 DWord
K2224 K2254 K2284 K2314
setting
External K306 K336 K366 K396
preset value -2,147,483,648 ~ 2,147,483,647 DWord
K2226 K2256 K2286 K2316
setting
8-45
Chapter 8 Built-in High-speed Counter Function
8-46
Chapter 8 Built-in High-speed Counter Function
8-47
Chapter 8 Built-in High-speed Counter Function
Comp. output 0 enabling K2604 K2704 K2804 K2904 K21804 K21904 K22004 K22104
Comp. output 1 enabling K2607 K2707 K2807 K2907 K21807 K21907 K22007 K22107
Enabling of revolution time
K2605 K2705 K2805 K2905 K21805 K21905 K22005 K22105
per unit time
Designation of latch
K2606 K2706 K2806 K2906 K21806 K21906 K22006 K22100
counter
Carry signal (Bit) K2610 K2710 K2810 K29100 K21810 K21910 K22010 K22110
Borrow signal K2611 K2711 K2811 K29101 K21811 K21911 K22011 K22111
Comp. output 0 signal K2612 K2712 K2812 K29102 K21812 K21912 K22012 K22112
Comp. output 1 signal K2613 K2713 K2813 K29103 K21813 K21913 K22013 K22113
Current counter value K262 K272 K282 K292 K2182 K2192 K2202 K2212
Revolution per unit time K264 K274 K284 K294 K2184 K2194 K2204 K2214
8-48
Chapter 8 Built-in High-speed Counter Function
Remark
▪ If two and more errors occur, the module saves the latter error code and removes
the former one.
8-49
Chapter 8 Built-in High-speed Counter Function
(b) Selecting high-speed counter opens a window to set high-speed counter parameters as follows.
For details regarding each parameter setting, refer to 8.1~8.3.
(Every parameter settings are saved in the special K device area.)
8-50
Chapter 8 Built-in High-speed Counter Function
(c) Turn ‘ON’ the high-speed counter Enable signal (CH0:K2600) in the program.
(d) To use additional functions of the high-speed counter, you needs to turn on the flag allowing
an operation command.
* Refer to 2) Operation Command, <8.3.1 Special K Area for High-speed Counter>
For instance, turn on 2605 bit if among additional functions, rotation number function is used.
8-51
Chapter 8 Built-in High-speed Counter Function
8-52
Chapter 8 Built-in High-speed Counter Function
(b) Clicking 『Monitor』 shows monitor and test window of high-speed counter.
Item Description
FLAG Monitor Show flag monitoring and command window of high-speed counter
Start Monitoring Start monitoring each item (special K device area monitor).
Write each item setting to PLC.
Test
(Write the setting to special K device)
Close Close monitor
8-53
Chapter 8 Built-in High-speed Counter Function
(c) Clicking 『Start Monitoring』shows the high-speed counter monitor display, in which you
may set each parameter. At this moment, if any, changed values are not saved if power off=>
on or mode is changed.
(d) Clicking『FLAG Monitor』 shows the monitor of each flag in high-speed counter, in which
you may direct operation commands by flags (clicking commands reverse turn).
8-54
Chapter 9 RTC Option Board
9.1 Battery
Item Specification
Voltage/Current DC 3V / 220 mA
Warranty period 3 years (ambient temp.)
Program and data backup,
Purpose
RTC operation in case of power failure
Specification Manganese Dioxide lithium battery
Dimension (mm) φ 20 X 3.2 mm
9-1
XGB RTC Option Board Manual
The user should change the battery used to save the program and backup the data in case of power
failure periodically. Though the user eliminate the battery, it works for 30 minute by super capacitor.
Change the battery as fast as possible.
Yes
ERR LED off?
No
Complete
Battery malfunction
Remark
1) Battery for Program and Data back- up can be used with RTC
- RTC provides advanced back-up function compare to without RTC
- Refer to 4.5 Data backup time for more details.
9-2
Chapter 9 RTC Option Board
3) In case the user wants to send the clock of PC to PLC, press ‘Synchronize PLC with PC clock’.
4) In case the user wants to send the clock the user wants, change the setting value of Time box
and press ‘Send to PLC’.
9-3
XGB RTC Option Board Manual
area Content
M0000 Month, year
M0001 Hour, date
M0002 Second, minute
M0003 Centaury, day
Write clock data to temporary device (P, M, K, L, Z, U, D, R) and turn on/off input contact point
M0100. ( If date and day data is not matched, Write is not available.)
Monitor and check the above special area (F053~F056)
Remark
9-4
Chapter 9 RTC Option Board
③ Battery cover
9-5
Chapter 10 DC Input Option Board
DC input specification
Item
XBO-DC04A Remark
4 points (supports high-speed counter function
Input point
when installed at standard type)
Insulation Method Photo coupler insulation
Rated input voltage DC24V
Rated input current About 10㎃
Voltage range DC20.4~28.8V (ripple rate within 5%)
On voltage / On current DC19V or above / 3㎃ or above
Off voltage / Off current DC6V or less / 1㎃ or less
Input resistance About 2.7㏀
Response Off → On 1/3/5/10/20/70/100㎳ (set through I/O parameter)
time On → Off Initial value: 3㎳
Common method 4 points / COM ″
High speed Performance 4kpps 4 channels (based on 1 phase) when installed at
counter Mode Linear counter standard type
Circuit configuration
Standard/
economic type
10 - 1
Chapter 10 DC Input Option Board
Specification
Item
XBO-DC04A
Item Specification
10 - 2
Chapter 10 DC Input Option Board
Name XBO-DC04A
Structure
00 Ch0 counter input Ch0 A-phase input Counter input terminal A-phase input
terminal
01 Ch1 counter input Ch0 B-phase input Counter input terminal B-phase input
terminal
02 Ch2 counter input Ch2 A-phase input Counter input terminal A-phase input
terminal
03 Ch3 counter input Ch2 B-phase input Counter input terminal B-phase input
terminal
COM Input common Input common Common terminal Common terminal
10 - 3
Chapter 10 DC Input Option Board
Operation
Signal Input
Terminal
I/O Internal circuit guaranteed
No. 1-phase 2-phase
voltage
CH0 On 20.4~28.8V
CH0
2.7 kΩ 00 A-phase
Pulse input Off 6V or less
input
CH0 On 20.4~28.8V
CH 1
2.7 kΩ 01 B-phase
Pulse input Off 6V or less
input
10 - 4
Chapter 10 DC Input Option Board
10.2.3 Function
(a) High Speed counter module can count High Speed pulses which can not be processed by CPU module’s
counter instructions (CTU, CTD, CTUD, etc.), up to binary value of 32 bits (-2,147,483,648 ~
2,147,483,647).
(b) Available input mode is 1-phase input, 2-phase input
(c) Count increasing/decreasing methods are as follows;
1) 1-phase input : a) Increasing/decreasing count operation by program setting
b) Increasing/decreasing count operation by B-phase input signal
2) 2-phase input : setting by difference in phase between A-phase and B-phase
(d) Auxiliary modes are as follows
1) Count Latch
(e) Input mode
1) 1-phase count mode
a) Increasing/decreasing count operation by program setting
• 1-phase 1-input 1-multiplication
A-phase input pulse is counted at rising and increasing/decreasing will be decided by the
program.
Increasing/Decreasing A-phase input pulse rising A-phase input pulse falling
classification
Increasing/decreasing count Increasing count -
setting signal Off
Increasing/decreasing count Decreasing count -
setting signal On
• Operation example
Count value 10 11 12 13 12 11 10 11
10 - 5
Chapter 10 DC Input Option Board
Count value 7 8 9 10 9 8 7 8
Increasing Decreasing Increasing
Count value 2 3 4 5 6 4 3
7 8 9 8 7 6 5
Increasing Decreasing
10 - 6
Chapter 10 DC Input Option Board
+2,147,483,647
Decreasing Increasing
-2,147,483,648
Count start point
Borrow
Carry
10 - 7
Chapter 10 DC Input Option Board
(a) When Count latch signal is On, present count value is latched
(b) Setting
If present counter value is to latch, Count Latch function is set ‘Use’.
Device area per channel
Type Ref.
CH0 CH1 CH2 CH3
When mounted at slot
U9.0.6 U9.8.6 U9.16.6 U9.24.6
no.9 0: Disable
When mounted at slot 1: Enable
UA.0.6 UA.8.6 UA.16.6 UA.24.6
no.10
(c) Count latch function is operated when ‘Count latch’ signal is On. Namely, counter value is not cleared
when power supply Off =>On and mode change, it is counted from previous value.
(d) In latch counter function, internal preset function has to be used for clearing present value.
10 - 8
Chapter 10 DC Input Option Board
(1) Surely use twisted pair shielded cable, grounded with 3 class applied.
(2) Keep away from power cable or I/O line which may cause noise.
24V
Pulse generator
Pulse Generator
CHSC
COM
10 - 9
Chapter 10 DC Input Option Board
24V
CHSC
Pulse
Pulse generator
Generator COM
24VG
10 - 10
Chapter 10 DC Input Option Board
10 - 11
Chapter 10 DC Input Option Board
Note
When registered by “auto-registration”, data type is expressed as BIT, WORD. If you want to
check with other types such as DINT, DWORD, change the type.
10 - 12
Chapter 10 DC Input Option Board
10 - 13
Chapter 10 DC Input Option Board
Note
If more than two errors occur, the latest error code is saved and previous error code is removed.
10 - 14
Chapter 10 DC Input Option Board
(b) If you need ‘Preset’ function, input ‘Preset value’ and turn on ‘Preset Enable” bit.
Turn on High-speed Counter Enable signal (No. 9 slot, No.0 ch) of input option board (XBO-DC04A)
(2) Monitoring
You can check option board high-speed counter value by registering U9.2 (no.0 slot, no.0 ch) at
variable mornitring window or program.
10 - 15
Chapter 11 TR Output Option Board
11 - 1
Chapter 11 TR Output Option Board
Circuit configuration
11 - 2
Chapter 11 TR Output Option Board
Positioning function is built in XGB output option board. This describes specification, how-to-use, function,
programming and wiring of built-in positioning.
XBO-TN04A
Item
Diagram
Inner
circuit
Structure
11 - 3
Chapter 11 TR Output Option Board
Pulse
Pulse+Direction
mode
Direction
11 - 4
Chapter 11 TR Output Option Board
Operation
pattern Time
Start
command
Position control
Dec. stop
DST
Speed
Operation
pattern Start Time
command
Speed control
Dec. stop
11 - 5
Chapter 11 TR Output Option Board
Position control is to move the designated axis from start address (present position) up to target address
(movement). There are two position control methods, absolute and incremental.
Speed control means that object moves with steady speed (steady pulse string) until stop command.
• In case of speed control, direction is determined by sign of Address set in operation data.
Forward : Address is positive number
Reverse : Address is negative number
In the speed control, direction is determined by sign of target address regardless of current position and
target position.
For example, current position is 100 and target position is 90, though target position is less than current
position, since sign is positive, it moves forward.
Note
• For more information, refer to XGB positioning manual.
11 - 6
Chapter 11 TR Output Option Board
Error 322
Dec. stop
Dec. stop Dec. stop (Keep Decelerating
Stop by instruction
operating)
sequence
program
*3 Error status
Emg. Stop
Immediate stop (Error 481)
instruction
Output prohibited
Forward
External upper Error status
Immediate stop immediate
Stop by limit “On” (Error 492)
stop
external
signal Backward
External lower Error status
Immediate stop immediate
limit “On” (Erro 493)
stop
Note
*1 : Positioning refers to position control, speed control by positioning data.
*2 : If axis is ‘Output prohibited status’ after being stopped, run a instruction to cancel ‘Output
prohibited status’. (CLR instruction) .
*3 : Stop by sequence program refers to stop by “Stop instruction” at XGB program.
11 - 7
Chapter 11 TR Output Option Board
Remark
11 - 8
Chapter 11 TR Output Option Board
(a) If homing command (ORG instruction) is executed, it accelerates to home direction set in Home
Parameter and it homes with high speed.
(The above figure is example when homing direction is forward)
(b) While target is homing with high speed, if rising edge of DOG (U9.1.B: X-axis) occurs, target speed
decreases and change its direction.
(c) When it accelerates after changing direction, if rising edge of DOG occurs, it homes with low speed.
(d) In the homing status with low speed, rising edge occurs of DOG third time, it stops and determines
the origin.
(e) When ‘On’ time of DOG signal is larger decreasing time, it changes the direction at the falling edge
of DOG and moves with low speed and stops at the rising edge of DOG and determines the origin.
11 - 9
Chapter 11 TR Output Option Board
11 - 10
Chapter 11 TR Output Option Board
Note
When variables are registered by above method, variables are expressed by BIT and WORD.
If you want to check them as DINT, DOWRD, change the data type.
11 - 11
Chapter 11 TR Output Option Board
0: output available,
Output prohibited U9.0.4 U9.16.4
1: output prohibited
0: normal status,
EMG. Stop U9.0.8 U9.16.8
1: EMG. Stop status
0: not accelerating ,
Operation status (accelerating) Output U9.0.A U9.16.A
1: accelerating
(monitoring)
0: not steady status,
Operation status (steady status) U9.0.B U9.16.B
1: steady status
BOOL
0: not decelerating ,
Operation status (decelerating) U9.0.C U9.16.C
1: decelerating
0: JOG stop,
Forward JOG start U9.1.8 U9.17.8
1: forward JOG start
Input
0: JOG stop,
Reverse JOG start U9.1.9 U9.17.9
1: Reverse JOG start
11 - 12
Chapter 11 TR Output Option Board
U area for
Signal
Item Data type Status information positioning
direction
X-axis Y-axis
0: JOG low speed,
JOG low/high speed U9.1.A U9.17.A
1: JOG high speed
Note
• For more information on positioning parameter item, refer to XGB built-in positioning manual.
11 - 13
Chapter 11 TR Output Option Board
Note
• XGB positioning instruction operates at rising edge. Namely, instruction is executed once when execution
contact point is on.
• For instruction, refer to XGB positioning manual.
• When using DST instruction in XBO-TN04A, dwell time and M code are not supported.
11 - 14
Chapter 11 TR Output Option Board
Option board positioning is set up by U area. Set up each parameter to use positioning function.
Speed limit
X acc. time
X dec. time
Speed limit
Y acc. time
Y dec. time
11 - 15
Chapter 11 TR Output Option Board
(2) Monitoring
You can check option board posioing speed, crrent position by regstering U9.2, U9.4(No. 9 slot, X-axis)
at variable monitor window or program
11 - 16
Chapter 12 Memory Module
You can save user program safely or download user program to PLC without special handling when user
program is damaged by using external memory module in XGB PLC
RUN LED
WRITE LED
READ LED
Note
-.Memory module can be used for XGB (not supported for XGK/I/R)
-.Memory module is not supported at the version below
(XBMS: V2.5 or less, XBCH: V1.8 or less, XECH: V1.2 or less)
12-1
Chapter 12 Memory Module
12.1.3 How to use memory module
With the above handling, you can run PLC with program saved in memory module
(e) With above method, through PADT, you can save program, parameter, communication parameter at
XBO-M2MB
(e) With above method, through PADT, you can save program, parameter, communication parameter
from XBO-M2MB
(c) If you click “OK” button, it saves each parameter at the memory module.
12-4
Chapter 12 Memory Module
(d) If “Enable Link” window appears, check the item and press “Write”
12-5
Chapter 12 Memory Module
(c) If you click “OK” button”, it read each parameter form the memory module.
Note
-. “Open from memory module” and “Write to Memory module” menus of PADT are activated when
PLC is Offline. They are deactivated when PLC is Online.
-. When connecting with PADT, connection type should be ‘USB’
12-6
Chapter 12 Memory Module
2) If you press ‘OK’ after setting password, program is saved at memory module with that
password.
(b) When reading password-set program to PADT, screen appears, which is same as when password is
set in PLC.
12-7
Chapter 12 Memory Module
12-8
Chapter 12 Memory Module
Condition LED
1 PLC type is not XGB RUN LED flickers
2 Operating mode changes while being connected to PADT or RUN LED flickers
PLC
3 Connected to PADT while mode switch is “1” READ LED flickers
4 PLC program upload is prohibited READ LED flickers
5 You execute reading when password is set in PLC READ LED flickers
(when password is not same as that of memory module)
6 Connected to PADT while mode switch is “3” WRITE LED flickers
7 You execute writing the memory module when PLC mode is WRITE LED flickers
RUN
8 Connected to the different type of PLC with the type set in the WRITE LED flickers
memory module
9 You executes writing when PLC password is not same as that of WRITE LED flickers
memory module
Note
-. Memory module can cancel PLC password and read/write but can’t set, delete and change the
password.
-. Do not run PLC while external memory module is connected to.
-. Do not remove memory module while READ/WRITE LED is on.
12-9
Chapter 9130 Installation and Wiring
스타일 정의: 본문설명3:
들여쓰기: 왼쪽 -0.31 글자, 첫
줄: 0 글자
Chapter 1309 Installation and Wiring 스타일 정의: 본문설명5:
들여쓰기: 왼쪽: 4.61 글자,
내어쓰기: 0.01 글자, 첫 줄:
-0.01 글자
9103.1 Safety Instruction 스타일 정의: 알아두기1:
들여쓰기: 왼쪽: 0.2", 내어쓰기:
2.83 글자
Danger
Please design protection circuit at the external of PLC for entire system to operate safely because an
abnormal output or an malfunction may cause accident when any error of external power or malfunction
of PLC module.
(1) It should be installed at the external side of PLC to emergency stop circuit, protection circuit,
interlock circuit of opposition action such as forward /reverse operation and interlock circuit for
protecting machine damage such as upper/lower limit of positioning.
(2) If PLC detects the following error, all operation stops and all output is off.
(Available to hold output according to parameter setting)
(a) When over current protection equipment or over voltage protection operates
(b) When self diagnosis function error such as WDT error in PLC CPU occurs
In case of error about IO control part that is not detected by PLC CPU, all output is off.
Design Fail Safe circuit at the external of PLC for machine to operate safely. Refer to 10.2 Fail Safe
circuit.
(1) Because of error of output device, Relay, TR, etc., output may not be normal. About output signal that
may cause the heavy accident, design supervisory circuit to external.
In case load current more than rating or over current by load short flows continuously, danger of heat, fire
may occur so design safety circuit to external such as fuse.
Design for external power supply to be done first after PLC power supply is done. If external power
supply is done first, it may cause accident by misoutput, misoperation.
In case communication error occurs, for operation status of each station, refer to each communication
manual.
In case of controlling the PLC while peripheral is connected to CPU module, configure the interlock circuit
for system to operate safely. During operation, in case of executing program change, operation status
change, familiarize the manual and check the safety status. Especially, in case of controlling long
distance PLC, user may not response to error of PLC promptly because of communication error or etc.
Limit how to take action in case of data communication error between PLC CPU and external device
adding installing interlock circuit at the PLC program.
9103 −1
Chapter 9130 Installation and Wiring
Danger
Don’t close the control line or communication cable to main circuit or power line. Distance should be more
than 100mm. It may cause malfunction by noise.
In case of controlling lamp load, heater, solenoid valve, etc. in case of Off -> On, large current (10 times of
normal current) may flows, so consider changing the module to module that has margin at rated current.
Not to lead above error to entire system, part causing breakdown of machine or accident should be
configured at the external of PLC
9103 −2
Chapter 9130 Installation and Wiring
Power
서식 있음: 들여쓰기: 첫 줄: 0"
서식 있음: 본문설명5
(5) 소비 전력 계산
PLC 제어반내의 온도는 사용주변 온도인 55℃이하로 억제할 필요가 있습니다.
제어반내의 방열 설계를 위하여 내부에 있는 각기긱들의 평균 소비 전력(발열량)
(a) PLC 시스템의 전력 소비 블록도
(Emergency 서식 있음: 왼쪽
stop,
Start sequence of power stop by limit
In case of AC switch)
(1) Turn on power
(2) Run CPU.
(3) Turn on start switch
(4) Output device runs by program through Start sequence of power
magnetic contactor (MC) [On] In case of AC DC
(1) Run CPU after power is on 서식 있음: 들여쓰기: 첫 줄: 0.5
(1)(2) Turn on RA2 as DC power on 글자
(2)(3) Turn on timer after DC power is stable. 서식 있음: 들여쓰기: 왼쪽: 0.07"
(3)(4) Turn on start switch 서식 있음: 글머리 기호 및 번호
(4)(5) Output device runs by program through 매기기
magnetic contactor (MC) [On] 서식 있음: 들여쓰기: 내어쓰기:
1.5 글자, 왼쪽 0.5 글자, 첫 줄:
-1.5 글자
9103 −4
Chapter 9130 Installation and Wiring
(2) System design circuit example (In case of using ERR contact point of power module)
서식 있음: 본문설명5, 들여쓰기:
왼쪽: 0"
Power
서식 있음: 들여쓰기: 왼쪽: 0",
첫 줄: 0"
Output module
(3) Fail safe countermeasure in case of PLC error 서식 있음: 들여쓰기: 첫 줄: 1.5
Error of PLC CPU and memory is detected by self diagnosis but in case error occurs in IO control part, etc., 글자
CPU can detect the error. At this case, though it is different according to status of error, all contact point is on 서식 있음: 들여쓰기: 내어쓰기:
or off, so safety may not be guaranteed. Though we do out best to our quality as producer, configure safety 2.5 글자, 왼쪽 -0.3 글자, 첫 줄:
circuit preparing that error occurs in PLC and it lead to breakdown or accident. -2.5 글자
System example
- +
0.5s 0.5s 0V
DC24
T1 T2
MC
CPU unit Output module
Since P80 turn on/off every 0.5s, use TR output.
9103 −6
Chapter 9130 Installation and Wiring
(d) Average power consumption by output voltage drop of the output module(power consumption of 서식 있음: 본문설명6, 들여쓰기:
simultaneous On point) 내어쓰기: 1.51 글자, 왼쪽 3.2
글자, 첫 줄: -1.51 글자
• Wout = Iout X Vdrop X output point X simultaneous On rate (W)
Iout : output current (actually used current) (A) 서식 있음: 들여쓰기: 왼쪽 5 글자
Vdrop: voltage drop of each output module (V)
I24V
DC24V
100V~240V I5V
constant DC5V 서식 있음: 줄 간격: 고정 12 pt
Voltage
transformer
Iout Iin
load
AC power
DC 100V~240V
power
24V
9103 −7
Chapter 9130 Installation and Wiring
(e) Input average power consumption of input module 서식 있음: 본문설명6, 들여쓰기:
(power consumption of simultaneous On point) 첫 줄: 0", 왼쪽 3.2 글자
• W in = lin X E X input point X simultaneous On rate (W) 서식 있음: 들여쓰기: 왼쪽 3.2
Iin: input current (root mean square value in case of AC) (A) 글자, 첫 줄: 1 글자
E : input voltage (actually used voltage) (V) 서식 있음: 들여쓰기: 왼쪽 4.2
글자
(f) Power consumption of special module power assembly 서식 있음: 들여쓰기: 왼쪽 3.2
• W S = I5V X 5 + I24V X 24 + I100V X 100 (W) 글자
The sum of power consumption calculated by each block is the power consumption of the entire PLC 서식 있음: 본문설명6, 들여쓰기:
system. 첫 줄: 0", 왼쪽 3.2 글자
• W = WPW + W5V + W24V + Wout + W in + W s (W) 서식 있음: 본문설명7, 들여쓰기:
Calculate the heats according to the entire power consumption(W) and review the temperature increase 내어쓰기: 0.02 글자, 왼쪽 4.2
within the control panel. 글자
서식 있음: 들여쓰기: 왼쪽 4.2
The calculation of temperature rise within the control panel is displayed as follows. 글자
T = W / UA [°C] 서식 있음: 들여쓰기: 왼쪽 3.2
W : power consumption of the entire PLC system (the above calculated value) 글자
2
A : surface area of control panel [m ]
U : if equalizing the temperature of the control panel by using a fan and others - - - 6
If the air inside the panel is not ventilated - - - - - - - - - - 4
서식 있음: 본문설명6, 들여쓰기:
If installing the PLC in an air-tight control panel, it needs heat-protective(control) design considering the 첫 줄: 0", 왼쪽 3.2 글자
heat from the PLC as well as other devices. If ventilating by vent or fan, inflow of dust or gas may affect 서식 있음: 들여쓰기: 왼쪽 3.2
the performance of the PLC system. 글자
9103 −8
Chapter 9130 Installation and Wiring
Do not drop or impact the module case, terminal block connector. 서식 있음: 들여쓰기: 첫 줄: 2
글자
Do not separate the PCB from case.
9103 −9
Chapter 9130 Installation and Wiring
9103 −10
Chapter 9130 Installation and Wiring
9103 −11
Chapter 9130 Installation and Wiring
Pane
PLC
30 ㎜ or above*1
*1 : In case height of wiring duct is less than 50 mm (except this 40mm or above)
*2 : In case of equipping cable without removing near module, 20mm or above
*3 : In case of connector type, 80mm or above
9103 −12
Chapter 9130 Installation and Wiring
100mm or above
서식 있음: 들여쓰기: 첫 줄: 0"
50mm or above
9103 −13
Chapter 9130 Installation and Wiring
9103 −14
Chapter 9130 Installation and Wiring
(g) Don’t impact to IO module or don’t disassemble the PCB from case. 서식 있음: 본문설명4, 들여쓰기:
왼쪽: 0.42"
9103 −15
Chapter 9130 Installation and Wiring
1309.3 Wire
서식 있음: 본문설명2, 들여쓰기:
In case using system, it describes caution about wiring. 왼쪽: 0.07"
Danger
When wiring, cut off the external power.
If all power is cut, it may cause electric shock or damage of product.
In case of flowing electric or testing after wiring, equip terminal cover included in product. It not, it may cause
electric shock.
Caution
Do D type ground (type 3 ground) or above dedicated for PLC for FG and LG terminal. It may cause electric
shock or malfunction.
When wiring module, check the rated voltage and terminal array and do properly.
If rating is different, it may cause fire, malfunction.
For external connecting connector, use designated device and solder.
If connecting is not safe, it may cause short, fire, malfunction.
For screwing, use designated torque range. If it is not fit, it may cause short, fire, malfunction.
Let no foreign material enter such as garbage or disconnection part into module. It may cause fire, malfunction,
error.
9130.3.1Power wiring
(1) In case voltage regulation is larger than specified, connect constant voltage transformer. 서식 있음: 들여쓰기: 첫 줄: 1.5
글자
서식 있음: 들여쓰기: 첫 줄: 0"
BA BA
In:24 V D C , 7 m A 20 20
19 19
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 18 18
17 17
16 16
10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 15 15
XBC- DR64H IN 14 14
13 13
PWR
AC power 1 85 V A 50 /6 0H z
07
06
05
04
07
06
05
04
03 03
100V~240V 02
01
02
01
AC power AC100-240V
Constant
voltage
transformer
(2) Connect noise that include small noise between line and earth. 서식 있음: 들여쓰기: 첫 줄: 1.5
(When there are many noise, connect insulated transformer.) 글자
서식 있음: 들여쓰기: 첫 줄: 2.5
글자
9103 −16
Chapter 9130 Installation and Wiring
(3) Isolate the PLC power, I/O devices and power devices as follows. 서식 있음: 들여쓰기: 첫 줄: 1.5
글자
서식 있음: 들여쓰기: 첫 줄: 0"
Main unit
Main PLC
power power Constant
AC220V Voltage
Transformer AC100-240V
서식 있음: 글꼴: (영어) Arial
IO power
(4) If using DC24V of the power modulemain unit 서식 있음: 들여쓰기: 첫 줄: 1.5
글자
(a) Do not connect DC24V of several power modules in parallel. It may cause the destruction of a module. 서식 있음: 본문설명5
(b) If a power module can not meet the DC24V output capacity, supply DC24V externally as presented 서식 있음: 본문설명4, 들여쓰기:
below. 왼쪽: 0.42"
24V 24V I
I
O
CPU CPU
O 서식 있음: 들여쓰기: 첫 줄: 0"
DC 24V
24V
I
CPU Power
O
Supply
(5) AC110V/AC220V/DC24V cables should be compactly twisted and connected in the shortest distance. 서식 있음: 들여쓰기: 첫 줄: 1.5
글자
2
(6) AC110V/AC220V cable should be as thick as possible(2mm ) to reduce voltage drop. 서식 있음: 들여쓰기: 첫 줄: 1.5
글자
(7) AC110V/ DC24V cables should not be installed close to main circuit cable(high voltage/high current) and 서식 있음: 들여쓰기: 왼쪽 1.13
I/O signal cable. They should be 100mm away from such cables 글자
9103 −17
Chapter 9130 Installation and Wiring
(8) To prevent surge from lightning, use the lightning surge absorber as presented below. 서식 있음: 들여쓰기: 첫 줄: 1.5
글자
서식 있음: 들여쓰기: 첫 줄: 0"
PLC
I/O device
E1 E2
Note
(1) Isolate the grounding(E1) of lightning surge absorber from the grounding(E2) of the PLC.
(2) Select a lightning surge absorber type so that the max. voltage may not the specified
allowable voltage of the absorber.
(9) When noise may be intruded inside it, use an insulated shielding transformer or noise filter. 서식 있음: 들여쓰기: 첫 줄: 1.5
글자
(10) Wiring of each input power should be twisted as short as possible and the wiring of shielding transformer 서식 있음: 들여쓰기: 내어쓰기: 2
or noise filter should not be arranged via a duct. 글자, 왼쪽 1.13 글자, 첫 줄: -2
글자
9103 −18
Chapter 910 Installation and Wiring
input
RA
output
DC
(5) When applying pipe-wiring, make sure to firmly ground the piping. 서식 있음: 들여쓰기: 첫 줄: 1.5
글자
(1) The PLC contains a proper noise measure, so it can be used without any separate grounding if there is a 서식 있음: 들여쓰기: 내어쓰기:
large noise. However, if grounding is required, please refer to the followings. 1.5 글자, 왼쪽 1.13 글자, 첫 줄:
-1.5 글자
(2) For grounding, please make sure to use the exclusive grounding. 서식 있음: 들여쓰기: 첫 줄: 1.5
For grounding construction, apply type 3 grounding(grounding resistance lower than 100 Ω) 글자
서식 있음: 들여쓰기: 첫 줄: 3
(3) If the exclusive grounding is not possible, use the common grounding as presented in B) of the figure below. 글자
서식 있음: 들여쓰기: 첫 줄: 1.5
글자
PLC Other devices PLC Other devices PLC Other devices 서식 있음: 들여쓰기: 첫 줄: 0"
A) Exclusive grounding : best B) common grounding : good C) common grounding: defective 서식 있음: 들여쓰기: 첫 줄: 6.5
글자
2
(4) Use the grounding cable more than 2 mm . To shorten the length of the grounding cable, place the 서식 있음: 들여쓰기: 내어쓰기:
grounding point as close to the PLC as possible. 1.5 글자, 왼쪽 1.13 글자, 첫 줄:
-1.5 글자
(5) If any malfunction from grounding is detected, separate the FG of the base from the grounding. 서식 있음: 들여쓰기: 첫 줄: 1.5
글자
913 −19
Chapter 910 Installation and Wiring
The specifications of cable used for wiring are as follows. 서식 있음: 들여쓰기: 첫 줄: 2
글자
2
Types of external Cable specification (mm )
connection Lower limit Upper limit
Digital input 0.18 (AWG24) 1.5 (AWG16)
Digital output 0.18 (AWG24) 2.0 (AWG14)
Analogue I/O 0.18 (AWG24) 1.5 (AWG16)
Communication 0.18 (AWG24) 1.5 (AWG16)
Main power 1.5 (AWG16) 2.5 (AWG12)
Protective grounding 1.5 (AWG16) 2.5 (AWG12)
913 −20
Chapter 14 Maintenance
Chapter 14 Maintenance
Be sure to perform daily and periodic maintenance and inspection in order to maintain the PLC in the best
conditions.
11−1
Chapter 14 Maintenance
Corrective
Check Items Checking Methods Judgment
Actions
Ambient
0 ~ 55 °C Adjust to general
temperature -. Measure with thermometer
Ambient standard
Ambient Humidity and hygrometer 5 ~ 95%RH (Internal environmental
environment
Ambient pollution -. measure corrosive gas There should be no standard of control
level corrosive gases section)
Looseness, The module should be move The module should be
PLC Ingress the unit mounted securely.
Retighten screws
Conditions dust or foreign
Visual check No dust or foreign material
material
Loose terminal
Re-tighten screws Screws should not be loose Retighten
screws
Distance between
Connecting Visual check Proper clearance Correct
terminals
conditions
Retighten connector
Connectors should not be
Loose connectors Visual check mounting
loose.
screws
Measure voltage between
Line voltage check DC24V: DC20.4 ~ 28.8V Change supply power
input terminals
11−2
Chapter 15 Troubleshooting
Chapter 15 Troubleshooting
The following explains contents, diagnosis and corrective actions for various errors that can occur during system
operation.
15.2 Troubleshooting
This section explains the procedure for determining the cause of troubles as well as the errors and corrective
actions.
Symptoms
Is the power LED turned Flowchart used when the POWER LED is turned Off.
Off ?
Is the ERR LED flickering ? Flowchart used when the ERR LED is flickering.
Are the RUN LED turned Flowchart used when the RUN turned Off.
Off ?
I/O module doesn’t operate Flowchart used when the output load of the output module
properly. doesn’t turn on.
Program cannot be written. Flowchart used when a program can’t be written to the
PLC.
15-1
Chapter 15 Troubleshooting
15.2.1 Troubleshooting flowchart used when the PWR (Power) LED turns Off.
The following flowchart explains corrective action procedure used when the power is supplied or the power LED
turns Off during operation.
No Yes
Yes Does the power LED
turns On?
No
Is the voltage within the Supply the power
rated power? properly.
Yes
Yes Yes
Does the power LED
turns On?
No
No Yes
Does the power LED
turns On?
Complete
15-2
Chapter 15 Troubleshooting
15.2.2 Troubleshooting flowchart used with when the ERR (Error) LED is flickering
The following flowchart explains corrective action procedure use when the power is supplied star
ts or the ERR LED is flickering during operation.
No
See Appendix 1 Flag list
Warning error?
and remove the cause of
the error.
Yes
No
Is ERR LED still
flicking ?
Complete
Yes
Warning
Though warning error appears, PLC system doesn’t stop but corrective action is needed
promptly. If not, it may cause the system failure.
15-3
Chapter 15 Troubleshooting
15.2.3 Troubleshooting flowchart used with when the RUN , STOP LED turns Off.
The following flowchart explains corrective action procedure to treat the lights-out of RUN LED when the power
is supplied, operation starts or operation is in the process.
No
Is RUN/ STOP LED Off?
Yes
15-4
Chapter 15 Troubleshooting
15.2.4 Troubleshooting flowchart used when the I/O part doesn’t operate normally.
The following flowchart explains corrective action procedure used when the I/O module doesn’t
operate normally.
No
I\s the output LED of SOL1
On?
Yes
Measure the voltage of terminal Correct wiring. Replace the connector of Check the status of SOL1 by
in SOL1 by Tester. the terminal block.
XG5000.
No No
No
Yes Is the Yes Is it normal condition?
Is the measured value Is the output
terminal connector
normal? wiring correct? appropriate?
Yes
Yes
Yes
Separate the external
wiring than check the
condition of output module.
Continue
Yes No
Is it normal condition?
15-5
Chapter 15 Troubleshooting
Continue
No
Are the indicator LED of the
switch 1 and 2 on?
Yes
Is the
Yes
Is the measured value Is the measured value terminal screw tighten
normal? normal? securely?
No No
Yes No Yes
Input unit replacement Check the status of the switch 1 Input unit replacement is
is Needed. and 2. Check from the beginning. Needed.
15-6
Chapter 15 Troubleshooting
When problems have been met during operation of the XGC series, please write down this Questionnaires and
contact the service center via telephone or facsimile.
For errors relating to special or communication modules, use the questionnaire included in the User’s manual
of the unit.
15-7
Chapter 15 Troubleshooting
~ ~
External device External device
External device
Input signal Sneak current due to the use of two Use only one power supply.
Connect a sneak current prevention diode.
doesn’t turn different power supplies.
off.
DC input
DC input
E E1
L L
E E
15-8
Chapter 15 Troubleshooting
When the output Load is half-wave rectified inside (in some Connect registers of tens to hundreds KΩ
is off, excessive cases, it is true of a solenoid) across the load in parallel.
voltage is When the polarity of the power supply is as
applied to the shown in ① R
load. as shown in ②
D
the line voltage are applied across D. Max.
voltage is approx. 2√2. C
R ~
Load
←
C D
~
R Load
↑
Load Load
When the load Leakage current by surge absorbing circuit, Drive the relay using a contact and drive the
is C-R type which is connected to output element in parallel. C-R type timer using the since contact.
timer, time Use other timer than the C−R contact some
Output
constant timers have half-ware rectified internal circuits
Load
fluctuates. C therefore, be cautious. Timer
~ T
R Leakage current
Output X
~
The load does Sneak current due to the use of two different Use only one power supply.
not turn off. power supplies. Connect a sneak current prevention diode.
Output Output
Load Load
E1 E
E2 E
15-9
Chapter 15 Troubleshooting
Outpu
Off current
Loa
Loa
E
E1 R E
turned on.
Output
15-10
Chapter 15 Troubleshooting
15-11
Chapter 15 Troubleshooting
15-12
Appendix 1 Flag List
App. 1-1
Appendix 1 Flag List
App. 1-2
Appendix 1 Flag List
App. 1-4
Appendix 1 Flag List
App. 1-4
Appendix 1 Flag List
App. 1-1
Appendix 1 Flag List
App. 1-1
Appendix 1 Flag List
App. 1-2
Appendix 1 Flag List
App. 1-4
Appendix 1 Flag List
App. 1-4
Appendix 1 Flag List
App. 1-6
Appendix 1 Flag List
App. 1-6
Appendix 1 Flag List
App. 1-7
Appendix 1 Flag List
App. 1-9
Appendix 2 Dimension
App.2 −1
Appendix 2 Dimension
App.2 −2
Appendix 2 Dimension
App.2 −3
Appendix 2 Dimension
-. XBE-DC32A, XBE-TR32A
B A
20
19
18
17
16
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
-. XBE-RY16A
App.2 −4
Appendix 2 Dimension
-. XBE-DR16A, XBE-RY08A
App.2 −5
Appendix 3 Compatibility with MASTER-K (Special Relay)
MASTER-K XGB
Symbol
Device Function Device Function
App. 3-1
Appendix 3 Compatibility with MASTER-K (Special Relay)
MASTER-K XGB
Symbol
Device Function Device Function
App. 3-2
Appendix 3 Compatibility with MASTER-K (Special Relay)
MASTER-K XGB
Symbol
Device Function Device Function
- F0098 N/A
App. 3-3
Appendix 3 Compatibility with MASTER-K (Special Relay)
MASTER-K XGB
Symbol
Device Function Device Function
App. 3-4
Appendix 3 Compatibility with MASTER-K (Special Relay)
MASTER-K XGB
Symbol
Device Function Device Function
F0500~ F050F Max. Scan time _SCAN_MAX F0500~ F050F Max. Scan time
F0510~ F051F Min. Scan time _SCAN_MIN F0510~ F051F Min. Scan time
F0520~ F052F Current Scan time _SCAN_CUR F0520~ F052F Current Scan time
Clock data
F0530~ F053F _YEAR_MON F0530~ F053F Clock data (year/month)
(year/month)
F0540~ F054F Clock data (day/hr) _DAY_TIME F0540~ F054F Clock data(day/hr)
F0550~ F055F Clock data (min/sec) _MIN_SEC F0550~ F055F Clock data(min/sec)
Clock data
F0560~ F056F _HUND_WK F0560~ F056F Clock data(100year/weekday)
(100year/weekday)
_FPU_LFlag_I F0570 -
_FPU_LFlag_U F0571 -
_FPU_LFlag_O F0572 -
_FPU_LFlag_Z F0573 -
_FPU_LFlag_V F0574 -
_FPU_Flag_U F057B -
_FPU_Flag_O F057C -
_FPU_Flag_Z F057D -
_FPU_Flag_V F057E -
_FPU_Flag_E F057F -
App. 3-5
Appendix 3 Compatibility with MASTER-K (Special Relay)
Note
1. When you convert the project written by KGLWIN in MASTER-K series (K80S, K200S, K300S, and
K1000S) into XG5000 project, some instructions used in only MASTER-K is not converted. And the
previous parameter used in MASTER-K is converted into default value.
2. XGB economy type project can be converted into XGB standard type project but parameter is converted
into default value.
3. When you convert the XGB standard type project into XGB economy type project, some instructions used
in only XGB standard type is not converted. And the parameter is converted into default value.
App. 3-6
Appendix 4 Instruction List
App. 4-1
Appendix 4 Instruction List
A
OR LOAD B
A,B Block Parallel-Connected ○ ○
App. 4-2
Appendix 4 Instruction List
App. 4-3
Appendix 4 Instruction List
Input
TRTG TRTG T t t ○ ○
T
Reset
Count
Pulse Setting
CTD CTD C c ○ ○
Present
Output
Reset
Count
Pulse Setting
CTU CTU C c ○ ○
Present
Output
Counter Reset
Increased
Pulse
Decreased
Pulse
CTUD CTUD C U D c
Setting ○ ○
Present
Output
Reset
Count
Pulse Setting
CTR CTR C c ○ ○
Present
Output
App. 4-4
Appendix 4 Instruction List
DMOV DMOV S D
32 bits
(S+1,S) (D+1,D ) ○ ○
Transfer
DMOVP DMOVP S D
b15 b0
BMOV BMOV S D N (S)
Specified Bits …
(D) ○ ○
Transfer
BMOVP BMOVP S D N * Z: Control Word
(S) b15 b0
GBMOV GBMOV S D Z N : N ○ ○
(S+N)
Specified Bits
(D)
…
Group Transfer
:
GBMOVP GBMOVP S D Z N
(D+N) ○ ○
* Z : Control W ord
App. 4-5
Appendix 4 Instruction List
BCD4 Sb Db
(Sb):Bit, BIN(0~9)
BCD4 b15 b0
To 4bit BCD
○ ○
BCD4P BCD4P Sb Db
4/8 Bits (Db): Bit
BCD
Conversion (Sb):Bit, BIN(0~99)
BCD8 BCD8 Sb Db
b15 b0
○ ○
To 8bit BCD
BCD8P BCD8P Sb Db
(Db):Bit
BIN BIN S D To BIN
(S) (D) ○ ○
BINP BINP S D BCD( 0~9999 )
BIN
Conversion DBIN DBIN S D To BIN
(S+1,S) (D+1,D ) ○ ○
DBINP DBINP S D
BCD( 0~99999999 )
To 4bit BIN
○ ○
BIN4P BIN4P Sb Db
4/8 Bits (Db):Bit
BIN
Conversion (Sb):Bit, BCD(0~99)
BIN8 BIN8 Sb Db
b15 b0
○ ○
To bit BIN
BIN8P BIN8P Sb Db
(Db):Bit
GBCD GBCD S D N
Data (S) to N converted to BCD,
and (D) to N saved ○ ○
Group GBCDP GBCDP S D N
BCD,BIN
Conversion GBIN GBIN S D N
Data (S) to N converted to BIN,
and (D) to N saved ○ ○
GBINP GBINP S D N
App. 4-6
Appendix 4 Instruction List
L2I S D
To INT
L2I (S+3,S+2,S+1,S) (D)
○ ○
Whole Double Real Range
Long L2IP L2IP S D
Real/Integer
Conversion L2D L2D S D
To DINT
(S+3,S+2,S+1,S) (D+1,D)
○ ○
Whole Double Real Range
L2DP L2DP S D
Remark
Integer value and Real value will be saved respectively in quite different format. For such reason, Real Number
Data should be converted as applicable before used for Integer Operation.
App. 4-7
Appendix 4 Instruction List
CMP4 CMP4 S1 S2
CMP(S1,S2) and applicable Flag SET
○ ○
CMP4P S1 S2
(S1, S2 is Nibble)
CMP4P
4/8 Bits
Compare CMP8 S1 S2
CMP8
CMP(S1,S2) and applicable Flag SET
○ ○
CMP8P S1 S2
(S1, S2 is Byte)
CMP8P
CMP(S1,S2))
TCMP TCMP S1 S2 D
:
CMP(S1+15,S2+15) ○ ○
Table TCMPP TCMPP S1 S2 D Result:(D) ~ (D+15), 1 if identical
Compare
DTCMP DTCMP S1 S2 D CMP((S1+1,S1),(S2+1,S2))
:
CMP((S1+31,S1+30),(S2+31,S2+30)) ○ ○
DTCMPP DTCMPP S1 S2 D Result:(D) ~ (D+15)
GEQ GEQ S1 S2 D N
GEQP GEQP S1 S2 D N
GGT GGT S1 S2 D N
GGTP GGTP S1 S2 D N
GLT GLT S1 S2 D N
Compares S1 data to S2 data word
Group GLTP GLTP S1 S2 D N by word, and saves its result in
Compare Device (D) bit by bit from the lower ○ ○
(16 Bits) GGE GGE S1 S2 D N bit
( N ≤ 16 )
GGEP GGEP S1 S2 D N
GLE GLE S1 S2 D N
GLEP GLEP S1 S2 D N
GNE GNE S1 S2 D N
GNEP GNEP S1 S2 D N
Remark
CMP(P), DCMP(P), CMP4(P), CMP8(P), TCMP(P) & DTCMP(P) Instructions all process the results of
Unsigned Compare. All the other Compare Instructions will perform Signed Compare.
App. 4-8
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
GDEQ GDEQ S1 S2 D N ○ ○
GDEQP GDEQP S1 S2 D N ○ ○
GDGT GDGT S1 S2 D N ○ ○
GDGTP GDGTP S1 S2 D N ○ ○
GDLT GDLT S1 S2 D N ○ ○
Compares S1 data to S2 data 2 by
Group GDLTP GDLTP S1 S2 D N 2 words, and saves its result in ○ ○
Compare Device (D) bit by bit from the lower
(32 Bits) GDGE GDGE S1 S2 D N bit ○ ○
( N ≤ 16 )
GDGEP GDGEP S1 S2 D N ○ ○
GDLE GDLE S1 S2 D N ○ ○
GDLEP GDLEP S1 S2 D N ○ ○
GDNE GDNE S1 S2 D N ○ ○
GDNEP GDNEP S1 S2 D N ○ ○
App. 4-9
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
LOAD= = S1 S2
LOAD> > S1 S2
LOAD<> <> S1 S2
AND= = S1 S2
AND> > S1 S2
Performs AND operation of (S1) &
16 Bits
AND< < S1 S2 (S2) Compare Result and Bit Result
Data
(BR), and then saves its result in BR ○ ○
Compare AND>= >= S1 S2 (Signed Operation)
(AND)
AND<= <= S1 S2
AND<> <> S1 S2
OR= = S1 S2
Performs OR operation of (S1) &
16 Bits
(S2) Compare Result and Bit Result
Data ○ ○
OR<= (BR), and then saves its result in BR
Compare <= S1 S2 ○ ○
(Signed Operation)
(OR)
OR<> <> S1 S2
LOADD= D= S1 S2
LOADD> D> S1 S2
LOADD<> D<> S1 S2
Remark
Comparison instruction for input process the result of Signed comparison instruction generally. To process
Unsigned comparison, Use comparison instruction for input.
App. 4-10
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
ANDD= D= S1 S2
ANDD> D> S1 S2
32 Bits Performs AND operation of (S1) &
ANDD< D< S1 S2
Data (S2) Compare Result and Bit Result
○ ○
Compare ANDD>= D>= S1 S2
(BR), and then saves its result in
(AND) BR (Signed Operation)
ANDD<= D<= S1 S2
ANDD<> D<> S1 S2
ORD= D= S1 S2
ORD> D> S1 S2
ORD<= D<= S1 S2
ORD<> D<> S1 S2
LOADR= R= S1 S2
LOADR> R> S1 S2
LOADR<= R<= S1 S2
LOADR<> R<> S1 S2
ANDR= R= S1 S2
ANDR> R> S1 S2
ANDR<= R<= S1 S2
ANDR<> R<> S1 S2
App. 4-11
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
ORR= R= S1 S2
ORR> R> S1 S2
ORR<= R<= S1 S2
ORR<> R<> S1 S2
LOADL= L= S1 S2
LOADL> L> S1 S2
LOADL<= L<= S1 S2
LOADL<> L<> S1 S2
ANDL= L= S1 S2
ANDL> L> S1 S2
ANDL<= L<= S1 S2
ANDL<> L<> S1 S2
App. 4-12
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
ORL= L= S1 S2
ORL> L> S1 S2
ORL<= L<= S1 S2
ORL<> L<> S1 S2
LOAD$= $= S1 S2
LOAD$> $> S1 S2
LOAD$<= $<= S1 S2
LOAD$<> $<> S1 S2
AND$= $= S1 S2
AND$> $> S1 S2
AND$< $< S1 S2
Performs AND operation of (S 1)
String
& (S2) Starting String Compare
Compare ○ ○
Result and Bit Result(BR), and
(AND) AND$>= $>= S1 S2
then saves its result in BR
AND$<= $<= S1 S2
AND$<> $<> S1 S2
App. 4-13
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
OR$= $= S1 S2
OR$> $> S1 S2
OR$<= $<= S1 S2
OR$<> $<> S1 S2
LOADG= G= S1 S2 N
LOADG> G> S1 S2 N
Compares (S1), (S1+1), …,
16 Bits LOADG< G< S1 S2 N (S1+N) to (S2), (S2+1), … ,
Data (S2+N) 1 to 1, and then saves
○ ○
Group Compare LOADG>= G>= S1 S2 N 1 in Bit Result(BR) if each
(LOAD) value compared meets given
condition
LOADG<= G<= S1 S2 N
LOADG<> G<> S1 S2 N
ANDG= G= S1 S1 N
ANDG> G> S1 S1 N
Performs AND operation of
16 Bits ANDG< G< S1 S1 N (S1), (S1+1), …, (S1+N) &
Data (S2), (S2+1), … , (S2+N) 1 to
○ ○
Group Compare 1 Compare Result and Bit
ANDG>= G>= S1 S1 N
(AND) Result (BR), and then saves its
result in BR
ANDG<= G<= S1 S1 N
ANDG<> G<> S1 S1 N
ORG= G= S1 S2 N
ORG> G> S1 S2 N
ORG<= G<= S1 S2 N
ORG<> G<> S1 S2 N
App. 4-14
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGX XGB
LOADDG= DG= S1 S2 N
LOADDG> DG> S1 S2 N
Compares (S1), (S1+1), …,
32 Bits
LOADDG< DG< S1 S2 N (S1+N) to (S2), (S2+1), … ,
Data
(S2+N) 1 to 1, and then saves
Group ○ ○
LOADDG>= DG>= S1 S2 N 1 in Bit Result(BR) if each
Compare value compared meets given
(LOAD) condition
LOADDG<= DG<= S1 S2 N
LOADDG<> DG<> S1 S2 N
ANDDG= DG= S1 S1 N
ANDDG> DG> S1 S1 N
Performs AND operation of
32 Bits
ANDDG< DG< S1 S1 N (S1), (S1+1), …, (S1+N) &
Data
(S2), (S2+1), … , (S2+N) 1 to
Group ○ ○
1 Compare Result and Bit
Compare ANDDG>= DG>= S1 S1 N
Result(BR), and then saves its
(AND) result in BR
ANDDG<= DG<= S1 S1 N
ANDDG<> DG<> S1 S1 N
ORDG= DG= S1 S2 N
ORDG> DG> S1 S2 N
ORDG<= DG<= S1 S2 N
ORDG<> DG<> S1 S2 N
App. 4-15
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
LOAD3= 3= S1 S2 S3
LOAD3> 3> S1 S2 S3
LOAD3<= 3<= S1 S2 S3
LOAD3<> 3<> S1 S2 S3
AND3= 3= S1 S2 S3
AND3> 3> S1 S2 S3
Performs AND operation of (S1),
Three 16-Bit AND3< 3< S1 S2 S3 (S2), (S3) Compare Result by
Data Compare given condition and Bit Result ○ ○
(AND) AND3>= 3>= S1 S2 S3 (BR), and then saves its result in
BR
AND3<= 3<= S1 S2 S3
AND3<> 3<> S1 S2 S3
OR3= 3= S1 S2 S3
OR3> 3> S1 S2 S3
OR3<= 3<= S1 S2 S3
OR3<> 3<> S1 S2 S3
LOADD3= D3= S1 S2 S3
LOADD3> D3> S1 S2 S3
LOADD3<= D3<= S1 S2 S3
LOADD3<> D3<> S1 S2 S3
App. 4-16
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
ANDD3= D3= S1 S2 S3
ANDD3> D3> S1 S2 S3
ANDD<> D3<> S1 S2 S3
ORD3= D3= S1 S2 S3
ORD3> D3> S1 S2 S3
ORD3<= D3<= S1 S2 S3
ORD3<> D3<> S1 S2 S3
App. 4-17
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
INC INC D
(D)+1 (D) 2
INCP INCP D
4-94
DINC DINC D
INCU INCU D
(D)+1 (D)
2
INCUP INCUP D
4-98
DINCU DINCU D
(D+1,D)+1 (D+1,D)
BIN Data 2
Increase DINCUP DINCUP D
/
Decrease DECU DECU D
(D)-1 (D)
(Unsigned) 2
DECUP DECUP D
4-99
DDECU DDECU D
(D+1,D)-1 (D+1,D)
2
DDECUP DDECUP D
App. 4-18
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
ROL ROL D n b15 b0
CY D
ROLP ROLP D n
Rotate to Left ○ ○
DROL DROL D n b31 b15 b0
CY D+1 D
DROLP DROLP D n
ROR ROR D n
b15 b0
D CY
RORP RORP D n
Rotate to Right ○ ○
DROR DROR D n b31 b15 b0
D+1 D CY
DRORP DRORP D n
b+3 b
ROR4 ROR4 Db n D CY
ROR4P ROR4P Db n
4/8 Bits
b+7 b ○ ○
Rotate to Right ROR8 Db n
ROR8 D CY
ROR8P ROR8P Db n
RCL RCL D n
b15 b0
CY D
Rotate to Left RCLP RCLP D n
(including ○ ○
Carry) DRCL DRCL D n b31 b15 b0
CY D+1 D
DRCLP DRCLP D n
b+3 b
RCL4 RCL4 Db n CY D
4/8 Bits
RCL4P RCL4P Db n
Rotate to Left
b+7 b ○ ○
(including RCL8 Db n
RCL8 CY D
Carry)
RCL8P RCL8P Db n
RCR RCR D n
b15 b0
Rotate D CY
RCRP RCRP D n
to Right
○ ○
(including DRCR D n
DRCR b31 b15 b0
Carry) D+1 D CY
DRCRP DRCRP D n
b+3 b
RCR4 RCR4 Db n D CY
4/8 Bits
RCR4P RCR4P Db n
Rotate to Right
b+7 b ○ ○
(including
RCR8 RCR8 Db n D CY
Carry)
RCR8P RCR8P Db n
App. 4-19
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
St Ed
BSFT BSFT St Ed b15 b0
Bits Move ○ ○
BSFTP BSFTP St Ed
0
b15 b0
BSFL BSFL D n
(D)
BSFLP BSFLP D n CY 0
Move to Higher
○ ○
Bit b31 b0
DBSFL DBSFL D n
(D+1, D) … …
DBSFLP DBSFLP D n CY 0
b+3 b
BSFL4 BSFL4 Db n
D
BSFL8P BSFL8P Db n CY 0
b15 b0
BSFR BSFR D n (D)
0
BSFRP BSFRP D n CY
Move to Lower
○ ○
Bit b31 b0
DBSFR DBSFR D n (D+1, D) … …
0 CY
DBSFRP DBSFRP D n
b+3 b
BSFR4 BSFR4 Db n D
0 CY
Move to Lower BSFR4P BSFR4P Db n
Bit within 4/8 b+7 b ○ ○
Bits range BSFR8 BSFR8 Db n D
BSFR8P BSFR8P Db n 0 CY
Word Move .. ○ ○
WSFTP Et Ed Ed (End Word)
WSFTP
..
N
WSFLP D1 D2 N D2
Word Data WSFLP
Move to ○ ○
Left/Right WSFR WSFR D1 D2 N D1
..
N
h0000 D2
WSFRP WSFRP D1 D2 N
App. 4-20
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
XCHG XCHG D1 D2
(D1) (D2)
XCHGP XCHGP D1 D2
Data
○ ○
Exchange
DXCHG DXCHG D1 D2
(D1+1, D1) (D2+1, D2)
DXCHGP DXCHGP D1 D2
b15 b0
Higher/Lower SWAP SWAP D (D) Upper Byte Lower Byte
Byte ○ ○
Exchange SWAPP D (D) Lower Byte Upper Byte
SWAPP
GSWAP GSWAP D N
Group
Exchanges Higher/Lower
Byte ○ ○
Byte of Words N starting from D
Exchange GSWAPP GSWAPP D N
App. 4-21
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
ADD ADD S1 S2 D
(S1)+(S2) (D)
ADDP ADDP S1 S2 D
Integer Addition
○ ○
(Signed)
DADD DADD S1 S2 D
(S1+1,S1)+(S2+1,S2)
DADDP S1 S2 D
(D+1,D)
DADDP
SUB SUB S1 S2 D
(S1)-(S2) (D)
Integer SUBP SUBP S1 S2 D
Subtraction ○ ○
(Signed) DSUB DSUB S1 S2 D (S1+1,S1)-(S2+1,S2)
(D+1,D)
DSUBP DSUBP S1 S2 D
MUL MUL S1 S2 D
(S1)×(S2) (D+1,D)
ADDU ADDU S1 S2 D
(S1)+(S2) (D)
ADDUP ADDUP S1 S2 D
Integer Addition
○ ○
(Unsigned)
DADDU DADDU S1 S2 D (S1+1,S1)+(S2+1,S2)
(D+1,D)
DADDUP DADDUP S1 S2 D
SUBU SUBU S1 S2 D
(S1)-(S2) (D)
MULU MULU S1 S2 D
(S1)×(S2) (D+1,D)
App. 4-22
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
$ADD $ADD S1 S2 D
String Connects S1 String with S2 String
○ ○
Addition to save in D
$ADDP $ADDP S1 S2 D
App. 4-23
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
ADDB ADDB S1 S2 D
(S1)+(S2) (D)
ADDBP ADDBP S1 S2 D
BCD Addition ○ ○
DADDB DADDB S1 S2 D (S1+1,S1)+(S2+1,S2)
(D+1,D)
DADDBP DADDBP S1 S2 D
SUBB SUBB S1 S2 D
(S1)-(S2) (D)
SUBBP SUBBP S1 S2 D
BCD Subtraction ○ ○
DSUBB DSUBB S1 S2 D
(S1+1,S1)-(S2+1,S2)
(D+1,D)
DSUBBP DSUBBP S1 S2 D
MULB MULB S1 S2 D
(S1)×(S2) (D+1,D)
MULBP MULBP S1 S2 D
BCD
○ ○
Multiplication
DMULB DMULB S1 S2 D (S1+1,S1)×(S2+1,S2)
(D+3,D+2,D+1,D)
DMULBP DMULBP S1 S2 D
(D+3,D+2) Remainder
DDIVBP DDIVBP S1 S2 D
App. 4-24
Appendix 4 Instruction List
Basic
Classification Designations Symbol Description Page
Steps
WOR WOR S1 S2 D
Word OR
(S1) ∨ (S2) (D)
WORP WORP S1 S2 D
Logic Addition ○ ○
DWOR DWOR S1 S2 D DWord OR
(S1+1,S1)∨(S2+1,S2) (D+1,D)
DWORP DWORP S1 S2 D
WXOR WXOR S1 S2 D
Word Exclusive OR
(S1) ∨ (S2) (D)
WXORP WXORP S1 S2 D
Exclusive
○ ○
OR
DWXOR DWXOR S1 S2 D DWord Exclusive OR
(S1+1,S1)∨(S2+1,S2) (D+1,D)
DWXORP DWXORP S1 S2 D
WXNR WXNR S1 S2 D
Word Exclusive NOR
(S1) ∨ (S2) (D)
WXNRP WXNRP S1 S2 D
Exclusive
○ ○
NOR
DWXNR DWXNR S1 S2 D
DWord Exclusive NOR
(S1+1,S1)∨(S2+1,S2) (D+1,D)
DWXNRP DWXNRP S1 S2 D
App. 4-25
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
b15 b0
BSUM BSUM S D S
1’s number
BSUMP BSUMP S D D
Bit Check b31 b15 b0
○ ○
DBSUM DBSUM S D S S
1’s number
DBSUMP DBSUMP S D D
BRST BRST D N
Bit Reset Resets N Bits (starting from D) to 0 ○ ○
BRSTP BRSTP D N
S D
ENCO ENCO S D n
... ...
Encode ○ ○
N bits
ENCOP ENCOP S D n N
2 bits 2binary
S D
DECO DECO S D n
... ...
Decode ○ ○
N bits
DECOP DECOP S D n 2N bits
2binary
Disconnect & ○ ○
Connect UNI UNI S D n D ...
D+1
D+N-1
.. ...
S
UNIP S D n ... ...
UNIP
S Lower D
..
WTOB WTOB S D n Higher Lower h00
h00 Higher D+1
S+N-1 Higher Lower h00 Lower
Word/ WTOBP WTOBP S D n h00 Higher
Byte ○ ○
Conversion BTOW BTOW S D n D
D+1
h00
h00
Lower
Higher
Higher Lower
.. S
SCH SCH S1 S2 D N
DSCHP DSCHP S1 S2 D N
MAX MAX S D n
Saves the max value in D among N
words starting from S
MAXP MAXP S D n
Max. Value
○ ○
Search
DMAX DMAX S D n
Saves the max value in D among N
double words starting from S
DMAXP DMAXP S D n
App. 4-26
Appendix 4 Instruction List
Designatio Support
Classification Symbol Description
ns XGK XGB
MIN MIN S D n
Saves the min value in D among N
words starting from S
MINP MINP S D n
Min. Value
○ ○
Search
DMIN DMIN S D n
Saves the min value in D among N
double words starting from S
DMINP DMINP S D n
SUM SUM S D n
Adds up N words starting from S to
save in D
SUMP SUMP S D n
Sum ○ ○
DSUM DSUM S D n
Adds up N double words starting
from S to save in D
DSUMP DSUMP S D n
AVE AVE S D n
Averages N words starting from S
to save in D
AVEP AVEP S D n
Average ○ ○
DAVE DAVE S D n
Averages N double words starting
from S to save in D
DAVEP DAVEP S D n
N D
MUXP MUXP S1 S2 D N
MUX ○ ○
DMUX DMUX S1 S2 D N S2+1 S2 S1st data
N D+1 D
DMUXP DMUXP S1 S2 D N
App. 4-27
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
Support
Classification Designations Symbol Description
XGK XGB
SEG SEG S D Z
7 Segment Converts S Data to 7-Segment as
○ ○
Display adjusted in Z Format so to save in D
SEGP SEGP S D Z
App. 4-28
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
BCDDA BCDDA S D
Converts S of 1-word BCD to ASCII
Convert BCD Cord to save in starting D
BCDDAP BCDDAP S D
to Decimal
○ ○
ASCII
DBCDDA DBCDDA S D
Cord Converts S of 2-word BCD to ASCII
Cord to save in starting D
DBCDDAP DBCDDAP S D
DABIN DABIN S D
Converts S S+2,S+1,S’s Decimal
ASCII Cord to BIN to save in D
Convert DABINP DABINP S D
Decimal ASCII ○ ○
to BIN DDABIN DDABIN S D Converts S+5~S’s Decimal ASCII
Cord to BIN value to save in D+1 &
DDABINP DDABINP S D D
HABIN HABIN S D
Converts S+1,S’s Hexadecimal ASCII
Cord to BIN value to save in D
Convert HABINP HABINP S D
Hexadecimal ○ ○
ASCII to BIN DHABIN DHABIN S D
Converts S+3~S’s Hexadecimal ASCII
Cord to BIN to save in D
DHABINP DHABINP S D
DABCD DABCD S D
Converts S+1,S’s Decimal ASCII
Cord to BCD to save in D
Convert DABCDP DABCDP S D
Decimal ASCII ○ ○
to BCD DDABCD DDABCD S D
Converts S+3~S’s Decimal ASCII
Cord to BCD to save in D
DDABCDP DDABCDP S D
LEN LEN S D
String Saves String Length with S starting
○ ○
Length Detect in D
LENP LENP S D
App. 4-29
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
App. 4-30
Appendix 4 Instruction List
Basic
Classification Designations Symbol Description Page
Steps
App. 4-31
Appendix 4 Instruction List
Basic
Classification Designations Symbol Description Page
Steps
SIN SIN S D
SIN Operation SIN(S+1,S) (D+1,D) ○ ○
SINP SINP S D
COS COS S D
COS COS(S+1,S) (D+1,D) ○ ○
Operation
COSP COSP S D
TAN TAN S D
TAN Operation TAN(S+1,S) (D+1,D) ○ ○
TANP TANP S D
SQRT SQRT S D
Square Root
○ ○
Operation (S+1,S) (D+1,D)
SQRTP SQRTP S D
App. 4-32
Appendix 4 Instruction List
Basic
Classification Designations Symbol Description Page
Steps
LIMIT LIMIT S1 S2 S3 D
DZONE DZONE S1 S2 S3 D
VZONE VZONE S1 S2 S3 D
If S1 < -S2(S3/100), then
D = S1-S2+S2(S3/100)
VZONEP VZONEP S1 S2 S3 D
If –S2(S3/100) <S1< S2(S3/100),
Vertical-zone
then ○ ○
Control
DVZONE DVZONE S1 S2 S3 D
D = (100/S3)S1
If S1 < S2(S3/100), then
D = S1+S2-S2(S3/100)
DVZONEP DVZONEP S1 S2 S3 D
App. 4-33
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
ADDCLK ADDCLK S1 S2 D
Adds S1 ~ S1+2 & S2 ~ S2+2 Time
Time Data
Data to save in D ~ D+2 in Time ○ X
Increase
ADDCLKP ADDCLKP S1 S2 D
Data format (Hr/Mn/Sd)
SUBCLK SUBCLK S1 S2 D
Extracts S2 ~ S2+2’s Time Data from
Time Data
S1 ~ S1+2 to save in D ~ D+2 in ○ X
Decrease
SUBCLKP SUBCLKP S1 S2 D
Time Data format (Hr/Mn/Sd)
SECOND SECOND S D
Converts Time Data S ~ S+2 to
○ X
seconds to save in double word D
SECONDP SECONDP S D
Time Data
Format
Conversion HOUR HOUR S D
Converts the seconds saved in
double word S to Hr/Mn/Sd to save ○ X
HOURP HOURP S D
in D ~ D+2
Support
Classification Designations Symbol Description
XGK XGB
App. 4-34
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
FOR FOR N
Operates FOR~NEXT section n
○ ○
Loop times
NEXT NEXT
Instruction
BREAK BREAK Escapes from FOR~NEXT section ○ ○
Support
Classification Designations Symbol Description
XGK XGB
Support
Classification Designations Symbol Description
XGK XGB
Self Diagnosis
Error Display FALS FALS n ○ ○
(Error Display )
On during n1 Scan, Off during n2
Scan Cluck DUTY DUTY D n1 n2 ○ ○
Scan
On during S1 set time, Off during S2
Time Cluck TFLK TFLK D1 S1 S2 D2 ○ ○
set time
WDT WDT
WDT
Watch Dog Timer Clear ○ ○
Initialize
WDTP WDTP
Support
Classification Designations Symbol Description
XGK XGB
App. 4-35
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
NEG NEG D
Saves D value again in D with 2’s
complement taken
NEGP NEGP D
2’s
○ ○
complement
DNEG DNEG D Saves (D+1,D) value again in
(D+1,D) with 2’s complement
DNEGP DNEGP D taken
RNEG RNEG D
Reverses D Real Number Sign then
to save again
Real Number RNEGP RNEGP D
Data Sign ○ ○
Reverse LNEGR LNEG D
Reverses D Double Real Number
Sign then to save again
LNEGP LNEGP D
ABS ABS D
Converts D highest Bit to 0
ABSP ABSP D
Absolute Value
○ ○
Operation
DABS DABS D
Converts (D+1,D)
highest Bit to 0
DABSP DABSP D
Support
Classification Designations Symbol Description
XGK XGB
RSET RSET S
Block Changes Block Number of file register
○ X
Conversion to S Number
RSETP RSETP S
EMOV EMOV S1 S2 D
Flash
Transfers S2 word data in S1 Block
Word Data
to D
Transfer EMOVP EMOVP S1 S2 D
o X
Flash EDMOV EDMOV S1 S2 D
Double Word Transfers S2+1, S2 double word data
Data in S1 Block to D+1, D
Transfer EDMOVP EDMOVP S1 S2 D
App. 4-36
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
Sets opposite station No. for P2P
Station No. Set P2PSN P2PSN n1 n2 n3 Communication. n1:P2P No., ○ X
n2:Block, n3:Station No.
Sets word data Read Area
Read Area Set n1:P2P No., n2:Block, n3:Variable
P2PWRD P2PWRD n1 n2 n3 n4 n5 ○ X
(WORD) sequence, n4:Variable Size,
n5:Device
Support
Classification Designations Symbol Description
XGK XGB
GET GET sl S D N
Reads data of special module
○ ○
memory is installed on
GETP GETP sl S D N
Special
Module
Read/Write PUT PUT sl S1 S2 N
Writes data on special module
○ ○
memory is installed on
PUTP PUTP sl S1 S2 N
App. 4-37
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
Instructions Positioning Module’s ax
Return to Origin
ORG ORG sl ax axis installed on sl slot to return to ○ ○
Point
Origin Point
Instructions Positioning Module’s ax
Floating Origin
FLT FLT sl ax axis installed on sl slot to set ○ ○
Point
Floating Origin Point
Instructions Positioning Module’s ax
axis installed on sl slot to start
Direct Start DST DST sl ax n1 n2 n3 n4 n5 directly with Target Position(n1), ○ ○
Target Speed(n2), Dwell Time(n3),
M Code(n4) & Control Word(n5)
Instructions Positioning Module’s ax
Indirect Start IST IST sl ax n axis installed on sl slot to start n ○ ○
step indirectly
App. 4-38
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
App. 4-39
Appendix 4 Instruction List
Support
Classification Designations Symbol Description
XGK XGB
App. 4-40
Warranty
1. Warranty Period
The product you purchased will be guaranteed for 18 months from the date of manufacturing.
2. Scope of Warranty
Any trouble or defect occurring for the above-mentioned period will be partially replaced or repaired. However,
please note the following cases will be excluded from the scope of warranty.
(1) Any trouble attributable to unreasonable condition, environment or handling otherwise specified in the
manual,
(2) Any trouble attributable to others’ products,
(3) If the product is modified or repaired in any other place not designated by the company,
(4) Due to unintended purposes
(5) Owing to the reasons unexpected at the level of the contemporary science and technology when delivered.
(6) Not attributable to the company; for instance, natural disasters or fire
3. Since the above warranty is limited to PLC unit only, make sure to use the product considering the safety for
system configuration or applications.
Environmental Policy
LSIS considers the environmental LSIS’ PLC unit is designed to protect the
preservation as the preferential management environment. For the disposal, separate
subject and every staff of LSIS use the aluminum, iron and synthetic resin (cover)
reasonable endeavors for the pleasurably from the product as they are reusable.
environmental preservation of the earth.
10310001091