LS Industrial Systems MASTER-K80S User Manual

r

MASTER-K80S

LS Programmable Logic Controlle
Read this manual carefully before installing, wiring, operating, servicing or inspecting this equipment.
Keep this manual within easy reach for quick reference.
y
y

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
This symbol indicates the possibility of death or serious injury
This s
mbol indicates the possibility of
injury or damage to property.
The meaning of each symbol in this manual and on your equipment is
as follows
This is the safety alert symbol. Read and follow instructions carefully to avoid dangerous situation.
.
.
This s
mbol alerts the user to the presence of “dangerous voltage” inside the product that might cause harm or electric shock.
g
SAFETY INSTRUCTIONS
Design Precautions
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
Warnin
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
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.
Caution
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.
Make sure all modules are loaded correctly and securely.
Not doing so could cause a malfunction, failure or drop.
Make sure I/O and extension connector are installed correctly.
Poor connection could cause an input or output failure.
When install the PLC in environment of much vibration, be sure to
insulate the PLC from direct vibration.
Not doing so could cause electric shock, fire, and erroneous operation.
Be sure to there are no foreign substances such as conductive debris
inside the module.
Conductive debris could cause fires, damage, or erroneous operation.
g
SAFETY INSTRUCTIONS
Wiring Precautions
Completely turn off the external power supply when installing or
placing wiring.
Not doing so could cause electric shock or damage to the product.
Make sure that all terminal covers are correctly attached.
Not attaching the terminal cover could result in electric shock.
Warnin
Caution
Be sure that wiring is done correctly be checking the product’s rated
voltage and the terminal layout.
Incorrect wiring could result in fire, damage, or erroneous operation.
Tighten the terminal screws with the specified torque.
If the terminal screws are loose, it could result in short circuits, fire, or erroneous operation.
Be sure to ground the FG or LG terminal to the protective ground
conductor.
Not doing so could result in erroneous operation.
Be sure there are no foreign substances such as sawdust or wiring
debris inside the module.
Such debris could cause fire, damage, or erroneous operation.
g
SAFETY INSTRUCTIONS
Startup and Maintenance Precautions
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.
Do not charge, disassemble, heat, place in fire, short circuit, or solder
the battery.
Mishandling of battery can cause overheating or cracks which could result in injury and fires.
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.
Warnin
Caution
Disposal Precaution
When disposing of this product, treat it as industrial waste.
Not doing so could cause poisonous pollution or explosion.
Caution

◎󰼿 Contents

Chapter 1. General∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 1-1~1-6
1.1
Guide to Use this Manual
1.2
Features
1.3
Terminology
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 1-2
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 1-4
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 1-1
Chapter 2. System Configuration∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 2-1~2-6
2.1
Overall Configuration
2.1.1 Basic system∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 2-2
2.1.2 Cnet I/F System∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 2-2
2.2
Product functional model
2.2.1 Product function Block∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 2-4
2.2.2 GM7 Series System Equipment Product∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 2-5
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 2-1
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 2-4
Chapter 3. GENERAL SPECIFICATION∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 3-1
3.1
General specifications
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 3-1
Chapter 4. Names of Parts∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 4-1~4-4
4.1
Base Unit
4.1.1 10-point basic unit∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 4-3
4.1.2 20-point basic unit∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 4-3
4.1.3 30-points Basic Unit∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 4-4
4.1.4 40-Points Basic Unit ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 4-4
4.1.5 60-Points Basic Unit ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 4-4
4.2
Expansion / Option Module
4.2.1 Digital I/O Module∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 4-5
4.2.2 A/D· D/A Combination Module∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 4-5
4.2.3
4.2.4 Option Module∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 4-6
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 4-1
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 4-5
Analogue timer Module ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 4–5
Chapter 5. CPU ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-1~5-42
5.1
Specifications
5.2
Operation Processing
5.2.1 Operation Processing Method∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-3
5.2.2 Operation Processing at momentary power failure occurrence ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-4
5.2.3 Scan time∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-5
5.2.4 Scan-watchdog timer ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-5
5.2.5 Timer processing ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-6
5.2.6 Counter processing ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-8
5.3
Program
5.3.1 Program configuration∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-10
5.3.2 Program execution procedure∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-11
5.3.3 Task∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-14
5.3.4 Error handling∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5–21
5.3.5 Precautions when using special modules ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5–22
5.4
Operation modes
5.4.1 RUN mode ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-23
5.4.2 STOP mode∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙5-24
5.4.3 PAUSE mode∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙5-24
5.4.4 DEBUG mode ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙5-24
5.4.5 Operation mode Change∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-25
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-1
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-3
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙5-10
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙5-23
5.5
Functions
5.5.1 Restart mode ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙5-27
5.5.2 Self-diagnosis∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-29
5.5.3 Remote function∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-29
5.5.4 I/O Force On/Off function∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-30
5.5.5 Direct I/O operation function∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙5-31
5.5.6 External device error diagnosis function∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙5-32
5.6
Memory Configuration
5.7
I/O No. Allocation Method
5.8
Built-in Flash Memory
5.8.1 Structure∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-36
5.8.2 Usage∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-37
5.9
External Memory Module
5.9.1 Structure∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-39
5.9.2 Usage∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-39
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙5-27
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5–34
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5–36
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5–35
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5–39
5.10 RTC Module∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5–42
5.10.1 Structure ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-42
5.10.2 Usage∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5-42
5.11 Battery∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 5–44
Chapter 6. Input and Output Modules∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 6-1~6-10
6.1
Input and Output Specifications
6.2
Digital Input Specifications
6.2.1 Base Unit ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 6-2
6.2.2 Extended Module∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 6-7
6.3
Digital output Specifications
6.3.1 Base unit (Relay Output)∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 6-8
6.3.2 Base unit (Transistor Output)∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 6-12
6.3.3 Expansion Module∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 6-15
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 6-1
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙6–2
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙6–8
Chapter 7. Usage of Various Functions∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 7-1~7-60
7.1
Built-in function
7.1.1 High-speed counter function∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 7-1
7.1.2 Pulse Output Function∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 7-11
7.1.3 Pulse Catch function∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 7-23
7.1.4 Input Filter function∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙7-25
7.1.5 PID Control function∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 7-26
7.1.6 External Interrupt function∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 7-48
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙7–1
7.2
Special Module
7.2.1 A/D·D/A Combination ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 7–50
7.2. 2 Analogue Timer ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 7–59
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 7–50
Chapter 8. Communication Function∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-1~8-115
8.1
Direct Protocol Communication
8.1.1 Introduction∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-1
8.1.2 System Configuration method∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-2
8.1.3 Frame Structure∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-5
8.1.4 List of Commands∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-7
8.1.5 Data Type∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-8
8.1.6 Execution of Commands∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-9
8.1.7 1:1 Built-in
8.1.8 Error Codes∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-42
Communication between GM7’s∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-29
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙8–1
8.2
User Defined Protocol Communication
8.2.1 Introduction∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-44
8.2.2 Parameter Setting∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙8-45
8.2.3 Function Block∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-55
8.2.4 Example of Use 1)∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-55
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8–44
8.3
Modbus Protocol Communication
8.3.1 Introduction ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-68
8.3.2 Basic Size ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙8-68
8.3.3 Parameter Setting∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙8-72
8.3.4 Function Block∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8-74
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 8–65
Chapter 9. Installation and Wiring ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙9-1~9-11
9.1
Installation
9.1.1 Installation Environment ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 9-1
9.1.2 Handling Instructions ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 9-4
9.1.3 Connection of expansion module∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 9-7
9.2
Wiring
9.2.1 Power supply Wiring∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 9-8
9.2.2 I/O devices Wiring∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 9-10
9.2.3 Grounding ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙9-10
9.2.4 Cable Specifications for Wiring∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 9-11
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 9-1
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 9-8
Chapter 10. Maintenance∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙10-1~10-2
10.1
Maintenance and Inspection
10.2
Daily Inspection
10.3
Periodic Inspection
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙10-1
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙10-2
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙10-1
Chapter 11. Trouble Shooting ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 11-1~11-13
11.1
Basic Procedures of Troubleshooting
11.2
Troubleshooting
Troubleshooting flowchart used when the power LED turns of
11.2.1
Troubleshooting flowchart used when the error LED is flickering ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙
11.2.2
Troubleshooting flowchart used when the RUN LED turns off
11.2.3
Troubleshooting flowchart used when the I/O devices doesn’t operate normally
11.2.4
11.2.5 Troubleshooting flowchart used when a program can’t
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 11-1
be written to the CPU∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 11-7
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 11-1
f ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 11-2
11-3
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 11-4
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 11-5
11.3
Troubleshooting Questionnaire
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 11-8
11.4
Troubleshooting Examples
11.4.1 Input circuit troubles and corrective actions∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 11-9
11.4.2 Output circuit troubles and corrective actions∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 11-10
11.5
Error code list
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 11-12
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 11-9
Appendix∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ App1-1~App4-1
Appendix 1 System definitions Appendix 2 Flag list
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ App2-1
Appendix 3 Function / Function block list Appendix 4 Dimensions
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ App4-
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ App1-1
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ App3-1

Chapter 1. General

󰼿
Chapter 1. General
󰼿 󰼿

1.1 How to Use This Manual

󰼿
This manual includes specifications, functions and handling instructions for the MASTER-K80Sseries PLC. This manual is divided up into chapters as follows:
󰼿
Chapters Title Contents
Chapter 1 General Describes configuration of this manual, unit's features and terminology.
Chapter 2 System configuration Describes available units and system configurations in the MASTER-K80Sseries.
Chapter 3 General Specification Describes general specifications of units used in the MASTER-K80Sseries. Chapter 4 Names and functions Describes each kind of manufacturing goods, titles, and main functions Chapter 5 CPU Part
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11 Troubleshooting Describes various operation errors and corrective actions. Appendix1 System Definition Describes parameter setting for basic I/O and communications module Appendix 2 Flag List Describes the types and contents of various flags. Appendix 3 Dimensions Shows dimensions of the main uints and expansion modules
Digital Input and Output Parts Guides on Each Function Communications Function Installation and Wiring Maintenance and Inspection
Describes each kind of manufactured goods' usage
Describes built-in communication functions
Describes installation, wiring and handling instructions for reliability of the PLC system
Describes the check items and method for long-term normal operation of the PLC system.
REMARK
1) This manual does not describe the programming method. For their own functions, refer to the related user's manuals.
󰼿 󰼿
1-1
Chapter 1. General
󰼿 󰼿

1.2. Features

1) MASTRER-K80S series features
(1) Open network by us of communications protocol in compliance with international standard specifications. (2) High speed processing with an operation-dedicated processor included. (3) Various special modules that enlarge the range of application of the PLC
2) MK80S series is extremely compact, to fit a wide range of applications.
(1) High speed processing High speed processing of 0.5µs/step with an operation-dedicated processor included. (2) Various built-in functions The main unit can perform many functions without using separate modules. It is possible to construct various systems just using the main unit.
• Fast Processing Applications
-Pulse catch: Allows the main unit to read 4 inputs, each having a pulse width as small as 0.2ms
-High speed counter: Support high-speed counting up to 1 phase 16kHz, 2 phase 8kHz.
-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 15 ms.
• Using built-in pulse output without separate positioning module, it can control stepping motor or servo motor.
• Using RS-232C built-in port, it can connect with external devices, such as computers or monitoring devices and communicate 1:1 with MK80S or MK200S system.
10 points modules (K7M-DR10S, K7M-DR10S/DC, K7M-DT10S) have both of RS-232C and RS-485 port.
• It has PID control function with which it can easily constitute a system without separate module.
(3) It can easily do On/Off of the system, using RUN/STOP switch. (4) It can constitute various system, using separate Cnet I/F module. (Except 10 points modules) (5) It can easily save the user program by simple manipulation in KGLWIN. (6) Strong self-diagnostic functions It can detect the cause of errors with more detailed error codes. (7) It can prevent unintentional reading and writing, using password.
1-2
Chapter 1. General
󰼿 󰼿
(8) On-line debugging is available if 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. (9) Various program execution function External and internal interrupt program as well as scan program can be executed by setting the execution condition. The user can set variously the program execution mode.
Debugging function
1-3
Chapter 1. General

1.3 Terminology

The following table gives definition of terms used in this manual.
Terms Definition Remarks
A standard element that has a specified function which configures the
Module
Unit
PLC system
KGLWIN
KLD-150S
I/O Image Area Internal memory area of the CPU module which used to hold I/O statuses.
Watch Dog Timer
system. Devices such as I/O board, which inserted onto the mother board or base unit.
A single module or group of modules that perform an independent Operation as a part of PLC system.
A system which consists of the PLC and peripheral devices. A user program can control the system.
A peripheral device for the MASTER-K series. It executes program creation, edit, compile and debugging(A computer software for Windows 95/98).
A hand-held loader used for program creation, edit, compile and debugging for MASTER-K series.
Supervisors the pre-set execution times of programs and warns if a program is not completed within the pre-set time.
Example) CPU module Power Supply module I/O module
FAM
Fnet Fieldbus network
Cnet Computer network(RS232C.RS422/485)
RTC
Abbreviation of the word ‘Factory Automation Monitoring S/W’. It is used to call S/W packages for process supervision.
Abbreviation of Real Time Clock. It is used to call general IC that contains clock function.
1-6
Chapter 1. General
Terms Definition Remarks
Sink Input
Source
Input
Current flows from the switch to the PLC input terminal if a input signal turns on.
Current flows from the PLC input terminal to the switch after a input signal turns on.
Current flows from the load to the output terminal and the PLC output turn on.
󰼿
Sink Output
Source Output
Output contact
Current flows from the output terminal to the load and the PLC output turn on.
Output
1-6

Chapter 2. System Configuration

Chapter 2. System Configuration
The MASTER-K80Sseries has suitable to configuration of the basic, computer link and network systems. This chapter describes the configuration and features of each system.

2.1. Overall Configuration

2.1.1 Basic system

main unit
expansion cable
expansion module
Total I/O points Maximum
numbers of expansion modules
Items
Main unit
Expansion module
Communic ation I/F module
Digital I/O module A/D-D/A module
Analog timer
Cnet I/F module
Digital I/O module Analog I/O module Analog timer Cnet I/F modules DeviceNet I/F module FieldBus I/F module Profibus I/F Module
10-80 points
2 modules
2 modules
3 modules
1
1 module
K7M-DR10S, K7M-DR20S, K7M-DR30S, K7M-DR40S, K7M-DR60S
K7M-DR10S/DC, K7M-DR20S/DC, K7M-DR30S/DC, K7M-DR40S/DC, K7M-DR60S/DC, K7M-DT10S, K7M-DT20S, K7M-DT30S, K7M-DT40S, K7M-DT60S
G7E-DR10A
G7F-ADHA, G7F-AD2A
G7F-AT2A
G7L-CUEB, G7L-CUEC
G7L-DBEA
G7L-FUEA
G7L-PBEA
Total 3 modules
1
Communication modules are not available for 10 points modules (K7M-DR10S, K7M-DR10S/DC, K7M-
DT10S)
2-2
Chapter 2. System Configuration

2.1.2 Cnet I/F system

Cnet I/F System is used for communication between the main unit and external devices usin g RS-232C/RS-422 Interface.
The K80S has a built-in RS-232C port and has also G7L-CUEB for RS-232C, G7L-CUEC for RS-422. It is possible to construct communications systems on demand. (10 points modules include RS-232C and RS-485 ports on the main module, and no external communication module is available)
1) 1:1 Communications system
(1) 1:1 ratio of an external device (computer) to main unit using a built-in port
(2) 1:1 ratio of an external device (monitoring unit) to main unit using a built-in port
2-2
Chapter 2. System Configuration
(3) RS-232C Communication over a long distance via modem by Cnet I/F modules
G7L-CUEB
Modem
Modem
G7L-CUEB
G7L-CUEB
Modem
Modem
2) 1:n Communications system
This method can connect between one computer and multiple main units for up to 32 stations
Can be connected Max. 32 stations
RS-232C RS-422 Converter
G7L-CUEC
G7L-CUEC
RS-232C RS-422
Converter
K7M-DR10S K7M-DR10S/DC K7M-DT10S
2-3
Chapter 2. System Configuration

2.2 Product functional model

The following describes functional model of the MASTER-K80Sseries.

2.2.1 Product Function Block

Product function block for the K80Sseries is as follows.
Base Unit Expansion Modules
Input power Input signal Input signal
Power supply
Input
Input
DC24V
Power supply
CPU
Comm. I/F
Output
Output
Built-in RS-232C I/F Output signal Output signal
Sub-system Description
Special
/communications
modules
CPU
Input
Output
Power Supply Communications Interface
Signal processing function
·Operating system function
·Application program storage / memory function
·Data storage / memory function
·Application program execution function
The input signals obtained from the machine/process to appropriate signal levels for processing
The output signals obtained from the signal processing function to appropriate signal levels to drive actuators and/or displays
Provides for conversion and isolation of the PLC system power from the main supply
Provides the data exchange with other systems, such as KGLWIN, computers
2-4
Chapter 2. System Configuration

2.2.2 K80S Series System Equipment

Section Items Models Description Remark
I/O Points
- 6 DC inputs / 4 relay outputs (K7M-DR10S, K7M-DR10S/DC)
- 6 DC inputs / 4 TR outputs (K7M-DT10S)
Program capacity : 48 kbytes
K7M-DR10S K7M-DR10S/DC K7M-DT10S
K7M-DR20S
Basic Base Unit
K7M-DR20S/DC K7M-DT20S
Built-in function
-High-speed counter : Phase1 16 kHz, phase2 8 kHz 1channel
-pulse output : 1 × 2 kHz
-pulse catch : pulse width 0.2ms, 4 points
-external contact point interrupt: 0.4ms, 8points
-input filter: 0 ~ 15ms (all input )
-PID control function
-RS-232C communication, RS-485 communication
I/O Points
- 12 DC inputs / 8 relay outputs (K7M-DR20S, K7M-DR20S/DC)
- 12 DC inputs / 8 TR outputs (K7M-DT20S)
Program capacity : 48 kbytes
Built-in function
-High-speed counter : Phase1 16 kHz, phase2 8 kHz 1channel
-pulse output : 1 × 2 kHz
-pulse catch : pulse width 0.2ms, 4 points
-external contact point interrupt: 0.4ms, 8points
-input filter: 0 ~ 15ms (all input )
-PID control function
-RS-232C communication
I/O Points
- 18 DC inputs / 12 relay outputs (K7M-DR30S, K7M-DR30S/DC)
- 18 DC inputs / 12 TR outputs (K7M-DT30S)
Program capacity : 48 kbytes
K7M-DR30S K7M-DR30S/DC K7M-DT30S
Built-in function
-High-speed counter : Phase1 16 kHz, phase2 8 kHz 1channel
-pulse output : 1 × 2 kHz
-pulse catch : pulse width 0.2ms, 4 points
-external contact point interrupt: 0.4ms, 8points
-input filter: 0 ~ 15ms (all input )
-PID control function
-RS-232C communication
2-6
Chapter 2. System Configuration
Section Items Models Description Remark
I/O Points
- 24 DC inputs / 16 relay outputs (K7M-DR40S, K7M-DR40S/DC)
- 24 DC inputs / 16 TR outputs (K7M-DT40S)
Program capacity : 48 kbytes
K7M-DR40S K7M-DR40S/DC K7M-DT40S
Basic Base Unit
K7M-DR60S K7M-DR60S/DC K7M-DT60S
Digital I/O module G7E-DR10A
Built-in function
-High-speed counter : Phase1 16 kHz, phase2 8 kHz 1channel
-pulse output : 1 × 2 kHz
-pulse catch : pulse width 0.2ms, 4 points
-external contact point interrupt: 0.4ms, 8points
-input filter: 0 ~ 15ms (all input )
-PID control function
-RS-232C communication
I/O Points
- 36 DC inputs / 24 relay outputs (K7M-DR60S, K7M-DR60S/DC)
- 36 DC inputs / 24 TR outputs (K7M-DT60S)
Program capacity : 48 kbytes
Built-in function
-High-speed counter : Phase1 16 kHz, phase2 8 kHz 1channel
-pulse output : 1 × 2 kHz
-pulse catch : pulse width 0.2ms, 4 points
-external contact point interrupt: 0.4ms, 8points
-input filter: 0 ~ 15ms (all input )
-PID control function
-RS-232C communication
I/O points
-6 DC inputs / 4 relay outputs
Expansion module
A/D-D/A Composite module A/D conversion module
Analog timer module
G7F-ADHA
G7F-AD2A
G7F-AT2A
G7L-CUEB
G7L-CUEC
Communication I/F module
G7L-DBEA
G7L-FUEA
G7L-PBEA
A/D : 2 channel , D/A : 1 channel
A/D : 4 channel
Points : 4points
Digital output range : 0~200
RS-232C : 1 channel
RS-422 : 1 channel
DeviceNet I/F module
FieldBus I/F module
Profibus I/F module
2-6

Chapter 3. General Specifications

p
Chapter 3. General Specifications

3.1 General specifications

The following shows the general specifications of the MASTER-K series.
No. Item Specifications References
Operating ambient
1
Temperature Storage ambient
2
Temperature Operating ambient
3
Humidity Storage ambient
4
Humidity
5 Vibrations
6 Shocks
0 ~ 55 °C
25 ~ +70 °C
5 ~ 9 5 % R H , non-condensing
5 ~ 9 5 % R H , non-condensing
Occasional vibration -
Frequency Acceleration Amplitude Sweep count
10 f < 57Hz 57 f ≤ 150Hz
Frequency Acceleration Amplitude
10 f < 57Hz 57 f ≤ 150Hz
Maximum shock acceleration: 147 m/s
Duration time: 11m s
Pulse wave: half sine pulse ( 3 shocks per axis, on X, Y, Z axis )
2
{1G}
9.8m/s
Continuous vibration
2
{0.5G}
4.9m/s
2
{15G}
0.075mm
10 times for each X,
Y, Z axis
0.035mm
IEC 61131-2
IEC 61131-2
Square wave Impulse noise
Electronic discharge
Radiated
7 Noise Immunity
8
Atmosphere Free of corrosive gases and excessive dust IEC61131-2
9
Altitude
10
Pollution degree
11
Cooling method
electromagnetic field noise
Fast transient & burst noise
Up to 2,000m 2 Air-cooling
± 1,500 V
Voltage: 4 kV ( Discharge by contact )
27 ~ 500 MHz, 10 V/m
Item Power supply
Voltage
2kV 1kV 0.25kV
Digital I/O
(>24V)
Digital I/O (<24V) Analog I/O Interface
LGIS’ Internal Standard
IEC 61131-2, IEC 1000-4-2
IEC 61131-2, IEC 1000-4-3
IEC 61131-2 IEC 1000-4-4
REMARK
1)
IEC (International Electrotechnical Commission): A n international civi lian institute who establishes internatio nal standards i n area of elec tric
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 ex
ected.
3 -

Chapter 4. Names of Parts

󰼿
󰼿
Chapter 4. Names of Parts

4.1 Base Unit

RUN󰼿
PAU/REM
STOP󰼿
ON󰼿
BUILT_IN󰼿CNET
OFF󰼿
ROM󰼿MODE󰼿
RS-485 (+)
485+
RS-485 (-)
485-
24G
24V
No Name
CPU Condition
1
LED Indication
PWR LED
RUN LED
Indicates power supply to the system
y On: When the supply is normal y Off: When the supply is abnormal
Indicates base unit operation
y On: Indicates local key switch or remote running mode y Off: with the following led gets off
Without normal power supply to the base unit While key switch is stopped Detecting an error makes operation stop
Indicates Base Units operation
2 I/O LED
Folder for battery
3
installation
ERR LED
y On/Off of led: self-inspected error y Off: CPU is normally working.
Indicates I/O operating status
Folder for back-up battery installation
4 -1
Chapter 4. Names of Parts
No Name
4 Key switch mode creation
5
Dip-switch memory operation
Indicates base units drive mode
y RUN: Indicates program operation
y ST O P: Stopped program operation
y P A U / REM: usage of each modules are as follows:
PAUSE : temporary stopping program operation
REMO TE : Indicates remote drive
See Chapter 5
6
RS-232C connector
7
Expansion connector cover
8
Terminal block cover
9
Private hook DIN rail
10 RS-485 communication terminal
9-pin DIN connector to connect with external devices like KGLWIN
Connector cover to connect with expansion unit
Protection cover for wiring of terminal block
Private part hook for DIN rail
Only available with 10 points modules
(K7M-DR10S, K7M-DR10S/DC, K7M-DT10S)
4 -2
Chapter 4. Names of Parts

4.1.1 10-point base unit

4.1.2 20-point base unit

No. Name Usage
1 Terminal block for power supply Terminal blocks for power supply (AC 100V ~ 240V) 2 FG circuit Frame ground 3 Output terminal Output connecting terminal 4 Input terminal Output connecting terminal 5 DC24V, 24G output terminal Service power supply for DC 24V needed place
4 -3
Chapter 4. Names of Parts

4.1.3 30-points base unit

4.1.4 40-points base unit

4.1.5 60-points base unit

4 -4
Chapter 4. Names of Parts
④⑦①
④⑤⑥

4.2 Expansion Module

4.2.1 Digital I/O Module

4.2.2 A/D····D/A Combination Module

4.2.3 Analog Timer Module

No.
① ② ③ ④ ⑤ ⑥ ⑦
Names RUN LED Analog Input Terminal Analog Input (Voltage/current) selecting jumper pin Analog Output Terminal External Power Supply Terminal (DC24V) Expansion Cable Expansion Cable Connecting Terminal
No.
① ② ③
Names RUN LED Analog Timer Volume Control Resistance Expansion Cable Expansion Cable Connecting Terminal
4 -5
Chapter 4. Names of Parts

4.2.4 Option Modules

Option modules are attac hed the exp ansio n slot of main u nit or expa nsio n unit, and supp lies opti onal f unctions such as memory expansion or real time clock. K80S series have two option modules – external memory module and RTC module.
No.󰼿 Names󰼿
①󰼿 Option󰼿module󰼿
②󰼿 Connector󰼿
4 -6
Chapter 5 CPU Module

Chapter 5. CPU

5.1 Specifications

The following table shows the general specifications of the MASTER-K80S series
Specifications
K7M-DR10S K7M-DR20S K7M-DR30S K7M-DR40S K7M-DR60S
Item
K7M-DR10S/DC K7M-DR20S/DC K7M-DR30S/DC K7M-DR40S/DC K7M-DR60S/DC
K7M-DT10S K7M-DT20S K7M-DT30S K7M-DT40S K7M-DT60S
Program control method Cycle execution of stored program, Time-driven interrupt, Process-driven interrupt
I/O control method Indirect mode (Refresh method), Direct by program command
Remarks
Program language Mnemonic, Ladder diagram
Numbers of instructions Basic : 30, Application : 218
Processing speed 0.5µsec/step
Program capacity 7ksteps
I/O points 10 20 30 40 60
P P000 ~ P13F I/O relay
M M000 ~ M191F (3,072points) Auxiliary relay
K K000 ~ K31F (512 points) Keep relay L L000 ~ L63F (1,024 points) Link relay
Memory
device
F F000 ~ F63F (1,024 points) Special relay
100msec : T000 ~ T191 (192 points)
T
10msec : T192 ~ T255 (64 points)
Timer
C C000 ~ C255 (256 points) Counter
S S00.00 ~ S99.99 (100×100 steps) Step controller
D D0000 ~ D4999 (5,000 words) Data register
Operation modes RUN, STOP, PAUSE, DEBUG
Self-diagnosis functions Detect errors of scan time, memory, I/O, battery, and power supply
Data back-up method Battery-back-up
Max. expansion level Up to 3 level
5-
Chapter 5 CPU Module
Item Specifications Remarks
Internal Function
PID control function Function block control, auto tuning, forced output, adjustable operation
scan time, forward/reverse operation control
Cnet I/F Function Master-K exclusive protocol support
MODBUS protocol support User’s protocol support
Capacity 1 phase : 16 kHz, 1 channel
2 phase : 8 kHz,1 channel
Counter function It has 3diffferant counter function as following;
1 phase, up/down by program
High-
1 phase, up/down by B phase input
speed
2 phase, up/down by phase difference
counter
Multiplication
Multiplication : 1, 2, or 4 (adjustable) function Data comparison function
Execute a task program when the elapsed counter value reaches to the
preset value
Pulse catch Minimum pulse width : 0.2msec, 8 points
Common use with KGLWIN port
Pulse output 2khz, 1point Transistor output only External interrupt 8points, 0.4ms
Input filter 0~15ms
Weight (g)
K7M-DR10S 370 K7M-DR20S 530 K7M-DR30S 550 K7M-DR40S 670 K7M-DR60S 845 K7M-DR10S/DC 370 K7M-DR20S/DC 530 K7M-DR30S/DC 550 K7M-DR40S/DC 670 K7M-DR60S/DC 845 K7M-DT10S 370 K7M-DT20S 540 K7M-DT30S 550 K7M-DT40S 670 K7M-DT60S 845 G7E-DR10A 230
5-
Chapter 5 CPU Module
yp
t

5.2 Operation Processing

5.2.1 Operation Processing Method

1) Cyclic operation A PLC program is sequentially executed from the first step to the last step, which is called scan. This sequential processing is called cyclic operation. Cyclic operation of the PLC continues as long as conditions do not change fo r interrupt processing during program execution. This processing is classified into the following stages:
Stages Processing
Operation Start
Initialization
Input image area refresh
Stage for the start of a scan processing. it is executed only o
ne time when the power is applied or reset is executed. It exe cutes the following processing..
I/O reset
Execution of self-diagnosis
Data clear
I/O address allocation or t
•Input part conditions are read and stored into the input image ar ea before start the processing of a program
e
Program operation processing
•Program is sequentially executed from the first step to the last st ep Program operation processing
Program starts
~
Program ends
Output image area refresh
•The contents stored in the output image area is output to output par when operation process ing of a program is fi nished.
END processing
•Stage for return processing after the CPU part has finished 1 sc an. The END processing following processing is executed. ~ Self-diagnosis ~ Change the present values of timer and counter, etc. ~ Processing data communications between computer link module
and communications module.
~ Checking the switch for mode setting.
5-
Chapter 5 CPU Module
2) Time driven interrupt operation method In time driven interrupt operation method, operations are processed not repeatedly but at every pre-set interval. Interval, in the MK80S series, can be set to between 0.001 to 6 sec. This operation is used to process operation with a constant cycle.
3) Event driven interrupt operation method If a situation occurs which is requested to be urgently processed during execution of a PLC program, this operation method processes immediately the operation, which corresponds to interrupt program. The signal, which informs the CPU of those urgent conditions is called interrupt signal. The MK80S CPU has two kind of interrupt operation methods, which are internal and external interrupt signal methods.

5.2.2 Operation processing at momentary power failure occurrence

The CPU detects any momentary power failure when the input line voltage to the power supply falls down below the defned value. When the CPU detects any momentary power failure, the following operations will be executed:
1) Momentary power failure within 20 ms
Input power
Momentary power failure exceeding 2Oms
2) Momentary power failure exceeding 20 ms
Input power
Momentary power failure exceeding 2Oms
(1) The operation processing is stopped with the output retained. (2) The operation processing is resumed when normal status is restored.
(3) The output voltage of the power supply retains the defined value.
(4) The watchdog timer (WDT) keeps timing and interrupt timing normally
while the operations is at a stop.
The re-start processing is executed as the power is applied.
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-
Chapter 5 CPU Module

5.2.3 Scan Time

The processing time from a 0 step to the next 0 step is called scan time.
1) Expression for scan time Scan time is the addition value of the processing time of scan program that the user has written, of the task program processing time and the PLC internal processing time.
(1) Scan time = Scan program processing time + Interrupt program processing time + PLC internal processing time
• Scan program processing time = The processing time used to process a user program that is not specified to a ta sk program.
• Interrupt program processing time = Total of the processing times of interrupt programs executed during one scan.
• PLC internal processing time = Self-diagnosis time + I/O refresh time + Internal data processing time + Communi cations service processing time (2) Scan time differs in accordance with the execution or non-execution of interrupt programs and communications processing, etc.
2) Flag Scan time is stored in the following system flag area.
z F50 : Maximum scan time (unit: 1 ms)
:
z F51
Minimum scan time (unit: 1 ms)
z F52 : Current scan time (unit: 1 ms)

5.2.4 Scan Watchdog Timer

1) Watchdog timer is used to detect a delay of 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 al l output is off.
3) If an exceeding of preset watchdog time is expected in sequence program, use ‘WDT’ instru ction. ‘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 : 1~ 6,000ms(unit : 10ms)
5-
Chapter 5 CPU Module

5.2.5 Timer Processing

The MASTER-K series uses up count timers. There are 5 timer instructions such as on-delay (TON), off-delay (TOFF), integral (TMR), monostable (TMON), and re-triggerable (TRTG) timer. The measuring time range of 100msec timer is 0.1 ~ 6553.5 sec, and that of 10msec timer is 0.01 ~ 655.35 sec. Please refer the ‘MASTER-K programming manual’ for details.
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.
Timer input condition
t1
t2
t3
Timer output relay
Preset value (PV)
PT
t1 + PT
PT
t3
+ PT
Current value
2) Off delay timer
The current value of timer set as preset value and the timer output relay is turned on when the input condition of TOFF instruction turns on. When the input condition is turned off, the cu rrent value starts to decrease. The timer output relay is turned off when the current value reaches 0.
Timer input condition
Timer output relay
et value (PV)
Pres
t1
PT
t1 + PT
t2 t3
PT
t3 + PT
Current value
5-
Chapter 5 CPU Module
(
(ignored)
3) Integral timer
In general, its operation is same as on-delay timer. Only the difference is the current value will not be clear when the input condition of TMR instruction is turned off. It keeps the elapsed value and restart to increase when the input condition is turned on again. When the current value reaches preset value, the timer output relay is turned on. The current value can be cleared by the RST instruction only.
Timer input condition
Timer output relay
Timer reset input
Preset value (PV)
t1 t2 t3
PT=t1+t2+t3
Current value
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).
Timer input condition
Timer output relay
PT
Preset value (PV)
Current value
On operation)
(ignored)
5-
Chapter 5 CPU Module
5) Retriggerable timer
The operation of retriggerable timer is same as that of monostable timer. Only difference is that the retriggerable timer is not ignore the input condition of TRTG instruction while the timer is operating (decreasing). The current value of retriggerable timer will be set as preset value whenever the input condition of TRTG instruction is turned on.
Timer input condition
Timer output relay
Preset value (PV)
PT
Current value
(On operation)
REMARK
The accuracy of timer:
The Maximum timing error of timers of MASTER-K series is + 2 scan time ~ - 1 scan time. Refer the programming manual for details.
5-
Chapter 5 CPU Module

5.2.6 Counter Processing

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. MASTER-K series have 4 counter instructions such as CTU, CTD, CTUD, and CTR. The maximum counter setting value is hFFFF ( = 65535). The followings shows brief information for counter operation.
1) Up counter (CTU)
The counter output relay is turned on when the current value reaches the preset value. After the counter relay output is turned on, the current value will increase until it reaches the maximum counting value (hFFFF = 65535). When the reset input is turned on, the counter output relay and current value is cleared as 0.
2) Down counter (CTD)
When the CPU is switched to the RUN mode, the current value is set as preset value.
Input condition
Reset condition
U CTU Cxxx
R <S> xxxx
1
The current value is decreased by
1 with the rising edge of counter input signal. The counter output relay is turned on when the current value reaches 0.
Input condition
Reset condition
U CTD Cxxx
R <S> xxxx
1
If the retentive counter area is used for down counter, the reset input has to be turned on to initialize counter.
5-
Chapter 5 CPU Module
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 do wn­count input signal. The counter output relay is turned on when the current value is equal or greater than the preset value.
Up Input condition
Down Input condition
Reset condition
U CTD Cxxx
D
R <S> xxxx
4) Ring counter
The current value is increased with the rising edge of the counter input signal, and the counter output relay is turned on when the current value reaches the preset value. Then the current value and counter output relay is cleared as 0 when the next counter input signal is applied.
Input condition
Reset condition
U CTR Cxxx
R <S> xxxx
REMARK
1. Maximum counting speed The maximum counting speed of counter is 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.
max
100
1
×=
(
times/sec) )(C speed counting Maximum
t
s
n : duty (%), ts : scan time
n
2. Duty Duty is the ratio of the input signal’s on time to off time as a percentage.
If T1 ≤ T2,
If T1 > T2,
T1
n
=
n
=
+
T2
+
×
T2T1
×
T2T1
)
(%100
T1 T2
)
(%100
OFF
ON
5-10
Chapter 5 CPU Module

5.3 Program

5.3.1 Classification of program

All functional elements need to execute a certain control process are called as a ‘program’. In MASTER-K series, a program is stored in the RAM mounted on a CPU module or flash memory of a external memory module. The following table shows the classification of the program.
Program type Description
The scan program is executed regularly in every scan. If the scan program is
Scan program Time-driven interrupt
program (TDI) Process driven interrupt program (PDI)
Subroutine program
not stored, the CPU cannot execute not only the scan program but also other programs. The TDI programs are executed with a constant time interval specified with parameter setting.
The PDI programs are executed only external interrupt input is applied and the corresponding interrupt routine is enabled by EI instruction.
The subroutine programs are executed when they are called by the scan program with a CALL instruction.

5.3.2 Processing method

The following diagram shows that how the CPU module process programs when the CPU module is powered on or switched to RUN mode.
Start operation
Scan program
END processing
Subroutine program
PDI program
TDI program
5-11
Chapter 5 CPU Module

5.3.3 Interrupt function

When an interrupt occurs, the CPU module will stop the current operation and execute the corresponding interrupt routine. After finish the interrupt routine, the CPU resume the sequence program from the stopped step. MASTER-K series provides 2 types of interrupt. The TDI (Time driven interrupt) occurs with the constant period, and PDI (Process driven interrupt) occurs with the status of external input.
Before to use interrupt function in sequence program, the parameter setting should be done properly. Then the corresponding interrupt routine should be written after END instruction. (Refer chapter 4 for details ) If interrupt routines are not matched with parameter settings, an error occurs and the operation of CPU will be stopped.
To execute an interrupt routine, use the EI instruction to enable the corresponding interrupt. The interrupt routine is not executed if an interrupt factor occurs before execution of an EI instruction. Once an interrupt is enabled with EI instruction, it keeps the enabled status until DI instruction is executed to disable the interrupt. When a CPU is turned to RUN mode, all interrupts are disabled by default.
When multiple interrupt factors occur simultaneously, interrupt routines are executed according to the priority given to the each interrupt. If an interrupt factor that has higher priority occurs while other interrupt that has lower priority are executing, the interrupt routine of lower priority will be stopped and the interrupt of higher priority will be executed first. The following figure shows how a CPU handles multiple interrupts.
Scan Program
1
7
1
Program starts
2
2
Interrupt 2 occurs
3
Stop main program and execute interrupt
Interrupt routine 1
Interrupt routine 2
5
3
6
4
Interrupt 1 occurs (higher priority)
5
Stop routine 2 and run routine 1
4
6
Finish routine 1 and return to routine2
7
Finish routine 2 and return to main program
5-12
Chapter 5 CPU Module
1) parameter setting
2) Time driven interrupt TDI occurs periodically with the constant interval assigned in parameter setting. The interrupt routine of TDI starts with the TDINT instruction and ends with the IRET instruction. When multiple interrupt factors occur simultaneously, interrupt routines are executed according to the priority given to the each interrupt. If an interrupt factor has higher priority occurs while other interrupt of lower priority is executing, the interrupt routine of lower priority will be stopped and the interrupt of higher priority will be executed first. Otherwise, two interrupts are executed consequently.
3) Process driven interrupt Available PDI is P000 ~ P007 (8 points) assigned in parameter setting. PDI occurs when the input status of P000 ~ P007 is changed from Off to On or from On to Off.
REMARK
Total available interrupt points Time driven interrupt + process driven interrupt 8 points
Interrupt signal is ignored when self-interrupt occurs more than 2 times during interrupt processing is executing.
ignored
Interrupt executing time
5-13
Interrupt signal (ex : rising edge)
Chapter 5 CPU Module

5.3.4 Error Handling

1) Error Classification Errors occur due to various causes such as PLC system defect, system configuration fault or abnormal ope ration result. Errors are classified into fatal error mode, which stops system operation for system stability, a nd ordinary error mode, which continues system operation with informing the user of its error warning.
The main factors that occurs the PLC system error are given as followings.
• PLC hardware defect
• System configuration error
• Operation error during execution of the user programs
• External device malfunction
2) Operation mode at error occurrence In case of error occurrence, the PLC system write the error contents the corresponding flags and stops or continues its operation complying with its operation mode.
(1) PLC hardware defect
The system enters into the STOP state if a fatal error such as the CPU module defect has occurred, and continues its operation if an ordinary error such as battery error has occurred.
(2) System configuration error
This error occurs when the PLC hardware configuration differs from the configuration defined in the K80S series. The system enters into the STOP state.
(3) Operation error during execution of the user programs
It the numeric operation error of these errors occurs during execution of the user programs, its contents ar e marked on the error flags and the system continues its operation. If operation time overruns the watchdo g time or I/O modules loaded are not normally controlled, the system enters into the STOP state.
(4) External device malfunction
The PLC user program detects malfunctions of external devices. If a fatal error is detected the system ente rs into the STOP state, and if an ordinary error is detected the system continues its operation.
REMARK
1) In occurrence of a fatal error the state is to be stored in the representative system error flags, and an ordinary error in the representative system warning flags.
2) For details of flags, refer to Appendix 2. Flag List.
5-14
Chapter 5 CPU Module
t
e

5.4 Operation Modes

The CPU module operates in one of the four modes - the RUN, STOP, PAUSE and DEBUG mode. The following descri bes the PLC operation processing in each operation mode.

5.4.1 RUN mode

In this mode, programs are normally operated.
The first scan start in the RUN mode
Initialize data area according to the prese restart mode.
Check the program and determine it can b executed or not.
Execute input refr esh
Execute programs and t asks
Check the availability of expans ion units
Execute communicati on and internal s ervic e
Execute output ref resh
No
Operation mode is changed?
Operate with new mode
1) Processing when the operation mode changes. Initialization of data area is executed when the first scan starts. (1) If the PLC is in the RUN mode when applying the power: (2) If the operation mode has been changed into from the STOP mode into the RUN mode : the initializati on is executed complying with the restart mode set. (cold I warm I hot) (3) The possibility of execution of the program is decided with check on its effectiveness.
2) Operation processing contents I/O refreshes and program operation are executed. (1) Interrupt programs are executed with the detection of their start-up conditions. (2) Normal or abnormal operation and mounting conditions of the loaded module are checked. (3) Communications service or other internal operations are processed.
Yes
5-15
Chapter 5 CPU Module

5.4.2 STOP mode

In this mode, programs are not operated.
1) Processing when the operation mode changes. The output image area is cleared and output refresh is executed.
2) Operation processing contents (1) I/O refresh is executed. (2) Normal or abnormal operation and mounting conditions of the loaded module are checked. (3) Communications service or other internal operations are processed.

5.4.3 PAUSE mode

In this mode, the program operation is temporarily stopped. If it returns to the RUN mode, the operation continues from the state before the stop.
1) Processing when the operation mode changes Data area and input image are not cleared and the operating conditions just before the mode change is maint
ain.
2) Operation processing contents (1) I/O refresh is executed. (2) Normal or abnormal operation and mounting conditions of the loaded module are checked. (3) Communications service or other internal operations are processed.

5.4.4 DEBUG mode

In this mode, errors of a program are searched and the operation sequence is traced. Changing into this mode is only possible in the STOP mode. In this mode, a program can be checked with examination on its execution sta te and contents of each data.
1) Processing when the operation mode changes (1) Data area is initialized at the starting time of the mode change complying with the restart mode, which has
been set on the parameters.
(2) The output image area is cleared and output refresh is executed.
2) Operation processing contents (1) I/O refresh is executed by one time every scan. (2) Communications service or other internal operations are processed.
5-16
Chapter 5 CPU Module
3) Debug operation conditions
• Two or more of the following four operation conditions can be simultaneously specified.
Operation conditions Description Executed by the one (step operation) Executed to the specified breakpoint. Executed according to the device status Executed by the specified scan numbe r.
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,
Executes just an operation unit ( one step)
Executes user program until the specified step (break point)
Execute user program until a device (bit or word) assigned is changed to the specified status
Execute user program for specified number of scans
refer to
the KGL WIN User’s Manual Chapter 9.’Debugging’

5.4.5 Operation mode change

1) Operation mode change methods
The following method is used to change the operation mode. (1) Change by the mode-setting switch of CPU module. (2) Change by the KGLWIN connected with the CPU module communications port. (3) Change by the KGLWIN connected to the remote CPU module through Cnet (4) Change by the STOP instruction, during program execution.
2) Operation mode change by the mode-setting switch of CPU module 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 Remote STOP PAU / REM RUN 1 Local RUN RUN PAU / REM * 2 Local PAUSE PAU / REM STOP Local STOP
REMARK
1) ∗ 1: If the operation mode changes from RUN mode to local RUN mode by the mode setting switch, th e PLC operates continuously without stopping.
5-17
Chapter 5 CPU Module
3) Remote operation mode change Remote operation mode change is available only when the operation mode is set to the remote STOP mo de (i.e., the mode setting switch position is in the STOP PAU/REM’).
Mode setting switch position
PAU / REM
Mode Change
Remote STOP Remote RUN Remote STOP Remote PAUSE X X Remote STOP DEBUG Remote RUN Remote PAUSE Remote RUN Remote STOP Remote RUN DEBUG X X Remote PAUSE Remote RUN Remote PAUSE Remote STOP Remote PAUSE Remote DEBUG X X DEBUG Remote STOP DEBUG Remote RUN X X DEBUG Remote PAUSE X X
Mode change by the KGLWIN
○ ○ ○
○ ○
Mode change using FAM or computer link, etc.
○ ○ ○
○ ○
4) Remote operation mode change enable/disable
It is possible to disable the mode change for system protection so that some parts of the operation mode sources cannot change the mode. If remote operation mode change has been disabled, the operation mode change is possible only by the mode setting switch and KGLWIN. To enable the remote operation change, set the parameter ‘Enabling the PLC control by communications’ to enable. (For details, refer to the Append ix 1. System Definitions)
5-18
Chapter 5 CPU Module

5.5 Functions

5.5.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 the PLC power supply is turned on and when an error occurs the PLC i
s in the RUN
state. If an error is detected, the system stops operation to prevent faulty PLC operation.
2) WDT (Watch dog timer) function The watch dog timer is an internal timer of a PLC to detect the error of hardware and a sequence program. The default value is set as 200msec, and it is changeable with parameter setting. Refer the MASTER-K programming manual for details on the parameter setting. The CPU resets the watch dog timer before step 0 is executed (after the END processing is finished). When the END instruction has not been executed within the set value due to an error occurred in the PLC or the long scan time of a sequence program, the watch dog timer will times out. When a watch dog timer error is occurred, all outputs of the PLC are turned OFF, and the ERR LED of the CPU will flashes. (RUN L ED will be turned OFF) Therefore, when use FOR ~ NEXT or CALL instruction, insert WDT instruction to reset the watch dog timer.
3) Battery check function When the voltage of the battery for back-up the memory IC of CPU are lower than the minimum back-up voltage, the BAT LED of CPU module will be turned on.
5-19
Chapter 5 CPU Module

5.5.2 I/O Force On/Off function

It is possible to input/output a designated data regardless of the result of program operation. This function is useful to check operation of the input/output modules and wiring between the output modules and external devices.
1) Force On/Off setting method. Force on/off setting is applied to input area and output area. Force on/off should be set for each input and output, the setting operates from the time that Force I/O setting
enable’ is set.
This setting can be done when I/O modules are not really loaded.
Select the ’set forced I/O’ from KGLWIN
Select the I/O area and then double click.
Click
5-20
Chapter 5 CPU Module
When forced I/O set enables, forced I/O function is executing.
Set ‘forced I/O data’ by bit
Set ‘forced I/O data enable’ by bit
Click
5-21
Chapter 5 CPU Module
2) Special data register for forced I/O set The contents of forced I/O setting is registered to special data register as below. It is possible to use ‘forced I/O function’ to program.
Item Special Device All Forced I/O enable M1910 Forced I/O enable by bit D4700 ~ D4731 Forced I/O set data D4800 ~ D4831
3) Force on/ off Processing timing and method (1) Force Input
• After data have been read from input modules, at the time of input refresh the data of the junctions wh ich have been set to force on/off will be replaced with force setting data to change the input image are a. And then, the user program will be executed with real input data and force setting data.
(2) Force output
• When a user program has finished its execution the output image area has the operation results. At the time of output refresh the data of the junctions which have been set to force on/off will be replaced w ith force setting data and the replaced data will be output. However, the force on/off setting does not c hange the output image area data while it changes the input image area data.
(3) Force on off processing area
• Input/output areas for force on/off setting are larger than the real I/O areas. If remote I/O is specified using this area, the force on/off function is as just available in it as in the basic I/O areas.
(4) Precautions
• Turning the power off and on, changes of the operation mode or operation by reset switch (K1000S) do
es not change the previous force on/off setting data. They remain within the CPU module and operation is executed with the same data.
• Force I/O data will not be cleared even in the STOP mode.
• If a program is downloaded or its backup breaks, the force on/off setting data will be cleared. The oper
ating program in memory differs from the program in the flash memory so that if operation restarts with the program in the flash memory the on/off setting data will be also cleared.
• When setting new data, disable every I/O settings using the setting data clear’ function and set the new data.
REMARK
1) For detailed operation, refer to the KGLWIN user’s Manual Chapter 7 ‘Force I/O setting.
5-22
Chapter 5 CPU Module

5.5.3 Direct I/O Operation function

This function is usefully available when an input junction state is directly read during execution of a program and used in the
operation, or the operation result is directly output to an output junction. Direct input/output is executed by use of the ‘IORF’ instruction. If this instruction is used, the input/output image area will be directly updated and applied to the continuing operations.
REMARK
1) For detailed operation, refer to the ‘MASTER-K Manual for instruction’.

5.5.4 System error history

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.
1) Special data register for error history Data area Description
D4901 ~ D4904 The latest error information
Device
2) Description of each word
D4901 h9905 Year : 99, Month : 5 D4902 h2812 Date : 28, Hour : 12 D4903 h3030 Minute : 30, Second : 30 D4904 h0001 Error code (h0001)
3) Clear error data
Use a ‘data clear’ function of KGLWIN or KLD-150S
D4905 ~ D4908 The 2nd latest error information D4961 ~ D4964 The 16
Contents Description
: :
th
latest error information
5-23
Chapter 5 CPU Module

5.6 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 Word Data Area User Program Area
M000
M189 M190
M191 K00
P00
P
13
K31 F00
F63 L00
L63
0 ~ F
I/O relay
Auxiliary relay
(3,040 points)
Special auxiliary relay (32 points)
Keep relay
(512 points)
Special relay (1,024 points)
Link relay
(1,024 points)
0000 ~ FFFF
D0000
Data Register
“P”
D4500
“M”
Reservedfor specialusage
“D”
Word
T000
Timer preset value
“M”
T255
(256 words)
Parameter setting area
User Program
Area
(7ksteps)
T000
Timer elapsed value
“K”
T255
(256 words)
C000
Counter preset value
“F”
C255
(256 words)
C000
Counter elapsed value
“L”
C255
(256 words)
T000
T191 T192
T255
C000
C255
Timer relay (100ms) 192 points
Timer relay (10ms) 64 points
Counter relay 256 points
“T”
“T”
“C”
S00
S99
Step Controller
(100 x 100 steps)
S00.00~S99.99
“S”
5-24
Chapter 5 CPU Module

5.7 I/O No. Allocation Method

I/O No. allocation means to give an address to each module in order to read data from input modules and output data to output
modules.
Mounting module No. of module can be mounted remark
Max. 3 expansion module is available
Expansion I/O module 2 A/D conversion module 2 Analog timer module 3 Communication module 1
I/O No. allocation method
module area remark
Expansion #3 (Special)
Input P000 ~ P03F Fixed 64 points Main Output P040 ~ P07F Fixed 64 points Input P080 ~ P08F Fixed 16 points Expansion #1 Output P090 ~ P09F Fixed 16 points Input P100 ~ P10F Fixed 16 points Expansion #2 Output P110 ~ P11F Fixed 16 points
None A/D,A/T,Communication
Basically I/O allocation is fixed point method.(the area which is not used can be used internal relay) The special module is not allocated.
5-25
Chapter 5 CPU Module

5.8 Built-in Flash Memory

MK80S series includes a built-in flash memory to store user program. Also, user can set the PLC automatically executes the user program of flash memory when the PLC is turned on. It is similar with the ROM operation of other PLCs, but it is different that no external memory is required.

5.8.1 Structure

You can see dip switches as shown when you open I/O terminal block cover.
BUILT_IN CNET
ON
ROM MODE
Terminal block cover
OFF
5-26
Chapter 5 CPU Module

5.8.2 Usage

Set the base unit to the STOP mode. Select the ‘Flash memory’ of on-line menu, the following window shows.
1) read read the program and parameter to CPU memory from fresh memory
2) write write the program and parameter to fresh memory from CPU memory
3) verify verify the program and parameter between CPU memory and fresh memory
5-27
Chapter 5 CPU Module
󰼿
󰼿ON󰼿
󰼿
4) dip switch for operating flash memory.
Dip switch position Description
upper switch is for Cnet.
ON
ROM󰼿MODE󰼿
Upper switch is for Cnet.
REMARKS
1) The flag for flash memory operation is F00A.
Dip switch for flash memory operation is placed in deep place to prevent a mistaken operation caused by terminal block cover, etc. Use a small driver to operate it.
ROM󰼿MODE󰼿
OFF
OFF
When power is on, the program saved in the flash memory operates.
CPU recognizes that there is no program in the flash memory, and starts to drive program from RAM.
Driver
󰼿
Dip switch
Terminal block cover
5-28
Chapter 5 CPU Module

5.9 External Memory Module

MK80S series supplies external memory module for the user to save programs safely or download a program on the system and use it in case of a program is damaged.

5.9.1 Structure

Installation connector

5.9.2 Usage

1) Saving the user’s program on the external memory module. Turn the power of the base unit off. Install the memory module.
When only basic unit is used: Connect to the expansion connector of the basic unit.
When expansion unit is used: Connect to the expansion connector of the last connected expansion unit.
Turn the dip switch for ROM mode setting of the base unit to OFF.
(4) Turn the power of the base unit on. (5) Connect KGLWIN and PLC. (6) Select Online – Flash memory – Write external memory in menu, and the following message box will displayed.
ON
ROM MODE
OFF
This switch is for Cnet.
(8) Choose an item to be saved in the flash memory and press ‘OK.’ (9) Turn the power of the base unit off. (10) Remove the external memory module. Through the above steps a user can save a program into the external memory module.
5-29
Chapter 5 CPU Module
󰼿
󰼿
2) Run the PLC with a program of external memory module (1) Turn the power of the base unit off. (2) Install the memory module (When only base unit is used, connect to the expansion connector of the base unit. And when expansion unit is used, connect to the expansion connector of the last connected expansion unit).
(3) Set the dip switch for ROM mode setting of the base unit to OFF position.
(4) Turn on the power of the base unit. (5) As RUN LED and ERR. LED are on, the contents of the memory module is transferred into the program area of the base unit and ROM operation area of the flash memory. (It may take about 15 sec.) (6) Operate according to the set operation mode. (7) Turn off the power of the basic unit. (8) Remove the memory module. (9) Turn the power on.
Through the above steps the user can operate the PLC with program stored in the external memory module.
REMARK
1) When the PLC is operated with the external memory module, it always operates with restart.
ON
ROM󰼿MODE󰼿
OFF
This switch is for Cnet.
2) Remove after the program transfer is finished.
5-30
Chapter 5 CPU Module

5.10 RTC Module

MK80S series supplies RTC(Real Time Clock) module for the time-scheduling control. To use RTC function with K80S series, the RTC operation module should be attached to the expansion slot of main unit or expansion/special function unit. Clock operation by the RTC function is continued with a battery or super capacitor when the CPU is powered off.

5.10.1 Structure

5.10.2 Usage

Installation connector
1) Clock Data Clock data is the data comprised of year, month, day, hour, minute, second, and date.
Data name Description
Year 4 digits of the Christian Era
Month 1 to 12
Day 1 to 31 (A leap year is distinguished automatically)
Hour 0 to 23 (24 hours)
Minute 0 to 59
Second 0 to 59
0 Sunday 1 Monday 2 Tuesday
Date
2) Precision Max. 1.728 second per day (general temperature)
3 Wednesday 4 Thursday 5 Friday 6 Saturday
Remark
1. The RTC data does not have factory default setting. Please write a correct RTC data before using RTC function first time.
2. If unreasonable RTC data is written to the CPU, the RTC function may operate abnormally.
Example : 13 (month) 32 (day)
5-31
Chapter 5 CPU Module
3) Read / write RTC data a) Read RTC data The current RTC data
Description
Memory Area (Word)
Upper byte Lower byte F053 Lower 2 digits of year Month h9812 F054 Day Hour h2219 F055 Minute Second h3746 F056 Higher 2 digits of year Date h1902
Example : 1998. 12. 22. 19:37:46, Tuesday
b) Write RTC data
There is two ways to write new RTC data to the CPU. The first one is using a handy loader (KLD-150S) or graphic loader (KGL-WIN). For detailed information, refer the user’s manual of KLD-150S or KGL-WIN. The second one is write sequence program. By switching a special bit on, user can replace the current RTC data with the preset data stored in a specified memory area. The followings are the memory address of preset data and an example program.
4) The preset RTC data Description
Memory Area (Word)
Upper byte Lower byte
Data (BCD format)
Data (BCD format)
D4990 Lower 2 digits of year Month h9901 D4991 Day Hour h1711 D4992 Minute Second h5324 D4993 Higher 2 digits of year Date h1900
Example : 1999. 1. 17. 11:53:24, Sunday
M1904 : RTC data change bit When the M1904 bit is switched on, the new data in D4990 ~ D4993 (K1000S : D9990 ~ D9993) will be moved to F53 ~ F56. After data is moved, M1904 has to be switched off immediately because current data will be update d every scan while M1904 is on.
<Example program>
P000
Start switch
[ MOV h9901 D4990 ] [ MOV h1711 D4991 ]
[ MOV h5324 D4992 ] [ MOV h1900 D4993 ]
[ D M1904 ]
:1999 January :17th 11 o’clock
:53min 24sec :1999, Sunday :Changing enable
Other Program
5-32
Chapter 5 CPU Module

5.11 Battery

1) Specifications
Item Specifications Normal voltage DC 3.0 V Warranty life time 5 years Application Programs and data backup, and RTC runs in power failure Specifications Lithium Battery, 3V External dimension (mm) φ 14.5 X 26
2) Handling Instructions (1) Don’t heat or solder its terminals. (2) Don’t measure its voltage with a tester or short circuit. (3) Don’t disassemble.
3) Battery Replacement
Backup battery needs periodic exchange. In case of battery replacement at power off, the built-in super capacitor backup the program and retain variables about 30 minutes. However, it is recommended to complete the batte ry replacement as soon as possible, or turn on the base unit during battery replacement.
Battery replacement
Open the cover of the CPU module.
Release the existing battery from the holder and disconnect the connector.
Insert a new ba ttery into the holder in the exact direction and connect the connector..
Check basic unit’s ERR LED if it is fli ck eri ng every 2 seconds.
ERR-Flickering ?
Yes󰼿
Battery error
5-33
No󰼿
Complete

Chapter 6 Input and Output Modules

Chapter 6 Input and Output Modules

6.1 Input / Output Specifications

Digital input that offers to MASTER-K80S series are made to use both of electric current sink and electric current source.
To keep use coil load as an output module, maximum opening and shutting frequency is 1 second on and 1 second off.
The following diagram shows maximum life relay for relay output.
Frequency (
100
×
100,000)
50
30
20
10
0.5
AC 125V r/load
DC 30V r/load
AC 250V r/load
3 2 1
Opening/shutting of electric current
10 5
100
6-
Chapter 6 Input and Output Modules

6.2 Digital Input Specification

6.2.1 Base unit

1) Specification
Model
Specification
Number of input points 6 points 12 points 18 points 24 points 36 points Insulation method Photo coupler Rated input voltage DC24V Rated input current 7mA (P000 ~ P002 : 16mA) Operating voltage range DC10.2 ~ 28.8V (ripple: less than 5%) Max. simultaneous input points 100% simultaneously On On voltage / On current DC19 V or higher/ 5.7 mA or higher (P000 ~ P002 : 12.7mA or higher) Off voltage / Off current DC6 V or lower / 1.8 mA or lower (P000 ~ P002 : 4mA or lower) Input impedance
Response time
Common terminal 6 points / COM 12 points / COM 18 points / COM 12 points / COM 16 points / COM Operating indicator LED turns on at ON state of input
Off → On On → Off
K7M-DR10S
K7M-DR10S/DC K7M-DR20S/DC K7M-DR30S/DC K7M-DR40S/DC K7M-DR60S/DC
K7M-DT10S
Approx. 3.3 kΩ (P000~P002: approx. 1.5 kΩ) 15ms or less *¹ 15ms or less *¹
K7M-DR20S
K7M-DT20S
*¹: It is possible to select from 1ms to 15ms by 1ms at KGLWI N.
Base unit
K7M-DR30S K7M-DR40S K7M-DR60S K7M-DT30S K7M-DT40S K7M-DT60S
2) Circuit diagram
Input no. P000 ~ P002
COM
Input no. P003 ~P03F
COM
R
R
C
Internal circuit
R
R
Internal circuit
6-
Chapter 6 Input and Output Modules
3) Input wiring
Base unit’s wiring method is as follows. DC input specifications offered by K80S is to be used for both electric
current sink and electric current source.
(1) 10-points base unit
DC24V
(2) 20-points base unit
DC24V
6-
Chapter 6 Input and Output Modules
(3) 30-point base unit
DC24V
(4) 40-point base unit
DC24V DC24V
6-
Chapter 6 Input and Output Modules
(5) 60-point base unit
DC24V DC24V
6-
Chapter 6 Input and Output Modules
4) Example of external devices. To connect with external device of DC output type into DC input module, wire depending on the type of the external device as shown.
Contact points
External device
Relay
7mA
Input module
IN
COM
NPN open collector output type
7mA
7mA
Power for sensor
Power for sensor
IN
COM +
Same power for sensor and input
IN
+
COM
NPN current output type
Sensor
Consta nt
+
Output
0V
+
Output
0V
PNP current output type
Voltage output type
+
Output
0V
+
Output
0V
7mA
Power for sensor
Power for sensor
IN
COM
COM +
IN
-
6-
Chapter 6 Input and Output Modules

6.2.2 Expansion Module

1) Specifications
Specification
Number of input points 6 points Insulation method Photo coupler Rated input voltage DC12 / 24V Rated input current 4.5 / 9 mA Operating voltage range DC10.2 ~ 28.8V (ripple: less than 5%) Max. Simultaneous input points 100% simultaneously On On voltage / On current DC9.5V or higher/ 3.5 mA or higher Off voltage / Off current DC5V or lower / 1.8 mA or lower Input impedance
Response time
Common terminal 6 points / com Operating indicator LED turns on at ON state of input
Off → On On → Off
*¹: It’s possible t o select from 1ms to 15 ms by 1ms at KGLWI N.
Approx. 2.7 kΩ 15ms or less *¹ 15ms or less *¹
Expansion Module Model
G7E-DR10A
2) Circuit diagram It’s the same with the one for the base unit.
3) Input wiring
DC24V
6-
Chapter 6 Input and Output Modules

6.3 Digital Output Specification

6.3.1 Base unit (Relay Output)

1) Specification
Model
Specifications
Output point 4 points 8 points 12 points 16 points 24 points Insulation method Relay insulation Rated load voltage/current Min. load Voltage/current DC5V / 1mA Max. load voltage/current AC250V, DC110V Current leakage when off 0.1mA (AC220V, 60Hz) Max. On/off frequency 1,200/hr Surge Absorber None
Mechanical More than 20,000,000
Life
Response time
Common method 1 point/ 1COM, 2 points/ 1COM, 4 points/1COM Operation indication LED is on at on status of output
Electrical
Off On On Off
K7M-DR10S K7M-DR20S K7M-DR30S K7M-DR40S K7M-DR60S
K7M-DR10S/DC K7M-DR20S/DC K7M-DR30S/DC K7M-DR40S/DC K7M-DR60S/DC
DC24V / 2A (r/load), AC220V / 2A (COS Ψ = 1) / 1 point 5A / 1COM
Rated on/off voltage/current load 100,000 or more AC200V / 1.5A, AC240V / 1A (COSΨ = 0.7) 100,000 or more AC200V / 1A, AC240V / 0.5A (COSΨ = 0.35) 100,000 or more DC24V / 1A, DC100V / 0.1A (L / R = 7ms) 100,000 or more 10 ms or less 12 ms or less
Base Unit
2) Circuit
Internal circuit
Relay
L
L
COM
6-
Chapter 6 Input and Output Modules
3) Output wiring (1) 10-points base unit
AC100-240V
FG COM0
P40 P41
COM1 COM2
P42 P43
COM3 •
(2) 20-points base unit
DC5V DC24V AC110/220V
6-
Chapter 6 Input and Output Modules
(2) 30-point base unit
L
DC5V DC24V AC110/220V
(3) 40-point base unit
DC5V DC24V AC110/220V
DC24V
6-10
Chapter 6 Input and Output Modules
(4) 60-point base unit
LL
L
L
LLL
L
LLL
L
L
L
L
L L
L L L
LLL
DC5V
DC24V AC110/220V
DC24V LDC24V
6-11
Chapter 6 Input and Output Modules

6.3.2 Base unit (Transistor Output)

1) Specification
Model
Specifications
Output point 4 points 8 points 12 points 16 points 24 points Insulation method Photo Coupler insulation Rated load voltage/current DC12 / 24V Operating load voltage DC10.2 ~ 26.4V Max. load current 0.5A / 1point, 3A / 1COM Current leakage when off 0.1mA or less Voltage drop when turn on 1.5V or less (Max. load) Max. Inrush Current 4A, 10mA Surge Absorber Clamp DIode
Response time
Common method 4 point/ 1COM 8 point/ 1COM Operation indication LED is on at on status of output
Off On On Off
K7M-DT10S K7M-DT20S K7M-DT30S K7M-DT40S K7M-DT60S
2 ms or less 2 ms or less
Base Unit
8 point/ 1COM 4 point/ 1COM
8 point/ 1COM
( x2)
8 point/ 1COM
( x3)
2) Circuit
Vcc
TR1
R1
P/C
C1
R2
TR2
D2
+24VD
C2D1
Load
COM
6-12
Chapter 6 Input and Output Modules
(3) Wiring Diagram
1) 10-point base unit
2) 20-point base unit
L L
L L
L L
L L
L L
L L
3) 30-point base unit
L L
L L
L L
L L
6-13
L L
L L
Chapter 6 Input and Output Modules
4) 40-point base unit
L L
L L
L L
L L
5) 60-point base unit
L L
L L
L L
L L
L L
L L
L L
L L
L L
L L
L L
L L
L L
L L
L L
L L
6-14
Chapter 6 Input and Output Modules

6.3.3 Expansion Module

1) Specifications
Model
Specifications
Output point 4 points Insulation method Relay insulation
Rated load Voltage/current
Min. load Voltage/current DC5V / 1mA Max. load voltage/current AC250V, DC110V Current leakage when off 0.1mA (AC220V, 60Hz) Max. On/off frequency 1,200/hr Surge Absorber None
Mechanical More than 20,000,000
Life
Response time Common method 1 point/ 1COM, 2 points/ 1COM
Operation indication LED is on at on status of output
Electrical
Off On On Off
DC24V / 2A (r/load), AC220V / 2A (COS Ψ = 1) / 1 point 5A / 1COM
Rated on/off voltage/current load 100,000 or more AC200V / 1.5A, AC240V / 1A (COSΨ = 0.7) 100,000 or more AC200V / 1A, AC240V / 0.5A (COSΨ = 0.35) 100,000 or more DC24V / 1A, DC100V / 0.1A (L / R = 7ms) 100,000 or more 10 ms or less 12 ms or less
Expansion Module
G7E-DR10A
2) Circuit
It’s the same with the output circuit of the base unit.
3) Output wiring
L
DC5V
L L L
DC24V
AC110/220V
REMARK
1) Refer to 7.2 ‘Special Functions’ for the special functio n units
6-15

Chapter 7 Usage of Various Functions

Chapter 7 Usage of Various Functions

7.1 Built-in Functions

7.1.1 High-speed counter function

This chapter describes the specification, handling, and programming of built-in high speed counter of MK80S. The built-in high speed counter of MK80S(hereafter called HSC) has the following features;
3 counter functions as followings
- 1-phase up / down counter : Up / down is selected by user program
- 1-phase up / down counter : Up / down is selected by external B phase input
- 2-phase up / down counter : Up / down is automatically selected by the phase difference between A-phase and B. Multiplication (1, 2, or 4) with 2-phase counter
- 2-phase pulse input multiplied by one : Counts the pulse at the leading edge of A-phase.
- 2-phase pulse input multiplied by two : Counts the pulse at the leading / falling edge of A-phase.
- 2-phase pulse input multiplied by four : Counts the pulse at the leading / falling edge of A-phase and B
1) Performance Specifications
Items Specifications
Types A-phase, B-phase, Preset
Input signal
Counting range 0 ~ 16,777,215 (Binary 24 bits)
Max. counting speed 1-phase 16kHz/ 2-phase 8kHz
Up / Down
selection
Multiplication 1, 2, or 4
2) Input specification
A / B phase
Preset input
Rated level 24VDC (15mA) Signal type Voltage input
1-phase Sequence program or B-phase input 2-phase Auto-select by phase difference of A-phase and B
Preset input Sequence program or external preset input
Items Specifications
Rated input 24VDC (15mA)
On voltage 14VDC or higher Off voltage 2.5VDC or lower
Rated input 24VDC (15mA)
On voltage 19VDC or higher
Off voltage 6V or lower On delay time Less than 1.5ms Off delay time Less than 2ms
7-
Chapter 7 Usage of Various Functions
3) Names of wiring terminals
Counter input
Preset input
BUILT_IN CNET
ON
OFF
ROM MODE
P00
P02
P04
I05
P1A
P0C
COM0
P01
P03
P0BP09P05
P12
24G
24V
No.
① ② ③ ④
Terminal No. Names Usage
P00 P01
P02
COM0
φ A 24V φ B 24V
Preset 24V
Common input
A Phase input terminal B Phase input terminal
Preset input terminal
Common terminal
4) External interface circuit I/O Internal circuit
Input
Input
1.5 kΩ
1.5 kΩ
1.5 KΩ
Terminal
No.
P00
P01
COM0
P02
COM0
Signal name
A-phase pulse Input (DC24V)
B-phase pulse Input (DC24V)
COM (input common)
Preset input (DC24V)
COM (input Common)
Operation
voltage
On 14 ~ 26.4 V Off 2.5V or lower On 14 ~ 26.4 V Off 2.5V or lower
On 19 ~ 26.4 V Off 6V or lower
Input warranted
7-
Chapter 7 Usage of Various Functions
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 MK80S, 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.
6) Wiring example
(1) Voltage output pulse generator
24V
Pulse Generator
24VG
(2) open collector output pulse generator
Pulse Generator
Pulse Generator
CHSC
A
B
COM
24V
CHSC
COM
A
B
24VG
7-
Chapter 7 Usage of Various Functions
7) Instruction When use the built-in high speed counter of K80S, the HSC instruction should be used. The instruction format of HSC is as
following;
When the value of operation mode (D4999), PV or SV is not proper, the instruction error flag (F110) turns on and the HSC
HSC EN
U/D PV ( )
PR SV ( )
instruction is not executed.
(D4999)
h1000
h1010
1 phase
h1100
h1110
h2001
h2002
h2004
2 phase
h2011
h2012
h2014
A phase B phase Preset
A-phase
A-phase
A-phase
A-phase
A-phase
A-phase
Pulse
input
Pulse
input
Pulse
input
Pulse
input
input
input
input
input
input
input
Input terminal Operation mode
– – –
– Preset input
U/D input
U/D input Preset input
B-phase
input
B-phase
input
B-phase
input
B-phase
input
B-phase
input
B-phase
input
– 1
– 2
– 4
Preset input
Preset input
Preset input
Multiplication Description
1
2
4
U/D : Set by sequence program PR : Set by sequence program U/D : Set by sequence program PR : Set by preset input U/D : Set by U/D input PR : Set by sequence program U/D : Set by U/D input PR : Set by preset input PR : Set by sequence program 1 multiplication PR : Set by sequence program 2 multiplication PR : Set by sequence program 4 multiplication PR : Set by preset input 1 multiplication PR : Set by preset input 2 multiplication PR : Set by preset input 4 multiplication
Remark The U/D and PR input of sequence program must be programmed with dummy input even they are set as external input. When the PR and/or U/D is set as external input, the input conditions of sequence program is ignored.
7-
Chapter 7 Usage of Various Functions
1) EN input (Counter enable) When the EN input turns on, the counter starts counting pulse. When the EN is off, the counting is stopped and the current value of high speed counter is cleared as 0.
2) U/D input (Up/down) When the U/D input is off, the high speed counter operates as up counter. When the U/D is off, it operates as down-counter.
3) PR input (Preset) When the PR input is on, the current value of high speed counted is replaced with the preset value (PV).
4) Output relay (F0170) The F070 bit will be turn on when the current value of high speed counter (F18 : lower word, F19 : upper word) is equal of greater than the set value (SV).
5) Carry flag (F0171) The carry flag turns on when the current value of high speed counter is underflow ( 0 Æ 16,777,215 ) during down counting or overflow ( 16,777,215 Æ 0 ) during up counting.
6) Current value
The current value of high speed counter is stored at two words, F18 and F19. The lower word is stored at F18, and upper word is stored at F19.
7-
A-p
4
3
2
Chapter 7 Usage of Various Functions
8) example program
(1) 1-phase operation mode (U/D by program : D4999 = h1010)
U/D : set by sequence program (M001) PR : set by external PR input
Ladder diagram
F12
MOV h1010 D4999 MOV 100 D0000
MOV 01000 D0010
M000 M001 M002
Time chart
hase pulse input
U/D input (M001)
0
Current value of HSC 0 2 3
HSC EN U/D PV D0000 PR SV D0010
1
1 1
7-
A-p
p
p
10
11
Chapter 7 Usage of Various Functions
(2) 1-phase operation mode (U/D by B phase : D4999 = h1100)
U/D : set by external input (B-phase input) PR : set by sequence program (M002)
Ladder diagram
F012
MOV h1100 D4999
Time chart
hase pulse input
hase input (U/D)
B-
PR in
ut (M002)
M000 M001 M002
HSC EN U/D PV 00100 PR SV 01000
Current value of HSC 10
08 09
100 101 09
7-
A-p
p
13
14
13
Chapter 7 Usage of Various Functions
(3) 2-phase operation mode (1 Multiplication Operation : D4999 = h2011)
U/D : set automatically by the phase difference between A and B phase PR : set by external PR input Multiplication : 1
Ladder diagram
F012
M000
M001 M002
Time chart
hase pulse input
hase input (U/D)
B-
Current value of HSC 10 12
MOV h2011 D4999
HSC EN U/D PV 00100 PR SV 01000
12 11 11
7-
A-p
p
Chapter 7 Usage of Various Functions
4) 2-phase operation mode (2 Multiplication Operation : D4999 = 2012)
U/D : set automatically by the phase difference between A and B phase PR : set by external PR input Multiplication : 2 times
Ladder diagram
F012
M000 M001 M002
MOV h2012 D4999
HSC EN U/D PV 00100 PR SV 01000
Time chart
hase pulse input
hase input (U/D)
B-
Current value of HSC 10 12 13 14 15 16 17 18 17 16 15 14 13 12
11
7-
A-p
p
23 24 20
21 25 22
Chapter 7 Usage of Various Functions
(5) 2-phase operation mode (4 Multiplication Operation : D4999 = h2014)
U/D : set automatically by the phase difference between A and B phase PR : set by external PR input Multiplication : 4 times
Ladder diagram
F012
MOV h2014 D4999
M000
M001 M002
Time chart
hase pulse input
hase input (U/D)
B-
Current value of HSC 10 14 16 18 20 22 24 25 23 21 19 17 15 12
15 19
HSC EN U/D PV 00100 PR SV 01000
16 11 17
18 14 13
7-10
Chapter 7 Usage of Various Functions

7.1.2. Pulse Output Function

In the transistor output type of MK80S, the pulse output function - maximum 2Kpps - is internalized. By using this function with stepping motor or servo motor driver, MK80S is applicable to a simple positioning system.
1) Usage of the Pulse Output
Transistor output type of MK80S outputs the signals of pulse and direction in an output contact point through the instruction (PULSOUT). The outputted pulse is connected to motor driver it is controlled position in the following figure.
K7M-DT30S
pulse
direction
driver
motor
Choose a mode from the pulse out function by parameter setting and operate following 3 modes
(1) Trapezoidal operation
The pulse output function operates in order of acceleration – uniform velocity – deceleration.
velocity
increasing decreasing
time
(2) Uniform velocity operation
Operates with the uniform velocity without increasing/decreasing operation
velocity
time
(3) Infinite operation
Operate infinitely without an increasing/decreasing operation until meet the emergency stop command.
velocity
time
7-11
Chapter 7 Usage of Various Functions
2) Functional Specification
Item
No. of output Output type Output velocity
Output pulse 0 ~ 2147483647 Execution type of the increasing/decreasing velocity Designation of acceleration
Type of the direction designation Load power supply Usable range of the load power supply Maximum load current Initiative electric current Maximum power dropdown under On Electric current leakage under Off On delayed time Off delayed time
Specification
1 point Pulse
Max 2Kpps, Min 50pps
Right/opposite direction pulse output DC 12V/24V
DC10.2 ~ 26.4V 150mA
Less than 0.4A, 10ms Less than DC 0.5V Less than 0.1mA Less than 1ms Less than 1ms
Remark
1) Several points can be used for the pulse output point if they are not output at the same tim e. Thus it is possible that right direction pulse is output as P040, opposite direction pulse is output as P041.
7-12
Chapter 7 Usage of Various Functions
3) Names of parts
AC100-240V
P40
P41
P42
Stepping motor
FG COM0
COM1
COM2
Output direction
Output pulse
No.
① ② ③ ④
Remark
Terminal No.
P40 COM0
P41 COM0
Names
Pulse output Pulse output terminal of right direction Common Direction output Common
Motor driver
Usage
Pulse output common terminal Direction output terminal
Direction output common terminal
If the motor drive is not input direction, but is input right/opposite direction pulse (the opposite direction pulse can be output through using 2 instruction (PULSOUT) to P41 contact point
7-13
Chapter 7 Usage of Various Functions
4) Internal circuit and external wiring
+12/24V – power supply input(12/24V DC)
Internal circuit
R
P40 pulse output
P41 - direction output
R
COM0 – output common
Internal circuit
K7M-DT30S
(Transistor output
internal circuit
R
Motor driver(24V)
R
R
R
+
­power supply
external wiring
Remark
Be careful about the counter plan of the noise during the wiring in the pulse output.
1) Use twisted pair shields wire for wiring and execute 3rd contact point.
2) Be sure to separate from the power supply line and I/O lines on which noise usually occurs.
3) Length of wire should be as short as possible.
4) Be sure to use the stable power supply for the pulse output and separate it from I/O power supply.
7-14
Chapter 7 Usage of Various Functions
5) The setting of pulse out parameter
The setting of pulse out parameter set KGLWIN. Setting windows is as below.
It is possible to set 40 operational pattern.
When click the pattern no. parameter setting window is displayed as bellow
6) parameter explanation (1) operational pattern No.
operation pattern No. is each pulse out pattern No. Max. 40 patterns can be set (2) Output pulse count It sets output pulse number.(The setting range : 0 ~ 42944967295) (3) Max speed
It sets operational speed at normal section (The setting range : 50 ~ 2000pps,
50multiflier only)
(4) Acceleration/ Deceleration mode Acceleration/ Deceleration mode is designation of increasing/decreasing velocity operation
Disable : uniform velocity operation enable : increasing/decreasing velocity operation
(5) Acceleration/deceleration slop
Acceleration slop is available in case that acceleration/deceleration mode is enable This is slop that pulse frequency reach to maximum pulse frequency from ‘0’ pulse. (only integer)
(6) Bit device set a) Direction contact signal
setting of contact for direction signal output
7-15
Chapter 7 Usage of Various Functions
b) continuous operation setting of contact for infinitive operation
c) emergency stop setting of contact for emergency stop
(7) The number of acceleration pulse
Automatically calculate at KGL-WIN if the maximum pulse and slop are set by user Calculation method is as below
The number of acceleration pulse = [(maximum pulse – 50) / 50 +( maximum pulse – 100) / 50 + ············ + (100 / 50) + (50 / 50) ] x acceleration slop x 2
ex) maximum pulse : 1000pps , acceleration slop : 1 The number of acceleration pulse = [(1000 – 50) / 50 + (900 – 50) / 50 + ············ +(100 /50 ) + (50 /50) ] x 1 x 2
= 380 (deceleration pulse is also 380) (8) acceleration time
Automatically calculate at KGL-WIN if the maximum pulse and slop are set by user.
Calculation method is as below acceleration time = [[(maximum pulse – 50) / 50] x acceleration slop x 10 ex) maximum pulse : 1000pps , acceleration slop : 1
acceleration time = [[(1000 – 50) / 50] x 1 x 10 = 380ms (deceleration time is also 380ms)
Remark
Acceleration slop and deceleration slop of MK80S pulse output are set up as the same. Set up proper value by the sort of motor because if a/d slop increases, the arrival time to the designated max. Cycle also increases.
7-16
Chapter 7 Usage of Various Functions
7) pulse out operation explanation
Condition 1) Set up as acceleration slop = 1, max. frequency = 1000, no of pulse out = 5000.
If as acceleration slop = 1, 1 pulse is output on the 1st step (velocity: 50pps). Pulse velocity is 50pps, so time consuming is 20ms. 2 pulses are output on the 2nd step (velocity: 100pps) and time consumes 20ms
By calculation in the same way, the time to reach to 1000pps is 20ms x (20-1) = 380ms, and the no. of output pulses are 1+2+3...+18+19 = 190 units.
Decreasing velocity inclination is 1, thus 190 units of pulses are needed. ° The no. of pulses in the uniform velocity region are 5000-190-190=4,620 units. ± Whole spent time is 50,380ms
Uniform velocity
Acceleration time:380ms Accelerating pulses:190
Time :4,620ms Pulses :4,620
Deceleration time :380ms Decelerating pulses:190
velocity
2nd step
1st step
Acceleration step : 19
50pps
20ms
example: when acceleration is 1.
Deceleration
Time
7-17
Chapter 7 Usage of Various Functions
Condition 2 Set up as acceleration slop = 2, max. frequency = 1000, no of pulse out = 5000.
If I/D velocity inclination is 2, 2 pulses are output on the 1st step(velocity: 50pps). Pulse velocity is 50pps. So time consuming is 40ms. 4 pulses are output on the 2nd step(velocity: 100pps) and time consumes 20ms By calculation in the same way, the time to reach to 1000pps is 40ms * (20-1) = 760ms, and the no. of output pulses are 2+4+6...+36+38 = 380 units.
Decreasing velocity inclination is 2, thus 380 units of pulses are needed. ° The no. of pulses in the uniform velocity region are 5000-380-380=4,240 units. ± Whole spent time is 57,600ms
velocity
1st step
Acceleration Time:760ms
es:380
Puls
nd
step
2
Uniform velocity Time:4,240ms Pulses:4,2
40
50pps
40ms
Example) Acceleration is 2.
Remark
Deceleration Time:760ms Pulses:380
Deceleration Acceleration step : 19
Time
If the acceleration slop goes bigger, the increasing time and pulse go bigger by direct proportion to inclination. Then be careful of an occurring of the instruction error when the no. of a/d pulse becomes bigger than the no. of whole pulse.
7-18
Chapter 7 Usage of Various Functions
8) instruction
Instructions
M P K L F T C S D #D
n
O O
S
DUTY
1
O O O O O O O O
S
2
O
PLSOUT S1 S2
D
Available Device
Inte-
ger
n
Pattern no.
S
2
Output pulse count no.
Steps
7
Error
(F110)
O
Flag
Zero
(F111)
Carry
(F112)
S
3
Output pulse contact
(1) Functions
- ‘n’ designates pattern no. which is registered at parameter.
- S1 designates device name which will be stored output pulse count no. and error code .(3 word)
- S2 designates output device (output P area ) .
(2) example of program
M0020
PLSOUT 5 D0000 P0040
when the M0020 is ‘On’ ,it outputs the pulse at 5 pattern to P0040. It stores the output pulse count no. at D0000 and D0001. It stores error information at D0002.
All output area is designated for pulse output contact , but it can’t designate over 2 contact at the same time.
7-19
Chapter 7 Usage of Various Functions
(3) instruction Error List
Error status
Contents
Treatment
00 01
02
03
04
05
Normal
Other PLSOUT instruction pulsating.
Velocity designation error (more than 2000, not a multiple of 50, designated 0) The no. of a/c velocity pulse is bigger than no. of all pulse is to output. No output contact point where is designated to the pulse output No output contact point where is designated to the direction output
­Change the other PLCOUT program.
Velocity designation adjustment
Acceleration adjustment
Output contact point designation
Output contact point designation
7-20
Chapter 7 Usage of Various Functions
9) Output Direction Input type of servo motor driver or stepping motor driver is subdivided into 2. Output direction of control can be
selected in the pulse output parameter.
(1) Selecting method of output direction
a) When driver gets input forward direction pulse and reverse direction pulse contact point, and the
forward/reverse direction signals one levels.
Output pulse
(P50)
Output dir.
(P51)
Forward direction output
Reverse direction output
velocity
acceleration slop 1
Initial position
Parameter setting
Direction contact designates P51.
Set velocity = 1Kpps
(velocity Profile)
Set position = 5000
decelerationslop: 1
time
(Example of a program) When the M000 is on, direction contact ‘P51’ is set, and pulse outputs at pattern ‘0’(forward direction output) When the M001 is on, direction contact ‘P51’ is reset, and pulse outputs at pattern ‘0’(reverse direction output) Be careful If direction bit use another purpose , pulse output operates abnormally.
7-21
Chapter 7 Usage of Various Functions
b) Driver gets input forward direction pulse and reverse direction pulse through different contact points.
Forward direction
(P50)
Reverse direction
(P51)
Forward operation Reverse operation
Forward direction
Reverse direction
Parameter setting
Program
Target position=10000
Forward dir. Start point
Target velocity = 1Kpps
Reverse dir. start point
Target velocity = 1Kpps
Velocity Profile
Target position =5000
Time
F210 turns on while the pulse output is operating.
7-22
Chapter 7 Usage of Various Functions

7.1.3. Pulse Catch Function

In the base unit, 8 points of pulse catch input contact points(P000 ~ P007) are internalized. Through using this contact point short pulse signal, short as 0.2ms, can be taken which can not be executed by general digital input.
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 0.2ms min can be detected.
2) Operating Explanation
input signal
input image data
step executing contents scan1 CPU senses input when pulse signal, min. 0.2ms, is input, then saves the status. scan2 used to turn on the region of input image scan3 used to turn off the region of input image
3) 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.
scan 1
scan 2
scan 3
7-23
Loading...