xLadder user manual-V2.0.0.6

Distribuidor para Chile y Sudamérica Zona Industrial Spa. www.zonaindustrial.cl

www.RIEVTECH.com

Installation and wiring Programming Configuring software Applications Technical data

RIEVTECH USER MANUAL

+ Programming guide

Ver. 2.0.0.6

Document Revisions

Version Number

Date

Document Changes

25/12/2020

2.0.0.3

Add new instructions description for Ethernet PLC (Chapter

10.12~10.16)

26/05/2021

2.0.0.4

Modify the expansion module I/O, AI, AQ address addressing

(Chapter 10.3)

SMB34-SMB35 Time Interval Registers for Timed Interrupts (Chapter 4.1)

01/03/2022

2.0.0.5

24/03/2022

2.0.0.6

NEW Modbus Address Assignment Table (Page 304)

Introduction ------------------------------------------------------------------------------------------------------------- 1 Valid range of this manual ------------------------------------------------------------------------------------- 2 Safety Guideline -------------------------------------------------------------------------------------------------- 2 Qualified Personnel ---------------------------------------------------------------------------------------------- 3 Prescribed Usage ------------------------------------------------------------------------------------------------- 3 Warning ------------------------------------------------------------------------------------------------------ 3 Trademarks ------------------------------------------------------------------------------------------------- 3 Copyright Rievtech 2016 all rights reserved --------------------------------------------------------- 4 Disclaim of Liability --------------------------------------------------------------------------------------- 4 Additional support ---------------------------------------------------------------------------------------- 4 1 .what is Xlogic ? ----------------------------------------------------------------------------------------------- 5 1.1 Overview ------------------------------------------------------------------------------------------------------ 5 1.2 Highlight feature -------------------------------------------------------------------------------------------- 5 1.3 Some of the things xLogic can do for you? ------------------------------------------------------------ 7 1.4 xLogic devices : --------------------------------------------------------------------------------------------- 7 xLogic Basic is available in two voltage classes ----------------------------------------------------- 7 Expansion modules --------------------------------------------------------------------------------------- 7 Communication cable and module -------------------------------------------------------------------- 7 2. Hardware introduction --------------------------------------------------------------------------------------------- 9 2.1 Naming Rules of PR Series PLC --------------------------------------------------------------------------- 9 2.2 Hardware model selection ------------------------------------------------------------------------------ 10 2.3 Structure & dimension ----------------------------------------------------------------------------------- 13 3 .Installing/removing xLogic -------------------------------------------------------------------------------------- 16 Dimensions ------------------------------------------------------------------------------------------------------ 16 3.1 DIN rail mounting ----------------------------------------------------------------------------------------- 17 3.2 Wall - mounting --------------------------------------------------------------------------------------------- 18 3.3 wiring xLogic ----------------------------------------------------------------------------------------------- 19 3.4 Connecting the power supply -------------------------------------------------------------------------- 19 3.4.1 Connecting xLogic inputs ----------------------------------------------------------------------- 20 3.4.2 Connecting xLogic Outputs -------------------------------------------------------------------- 23 3.4.3 Communication port instructions: ----------------------------------------------------------- 26 4.Quick reference manual --------------------------------------------------------------------------------------- 29 4.1 Special memory area: ------------------------------------------------------------------------------------ 29 4.2Interrupt Events: ------------------------------------------------------------------------------------------- 29 4.3 High speed counter : ------------------------------------------------------------------------------------ 29 X Ladder direction for use ---------------------------------------------------------------------------------------- 31 5.The detailed annotation of operation interface ----------------------------------------------------------- 31 5.1The main menu ------------------------------------------------------------------------------------------ 31 5.1.1 File --------------------------------------------------------------------------------------------------- 31 5.1.2 Edit -------------------------------------------------------------------------------------------------- 32 5.1.3 View ------------------------------------------------------------------------------------------------- 32 5.1.4 PLC --------------------------------------------------------------------------------------------------- 34 5.1.5 Debug ----------------------------------------------------------------------------------------------- 35

5.1.6 Help ------------------------------------------------------------------------------------------------- 35 5.2 toolbar ------------------------------------------------------------------------------------------------------- 36 5.3 Instruction tree -------------------------------------------------------------------------------------------- 39 5.3.1 Project ---------------------------------------------------------------------------------------------- 40 5.3.2 Data block ------------------------------------------------------------------------------------------ 40 5.3.3 System block -------------------------------------------------------------------------------------- 41 5.3.4 Program block ------------------------------------------------------------------------------------- 48 5.3.5 Function symbol ---------------------------------------------------------------------------------- 48 5.3.6 Variable symbol ----------------------------------------------------------------------------------- 48 5.3.7 Status chart ---------------------------------------------------------------------------------------- 49 5.3.8 Cross reference ----------------------------------------------------------------------------------- 49 5.3.9 Communication ----------------------------------------------------------------------------------- 50 5.3.10 Instructions ------------------------------------------------------------------------------------ 51 5.3.11 The program editor ---------------------------------------------------------------------------- 52 5.3.12 Status chart, information output ----------------------------------------------------------- 53 5.4 Programming concepts ---------------------------------------------------------------------------------- 54 5.4.1 How the program works ------------------------------------------------------------------------ 54 5.4.2 Addressing overview ---------------------------------------------------------------------------- 54 5.4.3 How to organize the program ----------------------------------------------------------------- 56 5.5 How to enter the ladder logic program -------------------------------------------------------------- 57 5.5.1 How to build a new project -------------------------------------------------------------------- 57 5.5.2 Ladder logic element and its working principle ------------------------------------------- 57 5.5.3 Network rules for series and parallel in LAD ----------------------------------------------- 58 5.5.4 How to input commands in LAD ----------------------------------------------------------- 58 5.5.5 How to enter the address in LAD ------------------------------------------------------------- 60 5.5.6 How to edit program elements in LAD ------------------------------------------------------ 60 5.5.7 How to use find / replace ---------------------------------------------------------------------- 63 5.5.8 How to display errors in LAD in the program editor ------------------------------------- 64 5.5.9 How to compile in LAD -------------------------------------------------------------------------- 64 5.5.10 How to save the project ----------------------------------------------------------------------- 65 5.6 How to set up a communication and download program --------------------------------------- 65 5.6.1 Communication settings ------------------------------------------------------------------------ 65 5.6.2 Download program ---------------------------------------------------------------------------- 67 5.6.3 How to correct compilation errors and download errors ------------------------------- 68 5.7 How to monitor and debug the program ------------------------------------------------------------ 69 5.8 PLC operation and options ------------------------------------------------------------------------------ 73 6.X Ladder instructions descriptions ----------------------------------------------------------------------------- 74 6.1 Bit logic ------------------------------------------------------------------------------------------------------ 74 6.1.1 Normally open and normally closed --------------------------------------------------------- 74 6.1.2 Normally open immediate and normally closed immediate. -------------------------- 76 6.1.3 NOT Reverse instruction ------------------------------------------------------------------------ 76 6.1.4 Rising edge and falling edge ------------------------------------------------------------------- 77 6.1.5 Output ---------------------------------------------------------------------------------------------- 78 6.1.6 Output immediate ------------------------------------------------------------------------------- 78

6.1.7 Set and reset -------------------------------------------------------------------------------------- 79 6.1.8 Set immediate and reset immediate -------------------------------------------------------- 80 6.1.9 SR instruction ------------------------------------------------------------------------------------- 80 6.1.10 RS instruction ------------------------------------------------------------------------------------ 81 6.1.11 NOP instruction --------------------------------------------------------------------------------- 82 6.2 Clock instruction ------------------------------------------------------------------------------------------ 83 6.2.1 Read and set the real time clock -------------------------------------------------------------- 83 6.3 Communication -------------------------------------------------------------------------------------------- 84 6.3.1 Get port address ------------------------------------------------------------------------------- 84 6.3.2 Set port address -------------------------------------------------------------------------------- 84 6.4 Compare -------------------------------------------------------------------------------------------------- 85 6.4.1 Byte compare ------------------------------------------------------------------------------------- 85 6.4.2 Integer comparison ------------------------------------------------------------------------------ 87 6.4.3 Double integer comparison -------------------------------------------------------------------- 88 6.4.4 Real number comparison ----------------------------------------------------------------------- 89 6.4.5 String comparison -------------------------------------------------------------------------------- 90 6.5 Convert ------------------------------------------------------------------------------------------------------ 91 6.5.1 Byte to integer ------------------------------------------------------------------------------------ 91 6.5.2 Integer to byte ------------------------------------------------------------------------------------ 92 6.5.3 Integer to double integer ----------------------------------------------------------------------- 92 6.5.4 Integer to string ---------------------------------------------------------------------------------- 92 6.5.5 Double integer to integer ---------------------------------------------------------------------- 94 6.5.6 Double integer to real number ---------------------------------------------------------------- 94 6.5.7 Double integer to string ------------------------------------------------------------------------ 95 6.5.8 BCD to integer, integer to BCD conversion ------------------------------------------------- 96 6.5.9 ROUND --------------------------------------------------------------------------------------------- 97 6.5.10 TRUNC --------------------------------------------------------------------------------------------- 98 6.5.11 Real number to string ------------------------------------------------------------------------- 99 6.5.12 Integer to ASCII code ------------------------------------------------------------------------ 101 6.5.13 Double integer to ASCII code -------------------------------------------------------------- 103 6.5.14 Real number to ASCII code ----------------------------------------------------------------- 104 6.5.15 ATH&HTA --------------------------------------------------------------------------------------- 106 6.5.16 String to integer ------------------------------------------------------------------------------- 107 6.5.17 String to double integer --------------------------------------------------------------------- 109 6.5.18 String to real number ------------------------------------------------------------------------ 111 6.5.19 DECO ------------------------------------------------------------------------------------------ 113 6.5.20 ENCO -------------------------------------------------------------------------------------------- 114 6.5.21 Seven segment code ------------------------------------------------------------------------- 115 6.6 Counter ---------------------------------------------------------------------------------------------------- 116 6.6.1 CTU ------------------------------------------------------------------------------------------------ 116 6.6.2 CTD ------------------------------------------------------------------------------------------------ 117 6.6.3 CTUD ---------------------------------------------------------------------------------------------- 118 6.7 Floating point calculation ----------------------------------------------------------------------------- 119 6.7.1 ADD - R&SUB - R ----------------------------------------------------------------------------------- 119

6.7.2 MUL - R&DIV - R -------------------------------------------------------------------------------- 121 6.7.3 SQRT ----------------------------------------------------------------------------------------------- 122 6.7.4 SIN ----------------------------------------------------------------------------------------------- 123 6.7.5 COS ------------------------------------------------------------------------------------------------ 124 6.7.6 TAN ---------------------------------------------------------------------------------------------- 125 6.7.7 LN -------------------------------------------------------------------------------------------------- 126 6.7.8 EXP ------------------------------------------------------------------------------------------------- 127 6.7.9 PID ---------------------------------------------------------------------------------------------- 128 6.8 Integer operations -------------------------------------------------------------------------------------- 131 6.8.1 ADD - I&SUB - I ------------------------------------------------------------------------------------ 131 6.8.2 ADD - DI & SUB - DI ------------------------------------------------------------------------------ 133 6.8.3 MUL & DIV --------------------------------------------------------------------------------------- 134 6.8.4 MUL - I & DIV - I ----------------------------------------------------------------------------------- 135 6.8.5 MUL - DI & DIV - DI ------------------------------------------------------------------------------ 137 6.8.6 INC - B & DEC - B ---------------------------------------------------------------------------------- 138 6.8.7 INC - W & DEC - W -------------------------------------------------------------------------------- 139 6.8.8 INC - DW & DEC - DW --------------------------------------------------------------------------- 140 6.9 Interrupt --------------------------------------------------------------------------------------------------- 141 6.9.1 ENI & DISI ---------------------------------------------------------------------------------------- 141 6.9.2 RETI instruction --------------------------------------------------------------------------------- 143 6.9.3 ATCH -------------------------------------------------------------------------------------------- 144 6.9.4 DTCH -------------------------------------------------------------------------------------------- 147 6.9.5 Clear interrupt event -------------------------------------------------------------------------- 149 6.10 Logic operation ---------------------------------------------------------------------------------------- 150 6.10.1 INV - B ----------------------------------------------------------------------------------------- 150 6.10.2 INV - W ------------------------------------------------------------------------------------------ 151 6.10.3 INV - DW ----------------------------------------------------------------------------------------- 152 6.10.4 WAND - B 、 WOR - B 、 WXOR - B ------------------------------------------------------------ 153 6.10.5 WAND - W 、 WOR - W 、 WXOR - W -------------------------------------------------------- 154 6.10.6 WAND - DW 、 WOR - DW 、 WXOR - DW -------------------------------------------------- 155 6.11 Move ----------------------------------------------------------------------------------------------------- 156 6.11.1 Byte move -------------------------------------------------------------------------------------- 156 6.11.2 Word move ------------------------------------------------------------------------------------- 157 6.11.3 Double word move --------------------------------------------------------------------------- 158 6.11.4 Real number move --------------------------------------------------------------------------- 159 6.11.5 BLKMOV - B ------------------------------------------------------------------------------------- 160 6.11.6 BLKMOV - W ------------------------------------------------------------------------------------ 161 6.11.7 BLKMOV - D ------------------------------------------------------------------------------------- 162 6.11.8 SWAP -------------------------------------------------------------------------------------------- 163 6.11.9 MOV - BIR --------------------------------------------------------------------------------------- 164 6.11.10 MOV - BIW ------------------------------------------------------------------------------------ 164 6.12 Program control ---------------------------------------------------------------------------------------- 165 6.12.1 FOR 、 NEXT ---------------------------------------------------------------------------------- 165 6.12.2 Jump to label and label --------------------------------------------------------------------- 167

6.12.3 Sequence control relay ---------------------------------------------------------------------- 168 6.12.4 Return from subroutine --------------------------------------------------------------------- 170 6.12.5 Conditional end ------------------------------------------------------------------------------- 171 6.12.6 STOP --------------------------------------------------------------------------------------------- 172 6.12.7 Watchdog Reset ------------------------------------------------------------------------------ 173 6.12.8 Diagnosis LED ---------------------------------------------------------------------------------- 174 6.13 Shift cycle ------------------------------------------------------------------------------------------------ 175 6.13.1 SHR - B & SHL - B ------------------------------------------------------------------------------- 175 6.13.2 SHR - W & SHL - W ----------------------------------------------------------------------------- 177 6.13.3 SHR - DW & SHL - DW ------------------------------------------------------------------------- 178 6.13.4 ROR - B & ROL - B ------------------------------------------------------------------------------ 179 6.13.5 ROR - W & ROL - W ---------------------------------------------------------------------------- 180 6.13.6 ROR - DW & ROL - DW ------------------------------------------------------------------------ 181 6.13.7 SHRB --------------------------------------------------------------------------------------------- 182 6.14 Character string ---------------------------------------------------------------------------------------- 183 6.14.1 String length ----------------------------------------------------------------------------------- 183 6.14.2 Copy string ------------------------------------------------------------------------------------- 184 6.14.3 SSTR - CPY ---------------------------------------------------------------------------------------- 185 6.14.4 String catenate -------------------------------------------------------------------------------- 186 6.14.5 STR - FIND --------------------------------------------------------------------------------------- 187 6.14.6 Look for the first character in the string ------------------------------------------------ 188 6.15 Table ------------------------------------------------------------------------------------------------------ 189 6.15.1 Last in first out -------------------------------------------------------------------------------- 189 6.15.2 FIFO ---------------------------------------------------------------------------------------------- 191 6.15.3 Add to table ------------------------------------------------------------------------------------ 193 6.15.4 Memory fill ------------------------------------------------------------------------------------- 195 6.15.5 Table Find --------------------------------------------------------------------------------------- 196 6.16 Timer ----------------------------------------------------------------------------------------------------- 198 6.16.1 Switch on delay timer ----------------------------------------------------------------------- 198 6.16.2 TONR ------------------------------------------------------------------------------------------ 200 6.16.3 Disconnect delay timer ---------------------------------------------------------------------- 201 6.16.4 Start time interval ---------------------------------------------------------------------------- 202 6.16.5 Calculation interval time -------------------------------------------------------------------- 203 6.17 Pulse train output ------------------------------------------------------------------------------------- 204 6.17.1 Pulse output ----------------------------------------------------------------------------------- 204 6.17.2 Pulse width modulation --------------------------------------------------------------------- 206 6.18 Subroutine ---------------------------------------------------------------------------------------------- 207 6.18.1 Using subroutine ----------------------------------------------------------------------------- 207 6.18.2 Using parameters to call subroutine ----------------------------------------------------- 208 6.18.3 How to set up a subroutine ---------------------------------------------------------------- 209 6.18.4 How to call a subroutine -------------------------------------------------------------------- 210 7.PLC storage area -------------------------------------------------------------------------------------------------- 213 7.1 Storage area types and properties ------------------------------------------------------------------ 213 7.2 Direct and indirect addressing ----------------------------------------------------------------------- 214

7.3 Bit, byte, word and double word access ----------------------------------------------------------- 217 7.4 Memory address range -------------------------------------------------------------------------------- 217 7.5 Data type -------------------------------------------------------------------------------------------------- 218 7.6 Constant --------------------------------------------------------------------------------------------------- 219 8.Assignment and function of SM special storage area --------------------------------------------------- 220 9.Easy ladder communication ----------------------------------------------------------------------------------- 221 9.1 PR series PLC basic introduction of network communication -------------------------------- 221 9.2 PR series PLC communication ------------------------------------------------------------------------ 223 9.3 Optimize network performance --------------------------------------------------------------------- 231 10.Additional chapter --------------------------------------------------------------------------------------------- 232 10.1 How to switch PLC mode ---------------------------------------------------------------------------- 232 10.2 Value range of analog quantity: -------------------------------------------------------------------- 239 10.3 Extension module address -------------------------------------------------------------------------- 239 10.3.1 Digtal Input addressing ---------------------------------------------------------------------- 239 10.3.2 Digtal Output addressing ------------------------------------------------------------------- 241 10.3.3 Analog Input addressing -------------------------------------------------------------------- 242 10.3.4 Analog Output addressing ------------------------------------------------------------------ 244 10.4 Set extension module address with a dial switch ---------------------------------------------- 245 10.5 Additional instructions ------------------------------------------------------------------------------- 246 10.5.1 LCD related instructions --------------------------------------------------------------------- 246 10.5.2 CAN, serial port initialization instructions ---------------------------------------------- 255 10.6 Example of serial port free port communication ---------------------------------------------- 256 10.7 Example of CAN free port --------------------------------------------------------------------------- 258 10.8 MODBUS communication master program ----------------------------------------------------- 260 10.9 The example of using PID instruction ------------------------------------------------------------- 261 10.10 Read / Write Program via Ethernet -------------------------------------------------------------- 264 10.11 Modbus block (New block for Ethernet series PLC) ------------------------------------------ 269 10.12 MQTT (New block for Ethernet series PLC) ---------------------------------------------------- 273 10.12.1 Connect to MQTT Server -------------------------------------------------------------- 273 10.12.2 Publish with MQTT ----------------------------------------------------------------------- 275 10.12.3 Subscribe with MQTT ------------------------------------------------------------------- 279 10.13 Memory Read & Memory Write (New block for Ethernet series PLC) ------------------- 283 10.13.1 Memory Write ------------------------------------------------------------------------------ 283 10.13.2 Memory Read ------------------------------------------------------------------------------ 286 10.14 GPRS_CONN & GPRS_SEND (New block for Ethernet series PLC) ------------------------ 289 10.14.1 GPRS_CONN ------------------------------------------------------------------------------ 289 10.14.2 GPRS_SEND ------------------------------------------------------------------------------ 290 10.15 SMS_IN & SMS_OUT (New block for Ethernet series PLC) --------------------------------- 293 10.15.1 SMS _IN --------------------------------------------------------------------------------------- 294 10.15.2 SMS _OUT ------------------------------------------------------------------------------------ 297 10.16 EMAIL_POST (New block for Ethernet series PLC) ------------------------------------------- 300 10.16.1 Set email params ------------------------------------------------------------------------- 300 10.16.2 EMAIL_POST ------------------------------------------------------------------------------ 301 MODBUS ADDRESS ------------------------------------------------------------------------------------------------- 304

Introduction

Congratulations with your xLogic Micro PLC provided by Rievtech

Electronic Co., Ltd.

The xLogic Micro PLC is a compact and expandable CPU replacing mini PLCs,

multiple timers, relays and counters.

The xLogic Micro PLC perfectly fits in the space between timing relays

and low-end PLCs. Each CPU incorporates not only a real-time clock and

calendar, but also provides support for optional expansion I/O modules

to enhance control and monitoring applications. Data adjustments can

easily be performed via the keypad, the LCD display, or through the

Rievtech-to-use xLogic soft. DIN-rail and panel-mounted options are both

available, offering full flexibility to the various installation needs

of your application.

The xLogic Micro PLC is available in 120V/240V AC or 12V and 24V DC versions,

making it the ideal solution for relay replacement, or simple control

applications as building and parking lot lighting, managing automatic

lighting, access control, watering systems, pump control, ventilation

systems, home automation and a wide field of other applications demanding

low cost to be a primary design issue.

We strongly recommended taking the time to read this manual, before

putting the xLogic Micro PLC to work. Installation, programming and use

of the unit are detailed in this manual. The feature-rich xLogic Micro

PLC provides a for off-line operation mode, allowing full configuration

and testing prior to in-field service commissioning. In reviewing this

manual you will discover many additional advantageous product properties,

it will greatly simplify and optimize the use of your xLogic Micro PLC.

1

Valid range of this manual

The manual applies to devices of PR series PLC.

Safety Guideline

This manual contains notices you have to observe in order to ensure your

personal safety, as well as to prevent damage to property. The notices

referring to your personal safety are highlighted in the manual by a safety

alert symbol; notices referring to property damage only have no safety

alert symbol. The notices shown below are graded according to the degree

of danger.

Caution

Indicates that death or severe personal injury may

result if proper precautions are not taken

Caution

With a safety alert symbol indicates that minor

personal injury can result if proper precautions are

not taken.

Caution

Without a safety alert symbol indicates that property

damage can result if proper precautions are not taken.

Attention

Indicate that an unintended result or situation can

occur if the corresponding notice is not taken into

account.

If more than one degree of danger is present, the warning notice

representing the highest degree of danger will be used. A notice warning

2

of injury to persons with a safety alert symbol may also include a warning

relating to property damage.

Qualified Personnel

The device/system may only be set up and used in conjunction with this

documentation. Commissioning and operation of a device/system may only

be performed by qualified personnel. Within the context of the safety

notices in this documentation qualified persons are defined as persons

who are authorized to commission, ground and label devices, systems and

circuits in accordance with established safety practices and standards.

Please read the complete operating instructions before installation and

commissioning.

Rievtech does not accept any liability for possible damage to persons,

buildings or machines, which occur due to incorrect use or from not

following the details.

Prescribed Usage

Note the following:

Warning

This device and its components may only be used for the applications

described in the catalog or the technical description, and only in

connection with devices or components from other manufacturers which have

been approved or recommended by Rievtech. Correct, reliable operation of

the product requires proper transport, storage, positioning and assembly

as well as careful operation and maintenance.

Trademarks

All names identified by xLogic are registered trademarks of the Rievtech.

The remaining trademarks in this publication may be trademarks whose use

by third parties for their own purposes could violate the rights of the

owner.

3

Copyright Rievtech 2016 all rights reserved

The distribution and duplication of this document or the utilization and

transmission of its contents are not permitted without express written

permission. Offenders will be liable for damages. All rights, including

rights created by patent grant or registration of a utility model or design,

are reserved.

Disclaim of Liability

We have reviewed the contents of this publication to ensure consistency

with the hardware and software described. Since variance cannot be

precluded entirely, we cannot guarantee full consistency. However, the

information in this publication is reviewed regularly and any necessary

corrections are included in subsequent editions.

Additional support

We take pride in answering your question as soon as we can:

Please consult our website at www.rievtech.com for your closest point of

contact or email us at sales@rievtech.com

4

1 .what is Xlogic ?

1.1 Overview

xLogic is a universal logic module made by Rievtech.

xLogic , a compact, expandable CPU that can replace mini PLC, multiple

timers, relays and counters, Splitting the difference between a timing

relay and a low-end PLC, Each CPU has a real-time clock and calendar,

and supports optional expansion I/O modules to enhance your control and

monitoring applications . Data adjustments can be done via the on-board

keypad and LCD display, or with xLogic soft. It can be either DIN-rail

or panel mounted, depending upon the needs of your application, and it

is available in 120V/240V ac as well as 12V and 24V dc versions, and it

is the ideal solution for relay replacement applications, simple control

applications such as building and parking lot lighting, managing

automatic lighting, access control, watering systems, pump control, or

ventilation systems in factory, and home automation and applications in

which cost is a primary design issue.

1.2 Highlight feature

 Multiple value display and input via keypad and LCD display.

 Unique ladder diagram, improves your programming efficiency.

 Standard Modbus RTU/ASCII/TCP communication protocol supported.

 It ’ s optional for xLogic to act as slave or master in certain Modbus

communication network.(easy connect to other factory touch screen by

RS232 cable, RS485 module)

 Support free port communication, CAN communication and MODBUS

communication

 Expandable up to 16 linked IO expansion modules reaching 282 I/O points

in maximum

Optional RS232, RS485 connectivity

 Multiple channels analog inputs available with DC 0-10V signal ,PT100

5

signal& 0/4 … .20mA.

 Default Real Time Clock (RTC) and summer/winter timer is

available

 Backup at Real Time Clock (RTC) at 25 ° C:20 days

4 channels high-speed counting

 Pre-configured standard functions, e.g. on/ off-delays, pulse relay

and softkey

2 PWM channels(10KHz in maximum)

 Retentive memory capability (Not applied to PR-6&PR-12-E series CPU)

 RS232 and USB communication download cable with photo-electricity

isolation

 Support ladder diagram programming(Not applied to PR-6&PR-12-E series

CPU)

 Mounting via modular 35mm DIN rail or screw fixed mounting plate

 On-line monitor capability(Free charge SCADA for all series xlogic)

Datalogging

 Kinds of analog signals process capacity (DC 0..10V ,0/4...20mA and

PT100 probe inputs and DC 0..10V and 0/4...20mA outputs)

Low cost

6

1.3 Some of the things xLogic can do for you?

The xLogic Micro PLC provides solutions for commercial, industrial,

building and

domestic applications such as lighting, pumping, ventilation, shutter

operations or in switching cabinets. The application field is widespread

and these are just a few to mention.

Using the RS485 bus and Ethernet connectivity allows the user to realize

various extensive (real-time) monitoring and control applications.

Special versions without operator panel and display unit are available

for series production applications in small machine, installation and

cabinet building environments to further slash cost.

1.4 xLogic devices :

xLogic Basic is available in two voltage classes :

*Classes 1:DC12-24V: i.e.: PR-6DC Series, PR-12DC series, PR-18 series,

PR-24DC series.

*Classes2: AC110-240V: i.e.: PR-6AC Series, PR-12AC series, PR-18AC

series , PR-24AC series.

Expansion modules :

PR-E

* xLogic digital modules are available for operation with 12 … 24V DC, and

110.. .240 V AC, and are equipped with eight inputs and eight outputs.

* xLogic analog modules are available for operation with 12 … 24 V DC and

are equipped with six digital and 4 analog inputs.

Communication cable and module :

 xLogic:RS232 communication cable (Model:ELC-RS232)

It is kind of universal cable with photoelectricity isolation which can

be directly connected to standard 9-pin port of PC, also kind of interface

module which can enable user ’ s program to be downloaded into xLogic CPU

7

through xLogicsoft for running. It also is the connection cable between

CPU and third party device with the RS232 port(just like HMI) in modbus

communication system.

 xLogic: USB communication cable (Model: ELC-USB).

It is kind of communication cable with photoelectricity isolation through

which PC with USB port only can be connected to xLogic main module,

moreover, it has same features as ELC-RS232 module, so it is quite

convenient for user whose computer has no standard serial port.

 xLogic: PRO-RS485 cable (Model: PRO-RS485).

It is kind of converter cable with photoelectricity isolation to make the

program port serves as RS485 port.

 xLogic: RS485 module ( Model : PR-RS485 )

isolated 485 converter,used to bring out the terminals of RS485 port

built-in PR-18,PR-24 series CPU for connection with third party devices.

Communication / Network

xLogic offers different ways to communicate within the system.

RS485 port

The RS485 port is used for communication between the CPU and various

devices or equipments which have the standard RS485 port. Communicate

using Modbus RTU/ASCII protocol.

Note : PR-RS485 module is required to connect the CPU to RS485 BUS.

RS232 or USB port (ELC-ES232/ ELC-USB needed)

8

If there is no network required and only one main module with some

expansion modules is needed for the application, the down- and upload of

the project to and from the main module happens over the standard RS232

or USB port. It allows system maintenance like monitoring too.

Note : PR-E-RS485 module is required to connect the CPU to RS485 BUS.

Note

xLogic CPU may be equipped with expansion modules of the different voltage

class, but expansion module must be supplied the correct power

corresponding to its type.

2. Hardware introduction

2.1 Naming Rules of PR Series PLC

4G

PR -

12

DC -

DA -

R -

N -

1

2

3

4

5

6

7

1 - Basic Type Designation PR -- CPU module

PR - E -- Expansion module

2 – Port of total I/Os

8 – 4 analog/digital input and 4 outputs 12 – 8 analog/digital input and 4 outputs 14 – 10 analog/digital input and 4 outputs 16 – 8analog/digital input and 8 outputs(Expansion module)

18 – 12 analog/digital input and 6 outputs 24 – 14 analog/digital input and 10 outputs 26 – 16 analog/digital input and 10 outputs

3 – Power supply

9

DC - Input: 12~24 V dc AC - Input: AC110 - 240V

4 – Digital / Analog

D - Digital input: 0~28.8 V dc A - Analog input: 0~10 V dc DA – Digital and Analog voltage signal input DAI – Digital and Analog voltage/ current signal input PT100 – Analog PT100 input PTDAI – PT100, Digital and Analog voltage/ current signal input Blank – no analog signal input

5 – Output Type R - Relay

TN – Transistor (PNP type) RT – Relay and transistor

6 – Special function type 1 N – Ethernet access

Blank – no special function type 1

7 – Special function type 2

4G – GSM/UMTS/LTE Communication type WIFI – With WIFI connectivity but no GSM/GPRS 4GWIFI - With WIFI connectivity and GSM/UMTS/LTE

2.2 Hardware model selection

PR-12 Series CPU Units (None expandable)

Expansio

Model

Supply voltage

Inputs

Outputs

High-speed count

PWM

HMI

RTC

n

4 relays (10A

PR-12AC-R

8 digital

no

AC110~AC240V

250VAC /5A

no

no

yes

yes

30VDC)

4 relays (10A

PR-12DC-DA-R

4 (0...10V)+4 digital

4(I5-I8) (60KHZ)

no

DC12-24V

250VAC /5A

no

yes

yes

30VDC)

4Transistor(0.3A/PNP

PR-12DC-DA-TN

no

DC12 - 24V

Yes(10KHZ)

yes

yes

4 (0...10V)+4 digital

4 (I5-I8)( 60KHZ)

)

PR-14 Series CPU Units (Expandable)-built-in RS485 port

Model

Expansion

Supply voltage

Inputs

Outputs

High-speed count

PWM

HMI

RTC

4 relays (10A 250VAC

AC110~AC240V

PR-14AC-R

yes

10 digital

no

no

yes

yes

/DC110 - DC240V

/5A 30VDC)

6(0...10V)/6digital+4

4 relays (10A 250VAC

PR-14DC-DA-R

yes

4(I7-IA) (60KHZ)

DC12-24V

no

yes

yes

digital

/5A 30VDC)

10

PR-18 Series CPU Units (Expandable)

Model

Expansion

Supply voltage

Inputs

Outputs

High-speed count

PWM

HMI

RTC

6 relays (10A 250VAC

AC110~AC240V

PR-18AC-R

yes

12 digital

no

no

yes

yes

/DC110 - DC240V

/5A 30VDC)

6(0...10V)/6digital+6

6 relays (10A 250VAC

PR-18DC-DA-R

yes

4(I9-IC) (60KHZ)

DC12-24V

no

yes

yes

digital

/5A 30VDC)

4 relays (10A 250VAC

6(0...10V)/6digital+6

PR-18DC-DA-RT

yes

yes(10khz)

/5A 30VDC) +

4(I9-IC) (60KHZ)

DC12-24V

yes

yes

digital

2 transistor(0.3A)

PR-24 Series CPU Units (Expandable)-built-in RS485 port

High-speed

Model

Expansion

Supply voltage

Inputs

Outputs

PWM

HMI

RTC

count

10 relays (10A 250VAC /5A

PR-24AC-R

yes

16 digital

AC110~AC240V

no

no

yes

yes

30VDC)

6(0...10V)/6digital+8

10 relays (10A 250VAC /5A

PR-24DC-DA-R

yes

4(I9-IC) (60KHZ)

DC12-24V

no

yes

yes

digital

30VDC)

2(0/4...20mA)+

6 relays (10A 250VAC /5A

PR-24DC-DAI-RTA

yes

4(0...10V)/4digital+8

30VDC)+2Transistor(0.3A/PNP)+1(0

YES(10khz)

4(I9-IC) (60KHZ)

DC12-24V

yes

yes

...10V)/(0...20mA)

digital

Ethernet Series CPU Units

PR-12N,18N,26N

Model

Expansion

Supply voltage

Inputs

Outputs

High-speed count

PWM

HMI

RTC

PR-12AC-R-N

4 relays (10A 250VAC /5A

yes

8 digital

AC110~AC240V

no

no

yes

yes

30VDC)

I1--I4 : 4 DI/AI(0--10V ) +

PR-12DC-DA-R-N

4 relays (10A 250VAC /5A

yes

4 (I5-I8)(60KHZ)

DC12-24V

no

yes

yes

I5--I8 : 4DI/HSI ;

30VDC)

PR-18AC-R-N

Q1--Q6( RELAY 10A 250VAC /5A

AC 110V- 240V

no

no

yes

yes

yes

12 AC (I1--IC);

30VDC)

I1--I6 : 6DI/AI (0--10V signal ) +

PR-18DC-DAI-R-N

DC 24V

no

yes

yes

I7-I8 : 2DI/AI(0--10V/0-20mA

Q1--Q6( RELAY 10A 250VAC /5A

yes

4 (I9-IC)(60KHZ)

signal ) +

30VDC)

I9--IC: 4DI/HSI ;

I1--I6 : 6DI/AI (0--10V signal ) +

PR-18DC-DAI-TN-N

DC12-24V

2

yes

yes

I7-I8 :

2DI/AI(0--10V/0-20mA

(Q5--Q

yes

Q1--Q6 (TRANSISTOR 0.3A)

4 (I9-IC)(60KHZ)

signal

+

6)(10K

I9--IC: 4DI/HSI ;

HZ)

PR-26AC-R-N

AC 110V- 240V

Q1--Q6(RELAY 5A 250VAC / 3A

30VDC)

+

yes

I1--IG : 16 DI AC ;

no

no

yes

yes

Q7--QA(RELAY 10A 250VAC /5A

30VDC)

I1--I8 : 8DI/AI (0--10V signal ) +

PR-26DC-DAI-RA-N

DC 24V

Q1(0-10V),Q2(0-20mA)+

yes

4 routers(I9-IC)(60KHZ)

no

yes

yes

I9--IC : 4DI/HSI + ID--IG : 4 DI/AI

Q3--Q6(RELAY 5A 250VAC /3A

11

(0-10V/0-20mA signal ) ;

30VDC)

+ Q7--QA(RELAY 10A

250VAC /5A 30VDC)

PR-26DC-DAI-RT-N

DC 24V

Q1--Q2(PNP

0.3A)

+

I1--I8 : 8DI/AI (0--10V signal ) +

2

Q3--Q6(RELAY 5A 250VAC / 3A

yes

I9--IC : 4DI/HSI + ID--IG : 4 DI/AI

4 routers(I9-IC)(60KHZ)

(Q1--Q2)

yes

yes

30VDC)

+

Q7--QA(RELAY 10A

(0-10V/0-20mA signal ) ;

(10KHZ)

250VAC /5A 30VDC)

PR-26DC-DAI-RT-2G

DC 24V

Q1--Q2(PNP

0.3A)

+

I1--I8 : 8DI/AI (0--10V signal ) +

2

Q3--Q6(RELAY 5A 250VAC / 3A

yes

I9--IC : 4DI/HSI + ID--IG :4 DI/AI

4 routers(I9-IC)(60KHZ)

(Q1--Q2)

yes

yes

30VDC)

+

Q7--QA(RELAY 10A

(0--10V/0-20mA signal ) ;

(10KHZ)

250VAC /5A 30VDC)

I1--I8 : 8DI/AI (0--10V ) + I9--IC :

PR-26DC-DAI-RT-4G

DC 24V

Q1--Q2(PNP

0.3A)

+

2

4DI/HSI + ID--IG : 4 DI/AI

Q3--Q6(RELAY 5A 250VAC / 3A

yes

4 routers(I9-IC)(60KHZ)

(Q1--Q2)

yes

yes

(0--10V/0-20mA signal ) ;

30VDC)

+

Q7--QA(RELAY 10A

(10KHZ)

250VAC /5A 30VDC)

PR-26DC-DAI-RT-WIFI

DC 24V

Q1--Q2(PNP

0.3A)

+

I1--I8 : 8DI/AI (0--10V signal ) +

2

Q3--Q6(RELAY 5A 250VAC / 3A

yes

I9--IC : 4DI/HSI + ID--IG : 4 DI/AI

4 routers(I9-IC)(60KHZ)

(Q1--Q2)

yes

yes

30VDC)

+

Q7--QA(RELAY 10A

(0-10V/0-20mA signal ) ;

(10KHZ)

250VAC /5A 30VDC)

PR-26DC-DAI-RT-4G

DC 24V

Q1--Q2(PNP

0.3A)

+

I1--I8 : 8DI/AI (0--10V ) + I9--IC :

2

WIFI

Q3--Q6(RELAY 5A 250VAC / 3A

yes

4DI/HSI + ID--IG : 4 DI/AI

4 routers(I9-IC)(60KHZ)

(Q1--Q2)

yes

yes

30VDC)

+

Q7--QA(RELAY 10A

(0--10V/0-20mA signal ) ;

(10KHZ)

250VAC /5A 30VDC)

AI1--AI3: 3 PT100(- 50…200 ℃ ) +

PR-23DC-PTDAI-RT-N

DC 24V

Q1--Q2(PNP

0.3A)

+

2

I7-- I8: 2 DI/AI(0…10VDC) +I9 --IC:

Q3--Q6(RELAY 5A 250VAC / 3A

yes

4 routers(I9-IC)(60KHZ)

(Q1--Q2)

yes

yes

4

DI/HSI+ID--IG:

4

30VDC)

+

Q7--QA(RELAY 10A

(10KHZ)

DI/AI(0...20mA OR 0…10V DC)

250VAC /5A 30VDC)

AI1--AI3: 3 PT100(- 50…200 ℃ ) +

PR-23DC-PTDAI-RT-4

DC 24V

Q1--Q2(PNP

0.3A)

+

2

G

I7-- I8: 2 DI/AI(0…10VDC) +I9 --IC:

Q3--Q6(RELAY 5A 250VAC / 3A

yes

4 routers(I9-IC)(60KHZ)

(Q1--Q2)

yes

yes

4

DI/HSI+ID--IG:

4

30VDC)

+

Q7--QA(RELAY 10A

(10KHZ)

DI/AI(0...20mA OR 0…10V DC)

250VAC /5A 30VDC)

Expansion Modules (For PR - 18,PR - 24 series)

Model

Supply voltage

Inputs

Outputs

4 relays ( 10A ) +4 relays(3A)

PR -E-16AC-R

AC110~

8 digital

AC240V

4 relays ( 10A ) +4 relays(3A)

PR -E-16DC-DA-R

4 digital+ 4 analog (0..10V) /digital

DC12-24V

PR -E-16DC-DA-TN

4 digital+ 4 analog (0..10V) /digital

DC12-24V

8 transistors(PNP)(0.3A)

PR - E - DC - 16IN

DC12V – DC24V

4 DI / AI+12 DI

None

PR - E - DC - 16DO

DC12V – DC24V

None

15 Relays(3A,Q1 - QF) +1 Relays(10A,QG)

PR - E - AC - 16IN

AC 110~240V

16 DI

None

PR - E - AC - 16DO

AC 110~240V

None

15 Relays(3A,Q1 - QF) +1 Relays(10A,QG)

3 Channels PT100, resolution: 0. 5 °), temperature range : -50 ℃ - 200 ℃

PR -E-PT100

DC12-24V

none

PR -E-AQ-V I

DC 12- 24V

2 Channels (DC 0…10V /0...20mA )

none

PR -E-AI -I

DC12-24V

4 Channels (0/4…..20 mA), Current Signal

none

12

Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 Page 7 Page 8 Page 9 Page 10 Page 11 Page 12 Page 13 Page 14 Page 15 Page 16 Page 17 Page 18 Page 19 Page 20 Page 21 Page 22 Page 23 Page 24 Page 25 Page 26 Page 27 Page 28 Page 29 Page 30 Page 31 Page 32 Page 33 Page 34 Page 35 Page 36 Page 37 Page 38 Page 39 Page 40 Page 41 Page 42 Page 43 Page 44 Page 45 Page 46 Page 47 Page 48 Page 49 Page 50 Page 51 Page 52 Page 53 Page 54 Page 55 Page 56 Page 57 Page 58 Page 59 Page 60 Page 61 Page 62 Page 63 Page 64 Page 65 Page 66 Page 67 Page 68 Page 69 Page 70 Page 71 Page 72 Page 73 Page 74 Page 75 Page 76 Page 77 Page 78 Page 79 Page 80 Page 81 Page 82 Page 83 Page 84 Page 85 Page 86 Page 87 Page 88 Page 89 Page 90 Page 91 Page 92 Page 93 Page 94 Page 95 Page 96 Page 97 Page 98 Page 99 Page 100 Page 101 Page 102 Page 103 Page 104 Page 105 Page 106 Page 107 Page 108 Page 109 Page 110 Page 111 Page 112 Page 113 Page 114 Page 115 Page 116 Page 117 Page 118 Page 119 Page 120 Page 121 Page 122 Page 123 Page 124 Page 125 Page 126 Page 127 Page 128 Page 129 Page 130 Page 131 Page 132 Page 133 Page 134 Page 135 Page 136 Page 137 Page 138 Page 139 Page 140 Page 141 Page 142 Page 143 Page 144 Page 145 Page 146 Page 147 Page 148 Page 149 Page 150 Page 151 Page 152 Page 153 Page 154 Page 155 Page 156 Page 157 Page 158 Page 159 Page 160 Page 161 Page 162 Page 163 Page 164 Page 165 Page 166 Page 167 Page 168 Page 169 Page 170 Page 171 Page 172 Page 173 Page 174 Page 175 Page 176 Page 177 Page 178 Page 179 Page 180 Page 181 Page 182 Page 183 Page 184 Page 185 Page 186 Page 187 Page 188 Page 189 Page 190 Page 191 Page 192 Page 193 Page 194 Page 195 Page 196 Page 197 Page 198 Page 199 Page 200

www.zonaindustrial.cl

Made with FlippingBook - Online magazine maker