0% found this document useful (0 votes)
1K views99 pages

CE Smart PLC USER Manual

This document is the user manual for the CE Smart PLC. It provides instructions for installation, programming and operation of the CE programmable logic controller. The manual contains 5 chapters that cover getting started, installation, programming tools, ladder logic programming and function block diagram programming. It also includes appendices on keypad programming and a summary of changes between firmware and software versions.

Uploaded by

gerald rock
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views99 pages

CE Smart PLC USER Manual

This document is the user manual for the CE Smart PLC. It provides instructions for installation, programming and operation of the CE programmable logic controller. The manual contains 5 chapters that cover getting started, installation, programming tools, ladder logic programming and function block diagram programming. It also includes appendices on keypad programming and a summary of changes between firmware and software versions.

Uploaded by

gerald rock
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 99

CE Smart PLC USER Manual

CE Programmable Logic Smart Relay

4KA72X023 Version: 2 2007.10.17

Apply to: CE firmware version2.1, PC client program software version 1.9


Table of Contents

Contents ------------------------------------------------------------------------------------- Ⅰ
Summary of changes ------------------------------------------------------------------------------------- Ⅲ
Chapter 1: Getting Started -------------------------------------------------------------- 1
Examination before Installation --------------------------------------------------------------------- 2
Environmental Precautions -------------------------------------------------------------------------- 2
CE Model Identification ----------------------------------------------------------------------------- 3

Quick Start Setup -------------------------------------------------------------------------- 4


Install CE client software ------------------------------------------------------------------------------- 4
Connect Power to CE smart relay ------------------------------------------------------------------- 4
Connect Programming cable --------------------------------------------------------------------------- 5
Establish Communication -------------------------------------------------------------------------- 5
Write simple program -------------------------------------------------------------------------------- 6

Chapter 2: Installation -------------------------------------------------------------------- 10


General Specifications ------------------------------------------------------------------------------- 10
Product Specifications -------------------------------------------------------------------------------- 12
Mounting ------------------------------------------------------------------------------------------------ 13
Wiring --------------------------------------------------------------------------------------------------- 15

Chapter 3: Program Tools --------------------------------------------------------------- 18


PC Programming Software “CE Client” --------------------------------------------------------- 18
Installing the software -------------------------------------------------------------------------- 18
Connecting the software ---------------------------------------------------------------------- 18
Start Screen -------------------------------------------------------------------------------------- 19
Ladder Logic Programming Environment ------------------------------------------------- 19
Menu, Icons and Status Display ------------------------------------------------------------- 20
Programming ------------------------------------------------------------------------------------- 21
Simulation Mode --------------------------------------------------------------------------------- 22
Establish Communication ---------------------------------------------------------------------- 22
Writing program to smart relay --------------------------------------------------------------- 23
Operation menu ---------------------------------------------------------------------------------- 23
Online Monitoring/Editing ---------------------------------------------------------------------- 24
HMI/TEXT ----------------------------------------------------------------------------------------- 25
Programming Documentation ---------------------------------------------------------------- 28
Memory Cartridge ------------------------------------------------------------------------------------- 29
LCD Display and Keypad ---------------------------------------------------------------------------- 30
Keypad --------------------------------------------------------------------------------------------- 30
Original Screen ---------------------------------------------------------------------------------- 31
LCD display Main Menu ------------------------------------------------------------------------ 32
Chapter 4: Relay Ladder Logic Programming ------------------------------------- 38
Common Memory Types --------------------------------------------------------------------------- 38
Specialty Memory Types ---------------------------------------------------------------------------- 40
Output Instructions ---------------------------------------------------------------------------------- 41
Counter Instructions --------------------------------------------------------------------------------- 43
High Speed Counters (DC Version Only) ------------------------------------------------------- 49
Timer Instructions ------------------------------------------------------------------------------------- 51
Real Time Clock (RTC) Instructions --------------------------------------------------------------- 59
Comparator Instructions ---------------------------------------------------------------------------- 64
HMI Display Instructions ---------------------------------------------------------------------------- 66
PWM Output Instruction (DC Transistor Output Models Only) ------------------------------ 67
Data Link/Remote I/O Instruction (CE-20Vxx Models Only) ------------------------------ 68

Chapter 5: Function Block Diagram Programming ------------------------------ 71


Coil Block Instruction ----------------------------------------------------------------------------- 71
PWM Function Block ---------------------------------------------------------------------------- 72
SHIFT Function Block --------------------------------------------------------------------------- 72
Data Link Function Block ---------------------------------------------------------------------- 73
Logic Block Instructions ---------------------------------------------------------------------------- 74
AND Logic Block --------------------------------------------------------------------------------- 74
AND (Edge) Logic Block ----------------------------------------------------------------------- 74
NAND Logic Block ----------------------------------------------------------------------------- 74
NAND (Edge) Logic Block --------------------------------------------------------------------- 75
OR Logic ------------------------------------------------------------------------------------------ 75
NOR Logic ---------------------------------------------------------------------------------------- 75
XOR Logic ---------------------------------------------------------------------------------------- 75
SR Logic Block ----------------------------------------------------------------------------------- 76
NOT Logic Block --------------------------------------------------------------------------------- 76
Pulse Logic Block -------------------------------------------------------------------------------- 76
Function Block ---------------------------------------------------------------------------------------- 77
Common Counter Function Block ------------------------------------------------------------ 77
High Speed Counter Function Block -------------------------------------------------------- 78
Timer Function Block --------------------------------------------------------------------------- 79
RTC Function Block ---------------------------------------------------------------------------- 80
Analog comparator Function Block ---------------------------------------------------------- 81

Appendix: Keypad programming -------------------------------------------------------- 83


Appendix A: Keypad programming in Ladder mode --------------------------------------- 83
Appendix B: Keypad programming in Ladder FUNCTION BLOCK ---------------------- 88
Summary of changes
CE add some new functions with firmware version V1.7~V2.1
This user manual is modify by firmware V2.1 and CE Client programming software V1.9

To help you find new and updated information in this release of the manual, the table below lists the
sections that document new features and additional or updated information on existing features.
New function Firmware Client software
Page of this manual
& Description version version
1 Ladder input coils Page40: Special memory types
‘Lo’ Page43: Counter instruction
V1.7 V1.8
Page51: Timer instruction
Page91, 92: Keypad edit
2 Keypad input coils Page12: Specification
Z1~Z4 Page30, 31: Keypad define and original screen
Page35: Z SET function
V1.7 V1.8 Page38: Common memory types
Page43: Counter instruction
Page51: Timer instruction
Page71: FBD instruction
3 Add Analog input gain Page36: Analog SET count V1~V8
offset values V1~V8 Page43: Counter instruction
V1.7 V1.8
Page51: Timer instruction
Page89, 90: Keypad edit
4 Add RTC function Page63: RTC instruction mode4
block mode4: V1.8 V1.8 Page81: RTC function block mode4
30-second adjustment
5 Timer(E&F) present Page35: M KEEP set menu
value be memorized V1.8 - Page51: Timer E&F keep its current count time
as power off value after a loss of power to the smart relay.
6 Add level-2 password Page36: Password set menu
to protocol menu V1.9 V1.8
setting
7 Add 24 V AC power Page3: Model identification;
type: 12HR-24A, V2.0 V1.8 Page10~12, Specification
20HR-24A Page16, Input 24V AC
8 Add Timer, RTC, Page51: Timer instruction mode0
Analog comparator Page59: RTC instruction mode0
function block mode0: Page64: Analog comparator mode0
V2.1 V1.9
used as internal coils Page79: Timer function block mode0
Page80: RTC function block mode0
Page81: Analog function block mode0
9 PM05 write program Page29: Regulations for PM05
V2.1 -
to C type CE
Chapter 1: Getting Started 1

Chapter 1: Getting Started


The CE tiny smart Relay is an electronic device. For safety reasons, please carefully read and
follow the paragraphs with "WARNING" or "CAUTION" symbols. They are important safety
precautions to be aware of while transporting, installing, operating, or examining the CE
Controller.

WARNING: Personal injury may result from improper operation.

CAUTION: The CE smart relay may be damaged by improper operation.

Precaution for Installation

Compliance with the installation instructions and the user manual is absolutely necessary. Failure to
comply could lead to improper operation, equipment damage or in extreme cases even death, serious
bodily injury or considerable damage to property.

When installing the open-board models, insure that no wiring or foreign materials can fall into the
exposed circuits and components. Damage to equipment, fire, or considerable damage to property could
result.

Always switch off power before you wire, connect, install, or remove any module.

The wiring for the CE smart relay is open and exposed. For the open-board models, all electrical
components are exposed. For this reason, it is recommended the CE smart relay be installed in an
enclosure or cabinet to prevent accidental contact or exposure to the electrical circuits and components.

Never install the product in an environment beyond the limits specified in this user manual such as high
temperature, humidity, dust, corrosive gas, vibration, etc.

Precaution for Wiring

Improper wiring and installation could lead to death, serious bodily injury or considerable damage to
property.

The CE smart relay should only be installed and wired by properly experienced and certified personnel.

Make sure the wiring of the CE smart relay meets all applicable regulations and codes including local and
national standards and codes.

Be sure to properly size cables for the required current rating.

Always separate AC wiring, DC wiring with high-frequency switching cycles, and low-voltage signal wiring.
Chapter 1: Getting Started 2

Precaution for Operation

To insure safety with the application of the CE smart relay, complete functional and safety testing must be
conducted. Only run the CE after all testing and confirming safe and proper operation is complete. Any
potential faults in the application should be included in the testing. Failure to do so could lead to improper
operation, equipment damage or in extreme cases even Death, serious bodily injury or considerable damage
to property.

When the power is on, never contact the terminals, exposed conductors or electrical components.
Failure to comply could lead to improper operation, equipment damage or in extreme cases even death,
serious bodily injury or considerable damage to property.

It is strongly recommended to add safety protection such as an emergency stop and external interlock circuit
in case the CE smart relay operation must be shut down immediately.

Examination before Installation


Every CE smart relay has been fully tested and examined before shipment. Please carry out the
following examination procedures after unpacking your CE smart relay.
• Check to see if the model number of the CE matches the model number that you ordered.
• Check to see whether any damage occurred to the CE during shipment. Do not connect the CE smart relay to the
power supply if there is any sign of damage.
Contact if you find any abnormal conditions as mentioned above.

Environmental Precautions
The installation site of the CE smart relay is very important. It relates directly to the functionality
and the life span of your CE. Please carefully choose an installation site that meets the following
requirements:
• Mount the unit vertically
• Environment temperature: 32°F - 131°F (0°C - 55°C)
• Avoid placing CE close to any heating equipment
• Avoid dripping water, condensation, or humid environment
• Avoid direct sunlight
• Avoid oil, grease, and gas
• Avoid contact with corrosive gases and liquids
• Prevent foreign dust, flecks, or metal scraps from contacting the CE smart relay
• Avoid electric-magnetic interference (soldering or power machinery)
• Avoid excessive vibration; if vibration cannot be avoided, an anti-rattle mounting device should be installed to
reduce vibration.
Chapter 1: Getting Started 3

CE Model Identification

CE - 20 H R - A

Controller Type
Input Power:
D = 24V DC Powered
I/O Count:
12D = 12V DC Powered
8 = 8 points (expansion modules)
A = 100~240V AC Powered
10 = 10 I/O points
24A = 24V AC Powered
12 = 12 I/O points
20 = 20 I/O points
Output Type:
R = Relay
Form Factor: T = Transistor
H = Encased / LCD & Keypad
V = Encased /LCD, Keypad & RS-485 Communication
K = Encased /Blind (no LCD & Keypad)
C = Bareboard
E = Expansion
Quick Start Setup 4

Quick Start Setup


This section is a simple 5-steps guide to connecting, programming and operating your new
CE smart relay. This is not intended to be the complete instructions for programming and
installation of your system. Many steps refer to other sections in the manual for more
detailed information.

1. Install CE Client Software


Install the CE Client Software from CD.

2. Connect Power to CE smart relay


Connect power to the Smart Relay using the below wiring diagrams for AC or DC supply for
the applicable models. See “Chapter 2: Installation” for complete wiring and installation
instructions.
Quick Start Setup 5

3. Connect Programming Cable


Remove the plastic connector cover from the CE using a flathead screwdriver as shown in
the figure below. Insert the plastic connector end of the programming cable into the CE
smart relay as shown in the figure below. Connect the opposite end of the cable to an
RS232C serial port on the computer.

4. Establish Communication
a. Open the CE Client software and select “New Ladder Document” as shown below left.

b. Select “Operation/Link Com Port…” as shown below right.


Quick Start Setup 6

c. Select the correct Com Port number where the programming cable is connected to the
computer then press the “Link” button.

d. The CE Client will then begin to detect the connected smart relay to complete its connection.
5. Write simple program
a. Write a simple one rung program by clicking on the leftmost cell at line 001 of the
programming grid, then click on the “M” contact icon on the ladder toolbar, as shown
below. Select M1 and press the OK button. See Chapter 4: Ladder Programming
instructions for complete instruction set definitions.

Note: If the ladder toolbar is not visible at the bottom of the screen, select View>Ladder
Toolbar from the menu to enable.
Quick Start Setup 7

b. Use the “A” key on your keyboard (or the “A” icon from the ladder toolbar) to draw the
horizontal circuit line from the M contact to the right most cell, as shown below.

c. Select the “Q” coil icon from the ladder toolbar and drop it on the right most cells. Select
Q1 from the dialog and press OK as shown below. See Chapter 4: Ladder Programming
instructions for complete instruction set definitions.
Quick Start Setup 8

d. Test the simple program. From the Operation menu, select the Write function and write the
program to the connected smart relay as shown below.

e. Select the RUN icon from the toolbar, and select “No” when the pop-up message asks
“Do you want to read program from module?”, as shown below.
Quick Start Setup 9

f. From the Input Status dialog, click on M1 to activate the contact M1 which will turn ON
the Output Q1, as shown below. The highlighted circuit will show active and the first
Output (Q1) on the connected smart relay will be ON. See Chapter 3: Programming
Tools for more detailed software information.
Chapter 2 Installation 10

Chapter 2: Installation
General Specifications
CE is a miniature smart Relay with a maximum of 44 I/O points and can be programmed in Relay
Ladder Logic or FBD (Function Block Diagram) program. The CE can expand to its maximum I/O
count by adding 3 groups of 4-input and 4-output modules.

Power Supply
24V DC Models: 20.4-28.8V;
12V DC Models: 10.4~14.4V
Input Power Voltage Range AC Models: 85-265V;
24V AC Models: 20.4-28.8V
24VDC: 12-point : 90mA ;
20-point: 150mA ;
12VDC: 12-point: 150mA ;
Power Consumption
20-point: 240mA ;
100-240VAC: 90mA ;
24VAC: 290mA ;
Wire Size (all terminals) 26 to 14 AWG
Programming
Programming languages Ladder/Function Block Diagram
Program Memory 200 Lines or 99 Function Blocks
Programming storage media Flash
Execution Speed 10ms/cycle
LCD Display 4 lines x 12 characters
Timers
Maximum Number 15
Timing ranges 0.01s–9999min
Counters
Maximum Number 15
Highest count 999999
Resolution 1
RTC (Real Time Clock)
Maximum Number 15
Resolution 1min
Time span available week, year, month, day, hour, min
Compare Instructions (Analog, Timer, or Counter Values)
Maximum Number 15
Compare versus other inputs Analog, Timer, Counter, or Numeric values
Environmental
Enclosure Type IP20
Maximum Vibration 1G according to IEC60068-2-6
Operating Temperature Range 32° to 131°F (0° to 55°C)
Storage Temperature Range -40° to 158°F (-40° to 70°C)
Maximum Humidity 90% (Relative, non-condensing)
Vibration 0.075mm amplitude, 1.0g acceleration
8-point:190g
Weight 10,12-point: 230g (C type: 160g)
20-point: 345g (C type: 250g)
Agency Approvals cUL , CE, UL
Chapter 2 Installation 11

Discrete Inputs
3.2mA @24VDC
4mA @12VDC
Current consumption
1.3mA @100-240VAC
3.3mA @24VAC
24VDC: < 5VDC;
12VDC: < 2.5VDC
Input Signal ”OFF” Threshold
100-240VAC : < 40VAC
24VAC: <6VAC
24VDC: > 15VDC;
12VDC: > 7.5VDC
Input Signal ”ON” Threshold
100-240VAC : > 79VAC
24VAC: >14VAC
24, 12VDC: 5ms
Input On delay 240VAC: 25ms; 120VAC: 50ms
24VAC: 5ms
24, 12VDC: 3ms
Input Off Delay 240VAC: 90ms; 120VAC: 50ms
24VAC: 3ms
Transistor device compatibility PNP, 3-wire device only
High Speed Input frequency 1kHz
Standard Input frequency < 40 Hz
Required protection Inverse voltage protection required
Analog Inputs
Basic unit: 10 bit
Resolution
Expansion unit: 12bit
Basic unit: Analog input: 0-10VDC voltage,
24VDC when used as discrete input;
Voltage Range acceptable Expansion unit: Analog input: 0-10VDC voltage or
0-20mA current
Input Signal ”OFF” Threshold < 5VDC (as 24VDC discreet input)
Input Signal ”ON” Threshold > 9.8VDC (as 24VDC discreet input)
Isolation None
Short circuit protection Yes
Basic unit: A1-A4
Total number available
Expansion unit: A5-A8
Relay Outputs
Contact material Ag Alloy
Current rating 8A
HP rating 1/3HP@120V 1/2HP@250V
Resistive: 8A /point
Maximum Load Inductive: 4A /point
Maximum operating time 10ms (normal condition)
Life expectancy (rated load) 100k operations
Minimum load 16.7mA
Transistor Outputs
PWM max. output frequency 0.5kHz (1ms on,1ms off)
Standard max. output frequency 100Hz
Voltage specification 10-28.8VDC
Current capacity 1A
Resistive: 0.5A/point
Maximum Load Inductive: 0.3A/point
Minimum Load 0.2mA
Chapter 2 Installation 12

Product Specifications
Display &
Part # Input Power Inputs Outputs RS-485 Communications Max I/O
Keypad
CE-12HR-D 6 DC, 2 Analog 4 Relay ✓, Z1-Z4 N/A 36 + 4 *1
CE-12HT-D 6 DC, 2 Analog 4 Trans. ✓, Z1-Z4 N/A 36 + 4 *1
CE-20HR-D 8 DC, 4 Analog 8 Relay ✓, Z1-Z4 N/A 44 + 4 *1
24 VDC
CE-20HT-D 8 DC, 4 Analog 8 Trans. ✓, Z1-Z4 N/A 44 + 4 *1
CE-20VR-D 8 DC, 4 Analog 8 Relay ✓, Z1-Z4 Built-in MODBUS 44 + 4 *1
CE-20VT-D 8 DC, 4 Analog 8 Trans. ✓, Z1-Z4 Built-in MODBUS 44 + 4 *1
CE-12HR-12D 6 DC, 2 Analog 4 Relay ✓, Z1-Z4 N/A 36 + 4 *1
CE-20HR-12D 12 VDC 8 DC, 4 Analog 8 Relay ✓, Z1-Z4 N/A 44 + 4 *1
CE-20VR-12D 8 DC, 4 Analog 8 Relay ✓, Z1-Z4 Built-in MODBUS 44 + 4 *1
CE-10HR-A 6 AC 4 Relay ✓, Z1-Z4 N/A 34 + 4 *1
100-240 VAC
CE-20HR-A 12 AC 8 Relay ✓, Z1-Z4 N/A 44 + 4 *1
CE-12HR-24A 8 AC 4 Relay ✓, Z1-Z4 N/A 36 + 4 *1
24VDC
CE-20HR-24A 12 AC 8 Relay ✓, Z1-Z4 N/A 44 + 4 *1
Expansion Modules
CE-8ER-D 4 DC 4 Relay N/A N/A N/A
24VDC
CE-8ET-D 4 DC 4 Trans. N/A N/A N/A
CE-8ER-A 100-240VAC 4 AC 4 Relay N/A N/A N/A
CE-8ER-24A 24VAC 4 AC 4 Relay N/A N/A N/A
CE-4AI 4 Analog N/A N/A N/A N/A
CE-MBUS Communications Module, RS-485 ModBus RTU slaver
CE-DNET 24 VDC Communications Module, DeviceNet Group2 slaver
CE-PBUS Communications Module, Profibus-DP slaver
EN01 Communications Module, TCP/IP
OEM “Blind” Models, No Keypad, No Display
CE-12KR-D 6 DC, 2 Analog 4 Relay X N/A 36
CE-12KT-D 6 DC, 2 Analog 4 Trans. X N/A 36
24VDC
CE-20KR-D 8 DC, 4 Analog 8 Relay X N/A 44
CE-20KT-D 8 DC, 4 Analog 8 Trans. X N/A 44
CE-12KR-12D 12VDC 6 DC, 2 Analog 4 Relay X N/A 36
CE-10KR-A 6 AC 4 Relay X N/A 34
100-240VAC
CE-20KR-A 12 AC 8 Relay X N/A 44
OEM “Bareboard” Models, No Keypad, No Display, No Expansion
CE-12CR-D 6 DC, 2 Analog 4 Relay X N/A 12
CE-12CT-D 6 DC, 2 Analog 4 Trans. X N/A 12
24VDC
CE-20CR-D 8 DC, 4 Analog 8 Relay X N/A 20
CE-20CT-D 8 DC, 4 Analog 8 Trans. X N/A 20
CE-10CR-A 6 AC 4 Relay X N/A 10
100-240VAC
CE-20CR-A 12 AC 8 Relay X N/A 20
Accessories
CE-PL01 CE Programming Cable, CE Programming software
CE-PM05 CE Memory cartridge
*1: If module with keypad and display, Max IO can be added keypad input Z1-Z4.
Chapter 2 Installation 13

Mounting
DIN-rail Mounting
The CE smart relay should always be mounted vertically. Press the slots on the back of the CE and
expansion module plug CONNECTOR onto the rail until the plastic clamps hold the rails in place.
Then connect the expansion module and CONNECTOR with the Master (press the
PRESS-BUTTON simultaneously)
Chapter 2 Installation 14

It is recommended to apply a DIN-rail end clamp to hold the CE in place.

Direct Mounting
Use M4 screws to direct mount the CE as shown. For direct installation of the expansion module,
slide the expansion module and connect with the Master after the Master is fixed.
Chapter 2 Installation 15

Wiring

WARNING: The I/O signal cables should not be routed parallel to the power cable, or in the same cable
trays to avoid the signal interference.

To avoid a short circuit on the load side, it is recommended to connect a fuse between each output terminals
and loads.

Wire size and Terminal Torque

2
mm 0.14...1.5 0.14...0.75 0.14...2.5 0.14...2.5 0.14...1.5

AWG 26...16 26...18 26...14 26...14 26...16

C
Nm 0.6
3.5
(0.14in)
C
lb-in 5.4

Input 12/24V DC

Sensor Connection
Chapter 2 Installation 16

PE PE

I1 V1 C1 PE I1 V1 C1 PE

+ - DC 24v + - DC 24v

RUN RUN

SG2-4AI SG2-4AI
Input 4 x (0..10V/0..20mA) Input 4 x (0..10V/0..20mA)

I2 V2 C2 PE I2 V2 C2 PE

I3 V3 C3 I4 V4 C4 I3 V3 C3 I4 V4 C4

PE PE PE PE PE PE

Input 100~240V /24V AC

Output (Relay)

Output 4 x Relay / 8A Output 8 x Relay / 8A

Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8
Chapter 2 Installation 17

Output (Transistor)

OUTPUT 4 x TR / 0.5A OUTPUT 8 x TR / 0.5A

+Q1- +Q2- +Q3- +Q4- +Q1- +Q2- +Q3- +Q4- +Q5- +Q6- +Q7- +Q8-

Data Link OR Remote I/O Link

A1 A2 A3 A4 S A B A1 A2 A3 A4 S A B A1 A2 A3 A4 S A B

RS485 RS485 RS485

The power supply and the I/O supply should share the same power source. Only short circuit the first and
the last module.
When I/O link, the net can connect 8 products in max. (ID: 0-7).
When Remote I/O is available, it only can connect 2 products max. (Master & Slave).

①-1A quick-blowing fuse, circuit-breaker or circuit protector


②-Surge absorber (36V DC)
③-Surge absorber (400V AC)
④-Fuse, circuit-breaker or circuit protector
⑤-Inductive load
⑥-Only short circuit the first product and the last product
⑦-Comply with standard : EIA RS-485.
Chapter 3 Program Tools 18

Chapter 3: Program Tools


PC Programming Software “CE Client”
The CE Client programming software provides two edit modes, Ladder Logic and Function Block
Diagram (FBD). The CE Client software includes the following features:
1. Easy and convenient program creation and editing.
2. Programs can be saved on a computer for archiving and reuse. Programs can also be uploaded directly
from an CE and saved or edited.
3. Enables users to print programs for reference and review.
4. The Simulation Mode allows users to run and test their program before it is loaded to the controller.
5. Real-time communication allows the user to monitor and force I/O on the CE smart relay operation during
RUN mode.

Installing the Software


Install the CE Client Software from CD.

Connecting the Software


Remove the plastic connector cover from CE using a flathead screwdriver as shown in the
figure below. Insert the plastic connector end of the programming cable into the CE smart
relay as shown in the figure below. Connect the opposite end of the cable to an RS232C
serial port on the computer.
Chapter 3 Program Tools 19
Start Screen
Run the CE Client software and the following Start screen will be displayed. From this screen, you
can perform the following functions

New Ladder Program


Select File -->New -->New LAD
to enter the development
environment for a new Ladder
program.
New FBD Program
Select File -->New -->New FBD
to enter the development
environment for a new FBD
(Function Block Diagram)
program.
Open Existing File
Select File -->Open to choose the
type of file to open (Ladder or
FBD), and choose the desired
program file, and then click Open.

Ladder Logic Programming Environment


The Ladder Logic Programming Environment includes all the functions for programming and
testing the CE using the Ladder Logic programming language. To begin a new program select
File-->New--> and select the desired model of CE, and the number of connected expansion units
if applicable, as shown below.
Chapter 3 Program Tools 20
Menus, Icons and Status Displays
The Ladder programming environment includes the following Menus, Icons and Status Displays
1. Menu bar – Five menu selections for program development and retrieval, editing, communication to
connected controllers, configuration of special functions and viewing preference selections.
2. Main Toolbar – (From Left to Right)
Icons for a new program, opening a program, saving a program and printing.
Icons for Keypad, Ladder view, HMI/Text editing and Symbol (comments) editing.
Icons for Monitor, Simulator, Controller Mode changes (Run, Stop, and Quit), and Read/Write programs
to/from the CE smart relay.
3. Usage List – List for all memory types and addresses used with the current open program. Used
addresses are designated by a “*” symbol below each address.
4. Amount of free programming memory available.
5. Current Mode – operation mode of the controller, or simulator, from the connected PC.
6. Ladder Toolbar – Icons for selecting and entering all available Ladder Logic instructions.
7. Status Bar – Status of current open project and connected CE smart relay.
Chapter 3 Program Tools 21
Programming
The CE Client software can be programmed by either drag-and-drop of instructions or by using
keyboard entry commands. Below is an example of some common methods of entering
programming instructions.

The “A” and “L” keys or icons are used to complete parallel and serial circuits. The rightmost
column is for output coils.
Chapter 3 Program Tools 22
Simulation Mode
The CE Client software includes a built-in simulator to test and debug programs easily without the
need for downloading to a controller. To activate simulation mode, simply press the red RUN icon.
The program below is shown in simulation mode, identifying the significant available features.

Establish Communication
The following is the simple procedure for establishing communication between the connected
PC and the CE smart relay.
a. Select “Operation/Link Com Port…” as shown below.
Chapter 3 Program Tools 23

b. Select the correct Com Port number where the programming cable is connected to the
computer then press the “Link” button.
c. The CE Client software will then begin to detect the connected smart relay to complete it’s
connection.

Writing Program to smart relay


From the Operation menu, select the Write function and write the program to the connected
smart relay as shown below.

Operation menu
The Operation menu, includes several system configuration functions for both online and offline
setup. The following explains the details of each function.
Monitor – Online function for runtime monitor and editing when connected to a controller
Simulator – Offline function for testing and debugging a program.
Run-Stop-Quit – Mode change selections for both runtime editing and simulation mode.
Read-Write – Reading and writing programs to and from a connected PM05 memory cartridge.
RTC Set – Online function for setup of the Real-time clock/calendar (see dialog below left)
Analog Set – setup analog input A1-A8 gain and offset (see dialog below right)
Password – Set a password for accessing the current program after upload to the smart relay
Language – Change software language
Module System Set – Dialog for changing important system setup functions including Module ID,
Remote I/O preferences, Expansion I/O settings, and Retentive memory preferences (Keeping)
for (C) Counters, (M) Auxiliary Coils, and (Z) keypad input set and the LCD Backlight.
Chapter 3 Program Tools 24

Online Monitoring/Editing
The CE Client software allows for online monitoring of the currently running program during
runtime. Additional online functions include, I/O forcing, and Mode changes (Run/Stop/Quit).

Note: The CE Client software does not support runtime logic editing changes. All logic edits to contacts,
coils, timers/counters, and circuit connecting lines must be written to the connected smart relay while in
Stop mode.
Chapter 3 Program Tools 25
HMI/TEXT
This function block ,12×4 can display the information as word information, present value and target value
counter, timer, RTC and Analog comparator. Under running mode, to modify the target value of timer, counter
and analog comparator via HMI is available. HMI can display the status of input terminal (I, Z, X) and Auxiliary
terminal M, N(only FBD).

HMI/TEXT setting:
Chapter 3 Program Tools 26

① Enter the H1 coil


② Into HMI/TEXT edit frame
③ Choice the “T”
④ Choice the “E”, …
⑤ Choice T1 current
⑥ Choice T1 current (unit)
⑦ Choice T1 present(unit), user can modify T1 preset value when H coil enable and display on LCD
⑧ Download to CE, and I1 turn ON, or because the H coils be set to mode 1, press “SEL” then the CE LCD will
display as shown below.

Ⅰ, Press “↑” or “↓” to choice another H coil


Ⅱ, Press “SEL”+“↑” or “↓”and “OK” can update T1 preset value
(In this example,50.00 can be modified, T1 preset value depend on HMI/TEXT edit frame
setting。)

HMI/TEXT Example:
Chapter 3 Program Tools 27

① Press “SEL” to display cursor


② Press “↑”, “↓”, “←”, “→” t o move cursor
③ Press “SEL” again to choice modified position
④ Press “↑”, “↓” to change number
and press “←”, “→” to move cursor
⑤ Press “OK” to make sure the modify value

Press “←”(Z2) to disable H3 coil ,and Q1 turn OFF


As program designed And the LCD display changes to initial
frame ↓” to reset Timer (T1、
Press “↓ 、T2、 、T3) as program designed

Program Documentation
The CE Client software includes the ability to document a program using Symbols and Line
Chapter 3 Program Tools 28
Comments. Symbols are used to label each I/O address up to a length of 12 characters. Line
Comments are used to document sections of a program. Each Line Comment can have up to 4
lines with each line containing up to 50 characters in length. Below are examples of entering
Symbols and Line Comments.
Symbol
The Symbol editing environment can be access through the menu using the Edit>Symbol…
selection or using the symbol icon on the main toolbar shown below.
The Symbol editing environment allows for documenting all the contact and coil memory types,
and selecting display modes as shown below.

Line Comments
The Line Comment editor is accessed by clicking the “N” icon on the Ladder Toolbar. After
clicking on the “N” icon, to drag the line number you want to comment and release, and then type
the desired comments and press OK.
Chapter 3 Program Tools 29
Memory Cartridge (sold separately)
The optional PM05 memory cartridge is used to easily transfer programs from one smart relay to
another. The PM05 memory cartridge plugs into the same connector as the programming cable
(see procedure below).

1. Remove the plastic connector cover from CE using a flathead screwdriver as shown in the figure above.

2. Insert the PM05 memory cartridge onto the connector as shown above.

3. From the display keypad on the face of the CE smart relay, select either WRITE (to PM05) or READ
(from PM05) to transfer the program to or from the smart relay to the PM05 memory cartridge.

4, K type and C type, electrify the product, the program in PM05 will automatically download and
executed.

5, Program in different types are not compatible, here are the regulations:
A-1: 10/12 point type program ---- available in 20 point type
A-2: 20 point type program ---- unavailable in 10/12 point type
B-1: AC type program ---- available in DC type
B-2: DC type program ---- unavailable in AC type
C-1: Relay type program ---- available in Transistor type
C-2: Transistor type program ---- unavailable in Relay type
D-1: Not-V type program ---- available V type
D-2: V type program ---- unavailable Not-V type
Chapter 3 Program Tools 30
LCD Display and Keypad
Keypad

Most CE CPU units include the built-in LCD Display and Keypad. The keypad and display are
most often used for changing timer/counter set points, controller mode changes (Run/Stop),
uploading/downloading to the PM05 memory cartridge, and updating the RTC (Real Time
Clock/Calendar). Although, logic programming can be performed from the keypad and display, it
is highly recommended to only perform logic changes using the CE Client software. Below is an
overview of the basic keypad and display functions.

Select – Used to select the available memory and instruction types for editing. Holding the Select
button will display all “H” HMI/Text messages on the LCD.
OK – Used to accept the selection displayed of an instruction or function. It is also used to select
any of the Main Menu options on the LCD.
Note: Press the “SEL” and “OK” simultaneously to insert a rung above the current active cursor position.

Escape – Used to exit a selected display screen and go to the previous screen. When in a ladder
display screen, press the ESC to display the main menu.
Delete – Used to delete an instruction or rung from the ladder program.
The 4 navigation buttons (↑↑←↓→)
←↓→ are used to move the cursor throughout the functions of the CE
display or active program. The 4 buttons also can be set programmable input coils Z1-Z4
↑’= Z1, ‘←
(‘↑ ←’=Z2, ‘↓ ↓’=Z3, ‘→
→’ =Z4);
Chapter 3 Program Tools 31
Original Screen
LCD displays 4-line state

◎ Original screen as the power is on

Press the button:


ESC Back to Main Menu
Under LADDER Edit Mode, display the state of other relays (expansion
X&Y⇔M ⇔ T ⇔ C ⇔ R ⇔ G⇔A) ⇔ Original Screen
SEL+↑ ↓
Under FBD Edit Mode, display the state of other relays (expansion
X&Y⇔M ⇔ N⇔A) ⇔ Original Screen
H Function will be displayed as the button is pressed. If Mode 2 is
SEL
selected for HMI, the H Function will not be displayed.

◎ Expansion display State

CE Z SET and expansion module SET: refer to Main Menu “SET”


Chapter 3 Program Tools 32
◎ Other Display State
Ladder edit mode: Coil M, T, C, R, G, Analog input A1~A4, Expansion Analog input A5~A8;
FBD edit mode: Coil M, N, Analog input A1~A4, Expansion Analog input A5~A8;

LCD Display Main Menu


LCD displays 4-line Main Menu

(1) The Main Menu as CE under ‘STOP’ Mode.


Into ladder main function to press ESC after power on when the user program is ladder type or empty
program.
Into FBD main function to press ESC after power on when the user program is FBD download from PM05 or
CE client.
Menu Description
> LADDER Ladder edit
FUN.BLOCK Ladder function block
(timer/counter/RTC …) edit
FBD FBD display
PARAMETER FBD block parameter display
RUN RUN or STOP
CLEAR PROG. Clear the user program and the
password
WRITE Save user program to PM05
READ Read user Program from PM05
SET System setting
RTC SET RTC setting
ANALOG SET Analog setting
PASSWORD Password setting
LANGUAGE Select the language
INITIAL initially set Edit method
Chapter 3 Program Tools 33
(2) The Main Menu as CE under ‘RUN’ Mode.

> LADDER (FBD)


FUN.BLOCK (PARAMETER)
STOP
WRITE
RTC SET
PASSWORD
LANGUAGE

Press the Button


↑ ↓ Move the Cursor to select Main Menu
OK Confirm the selected Function
ESC Skip to Initial Screen

CE can be modified, edited, cleared and read user program only when it is under STOP Mode.
As the program is modified, CE will automatically backup it to EEPROM. (Not PM05)

◎ Main Menu LADDER

Press the Button


Button Description
SEL 1. Ix ⇒ ix ⇒ ── ⇒ space ⇒ Ix (only for digital and character position of 1,3,5 column.)
2. Qx ⇒ space ⇒ Qx (only for digital and character position of 8 column.).
3. ┬ ⇒ Space⇒ ┬ (all available but the 2,4,6 column of the first line)
┴ ┴ x : Digital: 1~F
SEL +↑/ ↓ 1. 1...F, ─ (When the cursor locates the digital position, the range of digital is restricted by the relay type.
2. I ⇔ X ⇔ Z ⇔Q ⇔ Y⇔ M ⇔ D ⇔ T ⇔ C ⇔ R ⇔ G ⇔ I (When the cursor located at 1,3,5
Column).
3. Q ⇔ Y ⇔ M ⇔ T ⇔ C ⇔ R ⇔ G ⇔H ⇔ L ⇔P ⇔ Q (When the cursor located at 8 Column)
4. ( ⇔  ⇔  ⇔ P ⇔ ( (When the cursor located at 7 Column, and the 8 Column is set as Q, Y, M)
5. ( ⇔ P ⇔ ( (When the cursor located at 7 Column, and the 8 Column is set as T)
SEL + ←/→ Confirm the input data and move the cursor
↑/ ↓ Vertically move the cursor
←/ → Horizontally move the cursor
DEL Delete an instruction
ESC 1. Cancel the Instruction or action under Edition.
2. Back to Main Menu after query the program.
OK 1. Confirm the data and automatically save, the cursor moves to next input position.
2. When the cursor is on Column 8, Press the button to automatically enter the function block and set the
parameters(such as T/C)。
SEL+DEL Delete a Line of Instruction.
SEL+ESC Display the number of the Lines and operation state of CE (RUN/STOP)。
SEL+↑/ ↓ Skip up/ down every 4-line program.
SEL+OK Insert a space line
Operation Sample: more detailed to see appendix A.
Chapter 3 Program Tools 34

◎ FUNCTION BLOCK program input


Press “SEL” key, Ladder function block type: T→C→R→G→H→P→L→T…

Function blocks more detailed to see Chapter 4-Relay Ladder Logic Programming.
Operation Sample: more detailed to see Appendix B.

◎ RUN or STOP

(1) RUN Mode (2) STOP Mode

↑ ↓ Move the cursor


OK Execute the instruction, then back to main menu
ESC Back to main menu

◎Other Menu Items

(1) CLEAR PROGRAM (Clear RAM, EEPROM and Password at the same time)

(2) WRITE (save the program (RAM) to the PM05 program spare cartridge)

(3) READ (read the program from the PM05 program spare cartridge to CE (RAM))

(1) ∼ (3) Now Press:


↑ ↓ Move the cursor
OK Execute the instruction, then back to main menu
ESC Back to main menu
Chapter 3 Program Tools 35

(4) SET (system setting)


ID SET 00  ID setting (00~99)
REMOTE I / 0 N  Remote I/O Mode (N: none M: Master S: Slave)
BACK LIGHT ×  Back light mode
(√: always light ×: light for 10s after pressed.)
M KEEP √  M: non-Volatile (√:Volatile ×: Non- Volatile)
I/O NUMBER 0  Setting expansion I/O module number(0~3)
I/O ALARM √  Siren setting when is not available to Expansion I/O Points
(√:Yes ×:No)
C KEEP ×  in stop/run switching, Counter Present Value Keeping
(√:Yes ×:No)
Z SET ×  Enable or disable keypad input Z1-Z4 √:enable ×:disable)

Note: M KEEP function is available for keeping M status and current value of Timer-E/F when power is re-
supplied after loss.

Now Press:
↑↓←→ Move the cursor
SEL Begin to edit.
Press ‘SEL’ Move the cursor for ‘ID SET item’
and ‘← →’
Press ‘SEL’ 1. ID SET=00~99 ; I/O NUMBER=0~3
and ‘↑ ↓’ 2. REMOTE I/O = N⇔M⇔S⇔N
3. BACK LIGHT ; C KEEP ; Z SET =×⇔√
4. M KEEP; I/O ALARM =√⇔×
OK Confirm the Edition Data
ESC 1. Cancel the setting when pressed ‘SEL’
2. Back to Main Menu
Note:
When DATALINK is selected, ID setting range is 0~7, which should be continuous.
ID=0 default as Master, ID=1~7 default as Slave.
When REMOTE I/O is selected, the distribution of the remote I/O is as follows:
Master Slave
Remote Input X1~X12 ← I1~I12
Remote Output Y1~Y8 → Q1~Q8
Mode detailed to see chapter 4 Relay Logic Programming: Data Link/Remote IO Instruction

(5) RTC SET

Now Press
SEL Begin to input parameters
Press ‘SEL’
Move the Cursor
+ ‘← →’
1. year=00~99, month=01~12, day=01~31
SEL then
2. week: MO⇔TU⇔WE⇔TH⇔FR⇔SA⇔SU⇔MO
↑ ↓
3. hour = 00~23 , minute = 00~59
OK Save the Input Data
1. Cancel the Input Data when press ‘SEL’.
ESC
2. Back to Main Menu.
Chapter 3 Program Tools 36

(6) ANALOG SET

A 1=GAIN : 140  GAIN (0~999), default 10


OFFSET : -10  OFFSET (-50~+50), default 0
A 2=GAIN : 010
OFFSET : +00
A3~A8…Gain + Offset

Now Press
1. Move downward the Cursor
↑↓ 2. Switch the setting screen from A1/A2  A3/A4 A5/A6  A7/A8
SEL Begin to input parameters
Press ‘SEL’+ ‘← →’ Move the Cursor
1. GAIN =000~999
Press ‘SEL’ +‘↑ ↓’
2. OFFSET=-50~+50
OK Save the Input Data
1. Cancel the Input Data when press ‘SEL’.
ESC
2. Back to Main Menu.
Note: V1 = A1*A1_GAIN + A1_OFFSET …… V8 = A8*A8_GAIN + A8_OFFSET

(7) PASSWORD (setting password)

Now Press
1. Begin to input numeral
SEL
2. When the password is ON, it will not display 0000, but ****.
Press ‘SEL’ + ‘← →’ Move the cursor
Press ‘SEL’ + ‘↑ ↓’ Data changed 0~F
OK Save the input data, not 0000 or FFFF, as the PASSWORD is ON.
1. Cancel the Input Data when press ‘SEL’.
ESC
2. Back to Main Menu.
Note: A Class: Password number is set to 0001~9999.
B Class: Password number is set to A000~FFFE.
Password number = 0000 or FFFF is disabled Password function, Default setting: 0000.

A/B Class password Description (√:cannot use under password protected )


Menu A Class B Class
LADDER √ √
FBD √ √
FUN.BLOCK √ √
PARAMETER √
RUN/STOP √
CLEAR PROG. √ √
WRITE √ √
READ √ √
SET √
RTC SET
ANALOG SET √
LANGUAGE √
INITIAL √ √
Chapter 3 Program Tools 37

(8) LANGUAGE (Selection menu language)

 English
 French
 Spanish
 Italian

 German
 Portuguese
 Simplified Chinese

Now Press
Press ‘↑ ↓’ Vertically move the Cursor
OK Select the language the cursor located
ESC Back to Main Menu

(9) INITIAL (select Ladder Logic and Function Block Diagram (FBD))

Now Press:
Press ‘↑ ↓’ Vertically move the Cursor
OK Select the language the cursor located
ESC Back to Main Menu

The origin program will be cleared as the change of edition method.


Chapter 4 Relay Ladder Logic Programming 38

Chapter 4: Relay Ladder Logic Programming


Common Memory Types

General output SET output RESET output PULSE output N.O. Contact N.C. Contact Number
Symbol [   P (N.O. / N.C.)
Input contact I i 12 (I1-IC / i1-iC)
Keypad input Z z 4(Z1-Z4 / z1-z4)
Output coil Q Q Q Q Q q 8 (Q1-Q8 / q1-q8)
Auxiliary contact M M M M M m 15 (M1-MF / m1-mF)
Counter C C c 15 (C1-CF / c1-cF)
Timer T T T t 15 (T1-TF / t1-tF)
Analog input 8 (A1- A8)
Analog input parameter 8 (V1- V8)

Inputs (I Memory Type)


The CE digital input points are designated I memory types. The number of digital I input points
are 6, 8, or 12 depending on each CE model.

Keypad Inputs (Z Memory Type)


The CE digital input points are designated Z memory types. The number of digital Z input
points are 4 depending on CE H type model.

Outputs (Q Memory Type)


The CE digital output points are designated Q memory types. The number of digital Q output
points is 4 or 8 depending on each CE model. In this example, output point Q1 will be turned on
when input I1 activated.
Chapter 4 Relay Ladder Logic Programming 39

Auxiliary Relays (M Memory Type)


Auxiliary relays are digital internal memory bits used to control a ladder logic program.
The auxiliary relays are not physical inputs or outputs that can be wired to any external device;
switches, sensors, relays, lamps, etc.
Since auxiliary relays are internal bits within the CPU, they can be programmed as digital inputs
(contacts) or digital outputs (coils). In the first rung of this example, auxiliary relay M1 is being
used as an output coil and will energize when input I2 turns on. In the second rung auxiliary
relay M1 is being used as an input and when energized, will turn on outputs Q2 and Q3.

Timers and Timer Status Bits (T Memory Type)


Timer status bits provide the relationship between the current value and the preset value of a
selected timer. The timer status bit will be on when the current value is equal or greater than the
preset value of a selected timer. In this example, when input I3 turns on, timer T1 will start. When
the timer reaches the preset of 5 seconds timer status contact T1 turns on. When T1 turns on,
output Q4 turns on. Turning off I3 will reset the timer.

Counters and Counter Status Bits (C Memory Type)


Counter status bits provide the relationship between the current value and the preset value of a
selected counter. The counter status bit will be on when the current value is equal to or greater
than the preset value of a selected counter. In this example, each time the input contact I4
transitions from off to on, the counter (C1) increments by one. When the counter reaches the
preset of 2 counts, the counter status contact C1 turns on. When C1 turns on, output Q5 turns on.
When M2 turns on counter C1 will reset. If M9 is turned on, the counter will change from a
count-up counter to a count-down counter.
Chapter 4 Relay Ladder Logic Programming 40

Specialty Memory Types


General output SET output RESET output PULSE output N.O. Contact N.C. Contact Number
Symbol [   P (N.O. / N.C.)
Lo Hi Used in function block
Expansion input coil X x 12 (X1-XC /x1-xC)
Expansion output coil Y Y Y Y Y y 12 (Y1-YC / y1-yC)
Differential (one shot) D (Positive) d (Negative)
RTC R R r 15 (R1-RF / r1-rF)
Analog comparator G G g 15 (G1-GF / g1-gF)
HMI H 15 (H1-HF)
PWM P 1 (P1)
DATA LINK L 8 (L1-L8)

Positive Input Differential Instruction (One-Shot)


A positive input differential instruction, or One-Shot, holds its status ON for one CPU scan when
the preceding series contact transitions from OFF to ON. This transition from OFF to ON is
called a Positive Input Differential.

Negative Input Differential Instruction (One-Shot)


A negative input differential instruction, or One-Shot, holds its status ON for one CPU scan
when the preceding series contact transitions from ON to OFF. This transition from ON to
OFF is called a Negative Input Differential.
Chapter 4 Relay Ladder Logic Programming 41

Output Instructions
Set Output Instruction (Latch) (  )
A set output instruction, or Latch, turns ON an output coil (Q) or an auxiliary contact (M) when
the preceding input contact transitions from OFF to ON. Once the output is ON or set, it will
remain ON until it is reset using the Reset output instruction. It is not necessary for the
preceding input contact controlling the Set output instruction to remain ON.

Reset Output Instruction (Unlatch) (  )


A reset output instruction, or Unlatch, turns OFF a previous set output coil (Q) or an auxiliary
contact (M) when the preceding input contact transitions from OFF to ON. Once the output is OFF
or reset, it will remain OFF until it is reset using another output instruction. It is not necessary for
the preceding input contact controlling the Reset output instruction to remain ON.
Chapter 4 Relay Ladder Logic Programming 42

Pulse Output Instruction (Flip-Flop) ( P )


A pulse output instruction, or Flip-Flop, turns ON a coil (Q) or an auxiliary contact (M) when the
preceding input contact transitions from OFF to ON. Once the output is ON, it will remain ON
until the preceding input contact transitions from OFF to ON a second time. In the example
below, When Pushbutton I3 is pressed and released Motor Q4 will turn ON and remain on.
When Pushbutton I3 is pressed again, Motor Q4 will turn OFF and remain OFF. The pulse
output instruction (P) will “flip-flop” its state from ON to OFF at each press of Pushbutton I3.
Chapter 4 Relay Ladder Logic Programming 43

Counter Instructions
The CE includes a total 15 separate counters that can be used throughout a
program. Each counter has a choice of 8 operation modes, 6 for general
purpose counting and 2 for high speed counting. Additionally, each counter
has 6 parameters for proper configuration. The tables below describe each
configuration parameter and lists each compatible memory type for
configuring counters.

Symbol Description Compatible Instructions Range


 Counting Mode (1-6) Inputs I1-IC / i1-iC
 Use (I1 ~ gF) to set counting up or counting down Keypad Inputs Z1-Z4 / z1-z4
OFF: counting up (0, 1, 2, 3, 4….) Outputs Q1-Q8 / q1-q8
ON: counting down ( ….3, 2, 1, 0) Auxiliary coil M1-MF / m1-mF
 Use (I1 ~ gF) to RESET the counting value Expansion inputs X1-XC /x1-xC
ON: the counter resets to zero and OFF Expansion outputs Y1-YC / y1-yC
OFF: the counter continues to count RTC R1-RF / r1-rF
 Present Counting Value, range:0~999999 Counter C1-CF / c1-cF
 Target (Setting) Value, range:0~999999 Timer T1-TF / t1-tF
 Code of the counter (C1 ~ CF total: 15 counters) Analog comparator G1-GF / g1-gF
Normal close contact Lo

Note:
※ The target setting value of the counter could be a constant or the present value of the timer, counter,
analog input A1~A8 and analog gain + offset value V1~V8.

The figure below shows the relationship between the numbered block diagram for a Counter, the ladder
diagram view, and the software Edit Contact/Coil dialog box.
Chapter 4 Relay Ladder Logic Programming 44

Counter Mode 1 (Fixed Count, Non-Retentive)


Mode 1 Counter will count up to a fixed preset value and stop counting when the current count is equal to the
preset value. Additionally, the current count value is non-retentive and will reset to zero on a loss of power to
the smart relay. In the example below, the counter will stop counting when it reaches the preset value of 20.
Counter status bit C1 will be ON when the current value is 20.
Chapter 4 Relay Ladder Logic Programming 45

Counter Mode 2 (Continuous Count, Non-Retentive)


Mode 2 Counter will count up to a fixed preset value and continue counting after the preset value. Additionally,
the current count value is non-retentive and will reset to zero on a loss of power to the smart relay. In the
example below, the counter will continue counting after its preset value of 20. Counter status bit C1 will be ON
when the current value is 20.
Chapter 4 Relay Ladder Logic Programming 46

Counter Mode 3 (Fixed Count, Retentive)


Mode 3 Counter operation is similar to Mode 1 except its current count value is retentive. Mode 3 Counter will count
up to a fixed preset value and stop counting at that value. Additionally, the current count value is retentive and will
keep its current count after a loss of power to the smart relay. In the example below, the counter will stop counting
when it reaches the preset value of 20. Counter status bit C1 will be ON when the current value is 20.

Counter Mode 4 (Continuous Count, Retentive)


Mode 4 Counter operation is similar to Mode 2 except its current count value is retentive. Mode 4 Counter will
count up to a fixed preset value and continue counting after the preset value. Additionally, the current count
value is retentive and will keep its current count after a loss of power to the smart relay. In the example below,
the counter will continue counting after its preset value of 20. Counter status bit C1 will be ON when the
current value is 20.
Chapter 4 Relay Ladder Logic Programming 47

Counter Mode 5 (Continuous Count, Up-Down Counter, Non-Retentive)


Mode 5 Counter operation is similar to Mode 2 where its current count value is continuous and non- retentive,
except its C1 status bit will only be ON when the counter counts up to its preset, or down to its preset from a
count higher than its preset. Even with its direction bit set to ON, it will not turn on its C1 status bit when it counts
down to zero. The C1 status bit is fixed to the non-zero preset value regardless of the state of the direction bit.
Additionally, the Mode 5 counter is always reset to zero, unrelated to the state of its direction bit.
The Mode 5 Counter will count up to a fixed preset value and continue counting after the preset value.
Additionally, the current count value is non-retentive and will reset to zero on a loss of power to the smart relay.
In the example below, the counter will continue counting after its preset value of 20. Counter status bit C1 will be
ON when the current value is 20.
Chapter 4 Relay Ladder Logic Programming 48

Counter Mode 6 (Continuous Count, Up-Down Counter, Retentive)


Mode 6 Counter operation is similar to Mode 4 where its current count value is continuous and retentive, except
its C1 status bit will only be ON when the counter counts up to its preset or down to its preset from a count
higher than its preset. Even with its direction bit set to ON, it will not turn on its C1 status bit when it counts
down to zero. The C1 status bit is fixed to the non-zero preset value regardless of the state of the direction bit.
Additionally, the Mode 5 counter is always reset to zero, unrelated to the state of its direction bit.
The Mode 6 Counter will count up to a fixed preset value and continue counting after the preset value.
Additionally, the current count value is retentive and will keep its current count after a loss of power to the
smart relay. In the example below, the counter will continue counting after its preset value of 20. Counter
status bit C1 will be ON when the current value is 20.
Chapter 4 Relay Ladder Logic Programming 49

High Speed Counters (DC Version Only)


The DC powered version smart relays include two 1 KHz high speed inputs on terminal I1 and I2. These can be
used as general purpose DC inputs or can be wired to a high speed input device (encoder, etc.) when configured
for high speed counting. These are often used for counting something moving very fast (>40Hz) or used as a
speed reference on a machine. The high speed counters are configured using the same software Edit
Contact/Coil dialog box, except selecting Counter Mode 7 or Mode 8.

High Speed Counter Mode 7 (DC powered versions only)


The Mode 7 High Speed Counter can use either input Symbol Description
terminals I1 or I2 for forward up-counting to 1Khz  Counting Mode (7) high speed counting
maximum at 24VDC high speed input signal. The  High speed counting input terminal: I1 or I2 only
selected Counter Coil (C1-CF) will turn ON when the pulse Use (I1 ~ gF) to RESET the counting value

count reaches the target set point and remain ON. The ON: the counter reset to zero
counter will reset when the preceding rung is inactive or OFF: the counter continues to count

the Reset Input is active.  Current Count Value, range:0~999999


 Preset Value, range:0~999999
 Counter Coil Number (C1 ~ CF total: 15 counters)
In the example below shows the relationship between the
numbered block diagram for a Mode 7 Counter, the ladder
diagram view, and the software Edit Contact/Coil dialog
box.
Chapter 4 Relay Ladder Logic Programming 50

High Speed Counter Mode 8 (DC powered versions only)


The Mode 8 High Speed Counter can use either input terminals I1 or I2 for forward up-counting to 1 KHz
maximum at 24VDC high speed input signal. The selected Counter Coil (C1-CF) will turn ON when the
pulse count reaches the target “Preset ON” value and remain ON until the pulse count reaches the target
“Preset OFF” value. The Fixed Time xxxx. The counter will reset when the preceding rung is inactive.
The table below describes each configuration parameter for High Speed Counter Mode 8.
Symbol Description
 Counting Mode(8)—Frequency Comparison
In the example below shows the relationship between the  High speed counting input terminal: only I1, I2
available.
Counting interval time:(0~99.99S)
numbered block diagram for a Mode 8 Counter, the 
 Counter ‘on’ target value (000000~999999)
ladder diagram view, and the software Edit Contact/Coil
 Counter ‘off’ target value (000000~999999)
dialog box.
 Code of Counter (C1~CF Total :15Group)
Chapter 4 Relay Ladder Logic Programming 51

Timer Instructions
The CE includes a total of 15 separate timers that can be used
throughout a program. Each timer has a choice of 8 operation modes, 7
for general purpose timing and 1 (mode 7) for a pulse timer. Additionally,
each timer has 6 parameters for proper configuration. The table below
describes each configuration parameter and lists each compatible
memory type for configuring counters.

Symbol Description Compatible Instructions Range


 Timer Mode (0-7) Inputs I1-IC / i1-iC
Timer Unit: 1 : 0.00 - 99.99 sec Keypad Inputs Z1-Z4 / z1-z4
2 : 0.0 - 999.9 sec Outputs Q1-Q8 / q1-q8
 3 : 0 - 9999 sec Auxiliary coil M1-MF / m1-mF
4 : 0 - 9999 min Expansion inputs X1-XC /x1-xC
 ON: the timer reset to zero Expansion outputs Y1-YC / y1-yC
OFF: the timer continues to time RTC R1-RF / r1-rF
 Current timer value Counter C1-CF / c1-cF
 Timer preset value Timer T1-TF / t1-tF
 Timer Coil Number (C1 ~ CF total: 15 timers) Analog comparator G1-GF / g1-gF
Normal close contact Lo
Note:
※ The target setting value of the counter could be a constant or the present value of the timer, counter,
analog input A1~A8 and analog gain + offset value V1~V8.

※ Timer E and Timer F keep its current count time value after a loss of power to the smart relay.

Timer Mode 0 (Internal Coil)


Mode 0 Timer (Internal Coil) used as internal auxiliary coils. No Timer preset value. In the example below
shows the relationship between the numbered block diagram for a Mode 0 timer, the ladder diagram
view, and the software Edit Contact/Coil dialog box.
Chapter 4 Relay Ladder Logic Programming 52

Timer Mode 1 (ON-Delay)


Mode 1 Timer (ON-Delay) will time up to a fixed preset value and stop timing when the current time is equal to
the preset value. Additionally, the current time value is non-retentive and will reset to zero on a loss of power to
the smart relay. In the example below, the timer will stop timing when it reaches the preset value of 5 seconds.
Timer status bit T1 will be ON when the current value is 5.
Chapter 4 Relay Ladder Logic Programming 53

Timer Mode 2 (ON-Delay with Reset)


Mode 2 Timer is an ON-Delay with reset that will time up to a fixed preset value and stop timing when the
current time is equal to the preset value. Additionally, the current time value is non-retentive and will reset to
zero on a loss of power to the smart relay. The timer reset input is Input I1. In the example below, the timer will
stop timing when it reaches the preset value of 5 seconds. Timer status bit T1 will be ON when the current
value is 5.
Chapter 4 Relay Ladder Logic Programming 54

Timer Mode 3 (OFF-Delay)


Mode 3 Timer is an OFF-Delay with reset that will time up to a fixed preset value and stop timing when the
current time is equal to the preset value. Additionally, the current time value is non-retentive and will reset to
zero on a loss of power to the smart relay. In the example below, the timer reset input is Input I1. Also in the
example below, timer status bit T1 will be ON immediately when its rung is true. The timer will only begin timing
up when its rung changes to false. Timer status bit T1 will turn OFF when the current time value reaches 10
seconds.
Chapter 4 Relay Ladder Logic Programming 55

Timer Mode 4 (OFF-Delay)


Mode 4 Timer is an OFF-Delay with reset that will time up to a fixed preset value and stop timing when the
current time is equal to the preset value. Additionally, the current time value is non-retentive and will reset to
zero on a loss of power to the smart relay. In the example below, the timer reset input is Input I1. Also in the
example below, the timer status bit T1 will turn ON only after its rung transitions from true to false. Timer status
bit T1 will turn OFF when the current time value reaches 10 seconds.
Chapter 4 Relay Ladder Logic Programming 56

Timer Mode 5 (FLASH without Reset)


Mode 5 Timer is a Flash timer without reset that will time up to a fixed preset value then change the state of
its status bit when the current time is equal to the preset value. Additionally, the current time value is non-
retentive and will reset to zero on a loss of power to the smart relay. In the example below, timer status bit T1
will be ON immediately when its rung is true and begin its timing sequence. Timer status bit T1 will turn OFF
when the current time value reaches its preset of 10 seconds. This Flash sequence of the timer status bit T1
will continue as long as its rung remains true.
Chapter 4 Relay Ladder Logic Programming 57

Timer Mode 6 (FLASH with Reset)


Mode 6 Timer is a Flash timer with reset that will time up to a fixed preset value then change the state of
its status bit when the current time is equal to the preset value. Additionally, the current time value is
non-retentive and will reset to zero on a loss of power to the smart relay. In the example below, the
timer reset input is Input I1. Also in the example below, timer status bit T1 will be ON immediately when
its rung is true and begin its timing sequence. Timer status bit T1 will turn OFF when the current time
value reaches its preset of 5 seconds. This Flash sequence of the timer status bit T1 will continue as
long as its rung remains true.
Chapter 4 Relay Ladder Logic Programming 58

Timer Mode 7 (FLASH Cascade without Reset)


Mode 7 Timer is a Flash timer without reset that uses two timers in a cascade configuration. The cascade
configuration connects the timer status bit of first timer to enable the second timer. The second timer will time
up to its preset value then flash and its timer status bit will enable the first timer. Additionally, the current time
value is non-retentive and will reset to zero on a loss of power to the smart relay. In the example below, timer
status bit T1 will be ON after it completes its timing sequence of 2.5 seconds. Timer 2 will then begin its timing
sequence of 1 second. When the current time value of Timer 2 reaches its preset of 1 second, its status bit T2
will flash and Timer 1 will begin timing again. This type of cascade timer is of ten used in combination with a
counter in applications where it is necessary to count the number of time cycles completed.

Note: Timer Mode 7 uses two timers. These timers cannot be reused as timers for other modes in other areas
of the program.
Chapter 4 Relay Ladder Logic Programming 59

Real Time Clock (RTC) Instructions


The CE smart relay includes a total of 15 separate RTC instructions
that can be used throughout a program. Each RTC instruction has
a choice of 5 operation modes, and has 10 parameters for proper
configuration. The initial clock/calendar setting for each connected
CE is set using the Operation»RTC Set menu selection from the CE
Client software.

Symbol Description
 Input the first week to RTC
 Input the second week to RTC
 RTC mode 0~2, 0: internal coil 1:daily, 2:consecutive days
 RTC displays the hour of present time.
 RTC displays the minute of present time
 Set RTC hour ON
Set RTC Minute ON

Set RTC Hour OFF
Set RTC Minute OFF
RTC Coil Number (R1~RF Total: 15 RTCs)

RTC Mode 0 (Internal Coil)


Mode 0 RTC (Internal Coil) used as internal auxiliary coils. No preset value.
In the example below shows the relationship between the numbered block diagram for a Mode 0 RTC,
the ladder diagram view, and the software Edit Contact/Coil dialog box.
Chapter 4 Relay Ladder Logic Programming 60

RTC Mode 1 (Daily)


The Daily Mode 1 allows the Rx coil to activate based on a fixed time across a defined set of days per week.
The configuration dialog below allows for selection of the number of days per week (i.e. Mon-Fri) and the Day
and Time for the Rx coil to activate ON, and Day and Time for the Rx coil to deactivate OFF.
Chapter 4 Relay Ladder Logic Programming 61

RTC Mode 2 (Interval weekly)


The Interval Time Mode 2 allows the Rx coil to activate based on time and day per week. The configuration
dialog below allows for selection of Day and Time for the Rx coil to activate ON, and Day and Time for the Rx
coil to deactivate OFF.
Chapter 4 Relay Ladder Logic Programming 62

RTC Mode 3 (Year-Month-Day)

The Year-Month-Day Mode 3 allows the Rx coil to activate based on Year, Month, and Date. The
configuration dialog below allows for selection of Year and Date for the Rx coil to activate ON, and Year
and Date for the Rx coil to deactivate OFF.
Symbol Description
 RTC mode 3, Year-Month-Day
 Setting RTC Year ON
 Setting RTC Year OFF
 Display RTC Present time: Year-Month-Day
 Setting RTC month ON
 Setting RTC Day ON
Setting RTC month OFF

Setting RTC Day OFF
RTC Code (R1~RF, total 15 group)
Chapter 4 Relay Ladder Logic Programming 63

RTC Mode 4 ( 30-second adjustment)


The 30-second adjustment Mode 4 allows the Rx coil to
activate based on week, hour, minute and second. The
configuration dialog below allows for selection of week, hour,
minute and second for the Rx coil to activate ON, and 30-
second adjustment then Rx OFF.

Symbol Description
 Setting RTC adjustment week
 RTC mode 4
 RTC present hour
 RTC present minute
 Setting RTC adjustment hour
 Setting RTC adjustment minute
Setting RTC adjustment second

RTC Code (R1~RF, total 15 group)

Example1: preset minute < 30s

Example2: preset minute >= 30s


Chapter 4 Relay Ladder Logic Programming 64

Comparator Instructions

The CE smart relay includes a total of 15 separate comparator instructions that can be used throughout a
program. Each comparator has a choice of 6 operation modes. Additionally, each comparator has 7
parameters for proper configuration. The table below describes each configuration parameter, and lists each
compatible memory type for configuring counters.

Symbol Description
 Comparison Mode(0~5)
 AX analog input (A1~A8/ V1~V8), the present value of the timer, counter.
 AY analog input (A1~A8/ V1~V8), the present value of the timer, counter.
 AX analog input value(0.00~99.99)
 AY analog input value (0.00~99.99)
Set reference comparative value: could be constant, or the present value
 of the timer, counter and analog input, analog input (A1~A8/ V1~V8).
Output terminal(G1~GF)

Analog comparator Mode 0 (Internal Coil)


Mode 0 Analog Comparator used as internal auxiliary coils. No preset value.
In the example below shows the relationship between the numbered block diagram for a Mode 0 Analog
Comparator the ladder diagram view, and the software Edit Contact/Coil dialog box.

Analog comparator Mode 1~5


When the relay of analog comparator is ON, there are 5 operation modes described below:
(1) Analog Comparator mode 1 ( AY - ⑥ ≤ AX≤ AY +⑥, ⑦ ON)
(2) Analog Comparator mode 2 (AX ≤ AY, ⑦ ON)
(3) Analog Comparator mode 3 (AX ≥ AY, ⑦ ON)
(4) Analog Comparator mode 4 ( ⑥ ≥ AX, ⑦ ON)
(5) Analog Comparator mode 5 ( ≤ AX, ON)
Chapter 4 Relay Ladder Logic Programming 65

Example 1: Analog Signal Compare


In the example below, Mode 4 is the selected function that compares the value of analog input A1 to a
constant value (N) of 2.50. Status coil G1 turns ON is A1 is <= to 2.50.

Example 2: Timer/Counter Preset Value Compare


The Comparator instruction can be used to compare Timer, Counter, and RTC values to a constant value or to
each other. In this example below, Mode 5 is the selected function that compares the value of Counter (C1) to
a constant value (N) of 15 counts (the decimal point is ignored). Status coil G1 turns ON if C1 is to 15 counts.
Chapter 4 Relay Ladder Logic Programming 66

HMI Display Instructions


The CE smart relay includes a total of 15 HMI instructions that can be used throughout a program. Each
HMI instruction can be configured to display information on the CE 12×4 character LCD in text, numeric,
or bit format for items such as current value and target value for timers/counters, Input/Output bit status,
RTC (real time clock) and Analog comparator.

More detailed to see chapter 3 program tools: HMI/TEXT.

Each HMI instruction is configured separately using the


Edit»HMI/Text menu selection from the CE Client software.
In the adjacent example, HMI instruction H1 is configured to
display the value of I1 and T1, and some descriptive text.
Numeric display data selections are Timer, Counter, RTC,
and Analog. Bit display data selections for “ON” and “OFF”
messages are “I” inputs, “M” internal relays, “X” expansion
inputs and “Z” keypad inputs.

Allows the SEL button on the CE keypad to activate the


selected message onto the LCD even when Hx coil is
inactive.

A phone number can be displayed on the screen to alert an operator to call for help.
Note: The Phone Number field does not dial a modem or allow for a modem connection.

Each HMI instruction has a choice of 2 operation modes.


The table below describes each configuration parameter.

Symbol Description
 Display Mode (1-2)
 HMI character output terminal (H1-H8)
Chapter 4 Relay Ladder Logic Programming 67

PWM Output Instruction (DC Transistor Output Models Only)


The transistor output model smart relay includes the capability to provide a PWM (Pulse Width
Modulation) output on terminal Q1. The PWM instruction is able to output up to an 8-stage PWM
waveform.

Symbol Description Enable Output PWM


 Set display stages (1~8) OFF X X X 0 OFF
 Display the present stage as operation(0~8) ON OFF OFF OFF 1 Set stage 1
 Input Selected Stage 1(I1~gF) ON OFF OFF ON 2 Set stage 2
 Input Selected Stage 2(I1~gF) ON OFF ON OFF 3 Set stage 3
 Input Selected Stage 3(I1~gF) ON OFF ON ON 4 Set stage 4
 Set PWM pulse width (0~32768ms) ON ON OFF OFF 5 Set stage 5
Set PWM Period(1~32768ms) ON ON OFF ON 6 Set stage 6

PWM output terminal P1 ON ON ON OFF 7 Set stage 7
ON ON ON ON 8 Set stage 8
Chapter 4 Relay Ladder Logic Programming 68

Data Link/Remote I/O Instruction (CE-20Vxx Models Only)


The CE-20Vxxx transistor output models include the capability to link additional CE-20Vxx units via the RS-
485 connection terminals.

Data Link
Up to 8 additional CE units can be configured as independent Slave nodes, each running their own logic
program and their I/O linked to one Master smart relay.

Symbol Description Selectable Points Range


 Mode setting (1, 2) 1:sending 2:receiving Inputs I1-IC / i1-iC
 Set the send/receive points(1-8) Outputs Q1-Q8 / q1-q8
 Set the send/receive points Auxiliary coil M1-MF / m1-mF
 Send/receive memory list location Expansion inputs X1-XC /x1-xC
 I/O link output terminal (L1-L8) Expansion outputs Y1-YC / y1-yC

Note: Only one “Mode 1 Send” Data Link instruction (L1-L8) is allowed per
Master smart relay. All other Data Link instructions must be “Mode 2
Receive” instructions.

ID Memory List Location


The Mode 2 Receive memory range is determined by the Controller ID. Each
0 W1~W8
controller ID is allocated a range of 8 I/O points (Wx-Wx) that can be read into
1 W9~W16
the Master smart relay using a DataLink instruction. The adjacent table show
2 W17~W24
the memory range of Wx locations associated with each controller ID.
3 W25~W32
4 W33~W40 The Data Link instruction below is setup for Mode 1 Send where the Master smart
5 W41~W48 relay is sending 5 I/O points of Inputs to each connected Slave smart relay. The
6 W49~W56 starting Input is I03 with the resulting range of 5 sending inputs equal to I3 – I7.
7 W57~W64
Chapter 4 Relay Ladder Logic Programming 69

Example 1: Data Link Mode 1

Set ① = 1, ② = 5, set ③ as the initiate of I3, the state of actual sending terminal I3~I7 is sent to
memory list; the controller ID = 3, the state of corresponding memory list position W25~W32, and
relationship of sending terminal is as below:

Example 2: Data Link Receive mode 2

Set ① = 2, ② = 5, set ③ as start from M3, set ④ as start from W17, when enabling the Data Link, the
state ‘ON/OFF’ of M3~M7 is controlled by the state of memory list position W17~W21.
Chapter 4 Relay Ladder Logic Programming 70

Remote I/O
Up to 2 additional CE units can be configured as Remote I/O nodes, and linked to one Master smart relay.

, when remote I/O function is enabled.


Don’t use expansion DI/DO modules,
Chapter 5 FBD Programming 71
Chapter 5: Function Block Diagram Programming
FBD Instructions
Note: FBD program can only be edited and modified in CE Client software and write to CE controlled
equipments via communication cable. Via controlled equipment, FBD program is available for querying or
the parameter of the function block of the program for modifying.

Function Block Input Output Coil Range


Input I I01~I0C(12)
Keypad input Z Z01~Z04 (4)
Expansion Input X X01~X0C(12)
Output Q Q Q01~Q08(8)
Expansion Output Y Y Y01~Y0C(12)
Auxiliary M M M01~M0F(15)
Knob N N N01~N0F(15)
HMI H H01~H0F(15)
PWM P P01(1)
SHIFT S S01(1)
I/O LINK L L01~L08(8)
Logic /Function Block B B01~B99(99)
Normal ON Hi
Normal OFF Lo
No Connection Nop
Analog input A A1~A8(8)
Analog input parameter V V1~V8(8)

Coil Block Instruction


Chapter 5 FBD Programming 72

PWM Function Block


The PWM output terminal ‘Q1’ can output 8 PWM waveforms. (Only provided for transistor output version)

SHIFT Function Block

Symbol Description
 SHIFT code (Total 1 group)
 Set output type (Q, Y)
 Set output shift number (1-8)
Chapter 5 FBD Programming 73

Data Link Function Block


Chapter 5 FBD Programming 74

Logic Block Instructions

AND Logic Diagram

FBD: LADDER:

→ =

I01 And I02 And I03


Note: The input terminal is NOP which is equivalent to ‘Hi’

AND (EDGE) Logic Diagram


FBD: LADDER:

→ =

I01 And I02 And I03 And D


Note: The input terminal is NOP which is equivalent to ‘Hi’

NAND Logic Diagram


FBD: LADDER:


=

Not(I01 And I02 And I03)


Note: The input terminal is NOP which is equivalent to ‘Hi’
Chapter 5 FBD Programming 75

NAND (EDGE) Logic Diagram


FBD: LADDER:

→ =

Not(I01 And I02 And I03) And d


Note: The input terminal is NOP which is equivalent to ‘Lo’

OR Logic Diagram
FBD: LADDER:


=

I01 or I02 or I03


Note: The input terminal is NOP which is equivalent to ‘Lo’

NOR Logic Diagram


FBD: LADDER:

→ =

Not ( I01 or I02 or I03 )


Note: The input terminal is NOP which is equivalent to ‘Lo’

XOR Logic Diagram


FBD: LADDER:


=

I01 XOR I02


Note: The input terminal is NOP which is equivalent to ‘Lo’
Chapter 5 FBD Programming 76

SR Logic Diagram
FBD: LADDER:

→ =

Logic I01 I02 Bxx


Table 0 0 holding
0 1 0
1 0 1
1 1 0
Note: The input terminal is NOP which is equivalent to ‘Lo’

NOT Logic Diagram


FBD: LADDER:


=

Not I01
Note: The input terminal is NOP which is equivalent to ‘Hi’

Pulse Logic Diagram


FBD: LADDER:

→ =

Note: The input terminal is NOP which is equivalent to ‘Lo’


Chapter 5 FBD Programming 77

Function Block

The function blocks are classified into 4 sorts: Time, Counter, RTC Comparator ‘R’ and Analog Comparator ‘G’. The
Operation Fundamental is similar to LADDER Function Block’s.

Common Counter Function Block

(1) Counter Mode 1

Counting Input →
Up/Down Counting →

Reset →
Counting Parameter →

(2) Counter Mode 2

Counting Input →
Up/Down Counting →

Reset →
Counting Parameter →
Note: The “>”means the current value appeared will be greater than present value.

(3) Counter Mode 3

Counting Input →
Up/Down Counting →
Reset →
Counting Parameter →
Note: The “PD” means the current value will be retain until the power recover.
Chapter 5 FBD Programming 78

(4) Counter Mode 4

Counting Input →
Up/Down Counting →

Reset →
Counting Parameter →

(5) Counter Mode 5

Counting Input →
Up/Down Counting →

Reset →
Counting Parameter →
Note: The “C” means that will keep the current value in 0 during the Reset pin be enabled.

(6) Counter Mode 6

Counting Input →
Up/Down Counting →

Reset →
Counting Parameter →

High Speed Counter Function Block

(1) Counter Mode 7

High counting input →


Enable Input →

Reset →
Counter Parameter →
Note: High speed input terminal I1,I2

(2) Counter Mode 8

High counting input →


Enable Input →

Counter Parameter →
Note: High speed input terminal I1,I2
Chapter 5 FBD Programming 79

Timer Function Block

(1) Timer mode 0 (Internal coil Mode)

Enable Input →

(2) Timer mode 1 (ON-Delay A Mode)

Enable Input →

Timing Parameter →

(3) Timer mode 2 (ON-Delay B Mode)

Enable Input →

Reset →
Timing Parameter →

(4) Timer mode 3 (OFF-Delay A Mode)

Enable Input →

Reset →
Timing Parameter →

(5) Timer mode 4(OFF-Delay B Mode)

Enable Input →

Reset →
Timing Parameter →
Chapter 5 FBD Programming 80

(6) Timer mode 5(FLASH A Mode)

Enable Input →

Timing Parameter →

(7) Timer mode 6(FLASH B Mode)

Enable Input →

Reset →
Timing Parameter →

(8) Timer mode 7(FLASH C Mode)

Enable Input →

Timing Parameter →

RTC Comparator Function Block

(1) RTC Mode 0(Internal Coil)

Enable Input →

(2) RTC Mode 1(Daily)

Enable Input →

RTC Parameter →
Chapter 5 FBD Programming 81

(3) RTC Mode 2 (Continuous)

Enable Input →

RTC Parameter →

(4) RTC Mode 3 (Year Month Day)

Enable Input →

RTC Parameter →

(5) RTC Mode 4(30-second adjustment)

Enable Input →

RTC Parameter →

Analog Comparator Function Block

(1) Analog Comparison Mode 0 (Internal coil)


Enable Input →

(2) Analog Comparison Mode 1

Enable Input →
Analog Input →

Analog Input →
Reference →
Chapter 5 FBD Programming 82

(3) Analog Comparison Mode 2

Enable Input →
Analog Input →

Analog Input →
Reference →

(4) Analog Comparison Mode 3

Enable Input →
Analog Input →

Analog Input →
Reference →

(5) Analog Comparison Mode 4

Enable Input →
Analog Input →

Reference →

(6) Analog Comparison Mode 5

Enable Input →
Analog Input →

Reference →
Appendix: Keypad Programming 83

Appendix: Keypad Programming


Appendix A: Keypad programming in Ladder mode

Operation Sample:

1 2 3 4 5 6 7 8 Column
Line 1 > L A D D E R
2 F U N . B L O C K
3 R U N
4 C L E A R P R O G .

Procedure 1: 1 2 3 4 5 6 7 8 Column
Press ‘OK’ Line 1
2
Enter LADDER Edition 3
4

Procedure 2 : 1 2 3 4 5 6 7 8 Column
Press ‘SEL’ Line 1 I 1
2
(When cursor located at character or 3
digital, press the button to show I1) 4

Procedure 3 : 1 2 3 4 5 6 7 8 Column
Press ‘↑’ 3 times Line 1 Q 1
2
(Press ‘SEL’ + ‘↑ ↓’, 3
and the digital cursor located will 4
change from I to Q).

Procedure 4 : 1 2 3 4 5 6 7 8 Column
Press ‘SEL’ Line 1 q 1
2
(start /end modifying parameter) 3
4

Procedure 5 : 1 2 3 4 5 6 7 8 Column
Press ‘→’ Line 1 q 1
2
(“Press ‘SEL’ + ‘← →’, 3
the cursor located in digital) 4

Procedure 6 : 1 2 3 4 5 6 7 8 Column
Press ‘↑’ for 3 times Line 1 q 4
2
(“Press ‘SEL’ + ‘↑ ↓’ 3
the digital the cursor located will 4
change from 1 to 4)
Appendix: Keypad Programming 84

Procedure 7 : 1 2 3 4 5 6 7 8 Column
Press ‘←’ Line 1 q 4
2
(Press ‘SEL’ + ‘← →’ 3
to move the cursor to the position 4
Required revision.

OR Automatically Link
Procedure 7 : 1 2 3 4 5 6 7 8 Column
Press ‘OK’ Line 1 q 4 
2
(Move the cursor to character in 3
column 3) 4

Automatically Link
OR
Procedure 7 : 1 2 3 4 5 6 7 8 Column
Press ‘→’ Line 1 q 4 
2
(move the cursor to the link location 3
in column 2) 4

Repeat the step1~7, and input M1, I3 Instruction to column 3, 5.


Procedure 8 : 1 2 3 4 5 6 7 8 Column
Press ‘OK’ in Column 5 Line 1 q 4  M 1  I 3 
2
(move the cursor to the character in 3
column 8) 4

Procedure 9 : 1 2 3 4 5 6 7 8 Column
Press ‘SEL’ Line 1 q 4  M 1  I 3  ( Q 1
2
(when the cursor located at character 3
and digital, press ‘SEL’ to show 4
‘ –( Q1’)
Auto Add “ -( ”

Procedure 10 : 1 2 3 4 5 6 7 8 Column
Press ‘OK’ Line 1 q 4  M 1  I 3  ( Q 1
2
Save the input program data, the 3
position of the cursor will not move. 4

Procedure 11 : 1 2 3 4 5 6 7 8 Column
Press ‘→’ twice Line 1 q 4  M 1  I 3  ( Q 1
2
(move the cursor to column 1 3
and Line 2.) 4
Appendix: Keypad Programming 85

Procedure 12 : 1 2 3 4 5 6 7 8 Column
Press ‘→’ twice Line 1 q 4  M 1  I 3  ( Q 1
2
(move the cursor to column 2) 3
4
Note: never press ‘SEL’ before hand

Change Wire ‘-’ to ‘ I ’

Procedure 13 : 1 2 3 4 5 6 7 8 Column
Press ‘SEL’ Line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴
(A vertical line emerges) 3
4

Procedure 14 : 1 2 3 4 5 6 7 8 Column
Press ‘OK’ Line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴
(Move the cursor to character in 3
column 3.) 4

Repeat the step 1~7 and key in ‘r 3’ , ―” at Line 2 and column 3~6.
Procedure 15 : 1 2 3 4 5 6 7 8 Column
Press ‘OK’ in column 5 Line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴ r 3  (
(move the cursor to the character in 3
Column 8) 4

Procedure 16 : 1 2 3 4 5 6 7 8 Column
Press ‘SEL’ Line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴ r 3  ( Q 1
(When the cursor located in digital 3
or character, press ‘SEL’, ‘Q1’ will 4
emerges)
Auto Add “-( ”

Procedure 17 : 1 2 3 4 5 6 7 8 Column
Press ‘↑’ for 4 times Line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴ r 3  ( C 1
(Press ‘SEL’ + ‘↑ ↓’ 3
(The character Q the cursor locating 4
will change to C.)

Procedure 18 : 1 2 3 4 5 6 7 8 Column
Press ‘→’ Line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴ r 3  ( C 1
3
4
Appendix: Keypad Programming 86

Procedure 19 : 1 2 3 4 5 6 7 8 Column
Press ‘↑’ for 7 times Line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴ r 3  ( C 7
(Press ‘SEL’ + ‘↑ ↓’ 3
The digital 1 the cursor locating will
4
change to 7)

Auto Enter Function


Block Edition

Procedure 20 : 1 2 3 4 5 6 7 8 Column
Press ‘OK’ Line 1 ┌ 1 ┐
2 L o ┤ │
(Auto shift to FUNCTION BLOCK 3 │ 0 0 0 0 0 0 ├ C 7
and the counter input parameter) 4 L o ┴ ┘

Procedure 21 : 1 2 3 4 5 6 7 8 Column
Press ‘ESC’ back to Line 1 q 4 ┬ M 1  I 3  ( Q 1
LADDER edition screen 2 ┴ r 3  ( C 7
3
4

Delete the Program Element


1 2 3 4 5 6 7 8 Column
Line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴ r 3  ( C 7
3
4

Procedure : 1 2 3 4 5 6 7 8 Column
Press ‘DEL’ Line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴ r 3 
3
(to delete the element C7 the cursor 4
locating)

Display the present Line the cursor locating and operation state of CE.

Procedure : 1 2 3 4 5 6 7 8 Column
Press ‘SEL+ESC’ (simultaneously) Line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴ r 3  ( C 7
(The Line 4 displays where the cursor 3
locating and operation state of CE) 4 S T O P L I N E 0 0 2

Delete the whole Line


1 2 3 4 5 6 7 8 Column
Line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴ r 3  ( C 7
3
4
Appendix: Keypad Programming 87

Procedure : 1 2 3 4 5 6 7 8 Column
Press ‘SEL+DEL’ (Simultaneously) Line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴ r 3  ( C 7
3 C L E A R L n 0 0 2
(‘ESC’ Cancel , ‘OK’ Execute) 4 E S C ? O K ?

Insert a whole line.


1 2 3 4 5 6 7 8 column
line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴ r 3  ( C 7
3
4

Step: 1 2 3 4 5 6 7 8 column
Press“SEL+OK” ( at the same time) Line 1 q 4 ┬ M 1  I 3  ( Q 1
2
3 ┴ r 3  ( C 7
4

Turn page ( move upward/ downward 4 lines program):


1 2 3 4 5 6 7 8 column
line 1 q 4 ┬ M 1  I 3  ( Q 1
2 ┴ r 3  ( C 7
3
4
5

Step: 1 2 3 4 5 6 7 8 column
Press ‘SEL+↑ ↓’ line 1 q 4 ┬ M 1  I 3  ( Q 1
(at the same time) 2 ┴ r 3  ( C 7
3
4
5
Appendix: Keypad Programming 88

Appendix B: Keypad programming in Ladder FUNCTION BLOCK

1 2 3 4 5 6 7 8 Column
Line 1 L A D D E R
2 > F U N . B L O C K
3 R U N
4 C L E A R P R O G .

Present action area


The present value will appear when CE is under ‘RUN’ mode.

Procedure 1: 1 2 3 4 5 6 7 8 Column
Press ‘OK’ Line 1 ┌ 1 ┐
2 1 ┤ │
(Enter FUNCTION BLOCK edition) 3 │ 0 0 . 0 0 ├ T 1
4 ┴ ┘

Preset action value area

1 2 3 4 5 6 7 8 Column
Never press ‘→’ to move to the Line 1 ┌ 1 ┐
digital position. 2 1 ┤ │
(If T2 is required to be changed, 3 │ 0 0 . 0 0 ├ T 1
Press ‘↑’/‘↓’ and ‘SEL’ to execute.) 4 ┴ ┘

Step 2: modify  present target value preset the action relay


Preset the target value
Procedure 2-1: 1 2 3 4 5 6 7 8 Column
Press ‘←’ Line 1 ┌ 1 ┐
2 1 ┤ │
(move the cursor to the preset action 3 │ 0 0 . 0 0 ├ T 1
area ) 4 ┴ ┘

Procedure 2-2: 1 2 3 4 5 6 7 8 Column


Press ‘SEL’ Line 1 ┌ 1 ┐
2 1 ┤ │
(begin input the target value) 3 │ 0 0 . 0 0 ├ T 1
4 ┴ ┘

Procedure 2-3: 1 2 3 4 5 6 7 8 Column


Press ‘↑’ for 3 times Line 1 ┌ 1 ┐
2 1 ┤ │
(Press ‘SEL’ and followed by ‘↑,↓’ 3 │ 0 0 . 0 3 ├ T 1
The digital ‘0’ is changed to ‘3’) 4 ┴ ┘

Procedure 2-4: 1 2 3 4 5 6 7 8 Column


Press ‘OK’ Line 1 ┌ 1 ┐
2 1 ┤ │
(Save the input data) 3 │ 0 0 . 0 3 ├ T 1
4 ┴ ┘
Appendix: Keypad Programming 89

Procedure 2-5: 1 2 3 4 5 6 7 8 Column


Press ‘←’ Line 1 ┌ 1 ┐
2 1 ┤ │
3 │ 0 0 . 0 3 ├ T 1
4 ┴ ┘

Repeat Step 2-2 ~ step 2-4 for 3 times, to enter the following screen:

Procedure 2-6: 1 2 3 4 5 6 7 8 Column


Line 1 ┌ 1 ┐
2 1 ┤ │
3 │ 3 3 . 3 3 ├ T 1
4 ┴ ┘

As the present value of the timer, counter, analog input (A1-A8) and analog gain value (V1-V8) is set as
the preset value of them. Next to the step 2-2, to execute the following operation:

Step2-3A: 1 2 3 4 5 6 7 8 column
Press ‘SEL’ line 1 ┌ 1 ┐
2 1 ┤ │
3 │ V 1 ├ T 1
4 ┴ ┘

Repeat the step 2-3A, the following screen will be shown in turn:
Step2-3B: 1 2 3 4 5 6 7 8 column
Press ‘SEL’ line 1 ┌ 1 ┐
2 1 ┤ │
3 │ A 1 ├ T 1
4 ┴ ┘

Step 2-3C: 1 2 3 4 5 6 7 8 column


press ‘SEL’ line 1 ┌ 1 ┐
2 1 ┤ │
3 │ T 1 ├ T 1
4 ┴ ┘

Step 2-3D: 1 2 3 4 5 6 7 8 column


Press ‘SEL’ line 1 ┌ 1 ┐
2 1 ┤ │
3 │ C 1 ├ T 1
4 ┴ ┘

↑’, the following screen will be shown.


Next to step 2-3B, then ‘↑
step 2-4A: 1 2 3 4 5 6 7 8 column
Press ‘↑’ line1 ┌ 1 ┐
2 1 ┤ │
3 │ A 2 ├ T 1
4 ┴ ┘
Appendix: Keypad Programming 90

Repeat step2-4A (press ‘↓ ↓’ is also available), the preset value of A1-A8 will be periodically changed. And
so on. ‘Analog*gain + offset’ value (V1-V8) and the other function blocks (time, counter) present value is
set as preset value, to repeat the step to select T1-TF, C1-CF, V1-V8.

step 2-5A: 1 2 3 4 5 6 7 8 column


press ‘OK’ line 1 ┌ 1 ┐
2 1 ┤ │
Save the present data. 3 │ A 2 ├ T 1
4 ┴ ┘

Procedure 2-7: 1 2 3 4 5 6 7 8 Column


Press ‘↑’ Line 1 ┌ 1 ┐
2 1 ┤ │
3 │ 3 3 . 3 3 ├ T 1
4 ┴ ┘

Procedure 2-8: 1 2 3 4 5 6 7 8 Column


Press ‘SEL’ Line 1 ┌ 1 ┐
2 1 ┤ │
(begin to edit data) 3 │ 3 3 . 3 3 ├ T 1
4 ┴ ┘

Procedure 2-9: 1 2 3 4 5 6 7 8 Column


Press ‘↑’ Line 1 ┌ 1 ┐
2 2 ┤ │
(Press ‘SEL’ + ‘ ↑, ↓’ 3 │ 3 3 3 . 3 ├ T 1
to change1’ to ‘ 2’) 4 ┴ ┘

Procedure 2-10: 1 2 3 4 5 6 7 8 Column


Press ‘OK’ Line 1 ┌ 1 ┐
2 2 ┤ │
(save the input data) 3 │ 3 3 3 . 3 ├ T 1
4 ┴ ┘

Procedure 2-11: 1 2 3 4 5 6 7 8 Column


Press ‘↑’ Line 1 ┌ 1 ┐
2 2 ┤ │
(move the cursor to ‘1” position) 3 │ 3 3 3 . 3 ├ T 1
4 ┴ ┘

Procedure 2-12: 1 2 3 4 5 6 7 8 Column


Press ‘SEL’ Line 1 ┌ 1 ┐
2 2 ┤ │
(begin to edit data) 3 │ 3 3 3 . 3 ├ T 1
4 ┴ ┘
Appendix: Keypad Programming 91
2-13: 1 2 3 4 5 6 7 8 Column
Press ‘↑’ for 3 times Line 1 ┌ 4 ┐
2 2 ┤ │
(Press ‘SEL’ and followed by ‘↑ ↓’ 3 │ 3 3 3 . 3 ├ T 1
to change 1 to 4) 4 L o ┴ ┘

Procedure 2-14: 1 2 3 4 5 6 7 8 Column


Press ‘OK’ Line 1 ┌ 4 ┐
2 2 ┤ │
(save input data) 3 │ 3 3 3 . 3 ├ T 1
4 L o ┴ ┘

Procedure 2-15: 1 2 3 4 5 6 7 8 Column


Press ‘↓’ for 3 times Line 1 ┌ 4 ┐
2 2 ┤ │
(this step leads to editing the action 3 │ 3 3 3 . 3 ├ T 1
relay) 4 L o ┴ ┘

 Edit action program and preset the action relay


Procedure 2-16: 1 2 3 4 5 6 7 8 Column
Press ‘SEL’ Line 1 ┌ 4 ┐
2 2 ┤ │
(Begin to modify ) 3 │ 3 3 3 . 3 ├ T 1
4 L o ┴ ┘

Procedure 2-16A: 1 2 3 4 5 6 7 8 Column


Press ‘SEL’ Line 1 ┌ 4 ┐
2 2 ┤ │
(Begin to modify ) 3 │ 3 3 3 . 3 ├ T 1
4 I 1 ┴ ┘

Repeat the step 2-16A, the following screen will be shown in turn:

Procedure 2-16B: 1 2 3 4 5 6 7 8 Column


Press ‘SEL’ Line 1 ┌ 4 ┐
2 2 ┤ │
3 │ 3 3 3 . 3 ├ T 1
4 i 1 ┴ ┘

Procedure 2-16C: 1 2 3 4 5 6 7 8 Column


Press ‘SEL’ Line 1 ┌ 4 ┐
2 2 ┤ │
3 │ 3 3 3 . 3 ├ T 1
4 L o ┴ ┘
Appendix: Keypad Programming 92
↑’, the following screen will be shown.
Next to step 2-16A, then ‘↑
Procedure 2-17: 1 2 3 4 5 6 7 8 Column
Press ‘↑’ for 5 times Line 1 ┌ 4 ┐
2 2 ┤ │
(Press ‘SEL’ + ‘↑ ↓’ 3 │ 3 3 3 . 3 ├ T 1
to change I to M ) 4M 1 ┴ ┘

Procedure 2-18: 1 2 3 4 5 6 7 8 Column


Press ‘→’ Line 1 ┌ 4 ┐
2 2 ┤ │
(Press ‘SEL’ + ‘← →’ to move 3 │ 3 3 3 . 3 ├ T 1
the cursor to digital location) 4M 1 ┴ ┘

Procedure 2-19: 1 2 3 4 5 6 7 8 Column


Press ‘↑’for 3 times Line 1 ┌ 4 ┐
2 2 ┤ │
(Press ‘SEL’ + ‘↑ ↓’ to change 3 │ 3 3 3 . 3 ├ T 1
‘1’ to ‘4’) 4M 4 ┴ ┘

Procedure 2-20: 1 2 3 4 5 6 7 8 Column


Press ‘OK’ Line 1 ┌ 4 ┐
2 2 ┤ │
(save the input data) 3 │ 3 3 3 . 3 ├ T 1
4M 4 ┴ ┘

Procedure 2-21: 1 2 3 4 5 6 7 8 Column


Press ‘↑’ Line 1 ┌ 4 ┐
2 2 ┤ │
(Move the cursor to preset action 3 │ 3 3 3 . 3 ├ T 1
value area to repeat the step 2-1) 4M 4 ┴ ┘

Procedure 2-22: 1 2 3 4 5 6 7 8 Column


Press ‘↑’ Line 1 ┌ 4 ┐
2 2 ┤ │
(Move the cursor to position ‘2’ to 3 │ 3 3 3 . 3 ├ T 1
repeat the 2-8) 4M 4 ┴ ┘

The detail operation of modify the analog comparator Ax, Ay:

step 2-22A: 1 2 3 4 5 6 7 8 column


Press ‘↑’ line 1 ┌ 4 ┐
2 A 1 ┤ │
(Move the cursor to 2, or repeat the 3 A 3 │ ├ G 1
next step. Select A1-A8 ) 4 ┴ 0 3 . 3 3 ┘
Appendix: Keypad Programming 93
Step 2-22B: 1 2 3 4 5 6 7 8 column
Press ‘SEL’ twice line 1 ┌ 4 ┐
2 A 1 ┤ │
(Move the cursor to 2 to repeat the 3 T 1 │ ├ G 1
above step. 4 ┴ 0 3 . 3 3 ┘
Select A3-V1-T1-C1-A1)

Step 2-22C: 1 2 3 4 5 6 7 8 column


Press ‘↑’ line 1 ┌ 4 ┐
2 A 1 ┤ │
(Move the cursor to 2 to repeat the 3 T 2 │ ├ G 1
above step. Select T1~TF, 4 ┴ 0 3 . 3 3 ┘
C1~CF,A1~A8,V1~V8)

Step 2-22D: 1 2 3 4 5 6 7 8 column


Press ‘OK’ line 1 ┌ 4 ┐
2 A 4 ┤ │
Save the present data 3 T F │ 0 3 . 3 3 ├ G 1
4 ┴ ┘

Procedure 2-23: 1 2 3 4 5 6 7 8 Column


Press ‘↑’ Line 1 ┌ 4 ┐
2 2 ┤ │
(Move the cursor to position ‘4’ to 3 │ 3 3 3 . 3 ├ T 1
repeat the step 2-12) 4M 4 ┴ ┘

Continue to input Function Block

Next Function Block


1 2 3 4 5 6 7 8 Column
Line 1 ┌ 4 ┐
2 2 ┤ │
3 │ 3 3 3 . 3 ├ T 1
4M 4 ┴ ┘

Procedure 1: 1 2 3 4 5 6 7 8 Column
Press ‘SEL+↑’ (Simultaneously) Line 1 ┌ 2 ┐
2 1 ┤ │
3 │ 0 1 0 . 0 ├ T 2
4 I 2 ┴ ┘

Last Function Block


1 2 3 4 5 6 7 8 Column
Line 1 ┌ 4 ┐
2 2 ┤ │
3 │ 3 3 3 . 3 ├ T 1
4M 4 ┴ ┘
Appendix: Keypad Programming 94
Procedure : 1 2 3 4 5 6 7 8 Column
Press ‘SEL+↓’ (Simultaneously) v1 ┌ 3 ┐
2 2 ┤ │
3 │ 0 5 0 . 0 ├ T F
4 R 1 ┴ ┘

Delete Function Block


Procedure: 1 2 3 4 5 6 7 8 Column
Press ‘SEL+DEL’ (Simultaneously) Line 1 ┌ 5 ┐
2 2 ┤ │
3 C L E A R B L O C K
(‘ESC’: Cancel ; 4 E S C ? O K ?
‘OK’: Execute)

Back to Main Menu:


1 2 3 4 5 6 7 8 Column
Press ‘ESC’ Line 1 L A D D E R
2 > F U N . B L O C K
3 R U N
4 C L E A R P R O G .

Change Function Block Category:


1 2 3 4 5 6 7 8 Column
Line 1 ┌ 3 ┐
2 3 ┤ │
3 │ 0 0 0 0 ├ T 2
4M 4 ┴ ┘

Move the cursor to change to T, C, R, G, H, P, L

Step 1: 1 2 3 4 5 6 7 8 Column
Press ‘SEL’ Line 1 ┌ 2 ┐
2M 1 ┤ │
3 │ 9 9 9 9 9 9 ├ C 1
4M 2 ┴ ┘

You might also like