MK120S Users Manual PDF
MK120S Users Manual PDF
MK120S Users Manual PDF
LG Industrial Systems
- When using LGIS equipment, thoroughly read this datasheet and associated
manuals introduced in this datasheet. Also pay careful attention to safety and
handle the module properly.
- Keep this datasheet within easy reach for quick reference
SAFETY INSTRUCTIONS
To Prevent injury and property damage, follow these instructions.
Incorrect operation due to ignoring instructions will cause harm or
damage, the seriousness of which is indicated by the following symbols.
WARNING
CAUTION
SAFETY INSTRUCTIONS
Design Precautions
Warning
Install a safety circuit external to the PLC that keeps the entire system
safe even when there are problems with the external power supply or
the PLC module. Otherwise, serious trouble could result from
erroneous output or erroneous operation.
- Outside the PLC, construct mechanical damage preventing interlock
circuits such as emergency stop, protective circuits, positioning upper
and lower limits switches and interlocking forward/reverse operation.
When the PLC detects the following problems, it will stop calculation and
turn off all output in the case of watchdog timer error, module interface
error, or other hardware errors.
However, one or more outputs could be turned on when there are
problems that the PLC CPU cannot detect, such as malfunction of output
device (relay, transistor, etc.) itself or I/O controller. Build a fail safe
circuit exterior to the PLC that will make sure the equipment operates
safely at such times. Also, build an external monitoring circuit that will
monitor any single outputs that could cause serious trouble.
Make sure all external load connected to output does NOT exceed the
rating of output module.
Overcurrent exceeding the rating of output module could cause fire, damage
or erroneous operation.
Build a circuit that turns on the external power supply when the PLC
main module power is turned on.
If the external power supply is turned on first, it could result in erroneous
output or erroneous operation.
SAFETY INSTRUCTIONS
Design Precautions
Caution
Do not bunch the control wires or communication cables with the main
circuit or power wires, or install them close to each other. They should
be installed 100mm (3.94inch) or more from each other.
Not doing so could result in noise that would cause erroneous operation.
Installation Precautions
Caution
Use the PLC in an environment that meets the general specification
contained in this manual or datasheet.
Using the PLC in an environment outside the range of the general
specifications could result in electric shock, fire, erroneous operation, and
damage to or deterioration of the product.
Completely turn off the power supply before loading or unloading the
module.
Not doing so could result in electric shock or damage to the product.
SAFETY INSTRUCTIONS
Wiring Precautions
Warning
Completely turn off the external power supply when installing or
placing wiring.
Not doing so could cause electric shock or damage to the product.
Caution
Be sure that wiring is done correctly be checking the products rated
voltage and the terminal layout.
Incorrect wiring could result in fire, damage, or erroneous operation.
SAFETY INSTRUCTIONS
Startup and Maintenance Precautions
Warning
Do not touch the terminals while power is on.
Doing so could cause electric shock or erroneous operation.
Switch all phases of the external power supply off when cleaning the
module or retightening the terminal or module mounting screws.
Not doing so could result in electric shock or erroneous operation.
Caution
Do not disassemble or modify the modules.
Doing so could cause trouble, erroneous operation, injury, or fire.
Switch all phases of the external power supply off before mounting or
removing the module.
Not doing so could cause failure or malfunction of the module.
Use a cellular phone or walky-talky more than 30cm (11.81 inch) away
from the PLC
Not doing so can cause a malfunction.
Disposal Precaution
Caution
When disposing of this product, treat it as industrial waste.
Not doing so could cause poisonous pollution or explosion.
Revision History
Date
Code
2002.7.
10310000380
2003.5.
10310000380
2003.9
10310000380
Revision history
Chapter 1.
Contents
General
System Configuration
Chapter 3.
General Specifications
4 - 10
5.4 Program 5 - 14
5.4.1Classifications of Program 5 - 14
5.4.2 Program Execution Procedure 5 - 14
5.4.3 Interrupt Programs 5 - 15
5.4.4 Error Handling5 - 17
5.6 Function 5 - 23
5.6.1 Self-diagnosis 5 - 23
5.6.2 I/O Force On/Off function 5 - 24
5.6.3 Direct I/O Operation function 5 - 27
5.6.4 System error history 5 - 27
5.9.2 Usage 5 - 30
Chapter 6.
Chapter 9.
9.1 Installation 9 - 1
9.1.1 Installation Environment 9 - 1
9.1.2 Handling Instructions 9 - 3
9.1.3 Connection of Expansion Module 9 - 6
9.2 Wiring 9 - 7
9.2.1 Power Supply Wiring 9 - 7
9.2.2 Input and Output Devices Wiring 9 - 8
9.2.3 Grounding 9 - 9
9.2.4 Cable Specifications for wiring 9 - 9
Chapter 1 General
Chapter 1. General
1.1 Guide to Use This Manual
This manual includes specifications, functions and handling instructions for the MASTER-K120S series PLC.
This manual is divided up into chapters as follows:
No.
Title
Chapter 1
General
Chapter 2
System configuration
Chapter 3
General Specification
Chapter 4
Names of Parts
Chapter 5
Chapter 6
Chapter 7
Usage of Various
Contents
Describes configuration of this manual, unit's features and terminology.
Functions
Chapter 8
Communication Function
Chapter 9
Chapter 10
Maintenance
Chapter 11
Troubleshooting
Appendix 1
System Definitions
Appendix 2
Flag List
Appendix 3
Dimensions
REMARK
-. This manual does not describes the programming method. For their own functions, refer to the related user's
manuals.
1-1
Chapter 1 General
1.2. Features
1) MASTER-K120S series is extremely compact, to fit a wide range of applications and have following features.
(1) High speed processing
High speed processing of 0.1~0.9s/step with an general purpose processor included .
(2) Various built-in functions
The main unit can perform many functions without using separate modules. Therefore, It is possible to construct various
systems just using the main unit.
Fast Processing Applications
- Pulse catch: Allows the main unit to read a pulse which has width as small as 10 .
- High speed counter(Economic): Support high-speed counting up to 100(10)kHz for 1 phase, 50(5)kHz for 2 phase.
- External interrupts : Using in applications that have a high-priority event which requires immediate responses.
The input filter function help reduce the possibility of false input conditions from external noise, such as signal
chattering. The filter time can be programmed from 0 to 1000ms.
Using RS-232C and RS-485 built-in port, MASTER-K120S can connects with external devices, such as personal
computers or monitoring devices and communicate 1:N with MASTER-K120S system.
Using built-in PID control function, PID control system can be constructed without using separate PID module.
Using built-in Positioning function, position control system can be constructed without using separate position control
module.(only DRT/DT type has built-in positioning function)
(3) Battery-less
The users program can be saved permanently, because it is stored to EEPROM.
(4) When program is edited during processing, it is stored to EEPROM automatically
(5) Open network by use of communication protocols in compliance with international standard specifications.
(6) Various special modules that enlarge the range of application of the PLC
(7) It can easily do On/Off of the system, using RUN/STOP switch.
(8) It can easily save the user program in EEPROM by simple manipulation in KGLWIN without using external memory.
(9) Strong self-diagnostic functions
It can detect the cause of errors with more detailed error codes.
(10) It can prevent unintentional reading and writing, using password.
(11) Debugging function(Standard type)
On-line debugging is available when the PLC Operation mode is set to debug mode.
y executed by one command.
y executed by break-point settings.
y executed by the condition of the device
y executed by the specified scan time.
(12) Various program execution function
External and internal interrupt program as well as scan program can be executed by setting the execution condition.
Therefore, user can set variously program execution mode.
1-2
Chapter 1 General
1.3 Terminology
The following table gives definition of terms used in this manual.
Terms
Module
Unit
Definition
Remarks
Example)
A standard element that has a specified function which configures the
CPU module
system. Devices such as I/O board, which inserted onto the mother board
Power Supply module
or base unit.
I/O module
A single module or group of modules that perform an independent
Operation as a part of PLC system.
PLC system
A system which consists of the PLC and peripheral devices. A user program
can control the system.
KGLWIN
KLD-150S
A hand-held loader used for program creation, edit, compile and debugging
for MASTER-K series.
Internal memory area of the CPU module which used to hold I/O statuses.
FAM
Fnet
Fieldbus network
Cnet
RTC
1-3
Example)
Main unit
Chapter 1 General
Terms
Definition
Current flows from the switch to the PLC input terminal if a input signal turns on.
Sink Input
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
Output Contact
1-4
Remarks
Main unit
expansion
cable
10-120 points
number
Standard
Economic
3 modules
2 modules
of expansion
A/D-D/A module
3 modules
2 modules
modules
Analog timer
3 modules
2 modules
1 module
1 modules
Economic
K7M-DR10/14/20/30UE
Standard
K7M-DR//DRT/DT20/30/40/60U
Expansion
module
Analog timer
G7F-AT2A
G7F-RD2A
G7L-CUEB, G7L-CUEC
G7L-DBEA
G7L-FUEA
G7L-PBEA
Option
RTC
G7E-RTCA
module
Memory
G7M-M256B
Main unit
Items
Communic
ation
module
I/F
2-1
Monitoring Device
RS-232C
RS-485
(2) 1:1 ratio of an external device (monitoring unit) to main unit using a built-in RS-485 port
RS-485
MASTER-K120S
Monitoring Device
RS-232C
2-2
MASTER-K120S
G7L-CUEB
G7L-CUEB
MASTER-K120S
Modem
Modem
MASTER-K120S
Modem
G7L-CUEB
Modem
G7L-CUEC
MASTER-K120S
MASTER-K120S
G7L-CUEC
MASTER-K120S
RS-232C RS-485
Converter
Built-in RS-485
Built-in RS-485
Built-in RS-485
Main Unit
Power supply
Expansion Modules
Input signal
Power
supply
Input signal
Input
Input
DC24V
Power
supply
Comm. I/F
Special/communication
CPU
modules
Output
Output
Built-in
RS-485
Output signal
Output signal
Sub-system
CPU
Description
Signal processing function
-. Operating system function
-. Application program storage / memory function
-. Data storage / memory function
-. Application program execution function
Input
The input signals obtained from the machine/process to appropriate signal levels for
processing
Output
The output signals obtained from the signal processing function to appropriate signal
levels to drive actuators and/or displays
Power Supply
Communication
Interface
Provides for conversion and isolation of the PLC system power from the main supply
Provides the data exchange with other systems or PADT, such as KGLWIN, personal
computers
2-4
Models
12 DC inputs(24VDC)
K7M-DR20U
K7M-DR30U
8 relay outputs
18 DC inputs(24VDC)
High-speed counter :
12 relay outputs
K7M-DR60U
16 relay outputs
85~264 VAC
36 DC inputs(24VDC)
85~264 VAC
12 DC inputs(24VDC)
Main Unit
K7MDRT/DT20U
K7MDRT/DT30U
K7MDRT/DT40U
4/12 TR outputs
85~264 VAC
24 DC inputs(24VDC)
K7MDRT/DT60U
24 DC inputs(24VDC)
24 relay outputs
Remark
85~264 VAC
85~264 VAC
K7M-DR40U
Built-in Function
4/24 TR outputs
85~264 VAC
Models
K7M-DR10UE
K7M-DR14UE
4 relay outputs
85~264 VAC
8 DC inputs(24VDC)
High-speed counter :
6 relay outputs
85~264 VAC
Main Unit
12 DC inputs(24VDC)
K7M-DR20UE
8 relay outputs
85~264 VAC
K7M-DR30UE
Built-in Function
18 DC inputs(24VDC)
RS-232C communication
12 relay outputs
85~264 VAC
2-5
Remark
3) Expansion Modules
Section
Expansion
module
Items
Models
Description
G7E-DR10A
G7E-DR20A
G7E-DC08A
8 DC inputs
G7E-TR10A
10 Transistor outputs
G7E-RY08A
8 relay outputs
G7E-DR08A
G7F-ADHA
G7F-ADHB
G7F-AD2A
A/D : 4 channel
G7F-DA2I
G7F-DA2V
A/D-D/A
Combination module
A/D conversion module
Special
module
Analog timermodule
G7F-AT2A
RTD module
G7F-RD2A
Points : 4points
Digital output range : 0~200
Resistance temperature detactor
- 4 channel(Pt100, JPt100)
G7L-CUEB
RS-232C : 1 channel
G7L-CUEC
RS-422 : 1 channel
G7L-DBEA
G7L-FUEA
G7L-PBEA
RTC module
G7E-RTCA
External Memory
G7M-M256B
Remark
Slim Type
Slim Type
Slim
Type
Slim
Type
Slim
Type
* External memory G7M-M256 isnt supported in K120S series. Only G7M-M256B is available for K120S series.
2-6
Standard
type only
Standard
type only
Chapter 3
General Specifications
Item
Operating ambient
Temperature
Storage ambient
Temperature
Operating ambient
Humidity
Storage ambient
Humidity
Specifications
References
0 ~ 55 C
25 ~ +70 C
5 ~ 95%RH, non-condensing
5 ~ 95%RH, non-condensing
Occasional vibration
Frequency
10 f < 57Hz
57 f 150Hz
Vibrations
Frequency
10 f < 57Hz
57 f 150Hz
6
Shocks
Noise Immunity
Acceleration
9.8m/s2 {1G}
Continuous vibration
Acceleration
4.9m/s2 {0.5G}
Amplitude
0.075mm
Amplitude
0.035mm
Sweep count
IEC 61131-2
IEC 61131-2
Square wave
Impulse noise
1,500 V
LGIS Internal
Standard
Electronic
discharge
IEC 61131-2,
IEC 1000-4-2
Radiated
electromagnetic
field noise
IEC 61131-2,
IEC 1000-4-3
Atmosphere
Altitude
10
Pollution degree
11
Cooling method
Air-cooling
Item
Power supply
Digital I/O
(24V and up)
Voltage
2kV
1kV
Digital I/O
(less than24V)
Analog I/O
Interface
0.25kV
IEC 61131-2
IEC 1000-4-4
REMARK
1) IEC (International Electrotechnical Commission): An international civilian institute who establishes international standards in area of electric
and electronics.
2) Pollution degree: An indicator, which indicates pollution degree, which determine insulation performance of equipment.
* Pollution degree 2 : Normally, only non-conductive pollution occurs. Occasionally, however, a temporary conductivity caused by
condensation shall be expected.
3-1
BUILT_IN CNET
RUN
PAU/REM
STOP
OFF
ON
ROM MODE
RS-485
No.
Name
Description
Indicates status of power supply to the system
PWR LED
CPU
Condition
LED
ERR LED
4 -1
No
Name
Description
I/O LED
See Chapter 5.
RS-232C connector
4.1.1
1) K7M-DR60U
4 -2
3) K7M-DT60U
4.1.2
1) K7M-DR40U
4 -3
3) K7M-DT40U
4.1.3
1) K7M-DR30U
4 -4
3) K7M-DT30U
4.1.4
1) K7M-DR20U
4 -5
3) K7M-DT20U
4.1.5
1) K7M-DR30UE
4 -6
1) K7M-DR20UE
4.1.7
1) K7M-DR14UE
4.1.8
1) K7M-DR10UE
4 -7
1) G7E-DR20A
4.2.2
No.
Names
Input LED
Output LED
Input contact
Output contact
Expansion cable
No.
Names
Input LED
Output LED
Input contact
Output contact
Expansion cable
No.
Names
Output LED
Output contact
Expansion cable
1) G7E-DR10A
1) G7E-TR10A
4 -8
1) G7E-DC08A
No.
Names
Input LED
Input contact
Expansion cable
No.
Names
Output LED
Output contact
Expansion cable
2) G7E-RY08A
4 -9
No.
Names
RUN LED
Expansion Cable
2) G7F-ADHB
4 -10
No.
Names
RUN LED
Expansion Cable
No.
Names
RUN LED
Expansion Cable
2) G7F-DA2V
No.
Names
RUN LED
Expansion Cable
No.
Names
24V 24G
Input
RUN LED
Expansion Cable
Input
Select
CH3
CH2
CH1
CH0
CH0
CH1
CH2
CH3
V0 COM V1 COM V2 COM V3 COM
I0 I1 I2 I3
4 -11
No.
Names
RUN LED
Expansion Cable
No.
4 -12
Names
RUN LED
Expansion Cable
No.
Names
RS-232C connector
Expansion cable
No.
Names
RS-422/485 connector
Expansion cable
No.
Names
Expansion cable
2) G7L-CUEC
4 -13
No.
Names
Expansion cable
No.
Names
Expansion cable
4 -14
No.
Names
Option module
Connector
Input
Output(1)
Output(2)
K7M
DR/DRT/DT20U
K7M
DR/DRT/DT30U
Rated voltage
85 ~ 264 VAC
Rated frequency
50 / 60 Hz (47 ~ 63 Hz)
Rated current
0.5A(110VAC)/0.25A(220VAC)
Inrush current
Up to 30A
Efficiency
Input fuse
Permitted Momentary
power failure
10 ms
Output voltage
DC 5V
Output current
1.2A
Output voltage
DC 24V
Output current
0.2A
K7M
DR/DRT/DT40U
K7M
DR/DRT/DT60U
0.6A(110VAC)/0.3A(220VAC)
Up to 60A
2A
Input
Output(1)
Output(2)
K7M DR10UE
K7M DR14UE
Rated voltage
85 ~ 264 VAC
Rated frequency
50 / 60 Hz (47 ~ 63 Hz)
Rated current
0.3A(110VAC) / 0.15A(220VAC)
Inrush current
Up to 30A
Efficiency
Input fuse
Permitted Momentary
power failure
10 ms
Output voltage
DC 5V
Output current
0.5A
Output voltage
DC 24V
Output current
0.2A
K7M DR20UE
0.5A(110VAC) / 0.25A(220VAC)
1.2A
5-1
K7M DR30UE
Remarks
K7M-DR/DRT/DT20U
K7M-DR/DRT/DT30U
K7M-DR/DRT/DT40U K7M-DR/DR`T/DT60U
Program language
Numbers of instructions
Processing speed
0.1s/step
Program capacity
10ksteps
I/O points
20
30
40
60
P000 ~ P63F
I/O relay,TR.
M000 ~ M191F
Auxiliary relay
K000 ~ K31F
Keep relay
L000 ~ L63F
Link relay
F000 ~ F63F
Special relay
Memory
device
Timer
1msec : T251 ~ T255 (5 points)
-. Adjustable by parameter setting
C000 ~ C255
S00.00 ~ S99.99
Step controller
D0000 ~ D4999
Data register
Operation modes
Self-diagnosis functions
Data back-up method
Counter
Remarks
K7M-DR/DRT/DT20U
K7M-DR/DRT/DT30U
K7M-DR/DRT/DT40U
K7M-DR/DRT/DT60U
RS-232C - 1port
RS-485 - 1 port
No protocol support
Capacity
High-
Counter function
speed
counter
Built-in
function
Function
Operation
Specification
Positioning
Positioning
DRT / DT
Type Only
JOG
Pulse catch
External interrupt
Input filter
Weight (g)
540
5-3
660
850
Remarks
K7M-DR10UE
K7M-DR14UE
K7M-DR20UE
Program language
Numbers of instructions
Processing speed
0.4s/step
Program capacity
2ksteps
I/O points
K7M-DR30UE
10
14
20
30
P000 ~ P63F
I/O relay
M000 ~ M191F
K000 ~ K31F
Keep relay
L000 ~ L63F
Link relay
F000 ~ F63F
Special relay
Auxiliary relay
Memory
device
Timer
1msec : T251 ~ T255 (5 points)
-. Adjustable by parameter setting
C000 ~ C255
S00.00 ~ S99.99
Step controller
D0000 ~ D4999
Data register
Operation modes
Self-diagnosis functions
Data back-up method
Counter
5-4
Remarks
K7M-DR10UE
K7M-DR14UE
K7M-DR20UE
K7M-DR30UE
RS-232C - 1port
RS-485 - 1 port
RS-485 is available
on K7M-DR10/14UE
only
No protocol support
Capacity
Built-in
Function
Counter
High-speed
function
counter
Additional
function
Pulse catch
External interrupt
Input filter
Weight (g)
370
5-5
500
510
Stages
Processing
Operation Start
Initialization
Input conditions are read and stored into the input image area
before starts processing.
Program is sequentially executed from the first step to the last step
Program operation processing
The contents stored in the output image area is output to output part
when operation processing of a program is finished.
Stage for return processing after the CPU part has finished 1 scan.
END processing
5-6
REMARK
1) Momentary power failure
The PLC defining power failure is a state that the voltage of power has been lowered outside the allowable
variation range of it. The momentary power failure is a power failure of short interval (several to tens ms).
5-7
2) Flags
Scan time is stored in the following system flag area.
F50 : Maximum scan time (unit: 1 ms)
F51 : Minimum scan time (unit: 1 ms)
F52 : Current scan time (unit: 1 ms)
Watchdog timer is used to detect a delay which is attributable to abnormal operation of sequence program
(Watchdog time is set in menu of basic parameter of KGLWIN.)
2)
When watchdog timer detects an exceeding of preset watchdog time, the operation of PLC is stopped immediately
and all output is off.
3)
If an exceeding of preset watchdog time is expected in sequence program, use WDT instruction.
WDT instruction make elapsed watchdog time as zero.
4) In order to clear watchdog error, restarting the PLC or mode change to STOP mode are available.
REMARK
-. Setting range of watchdog : 10 ~ 6,000ms(unit : 10ms)
5-8
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, the timer output relay 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
t4+PT
t0+PT
t5
Pre value
Current value
t0
t1
t2
t3
t4
t5
t2
t1
t3
t4
t5
t1 + PT
PT
t5 + PT
PT
Preset value
Current value
5-9
t1
t2
t5
t4
Preset value
Current value
t0
t2
t1
t3
t5
t5+PT
4) Monostable timer
In general, its operation is same as off-delay timer. However, the change of input condition is ignored while the timer is
operating (decreasing). When current value reaches preset value the timer output relay is turned off and current value is
cleared.
t2
t1
t4
t3
t2
t0+PT
t2+PT
t4
Preset value
Current value
t0
t1
t2
5-10
t4
t4+PT
REMARK
The Maximum timing error of timers of MASTER-K series is 1 scan time + the time from 0 step to timer instruction
5-11
1) Up counter (CTU)
-. The counter output relay is turned on when the current value reaches the preset value.
-. When the reset input is turned on, the counter output relay and current value is cleared as 0.
3) Up-down counter
-. 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 relay is turned on when the current value is equal or greater than the preset value otherwise off.
5-12
5)
n
1
( times/sec)
100 ts
(2) Duty
Duty is the ratio of the input signals on time to off time as a percentage.
OFF
T1
T2
ON
OFF
If T1 T2,
n=
T1
100 (% )
T1 + T2
If T1 > T2,
n=
T2
100 (% )
T1 + T2
5-13
5.4 Program
5.4.1 Classifications of Program
All functional elements need to execute a certain control process are called as a program. In MASTER-K120 series, a
program is stored in the EEPROM mounted on a CPU module or flash memory of a external memory module. The following
table shows the classification of the program.
Program type
Scan program
Time-driven interrupt
program (TDI)
Description
The scan program is executed regularly in every scan
The TDI programs are executed with a constant time interval specified with parameter setting.
The PDI programs are executed when external interrupt input is applied and the corresponding
program (PDI)
This interrupt programs are executed when comparison task signal is applied.
interrupt program(HSCDI)
Subroutine program
The subroutine programs are executed when they are called by the scan program with a CALL
instruction.
Start processing
Subroutine program
PDI program
Scan program
TDI program
HSCDI program
END processing
5-14
2) Interrupt program
-. When an interrupt occurs, the CPU module will stop the current operation and execute the corresponding interrupt routine
first. After finish the interrupt routine, the CPU resume the sequence program from the stopped step.
-. MASTER-K102S series provides 3 types of interrupt.
The TDI (Time driven interrupt) occurs with the constant period
The PDI (Process driven interrupt) occurs with the status of external input.
The HSCDI(High speed counter driven interrupt) occur with comparison task signal from high speed counter.
(Standard type only)
Scan Program
2
7
Interrupt routine 1
Interrupt routine 2
Program starts
Interrupt 2 occurs
3
4
5-15
5-16
REMARK
Total available interrupt points is 8(In standard type).
-. Time driven interrupt + process driven interrupt + high speed counter driven interrupt 8 points
Interrupt signal is ignored when self-interrupt occurs more than 2 times during interrupt processing is executing.
ignored
5-17
REMARK
1)
In occurrence of a error, the state is to be stored in the representative system error flag F006.
5-18
5.5
Operation Modes
The CPU operates in one of the four modes - RUN, STOP, PAUSE and DEBUG mode. The following describes ope
ration processing in each operation mode.
5-19
5-20
Description
When executed, Stop operation after executing one instruction
executed by break-point
settings.
executed by the
condition of the device
executed by the
specified scan time
4) Operation method
(1) Execute the operation after the debug operation conditions have been set in the KGLWIN.
(2) In interrupt programs, each task can be specified to operation enable/disable.
For detailed operation method, refer to the KGLWIN Users Manual Chapter 9.
2) Operation mode change by the mode-setting switch of CPU module.(Standard type only)
The following shows the operation mode change by the mode-setting switch of CPU module.
Mode setting switch position
Operation mode
RUN
Local RUN
STOP
Local STOP
STOP
PAU / REM
PAU / REM
RUN
RUN
PAU / REM * 2
Local PAUSE
PAU / REM
STOP
Local STOP
Remote STOP
Local RUN
REMARK
-. If the operation mode changes from RUN mode to local RUN mode by the mode setting switch, the
PLC operates continuously without stopping.
5-21
PAU / REM
Mode Change
5-22
5.6 Functions
5.6.1 Self-diagnosis
1) Functions
(1) The self-diagnosis function permits the CPU module to detect its own errors.
(2) Self-diagnosis is carried out when an error occurs during PLC power supply is turned on or operating process.
If an error is detected, the system stops operation to prevent faulty PLC operation.
WDT
WDT Reset
WDT Reset
END
WDT Reset
4) Error history
When error occurs, Corresponding error code is stored in special relay F006.
5-23
END
5.6.2
It is possible to input/output a designated data regardless of the program operation results. When used with OUTOFF
instruction simultaneously, OUTOFF is prior to I/O Force On/Off.
Click
5-24
Click
5-25
Special Device
M1910
D4700 ~ D4763
D4800 ~ D4863
REMARK
-. For detailed operation, refer to the KGLWIN users Manual Chapter 7 Force I/O setting.
5-26
This function is useful when reads an input relays state directly during execution of a program and uses in the operation, or
write the operation result directly to an output relay. Direct input/output is executed by the IORF instruction. If this instruction is
used, the input/output image area will be directly updated and applied to the continuing operations.
REMARK
-. For detailed operation, refer to the MASTER-K Manual for instruction.
5.6.4
When the system is stopped by error occurrence, the CPU stores the error occurrence time and error code to the special data
register area. The most recent 16 error occurring times and error codes are stored in the special data register.
Device
Description
1st
D4901 ~ D4904
The
D4905 ~ D4908
error information,
:
D4961 ~ D4964
:
The 16th error information
Contents
Description
D4900
H0001
D4901
H0305
D4902
h2812
D4903
h3030
D4904
h0001
REMARK
Refer to the KGLWIN users Manual Chapter 7, for details.
5-27
5.7
Memory Configuration
The CPU module includes two types of memory that are available by the user. One is program memory, which is
used to store the user programs written to implement a system by the user. The other is data memory, which sto
res data during operation.
Bit Data Area
0
P00
D0000
I/O relay
P63
M000
M191
K00
(3,040 points)
F63
L00
L63
(512 points)
T000
M
T255
T000
T255
C000
C255
C000
C255
S00
Timer (100ms)
T250
T251
192 points
(256 words)
(256 words)
(256 words)
(256 words)
Step Controller
S00.00~S99.99
Timer (10ms)
59 points
Timer (1ms)
T255
C000
5 points
Counter
C255
Word
User Program Area
(economic type : 2ksteps)
T000
T191
T192
Link relay
(1,024 points)
Special relay
(1,024 points)
Data Register
(10ksteps)
Keep relay
K31
F00
FFFF
D4500
D4999
Auxiliary relay
M189
M190
0000
5-28
Mounting module
remark
Communication module
Expansion #1
Expansion #2
Expansion #3
Special
I/O
Allocation
Remark
Input
P000 ~ P03F
Fixed 64 points
Output
P040 ~ P07F
Fixed 64 points
Input
P080 ~ P08F
Fixed 16 points
Output
P090 ~ P09F
Fixed 16 points
Input
P100 ~ P10F
Fixed 16 points
Output
P110 ~ P11F
Fixed 16 points
Input
P120 ~ P12F
Fixed 16 points
Output
P130 ~ P13F
Fixed 16 points
None
A/D,A/T,Communication
5-29
BUILT_IN CNET
Terminal block cover
OFF
ON
ROM MODE
5.9.2 Usage
Dip switch position
Description
ON
ROM MODE
Upper switch is for Cnet.
OFF
ON
ROM MODE
* The lower switch is for O/S download setting. Dont handle this switch.
5-30
Driver
Dip switch
Terminal block cover
5-31
5.10.1 Structure
Installation connector
5.10.2 Usage
1) Saving the users program on the external memory module.
(1) Turn the power of the base unit off.
(2) Install the memory module.
-. When only main unit is used : Connect to the expansion connector of the basic unit.
-. When expansion units are used : Connect to the expansion connector of the last connected expansion unit.
(3) Turn the power of the main unit on.
(4) Connect KGLWIN and PLC.
(5) Select Online Read Information I/O Information in menu, and the following message box will displayed
5-32
1) When the PLC restarts, it always operated with the external memory module automatically if external memory is
connected.
2) Remove after writing is finished.
5-33
5.11.1 Structure
Installation connector
5.11.2 Usage
1) Read RTC data
(1) Read RTC data from KGLWIN
-. Select Online Write Information Set PLC Clock in menu.
5-34
Upper byte
Lower byte
Data
(BCD format)
F053
Month
H0207
F054
Day
Hour
H2313
F055
Minute
Second
H5020
F056
Date
H2002
Upper byte
Lower byte
Data
(BCD format)
D4993
Month
H0207
D4994
Day
Hour
H1011
D4995
Minute
Second
h5324
Date
H2001
D4996
Higher 2 digits of year
Example : 2002. 7. 10. 11:53:24, Monday
* M1904 : RTC data change bit
When the M1904 bit is switched on, the new data in D4993 ~ D4996 will be moved to F53 ~ F56. After data is
moved, M1904 has to be switched off immediately because current data will be updated every scan while
M1904 is on.
3) Date expression
Number
Date
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
REMARK
1)
If RTC stops or error occurs, write new data to the RTC then error is called off.
2)
3)
Before using RTC module, write clock data to the RTC first
5-35
Chapter 6
(
Frequency
100
10,000)
50
30
20
10
AC 125V r/load
DC 30V r/load
AC 250V r/load
0.5
10
6-1
100(A)
Chapter 6
Model
K7M-DR10UE
Specification
K7M-DR14UE
K7MDR/DRT/DT30U
K7M-DR30UE
K7MDR/DRT/DT40U
K7M-DRT40U
K7MDR/DRT/DT60U
K7M-DRT60U
12 points
18 points
24 points
36 points
6 points
Insulation method
Photo coupler
DC 24V
100% simultaneously On
On voltage / On current
Input impedance
Response time
8 points
K7MDR/DRT/DT20U
K7M-DR20UE
0,1,2,5,10,20,50,100,200,500,1000ms
(Default : 10ms)
On Off
0,1,2,5,10,20,50,100,200,500,1000ms
(Default : 10ms)
Common terminal
6 points / COM
8 points/COM
Operating indicator
12 points/COM
18 points/ COM
12points/COM
18points/COM
2) Circuit diagram
R
R C
COM
Internal
Standard Type
P000 ~ P001
circuit
Economic Type
None
R
COM
Internal
circuit
6-2
Standard Type
P002 ~
Economic Type
P000 ~
Chapter 6
3) Input wiring
Main units wiring method is as follows. DC input specifications offered by MASTER-K120S is to be used for both electric
current sink and electric current source.
(1) Main unit
DC24V
6-3
DC24V
Chapter 6
External device
Input
Contact points
Relay
IN
7mA
Sensor
COM
Power for
sensor
IN
Output
7mA
0V
COM +
Output
IN
7mA
0V
Power for
sensor
COM +
Power for
sensor
Output
IN
7mA
0V
COM -
COM +
Output
IN
0V
Power for
sensor
6-4
Chapter 6
Model
Specification
Number of input points
G7E-DR10A
G7E-DC08A
G7E-DR20A
6 points
8 points
12 points
Insulation method
Photo coupler
DC 24V
7 mA
100% simultaneously On
On voltage / On current
Input impedance
Approx. 3.3 k
Response time
Off On
0,1,2,5,10,20,50,100,200,500,1000ms
(Default : 10ms)
On Off
0,1,2,5,10,20,50,100,200,500,1000ms
(Default : 10ms)
Common terminal
6 points / com
4 points / com
Operating indicator
12 points / com
2) Circuit diagram
Its the same with the one for the main unit.
3) Input wiring
DC24V
DC24V
6-5
Chapter 6
Main Unit
K7M-DR20U
(K7M-DRT20U)
K7M-DR30U
(K7M-DRT30U)
Output point
8 points(4 points)
Insulation method
Relay insulation
DC5V / 1mA
AC250V, DC110V
1,200 times/hr
Surge Absorber
None
Mechanical
12 points(8 points)
K7M-DR40U
(K7M-DRT40U)
16 points(12 points)
Life
Electrical
Response
Off On
10 ms or lower
time
On Off
12 ms or lower
Operation indication
6-6
K7M-DR60U
(K7M-DRT60U)
24 points(20 points)
Chapter 6
Main Unit
K7M-DR10UE
K7M-DR14UE
Output point
4 points
Insulation method
Relay insulation
DC5V / 1mA
AC250V, DC110V
1,200 times/hr
Surge Absorber
None
Mechanical
6 points
K7M-DR20UE
8 points
12 points
Life
Electrical
Response
Off On
10 ms or lower
time
On Off
12 ms or lower
Operation indication
2) Circuit
L
Internal
circuit
Relay
L
COM
6-7
K7M-DR30UE
Chapter 6
3) Output wiring
(1) Main unit
L
L
DC5V
DC24V
6-8
L
L
L
L
L
L
L
L
AC110/220V
L
L
L
L
DC24V
L
L
L
L
DC24V
Chapter 6
Main Unit
K7M-DRT/DT20U
K7M-DRT/DT30U
4 points / 8 point
Insulation method
DC12/24V
DC10.2 ~ 26.4V
Surge Absorber
Zener diode
Inrush current
0.2 ms or lower
time
On Off
0.2 ms or lower
Operation indication
4 points / 16 point
K7M-DRT/DT60U
Output point
Response
4 points / 12 point
K7M-DRT/DT40U
4 points / 24 point
P40,P41
24V
Internal
TR1
Circuit
R2
R
3
P42,P43
24V
P/C
Internal
TR1
Circuit
R2
R
3
REMARK
1) Output TR P000 ~ P003 of DRT Type(K7M-DRT20/30/40/60U) are for positioning function.
2) They also can be used as general transistor output, but cant be used for AC load. When used for AC loads, they can be destroyed.
6-9
Chapter 6
2) Output wiring
AC100-240V
FG
P40
P41
P42
P43 COM3
L L
DC12V/24V
6-10
Chapter 6
Model
Specifications
G7E-DR10A
G7E-DR08A
G7E-RY08A
G7E-DR20A
Output point
4 points
8 points
Insulation method
Relay insulation
DC5V / 1mA
AC250V, DC110V
1,200 times/hr
Surge Absorber
None
Mechanical
Life
Electrical
Response time
10 ms or lower
Off On
12 ms or lower
On Off
Operation indication
2) Circuit
Its the same with the output circuit of the main unit.
3) Output wiring
DC5V DC24V
AC110/220V
DC5V/24V
6-11
AC110/220V
Chapter 6
Expansion Module
Model
Specifications
G7E-TR10A
Output point
10 points
Insulation method
DC12V/24V
DC10.2 ~ 26.4V
0.1mA or lower
4A/10ms or lower
DC 1.5V or lower
Surge Absorber
Clamp diode
Response time
Off On
2 ms or lower
On Off
2 ms or lower
Common method
10 points/ 1COM,
Operation indication
DC12/24V
L L L L L
L L L L L
REMARK
1) Refer to 7.2 Special Functions for the special modules
6-12
Counter mode
Additional
function
Preset function
Latch counter
Comparison output
RPM function
Description
Linear counter : Up/Down counter.
Counting range is from -2,147,483,648 to 2,147,483,647
Ring counter : Counter value rotates from 0 to (set value-1)
4 counter functions as followings
1-phase operation mode
1-phase pulse + direction mode : Up / down is selected by direction pulse
2-phase CW/CCW mode : Up / down is selected by CW or CCW pulse input
2-phase multiplication mode : Up / down is automatically selected by the phase
difference between A-phase and B.(multiplied by 4)
Change current value to preset value.
Latches current value.
When current value is equal to comparison value, turns on the output contact points or
executes interrupt program
Calculate the RPM(Rotates Per Minute) of input pulse
1) Performance Specifications
Items
Points
Max. counting speed
Input types
Counting ranges
1-phase
1-phase Pulse +
direction input
Up / Down
2-phase
selection
CW/CCW mode
2-phase
multiplication mode
Additional function
Specifications
Standard Type
Economic Type
1 phase : 4 points, 2 Phase : 2 points
1 phase : 2 points, 2 Phase : 1 points
1-phase 100kHz/ 2-phase 50kHz ( Ch0, Ch1) 1-phase 10kHz/ 2-phase 5kHz
1-phase 20kHz/ 2-phase 10kHz ( Ch2, Ch3)
( Ch0, Ch1)
A-Phase, B-Phase, Preset input
from -2,147,483,648 to 2,147,483,647(Binary 32 bits)
Up counter
A-Phase : Input pulse, B-Phase : Direction pulse
A-Phase : Up counting pulse, B-Phase : Down counting pulse
Auto-select by phase difference of A-phase and B
Ring counter, Latch counter, Preset, Comparison output, RPM function
2) Input specification
Items
Specifications
Items
Specifications
Rated input
24VDC (7mA)
Rated input
24VDC (7mA)
On voltage
20.4 ~ 28.8VDC
On voltage
20.4 ~ 28.8VDC
Off voltage
6VDC or lower
A / B phase
Preset input
Off voltage
6VDC or lower
7-1
On delay time
200 or lower
200 or lower
Input pulse
Preset input
BUILT_IN CNET
OFF
ON
ROM MODE
P00
No.
Terminal
P10 COM0
P23 COM1
P0F P11
Names
Usage
No.
1Phase
2Phase
1Phase
2Phase
P00
Ch0 Input
P01
Ch1 Input
P02
Ch2 Input
P03
Ch3 Input
P04
P05
P06
P07
COM0
Input Common
No.
Terminal
Names
Usage
No.
1Phase
2Phase
1Phase
2Phase
P00
Ch0 Input
P01
Ch1 Input
P02
P03
7-2
Termi
nal
No.
Internal circuit
3.3 k
Input
1Phase
2Phase
Ch0
Input
pulse
Ch1
Input
pulse
Ch0 A
Phase
Input
Ch0 B
Phase
Input
P02
Ch2
Input
pulse
Ch2 A
Phase
Input
P03
Ch3
Input
pulse
Ch2 B
Phase
Input
P00
P01
3.3 k
3.3 k
3.3 k
COM
0
3.3 k
Input
Ch0
Preset
input
P06
Ch2
Preset
input
Ch2
Preset
input
P07
Ch3
Preset
input
P05
3.3 k
3.3 k
COM
0
Operati
on
Input warranted
voltage
On
20.4~28.8V
Off
6V or lower
On
20.4~28.8V
Off
6V or lower
On
20.4~28.8V
Off
6V or lower
On
20.4~28.8V
Off
6V or lower
On
20.4~28.8V
Off
6V or lower
On
20.4~28.8V
Off
6V or lower
On
20.4~28.8V
Off
6V or lower
On
20.4~28.8V
Off
6V or lower
Common
Ch0
Preset
input
Ch1
Preset
input
P04
3.3 k
Signal name
Common
5) Wiring instructions
A high speed pulse input is sensitive to the external noise and should be handled with special care. When wiring the built-in
high speed counter of MASTER-K120S, take the following precautions against wiring noise.
(1) Be sure to use shielded twisted pair cables. Also provide Class 3 grounding.
(2) Do not run a twisted pair cable in parallel with power cables or other I/O lines which may generate noise.
(3) Before applying a power source for pulse generator, be sure to use a noise-protected power supply.
(4) For 1-phase input, connect the count input signal only to the phase A input; for 2-phase input, connect to phases A and B.
7-3
Pulse
Generator
Pulse Generator
CHSC
A
B
COM
24VG
CHSC
COM
PulsePulse
Generator
Generator
24VG
7-4
7) Instruction(HSCST)
HSCAST
Instruction
No. of
S
#D
CV
Error
(F110)
7/9
Zero
(F111)
Carry
(F112)
Designation
Flag set
S
Error
steps
SV
(F110)
integer
Flag
SV
CV
HSCST S SV CV
(1) Functions
When input condition turns on, corresponding high speed counter is enabled.
When input condition turns off, high speed counter stop counting and turns output point off . The current value is retained.
The high speed counter can counts from -2,147,483,648 to 2,147,483,647(binary 32bits).
When current value is greater than set value, output point F17*(* is channel number) turns on and it turns off when current
value is less than set value.
If current value is greater than 2,147,483,647, carry flag F18* turns on and and it turns off when input condition turns off.
If HSC designated as ring counter, carry flag is set when current value reaches set value.
If current value is smaller than -2,147,483,648, borrow flag F19* turns on and and turns off when input condition turns off
If designated as ring counter, if current value is 0, borrow flag is set at next pulses rising edge and current value goes set
value 1(in down counter mode)
(2) Error code
Code
Error
Corrective Actions
When Ch0 is set as 2-Phase, Ch 1 cant be used and Ch3 cant be
H10
H11
H12
H13
7-5
8) Parameter Setting
(1) Format setting
2,147,483,647
Current value
0
Decreasing
Increasing
-2,147,483,648
Borrow occurs
(b) Ring counter
Carry occurs
Current value
0
Decreasing
Borrow occurs
Increasing
7-6
Current value
High
Low
10
11
10
10
11
12
7-7
11
10
10 11 12 13 14 15 16 17 18
17 16 15 14 13
If this function is enabled, Current value of high speed counter is always retained.
Current value
- When power supply is off.
- When is Stop or Pause
- When input condition of
HSCST is off
Time
Latches CV
Latches CV
Input pulse
Output Contact
Current value
98
99
100
7-9
101
102
Input pulse
Output point
Current value
999
1000
2000
7-10
2001
Input pulse
Current value
D0, D1
Time
1000
2000
500
1000ms
7-11
2001
1000
2000ms
4000
2000
3000ms
SV2 : 20,000
7-12
(2) Programming
When M0 turns on, HSC starts its operation
If current value is not less than 50,000, F170 turns on.
Current value is saved in D0(double word).
Remark
The contact point which is designated as HSC input cant be used for pulse catch or external interrupt.
Duplicated designation may cause faults.
7-13
1) Usage
When narrow width of pulse signal is input, a trouble occurs which can not be detected by general digital input, so the
operation does not perform as user's intention. But in this case through pulse catch function even narrow interval of pulse
signal as 10 min. can be detected.
Standard
Economic
10
None
50
3) Operating Explanation
10
input signal
input image data
scan 1
step
scan 2
scan 3
executing contents
scan1
CPU senses input when pulse signal, min. 10 , is input, then saves the status.
scan2
scan3
4) using method
(1) click twice the basic parameter on the project window of KGLMIN
(2) Select no. to use for pulse catch input of the basic parameter window.
For details of KGLWIN refers to the manual.
7-14
Remark
1) Pulse catch input contact points operate as general digital input if they are not designated as pulse catch input.
2) Do not designate HSC input points as pulse catch input.
7-15
1) Usage
Input signal status affects to the credibility of system in where noise occurs frequently or pulse width of input signal affects
as a crucial factor. In this case the user sets up the proper input on/off delay time, then the trouble by miss operation of input
signal may be prevented because the signal which is shorter than set up value is not adopted.
2) Operating Explanation
Input on/off delay time.(filter time)
input signal
input signal
3) Using method
(1) Click twice the basic parameter on the project window of KGLWIN.
(2) The value of filter can be set up as one of 0,1,2,5,10,20,50,100,200,500,1000ms to the input on/off delay time of the
basic parameter window.(Input on/off delay time is set up as default value of 10ms)
(3) Set up input on/off delay time is conformed to all input is used.
7-16
1) Usage
This function is useful to execute a high speed execution regardless of scan time.
Standard
Economic
10
None
50
3) Operating explanation
Scan program
External contact
interrupt program.
4) Function
(1) Max. 8 points can be used to external interrupt input within P000 ~ P007.(P000~P003 for economic type)
(2) The no. of external interrupt is decreased by using other interrupt (time driven interrupt and HSC driven task)
(3) The execution conditions of external interrupt is divided into following 3 kinds.
- Rising edge : Interrupt occurs at rising edge of external Interrupt contact point.
- Falling edge : Interrupt occurs at falling edge of external Interrupt contact point.
- Rising & falling edge : Interrupt occurs at both edge of external Interrupt contact point.
(4) In the economic type, falling edge and rising & falling edge interrupt are not available.
7-17
Rising
Falling
Rising/Falling
7-18
Set Value
Present Value
MV
SV
PID
calculation
Manipulation
value
D/A
Automated MV
converting
module
Control
object
PV
A/D converting
module
Sensor
7-19
MV = Kp [SV PV ] where, Kp : the proportional constant (gain), SV: set value, PV: present value
When E happens, MV by P operation is like Fig.7.1
: Deviation
: Manipulating value
Deviation(E)
If the Kp is too large, the PV reaches to the SV swiftly, but it may causes a bad effect like oscillations.
If the Kp is too small, oscillation will not occur. However, the PV reaches to the SV slowly and an offset may
appear between PV and SV shown in the Fig. 7.2.
The manipulation value (MV) varies from 0 to 4,000. User can define the maximum value of MV (MV_MAX) and
minimum value (MV_MIN) within the range 0 ~ 4,000.
When an offset remains after the system is stabilized, the PV can be reached to the SV by adding a certain value.
This value is called as bias value, and user can define the bias value
: Kp is too large
PV
Oscillation
: Kp is too small
SV
Offset
Time
Fig. 7.2 The relation between Proportional constant (Kp) and prosent value (PV)
7-20
MV =
Kp
Edt
Ti
As shown in the expression, Integral action can be made stronger or weaker by adjusting integration time (Ti) in
I action. That is, the more the integration time (the longer the integration time) as shown in Fig. 7.4, the lesser the
quantity added to or subtracted from the MV and the longer the time needed for the PV to reach the SV.
As shown in Fig. 7.5, when the integration time given is short the PV will approach the SV in short time since the
quantity added or subtracted become increased. But, If the integration time is too short then oscillations occur,
therefore, the proper P and I value is requested.
Integral action is used in either PI action in which P action combines with I action or PID action in which P and D
actions combine with I action.
7-21
Fig. 2.5 The system response when a long integration time given
Fig. 7.4 The system response when a long integration time given
Fig. 2.6 The system response when a short integration time given
Fig. 7.5 The system response when a short integration time given
(c) Derivative operation (D action)
When a deviation occurs due to alteration of SV or external disturbances, D action restrains the changes of the
deviation by producing MV which is proportioned with the change velocity (a velocity whose deviation changes at
every constant interval) in order to eliminate the deviation.
D action gives quick response to control action and has an effect to reduce swiftly the deviation by applying a large
control action (in the direction that the deviation will be eliminated) at the earlier time that the deviation occurs.
D action can prevent the large changes of control object due to external conditions.
The period of time from when the deviation has occurred to when the MV of D action become the MV of P action is
called derivative time and represented as Td.
7-22
MV = Kp Td
dE
dt
Derivative action is used only in PID action in which P and I actions combine with D action.
(d) PID action
PID action controls the control object with the manipulation quantity produced by (P+I+D) action
PID action when a given deviation has occurred is shown as the following Fig. 7.7.
PV
SV
10
MV
Integral
Term
7-24
SV : set value
PV : present value
(b) I control
The continuous formula of I control is as following;
I (t ) =
K
Ti
e(s)ds
: integral term
Ti : integral time
dI K
= e where, e = (SV PV) : deviation value
dt Ti
The digitized formula is as following;
I (n + 1) I (n) K
= e( n )
h
Ti
Kh
I (n + 1) = I (n) +
e( n )
Ti
(c) D control
The continuous formula of derivative term is as following;
Td d
dy
D + D = KTd
N dt
dt
N : high frequency noise depression ration
y : the object to be controlled (PV)
(3) Instruction and parameter setting
For the PID operation of MASTER-K120S, following 2 instruction are included in the KGLWIN software.
No.
Name
Description
PID8
PID8AT
7-25
Scan time
Scan time is the period of reading data (sampling), and also 10 times scaled up. The range of sampling time is
0.1 ~ 10 seconds, and actual input range is 0 ~ 100. Generally, Scan time of Digital PID control should be less
than 1/10 of time constant of system response for better performance. Time constant is the time taken the
systems step response reaches to the 63% of steady state.
Operation mode
Select automatic or manual operating mode
Manual operate range
When manual operation is designates , manual operation value designates.(input range : 0 ~ 4000)
Output limit value
Designate minimum and maximum values of available manipulate value.(range : 0 ~ 4000)
High frequency noise removal ratio
high frequency noise removal ratio is used for derivative control operation, and shows the ratio of high
frequency noise depression. If there is a lot of high frequency noise in the control system, select the value as
higher value.
Otherwise, leave the 1. The range of parameter is 0 ~ 10 and it is not scaled up, so input the designated value
directly.(it is possible that parameter value designates D area also)
.
7-26
EN_P
EN_I
1 (enable)
0 (disable)
0 (disable)
EN_D
PWM output
Operation
1 (enable)
1 (enable)
0 (disable)
1 (enable)
1 (enable)
1 (enable)
PID operation
1 (enable)
0 (disable)
0 (disable)
P operation/PWM output
1 (enable)
1 (enable)
0 (disable)
1 (enable)
1 (enable)
1 (enable)
0 (disable)
0 (disable)
0 (disable)
P operation
0 (disable)
1 (enable)
PI operation
PI operation/PWM output
PID operation/PWM output
0 (disable)
On/Off operation
PWM set
PWM(Pulse Width Modulation) is a output method which changes on-off duty of output pulses by calculated
manipulation value. Fig 7.9 shows example of PWM output. Using PWM output, PID control system can be
constructed easily without D/A conversion module and power regulator.
When PWM is designates , scan time item is disabled and PWM items can be designated. In this case, scan
time is set to designated PWM output period. The range of PWM output period is 1 ~ 10 seconds, and actual
input range is 10 ~ 100. PWM output point is only available for output contact of main unit.
Example) PWM output period : 1s, Output contact : P40, MV limit range : 0~4000
MV = 2000
0.5s
0.5s
MV = 1000
0.25s
0.75s
On
P40
Time
7-27
SV Ramp is designates
SV Ramp * Scan time
Current SV
Time
Delta MV
This is useful when wants to limit maximum change of manipulation value.
Setting range is 0 ~ 4000 and default value is 4000.
Bias
The Bias data is used for the compensation of offset in the proportional control. The range of input is 0 ~ 4000.
Be cautious that The actual range of Bias is 2000 ~ 2000. namely, 0~2000 represents 0 ~ +2000 and 2001 ~
4000 represents -1 ~ -2000.
Example> If offset(SV-PV) is 100 Bias should be 100.
If offset(SV-PV) is -100 Bias should be 2100.
SV(Target) and PV(Current)
SV (setting value : the designated value) and PV (process value : present value) of MK120S PID operation have
the range 0 ~ 4000. The range is set with the consideration of the resolution of A/D and D/A module of MK120S
series (12bits) and offset value.
PID Algorithm
In MASTER-K120S, two type of PID algorithm is available, The velocity form(Speed) and positioning form.
Velocity form(Speed) operates incremental manners. Namely, It calculates the change( n) required from
previous manipulate value(MVn-1), But positioning form calculates an absolute manipulate value(MVn) every
sampling steps. Generally, The velocity form is suit for the system whichs load change is slow like temperature
control system, and positioning form is useful for system whichs load change is fast.
7-28
Scan time
S_TIME is the period of reading data (sampling), and 10 times scaled up for more precious operation.
The range of sampling time is 0.1 ~ 10 seconds, and actual input range is 0 ~ 100.
Control target(SV)
SV (set value : the designated value) and PV (process value : present value) of MASTER-K120S PID operation
have the range 0 ~ 4000. The range is set with the consideration of the resolution of A/D and D/A module of
MASTER-K120S series (12 bits) and offset value. When setting the SV or PV, please be careful convert the
analog value of control object (temperature, velocity, etc.) to digital value that are the output of A/D convert
module.
When using sensor and A/D conversion module
Assume that PID control is used for temperature control with Pt100 (operation range : -200 C ~ 600 C),
and the goal value is 100 C. The equivalent digital output of A/D module (current input range : 4 ~ 20mA) is
1500 if the A/D module outputs 0 (4mA) with -200 C, and 4000(20mA) with 600 C. Therefore, the input of
SV should be 1500, not 100.
When using sensor and RTD module(G7F-RD2A)
Assume that PID control is used for temperature control with Pt100 (operation range : -200 C ~ 600 C),
and the goal value is 100 C. The digital output of RTD module is calculated as below.
DigitalOutput =
Temp. 10 + 2000
2
7-29
e Ls
Ts + 1
Obtained parameters may not accurate if the process cant approximated to 1st order system, In this
case, use relay response method.
Time delay(L)
4000
MV
80% of SV
63% of SV
Time constant(T)
7-30
PID Control
Available device
Instruction
No. of
S
S1
Error
(F110)
#D
integer
Steps
Error
(F110)
Zero
(F111)
Designation
Flag set
PID8
Flag
S1
S1
a) Usage
when the condition of execution is on, PID operation executes.
n is registration No.at parameter( 0 ~ 7)
b) Example program
When the input condition M0 turns on, PID operation executes at no.2 parameter.
PID execution status registrate D0000 and the output value of control result registrate D0001
If SV Ramp is designated, current SV is registrate D0005
bF bE bD bC bB bA b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
D0000
7-31
Carry
(F112)
(2) PID8AT
PID8AT
Available device
Instruction
No. of
S
S1
integer
steps
5
Zero
(F111)
Carry
(F112)
Designation
Flag set
Error
(F110)
PID8AT
#D
Flag
Error
(F110)
S1
S1
a) Usage
when the condition of execution is on, PID auto tuning operation executes and calculates P,I,D constant
n is registration No.at parameter( 0 ~ 7)
S1 is execution status and P,I,D constant registration area
b) Example program
When the input condition M0 turns on, PID operation executes at no.2 parameter.
PID execution status stores D0000 and the output value of control result stores D0001 and P,I,D constant sequentially
store D002(P),D003(I),D004(D)
bF bE bD bC bB bA b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
D0000
Auto tuning end bit
Done : normal execution signal
7-32
G7F-
G7F-DA2I
MASTER-K120S
RD2A
RS-232C
(PV : temperature)
KGL-WIN
V3.5 above
(MV: 4~20mA)
Electric Oven
Heater
TPR
7-33
b)
operation parameters
Scan time : S_TIME=5 (sampling time = 0.5 seconds)
Auto / Manual operation setting : Auto
Output limit : Max. = 4000, Min = 0
High frequency noise removal ratio : 10
SV setting : 1300(60C ),1350(70C ),1400(80C ),1500(100C)
Current value setting : D4780(Digital value of RTD module Ch0)
BIAS setting : 0 (If only P control is used, input proper value other 0)
EN_P, EN_I, EN_D setting: input proper values
PWM setting : If enabled, input proper values.
SV Ramp setting : Input proper values.
Delta MV setting : Input proper values.
PID Algorithm setting : Select proper algorithm.
c)
d)
7-34
e)
Program Explanation
When the input condition M0 turns on, PID operation executes at no.0 parameter.
PID execution status registrate D0000 and the output value of control result registrate D0001
If SV Ramp is designated, current SV is registrate D0005
D/A module converts the MV to analog signal and output to the actuator (power converter).
When the input condition M0 turns off, output 0 to the D/A conversion module.
b)
7-35
c)
operation parameters
Scan time : S_TIME=5 (sampling time = 0.5 seconds)
Auto / Manual operation setting : Auto
Output limit : Max. = 4000, Min = 0
High frequency noise removal ratio : 10
SV setting : 1300(60C ),1350(70C ),1400(80C ),1500(100C)
Current value setting : D4780(Digital value of RTD module Ch0)
BIAS setting : 0 (If only P control is used, input proper value other 0)
EN_P, EN_I, EN_D setting: input proper values
PWM setting : If enabled, input proper values.
SV Ramp setting : Input proper values.
Delta MV setting : Input proper values.
PID Algorithm setting : Select proper algorithm.
d)
e)
f)
Program Explanation
When the input condition M2 turns on, PID auto tuning operation executes at no.0 parameter.
When auto tuning finished, PID operation executes with calculated P,I,D parameter.
PID execution status registrate D0000 and the output value of control result registrate D0001
If SV Ramp is designated, current SV is registrate D0005
D/A module converts the MV to analog signal and output to the actuator (power converter).
When the input condition M2 turns off, output 0 to the D/A conversion module
7-37
Error Code
Corrective action
H0100
H0200
H0300
(2) PID8
Description
Error Code
Corrective action
H0100
H0200
H0300
H0400
H0500
H0600
H0700
H0800
H0900
H0A00
H0B00
H0C00
H0D00
H0E00
H0F00
H1000
H1100
7-38
7. 2 Special module
The special module and allocated data registers are as followings.
Item
A/D
Data
Register
Expansion
Combination module
module
G7F-ADHA
D4980
D4981
#1
D4982
D4985
#2
D4986
#3
G7F-DA2V
G7F-AT2A
G7F-RD2A
CH0
CH0
CH0
CH0
CH0
CH0
A/D value
D/A value
D/A value
A/T value
Temperature
CH1
CH1
CH1
CH1
CH1
CH1
CH1
A/D value
A/D value
A/D value
D/A value
D/A value
A/T value
temperature
CH0
CH0
CH2
CH2
CH2
CH2
CH2
D/A value
D/A value
A/D value
D/A value
D/A value
A/T value
temperature
CH1
CH3
CH3
CH3
CH3
CH3
D/A value
A/D value
D/A value
D/A value
A/T value
temperature
CH0
CH0
CH0
CH0
CH0
CH0
CH0
A/D value
A/D value
A/D value
D/A value
D/A value
A/T value
temperature
CH1
CH1
CH1
CH1
CH1
CH1
CH1
A/D value
A/D value
A/D value
D/A value
D/A value
A/T value
temperature
CH0
CH0
CH2
CH2
CH2
CH2
CH2
D/A value
D/A value
A/D value
D/A value
D/A value
A/T value
temperature
CH1
CH3
CH3
CH3
CH3
CH3
D/A value
A/D value
D/A value
D/A value
A/T value
temperature
CH0
CH0
CH0
CH0
CH0
CH0
CH0
A/D value
A/D value
A/D value
D/A value
D/A value
A/T value
temperature
D4989
G7F-DA2I
module
A/D value
D4987
D4988
G7F-AD2A
RTD input
timer
CH0
D4984
G7F-ADHB
Analog
A/D value
D4983
D4990
Conversion
CH1
CH1
CH1
CH1
CH1
CH1
CH1
A/D value
A/D value
A/D value
D/A value
D/A value
A/T value
temperature
CH0
CH0
CH2
CH2
CH2
CH2
CH2
D/A value
D/A value
A/D value
D/A value
D/A value
A/T value
temperature
D4991
CH1
CH3
CH3
CH3
CH3
CH3
D/A value
A/D value
D/A value
D/A value
A/T value
temperature
RTD input module store digital conversion value of temperature value to data registers as below
Expansion
Temperature
Ch 0
Ch 1
Ch 2
Ch 3
Ch 0
Ch 1
Ch 2
Ch 3
#1
D4980
D4981
D4982
D4983
D4780
D4781
D4782
D4783
#2
D4984
D4985
D4986
D4987
D4784
D4785
D4786
D4787
#3
D4988
D4989
D4990
D4991
D4788
D4789
D4790
D4791
Remark
1) Offset/gain value cant be changed, it is fixed.
2) Analog inputting is set the current since this is manufactured.
3) Extend to use max.3 Modules
7-39
Digital output
Analog Input
Analog output
Common
Current
Specifications
G7F-ADHA
G7F-ADHB
DC 010V (input resistance more than 1 )
DC 020 (input resistance 250)
DC 420 (input resistance 250)
Classified by parameter
12Bit( 0~4000)
1.Setting by jumper pin for V/I selection 1.Setting by dipswitch for V/I selection
on upper part of product
on left side of product
Voltage/Current
(Up: voltage, Down: Current)
(Left voltage, Right: Current)
selection
2. Voltage/current selected by KGLWIN parameter
3. When current input is used, short the V and I terminal
No. of channel
2 Channels/ 1 module
Voltage DC +12V
Absolute max. input
Current DC +24
Voltage DC 010V (External load resistance 2 1 )
DC 020 (External load resistance 510)
Output range
Current DC 420 (External load resistance 510)
Classified by parameter
12Bit( 0~4000)
Digital Input
Voltage/Current
selection
No. of channel
External power
DC 21.6 26.4V
1Channel / 1 module
1Channel / 2 module
Voltage DC +12V
Absolute max. output
Current DC +24
Voltage DC010V : 2.5 (1/4000)
DC020 : 5 (1/4000 )
Max. resolution
Current
DC420 : 6.25 (1/3200 )
0.5% [Full scale ]
Accuracy
Max. conversion
1 /CH + scan time
speed
Photo coupler insulation between I/O terminals and PLC power supply
Isolation
(No isolation between channels)
Connect terminal 9 Points terminals *2
8 Points terminals *2
Internal current
20
Consumption
supply
80
95
Weight
240g
180g
Remark
1) Offset/gain value cant be changed, it is fixed.
2) Analog inputting is set the current since this is manufactured.
3) Extend to use max.3 Modules
7-40
Contents.
RUN LED
Indicate the operating status the G7F-ADHA
Analog input terminal
Voltage Input
Current input
CH0 (INPUT)
V0 I0 COM0
CH0 (INPUT)
V0 I0 COM0
Voltage Input
Current Input
CHO CH1
Right is CH.1selecting
left is CH. 0 selecting
Connect upper
parts by jumper
pins
Voltage output
V+
V- I+
OUTPUT
I-
V+
V- I+
OUTPUT
I-
7-41
(2) G7F-ADHB
No
Contents.
RUN LED
Indicate the operating status the G7F-ADHB
Analog input terminal
Voltage Input
V0
Current input
C
I0 COM0
CH0 (INPUT)
V0 I0 COM0
Select
C
h0
C
G7F-ADHB
PROGRAMMABLE
LOGIC
CONTROLLER
PWR
Input
INPUT
CH1
CH0
V0 COM0 I1
24G I0 V1 COM1
24V
Current output
Voltage output
V+
V- I+
OUTPUT
I-
V+
V- I+
OUTPUT
I-
7-42
4000
4000
800
0
0
0
20
20
4
-1000
Resolution : 20 /3200 = 6.25
Resolution : 20 /4000 = 5
Conversion method is as below
4) Wiring
(1) Caution for wiring
Make sure that external input signal of the mixture module of AC and analog I/O is not affected by induction noise or occurs
from the AC through using another cable.
Wire is adopted with consideration about peripheral temperature and electric current allowance. Thicker than Max. size of
wire AWG22 (0.3 ) is better.
If wire is put near to high temp. radiated device or contacted with oil for a long time, it may cause of electric leakage so that
it gets broken or miss-operation during wiring.
Be sure to connect with care of polarity while connecting to external 24V DC power supply.
In case of wiring with high voltage line or generation line, it makes induction failure so then it may cause of miss-operation
and out of order.
(2) Wiring example
a) Analog input
Voltage input
+
input
Current input
Terminal
Terminal
V0
input
I0
V1
I1
COM0
COM1
*1
*1
b) Analog output
Voltage output
V+
2K~1
V
*1
GND
Current output
Less than
I+
510
I
*1
GND
7-44
2004
0
0V
2002
2001
2000
5.000V
2000
2003
5V
5.0025V
4000
10V
Input Voltage
2004
0
0
2002
2001
2000
10.000
2000
2003
10
20
10.005
4000
Input Current
7-45
Voltage output
10V
5V
5.0025 2.5
5V
2000 2001 2002 200 200 200
0V
0V
0
2000
Digital input
4000
20
b)
10
0
0V
0
2000
10.005
10.000
Digital input
4000
7-46
c) Program
7-47
c) Program
7-48
Specifications
Voltage
Current
Analog
input
Voltage/Current
Selection
Digital output
resolution
010VDC
Maximum
2.5 (1/4000)
DC 020
5 (1/4000)
DC 420
5 (1/3200)
Overall accuracy
Isolation
Terminal connected
Current
+5V
Consumption
External Power
supply
Voltage
Current
consumption
Weight
Remark
Offset/Gain value cant be changed, because it is fixed
Analog inputting is set the current since this is manufactured.
It is possible to use to extend max.3 modules
7-49
Contents
RUN LED
Indicate the operating status the G7F-AD2A
Analog input terminal
Voltage input
Current input
CH0
V0 COM0
I0
CH0
V0 COM0
I0
24V 24G
Input
Input
Select
CH3
CH2
CH1
CH0
CH0
CH1
CH2
Voltage input
Input
Select
CH3
I0
I1
I2
I3
CH3
CH2
CH1
CHO
CH3
CH2
CH1
CHO
CH3
CH2
CH1
CHO
Current input
7-50
3) Parameter setting
4) Wiring
(1) Caution for wiring
Make sure that external input signal of the mixture module of AC and analog I/O is not affected by induction noise or
occurs from the AC through using another cable.
Wire is adopted with consideration about peripheral temperature and electric current allowance. Thicker than Max. size
of wire AWG22 (0.3 ) is better.
If wire is put near to high temp. radiated device or contacted with oil for a long time, it may cause of electric leakage so
that it gets broken or miss-operation during wiring.
Be sure to connect with care of polarity while connecting to external 24V DC power supply.
In case of wiring with high voltage line or generation line, it makes induction failure so then it may cause of missoperation and out of order.
(2) Wiring
Voltage
Terminal
Current
V0
Analog
Input
I0
V1
Analog
Input
COM0
*1
Terminal
I1
COM1
*1
7-51
2000
2004
2003
2002
2001
0
0V
5V
5.0025V
2000
5.000V
4000
10V
Voltage Input
4000
2004
0
0
2001
2000
10.000
2000
2002
10
10.005
2003
20
Current Input
7-52
System configuration
Main Unit
7-53
(c) Program
7-54
Specifications
Item
G7F-DA2I
G7F-DA2V
DC 0 ~ 10V(Lod resistance 2 1 )
Classified by parameter
Digital Output
Number of output
Max. absolute output
12bit (04000)
4channels/1module
DC +24
DC 12V
Maximum
DC 020 : 5 (1/4000)
resolution
Overall accuracy
Max. conversion speed
Isolation
Terminal connected
Current
Consumption
External
Power supply
Voltage
Current
consumption
Weight
2.5 (1/4000)
Between input terminal and PLC power supply: Photo coupler isolation
(No isolation between channels)
16 points terminal block
20mA
15mA
DC 21.6 ~ 26.4V
80
90
280g
160g
7-55
24V 24G
Inpu
G7F-DA2I
PROGRAMMABLE
LOGIC
CONTROLLER
24V
24V
PROGRAMMABLE
LOGIC
CONTROLLER
24G
G7F-DA2V
I+
I-
I+
I-
PWR
I+
I-
I-
G7F
DA2I
G7F
DA2V
RUN LED
Indicate the operating status the G7F-DA2I
Current output
External power input terminal
External voltage 24VDC needs to this terminal.
Extension cable
7-56
3) Parameter setting
7-57
5) Scaling function
The scaling function is the same that of A/D, D/A combination module.
6) Wiring
(1) Caution for wiring
Make sure that external input signal of the mixture module of AC and analog I/O is not affected by induction noise or occurs
from the AC through using another cable.
Wire is adopted with consideration about peripheral temperature and electric current allowance. Thicker than Max. size of wire
AWG22 (0.3 ) is better.
If wire is put near to high temp. radiated device or contacted with oil for a long time, it may cause of electric leakage so that it
gets broken or miss-operation during wiring.
Be sure to connect with care of polarity while connecting to external 24V DC power supply.
In case of wiring with high voltage line or generation line, it makes induction failure so then it may cause of miss-operation
and out of order.
(2) Wiring
CH0
I+
510
*1
GND
CH3
Less than
510
I+
I
*1
GND
CH 0
D/A
5
6
D/A
11
12
Devices
CH 3
+15V
DC/DC
Converter
AGND
1
2
DC +24V
DC 0V
-15V
7-58
20
Output current
Output current
10
10.005
10.000
2000
Digital input
4000
Digital input
20mA
Output voltage
Output voltage
12mA
6.25
12.006
12.000
2000
2004 2005
Digital input
4000
Digital nput
7-59
8) Program example
(1) Program which controls speed of inverter by analog output voltage of 5 steps(0 ~ 20mA output)
a) Program explanation
When P80 becomes On, 2000 (10mA) is output.
When P81 becomes On, 2400 (12mA) is output.
When P82 becomes On, 2800 (14mA) is output.
When P83 becomes On, 3200 (16mA) is output.
When P84 becomes On, 3600 (18mA) is output.
b) System configuration
Main Unit
c) Program
7-60
Specification
Number of channels
Setting type
Accuracy of timer
Operation method
50
Max 3 modules
Weight
200g
No.
Name
Contents
Indicate the operating status the G7F-AT2A.
RUN LED
Channel
Extension cable
7-61
3) Program example
(1) Program explanation
Program which controls on-delay time of output contact point within 0 to 20 sec. By analog timer module.
(2) System configuration
Main Unit
(3) Program
7-62
Specification
Pt 100 (JIS C1640-1989, DIN 43760-1980)
JPt100 (KS C1603-1991, JIS C1604-1981)
Pt 100 : -200 ~ 600 (18.48 to 313.59)
JPt100 : -200 ~ 600 (17.14 to 317.28)
Digital conversion value : 0 to 4,000
Detected temperature value : -2000 to 6000 (one digit after point * 10)
Photo-coupler insulation between the input terminal and the PLC power
supply (non-insulation between channels)
8-point terminal block * 2
Current consumption
25
DC21.6 26.4V
70
240g
Insulation method
24V A
b
B
A
b
24G B
Input
CH2
CH3
No
Name
RUN LED
G7F-RD2A
PROGRAMMABLE
LOGIC
CONTROLLER
RTD input
terminal
External power
input terminal
Extension cable
PWR
CH0
CH1
A
b
A
b
B
B
Extension cable
connector
Contents
Indicate the operating status the G7F-RD2A
Terminal which connects Pt100 or JPt100
External voltage 24VDC needs to this terminal
This cable is used to connect while RTD input
module is used
The connector connects extension cable when
extended module is used.
Detected
Digital conversion
Temperature value
value
D4980
D4981
D4982
D4983
D4984
D4985
D4986
D4987
D4988
D4989
D4990
D4780
D4781
D4782
D4783
D4784
D4785
D4786
D4787
D4788
D4789
D4790
0
1
2
3
0
1
2
3
0
1
2
Data register
D4880
D4881
D4882
D4883
D4884
D4885
Remark
Special module
#1
Special module
#2
Special module
#3
CH0
Error code
0
16(10h)
Description
Normal run status
A disconnection detected
Corrective action
17(11h)
B disconnection detected
18(12h)
b disconnection detected,
Fix the A disconnection between RTD input module and RTD. Or,
A and B disconnection
Fix the A and B disconnection.
detected simultaneously.
19(13h)
Temperature outside the Correctly specify the type of the RTD, or use the temperature within
range
the range (-200.0C ~ 600.0C)
7-64
4000
-2000
0
6000
Digital Conversion value = (Detected Temp. value+2000)/2
Example) Assume that Detected temperature value(D4980) is 2345, then real temperature = 234.5, and Digital
conversion value(D4770) is (2345+2000)/2 = 2172.
7-65
Connection Example
burn-out detection area
Remark
- In 4-wire type, only all wires marked '2'
type
3-wire
type
4-wire
type
*1 : Pt
No wiring
7-66
9) Wiring
(1) Caution for wiring
Make sure that external input signal of the mixture module of AC and analog I/O is not affected by induction noise or occurs
from the AC through using another cable.
Wire is adopted with consideration about peripheral temperature and electric current allowance. Thicker than Max. size of
wire AWG22 (0.3 ) is better.
If wire is put near to high temp. radiated device or contacted with oil for a long time, it may cause of electric leakage so that it
gets broken or miss-operation during wiring.
Be sure to connect with care of polarity while connecting to external 24V DC power supply.
In case of wiring with high voltage line or generation line, it makes induction failure so then it may cause of miss-operation
and out of order.
(2) Wiring example
Number of method of connection between Pt and RTD input module are three, that is, 2-wired type, 3-wired type and 4-w
wired type.
The resistance of the wires used to connect Pt to RTD input module should be 10 or less per wire.
The same wire (in thickness, length, and kind, etc.) should be used for each channel.
Connection
Method
2-wired type
Connection Example
Wire Conditions