IMO iSmart V4 Instruction Manual

IMO iSmart V4 Instruction Manual

Intelligent relay
Table of Contents

Advertisement

Quick Links

INSTRUCTION MANUAL
IMO iSmart V4
Intelligent Relay
IMO Precision Controls Ltd
www.imopc.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the iSmart V4 and is the answer not in the manual?

Questions and answers

Summary of Contents for IMO iSmart V4

  • Page 1 INSTRUCTION MANUAL IMO iSmart V4 Intelligent Relay IMO Precision Controls Ltd www.imopc.com...
  • Page 2: Table Of Contents

    Contents Contents..................................... I Summary of changes ..............................Ⅴ Chapter 1: Getting Started............................... 1 Examination before Installation ..........................3 Environmental Precautions ..........................3 SMT Model Identification ..........................3 Quick Start Setup ..............................4 Install SMT Client Software ........................... 4 Connect Power to SMT smart relay ........................ 4 Connect Programming Cable ..........................
  • Page 3 LCD Display and Keypad ............................. 46 Keypad ................................46 Original Screen ............................. 47 LCD Display Main Menu ..........................50 RTC Daylight saving setting........................55 SMT system error ............................59 Chapter 4: Parameter passing ............................60 SMT inner data type .............................. 61 Passing parameter out of range ..........................
  • Page 4 XOR Logic Diagram ........................... 147 SR Logic Diagram ............................147 NOT Logic Diagram ........................... 147 Pulse Logic Diagram ........................... 148 BOOLEAN Logic Diagram ........................148 Function Block ..............................149 Timer Function Block ..........................150 Common Counter function block ........................ 158 High Speed Counter Function Block (DC Version Only) ................
  • Page 5 Chapter 9: Expansion Module............................. 213 Summarize ................................214 Digital IO Module ............................... 218 Analog Module ..............................222 Analog Input Module 4AI ........................... 222 Temperature Input Module 4PT ........................223 Analog Output Module 2AO ........................224 Appendix: Keypad Programming ..........................246 Appendix A: Keypad programming in Ladder mode ..................
  • Page 6: Summary Of Changes

    Summary of changes This user manual is modified by firmware V4.0 and SMT Client programming software V4.0. SMT V4.0 adds some new functions with the firmware to strong SMT function. The upgrade content is shown as the 2 tables below simply.
  • Page 7 NET I/O Ladder: 63(J01~J3F) Ladder: 63(K01~K3F) Ladder: 31(NAI 01~ NAI 1F) NAQ \ Ladder: 15(NAQ 01~ NAQ 0F)
  • Page 8: Chapter 1: Getting Started

    Chapter 1: Getting Started Chapter 1: Getting Started Chapter 1: Getting Started ............................... 1 Examination before Installation ..........................3 Environmental Precautions ..........................4 ISMART Model Identification ......................... 5 Quick Start Setup ..............................6 Install ISMART Client Software ........................6 Connect Power to ISmartrelay ......................... 6 Connect Programming Cable ...........................
  • Page 9: Chapter 1: Getting Started

    Chapter 1: Getting Started iSmart 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 ISMART Controller. WARNING: Personal injury may result from improper operation.
  • Page 10: Examination Before Installation

    • Check to see whether any damage occurred to the ISMART during shipment. Do not connect the relay to the power supply if there is any sign of damage. Contact IMO Precision Controls Ltd if you find any abnormal conditions as mentioned above.
  • Page 11: Environmental Precautions

    Chapter 1: Getting Started Environmental Precautions The installation site of the ISmart relay is very important. It relates directly to the functionality and the life span of your ISMART. Please carefully choose an installation site that meets the following requirements: •...
  • Page 12: Ismart Model Identification

    Chapter 1: Getting Started ISMART Model Identification...
  • Page 13: Quick Start Setup

    Chapter 1: Getting Started Quick Start Setup iSmart This section is a simple guide for connecting, programming and operating your new relay. This is not intended to be the complete instructions for programming and installation of your system. Refer to other sections in the manual for more detailed information.
  • Page 14: Connect Programming Cable

    Chapter 1: Getting Started Connect Programming Cable Please put the cable in connection port of two sides. Network connection setup iSmart IP address setup When ISMART is setting for slave >IP ADDRESS SUBNET MASK GETEWAY MASTER IP iSmart Please set IP address, subnet mask, gateway address and master IP, then click “OK” to setup network connection >...
  • Page 15 Chapter 1: Getting Started Set IP address on PC Click “Properties” to select your Internet protocol version Set IP address, subnet net, gateway address For example: PC setup: IP address:192.168.0.5 Subnet mask: 255.255.255.0 Default gateway address:192.168.0.1...
  • Page 16: Establish Communication

    Chapter 1: Getting Started Establish Communication iSmart a. Open the Client software and select “New LAD” as shown below left. b. Select “Operation/Link Com Port…” as shown below right. SMT-CD-R20-V4 c.Select the correct Com Port number where the programming cable is connected to the computer then press the “link”...
  • Page 17: Write Simple Program

    Chapter 1: Getting Started 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 M01 and press the OK button. “Chapter 4: Ladder Programming instructions”...
  • Page 18 Chapter 1: Getting Started c. Select the “Q” coil icon from the ladder toolbar and drop it on the right most cells. Select Q01 from the dialog and press OK as shown below. See “Chapter 4: Ladder Programming instructions” for complete instruction set definitions.
  • Page 19 Chapter 1: Getting Started 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.
  • Page 20 Chapter 1: Getting Started f. On the Input Status dialog, click on M01 to activate the contact M01 which will turn ON the Output Q01 as shown below. The highlighted circuit shows the active part, and the first Output (Q01) on the connected smart relay will be ON.
  • Page 21: Chapter 2: Installation

    Chapter 2 Installation Chapter 2: Installation Chapter 2: Installation ..............................10 General Specifications ............................11 Product Specifications............................14 Mounting ................................15 Wiring ................................... 17 B type Indicator Light ............................19...
  • Page 22: General Specifications

    Chapter 2 Installation General Specifications iSmart 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 iSmart can expand to its maximum I/O count by adding 3 groups of 4-input and 4-output modules.
  • Page 23: Chapter 2 Installation

    Chapter 2 Installation Maximum Humidity 90% (Relative, non-condensing) Vibration 0.075mm amplitude, 1.0g acceleration 8-point:190g Weight 10,12-point: 230g 20-point: 345g Agency Approvals CUL, CE, UL Digital Inputs 3.2mA @DC; Current consumption 1.3mA @100-240VAC 3.3mA @24VAC DC: < 5VDC; Input Signal ”OFF” Threshold 100-240VAC : <...
  • Page 24 Chapter 2 Installation Resistive: 8A /point Maximum Load Inductive: 4A /point Maximum operating time 15ms (normal condition) Life expectancy (rated load) 100k operations Minimum load 16.7mA Transistor Outputs PWM max. output frequency 1.0kHz (0.5ms on,0.5ms off) Standard max. output frequency 100Hz Voltage specification 10-28.8VDC...
  • Page 25: Product Specifications

    Chapter 2 Installation Product Specifications If module with keypad and display, Max IO can be added keypad input Z01-Z04. ※ More information about Product Specifications to see “chapter 6: Hardware Specification”. ※ iSmart series compatible with iSmart V3 series ※...
  • Page 26: Mounting

    Chapter 2 Installation Mounting DIN-rail Mounting The iSmart relay should always be mounted vertically. Press the slots on the back of the iSmart 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)
  • Page 27 Chapter 2 Installation It is recommended to apply a DIN-rail end clamp to hold the iSmart in place. Direct Mounting Use M4 screws to direct mount the iSmart as shown. For direct installation of the expansion module, slide the expansion module and connect with the Master after the Master is fixed.
  • Page 28: Wiring

    Chapter 2 Installation 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.
  • Page 29 Chapter 2 Installation Sensor Connection Output (Relay) Output (Transistor)
  • Page 30: B Type Indicator Light

    Chapter 2 Installation IO Link OR Remote I/O Link A1 A2 A3 A4 A3 A4 A1 A2 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.
  • Page 31: Chapter 3 Program Tools

    Chapter 3 Program Tools Chapter 3: Program Tools _Toc72326534 Installing the Software ..........................21 Start Screen ..............................21 Ladder Logic Programming Environment ....................22 Menus, Icons and Status Bar ......................... 23 Programming ............................24 Simulation Mode ........................... 25 Establish Communication ........................25 Writing Program to smart relay ......................
  • Page 32: Pc Programming Software "Smt Client

    5. Real-time communication allows the user to monitor and force I/O on the iSmart relay operation during RUN mode. Installing the Software Install the SMT Client (free download from the IMO website): Start Screen Run the SMT Client software and the below Start screen will be displayed. From this screen, you can perform...
  • Page 33: Ladder Logic Programming Environment

    Chapter 3 Program Tools 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.
  • Page 34: Menus, Icons And Status Bar

    Chapter 3 Program Tools Menus, Icons and Status Bar 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.
  • Page 35: Programming

    Chapter 3 Program Tools Programming The SMT 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 right column is for output coils.
  • Page 36: Simulation Mode

    Chapter 3 Program Tools Simulation Mode The SMT 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 RUN icon. The program below is shown in simulation mode, identifying the significant available features.
  • Page 37: Writing Program To Smart Relay

    Chapter 3 Program Tools 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, or press Write button to write program to connected smart relay as shown below.
  • Page 38: Online Monitoring/Editing

    Chapter 3 Program Tools Online Monitoring/Editing The SMT 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). The SMT Client software does not support runtime logic editing changes. All logic edits to contacts, coils, ※...
  • Page 39: Operation Menu

    Chapter 3 Program Tools Operation menu The Operation menu includes several system configurations functions for both online and offline setup. The following explains the details of each function. Operation Functional Description Link… Select the communication port between PC software and controller Network set…...
  • Page 40: Hmi/Text

    Chapter 3 Program Tools HMI/TEXT This function block can display information on 16×4 LCD screen: 1. Preset value or current value of function blocks, such as Counter, Timer, RTC, Analog comparator and DR register etc. Under running mode, to modify the preset value via HMI is available. 2.
  • Page 41 Chapter 3 Program Tools HMI/TEXT setting (step 1~7): ① Enter H01 coil ② Into HMI/TEXT edit frame ③ Choice the “T” ④ Choice the “E” ⑤ Choice T01 current ⑥ Choice T01 current (unit) ⑦ Choice T01 present (unit), user can modify T01 preset value when H coil enable and display on LCD. Download to iSmart, and I01 turn ON, or press “SEL”...
  • Page 42 Chapter 3 Program Tools Build-in ASCII code and multi-language characters: Multi-language characters including English, French, Spanish, Italian, German, Portuguese, Polish; Also, according to the different settings, you can display Russian or Turkish characters. 85 Built-in Chinese characters, which read as following left of the HMI/TEXT editor window; 60 characters which user define, edit step 1~6 as follows right of the HMI/TEXT editor window.
  • Page 43 Chapter 3 Program Tools Line1 set telephone number (shown as ①). Only set by dialog ⑤ and max 15 number characters. ②), include preset value and current value Line2~line4 set text information (show as of function block, coil status (shown as ③) and ASCII characters (shown as ④).
  • Page 44 Chapter 3 Program Tools ① Press “SEL” to display cursor ② Press “↑”, “↓”, “←”, “→” to move cursor ③ Press “SEL” again to choice modified position ④ Press “↑”, “↓” to change number and press “←”, “→” to move cursor ⑤...
  • Page 45: Program Documentation

    Chapter 3 Program Tools Program Documentation The SMT Client software includes the ability to document a program using Symbols and Line 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.
  • Page 46: Analog Output Set

    Chapter 3 Program Tools Line Comments The Line Comment editor is accessed by clicking the “W” icon on the Ladder Toolbar. After clicking on the “W” icon, to drag the line number you want to comment and release, and then type the desired comments and press OK. Analog Output Set…...
  • Page 47 Chapter 3 Program Tools The below table show an example for the setting value and output results. Mode Register Output Value Register AQ output value DRD0=0 AQ01=732 Channel1 AQ output mode 1: voltage mode DRD4=3000 (DRD4/4.095) and reset value when stop; AQ output 7.32V DRD1=1 DRD5=A01*4.095...
  • Page 48: 3-Contact/5-Contact

    Chapter 3 Program Tools 3-Contact/5-Contact There are 3-contact and 5-contact edit modes available in iSmart LADDER mode. In 3-Contact mode, there are three inputs and one output available in one ladder line. And the maximum line number is 600. In 5-Contact mode, there are five inputs and one output available in one ladder line In 3-Contact mode, if the ladder line is more than 200, the mode cannot change to 5-Row.
  • Page 49: Data Register Set

    Chapter 3 Program Tools Data Register Set… The content of Data Register is either unsigned or signed, it can be set as shown below. Selecting Unsigned, the range of DR is 0~65535; and selecting Signed, the range of DR is -32768~32767. After the operating above, the Data Register editing environment can be access through the menu using the Edit>>...
  • Page 50 Chapter 3 Program Tools Special DR Register Function If the special DR coil, DR65~DRF0, is used as a special register, it does not need to be enabled; it works as common register (its current value will equal to the pre-set value) once it is enabled. The DR65~DRF0 can retain the current value when stop or power down.
  • Page 51: View Menu

    Chapter 3 Program Tools View menu The view menu includes software display option selection. The following explains the details of each function. Functional Description Display usage list Display function block and parameter Display capacity left space Monitoring or Simulation coil status (I, X, Z, M, N) Simulation IO Link W status(only RS485 type) Monitoring or Simulation analog input A01~A04(only DC type) Monitoring or Simulation expand analog input A05~A08...
  • Page 52: Fbd Programming Environment

    Chapter 3 Program Tools FBD Programming Environment The FBD Programming Environment includes all the functions for programming and testing the iSmart using the FBD programming language. To begin a new program, select File-->New, and select the desired model of iSmart, as shown right.
  • Page 53 Chapter 3 Program Tools Were selected symbol "M" and the "Q", the icon will be put to the editor area, and used to connect the two coils connected as the left part of (Operation 1~3); if multiple cross-connections, they can use "scissors" functional separation of the connection shown in the following figure the right part (operation 4);...
  • Page 54: Simulation Mode

    Chapter 3 Program Tools Simulation Mode SMT Client build-in simulation test function, the following diagram shows the display characteristics in simulation mode. Online Monitoring/Editing...
  • Page 55: Symbol And Parameters List

    Chapter 3 Program Tools Symbol and Parameters list FBD list symbols for coils and function blocks which only been used in program and will comment tags appear in the program. Symbol also can describe the function of main program. The following diagram operation, click the toolbar "Comments", Comments configuration dialog box appears, edit and click "OK", notes will be displayed in the programming interface, and can be moved by dragging the mouse position.
  • Page 56 Chapter 3 Program Tools Parameters List: Parameters list display coils and functional blocks which used in program and explain coil functions and tags, function block settings and markings and other information, as shown below.
  • Page 57: Memory Cartridge (Sold Separately)

    Chapter 3 Program Tools LCD Display and Keypad Keypad Most iSmart 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).
  • Page 58: Original Screen

    Chapter 3 Program Tools Original Screen ◎ LCD displays 4-line state Original screen as power on Press the button: Enter Main Menu screen Under LADDER Mode,DRD8 current value=0, display the state of relays (I/Z/Q ⇔ X/Y ⇔ M ⇔ N ⇔ T ⇔ C ⇔ R ⇔ G ⇔ A ⇔ AT ⇔ AQ) ⇔ Original Screen SEL+↑...
  • Page 59 ◎ Chapter 3 Program Tools Other Display State Coils M、N、T、C、R、G status: (T/C/R/G display only Ladder mode) Analog input A01~A04: 0~9.99V Expansion Analog input A05~A08: 0~9.99V or 0~20.00mA Press key: →, SEL+→ ←, SEL+← Expansion temperature analog input AT01~AT04: -100.0~600.0 Cent degree or -148.0~1112.0 Fahrenheit degree Press key: →, SEL+→...
  • Page 60 Chapter 3 Program Tools I/O interface DRD8 current value I/Z/Q Bit0:* always display I01~I0C, Z01~Z04, Q01~Q08 Bit1:=0 Display; =1 Not displayed X01~X0C,Y01~Y0C M01~M1F Bit2:=0 Display; =1 Not displayed M20~M3F Bit3:=0 Display; =1 Not displayed M40~M5F Bit4:=0 Display; =1 Not displayed M60~M7F Bit5:=0 Display;...
  • Page 61 Chapter 3 Program Tools 2. Setting “I/O Display Set” as the picture shown below, and click OK : 3. Download the program. This time I/O interface “M20~M3F, N20~N3F, R01~R1F, A05~A08, AT01~AT04, AQ01~AQ04” are hidden: SEL+↑ ↓ Under LADDER Mode,DRD8 current value=1750, display the state of relays (I/Z/Q ⇔ Or ↑...
  • Page 62: Lcd Display Main Menu

    Chapter 3 Program Tools LCD Display Main Menu (1) The Main Menu as iSmart under ‘STOP’ Mode. Press “ESC” key on keypad after power on for entering into the Ladder main menu or FBD main menu, which depends on the program format, Ladder or FBD mode in iSmart. Menu Description LADDER...
  • Page 63 Chapter 3 Program Tools (2) The Main Menu as iSmart under ‘RUN’ Mode. LADDER LADDER > LADDER FUN.BLOCK PARAMETER FUN.BLOCK PARAMETER PARAMETER FBD block or LADDER function block parameter display DATA REGISTER STOP RUN or STOP DATA REGISTER PLC->CARD DATA REGISTER DR display PLC->CARD RTC SET...
  • Page 64 Chapter 3 Program Tools Press the Button Button Description 1. Ixx ⇒ ixx ⇒ ── ⇒ space ⇒ Ixx (only for digital and character position of 1, 3, 5 column) 2. Qxx ⇒ space ⇒ Qxx (only for digital and character position of 8 column) 3.
  • Page 65 ◎ Chapter 3 Program Tools FUNCTION BLOCK program input After into FUNCTION BLOCK, cursor flicker on “T”, press “SEL” key, cursor will into edit mode. This time if press “SEL” key continuously. Ladder function block display in sequence: T→C→R→G→H→L→P→S→F→AS→MD→PI→MX→AR→MU→T… This time if cursor flicker on “T”, press “↑ /↓”. Ladder function block display in sequence: T↔C↔R↔G↔H↔L↔P↔S→F ↔AS↔MD↔PI↔MX↔AR↔MU↔T…...
  • Page 66 Chapter 3 Program Tools ◎ RUN or STOP (1) RUN Mode (2) STOP Mode Move the cursor ↑ ↓ Execute the instruction, then back to main menu Back to main menu ◎DATA REGISTER Displaying preset value when the smart is STOP status and displaying current value when the iSmart is in RUN status.
  • Page 67 Chapter 3 Program Tools (4) SET (system setting) content default ID SET ID SET ID setting (00~99)  REMOTE I/O REMOTE I/O Remote I/O Mode  (N: none M: Master S: Slave) BACK LIGHT BACK LIGHT Back light mode  ×...
  • Page 68: Rtc Daylight Saving Setting

    Chapter 3 Program Tools The high bit of RS485 SET detects the form of RS-485, and the low bit detects the baud rate of RS-485. ※ More detailed to see chapter 7: 20 Points RS485 type Models Instruction. (5) RTC SET Now Press Enter RTC setting or Daylight saving setting ↑...
  • Page 69 Chapter 3 Program Tools Edit rule: ①M: Month range 1~12; ②D: Week range 0~5, means the 0 to 5th Sunday of the setting month and 0 said the last Sunday of the setting month; ③H: Hour range 1~22; summer hour and winter hour are the same. 2) Keypad Then pressing “→”...
  • Page 70 Chapter 3 Program Tools (7) PASSWORD (setting password) Now Press 1. Begin to input numeral 2. When the password is ON, it will not display 0000, but ****. ‘SEL’ then ‘←/→’ Move the cursor Data changed 0~F ‘SEL’ then ‘↑/ ↓’ Save the input data, not 0000 or FFFF, as the PASSWORD is ON.
  • Page 71 Chapter 3 Program Tools (8) LANGUAGE (Selection menu language) English  French  Spanish  Italian  German  Portuguese  Simplified Chinese  Polish  Russian  Turkish  Now Press ↑ ↓ Vertically move the Cursor Select the language the cursor located Back to Main Menu Language display “√”...
  • Page 72: Ismart System Error

    Chapter 3 Program Tools iSmart system error After power on, iSmart keep detecting the running state. Once system error occurred, the error code will display on LCD. At the same time, iSmart will stop or just give error-warning base on the error type. Error types are show in the table below: Error code Explain...
  • Page 73: Chapter 4: Parameter Passing

    Chapter 4: Parameter passing Chapter 4: Parameter passing Chapter 4: Parameter passing ......................60 iSmart inner data type ......................61 Passing parameter out of range ................... 64...
  • Page 74 Chapter 4: Parameter passing In the iSmart, almost all the function block can use other function block’s current value as its preset value. This process we called data transmission. This chapter will describe some regulation about data transmission. iSmart inner data type All the data stored in SMT inner system are integer.
  • Page 75 Chapter 4: Parameter passing Example2: MD01 current value passing to other function block as preset value: When B006(MD01)=430, MD01’s inner value 430 is passed to other function block as preset value. Passing to AQ01 automatically as 4.30V, Passing to B001(G01) automatically as 4.30, Passing to B002(T01 time base is 0.01s) automatically as 4.30s, Passing to B003(T02 time base is 0.1s) automatically as 43.0s, Passing to B004(T03 time base is 1s) automatically as 430s, Passing to B005(C01) automatically as 430:...
  • Page 76 Chapter 4: Parameter passing...
  • Page 77: Passing Parameter Out Of Range

    Chapter 4: Parameter passing Passing parameter out of range MD current value data range is -32768~32767, T preset value data range is 0~9999. If MD current value is passed to T as preset value, obviously sometimes MD current may greater T preset value upper limit, or less than T preset value down limit.
  • Page 78 Chapter 4: Parameter passing Example2: When AT01=-100.0, AT01’s inner value -1000 is passed to other function block as preset value. Passing to B002(T01 time base is 0.01s) as preset value. -1000 is less than lower limit of T01 0, so automatically as 00.00; Passing to B003(C01) as preset value.
  • Page 79: Chapter 5: Relay Ladder Logic Programming

    Chapter 5 Relay Ladder Logic Programming C hapter 5: Relay Ladder Logic Programming Basic Elements ..............................66 Specialty Elements ..............................69 Output Instructions ..............................70 Analog Elements ..............................71 Timer Instruction ..............................72 Counter Instructions .............................. 81 Real Time Clock (RTC) Instructions ........................93 Comparator Instructions ............................
  • Page 80: Basic Elements

    Chapter 5 Relay Ladder Logic Programming B asic Elements General RESET PULSE N.O. N.C. Number output output output output contact contact Symbol (N.O./N.C.)   Digital Input 12(I01-I0C/i01-i0C) Keypad 4(Z01-Z04/z01-z04) Input Digital 8(Q01-Q08/q01-q08) Output Auxiliary 127(M01-M7F/m01-m7F) Coil Auxiliary 127 (N01-N7F/n01-n7F) Coil Counter 31(C01-C1F/c01-c1F)
  • Page 81 Chapter 5 Relay Ladder Logic Programming Auxiliary Coils ( M ) Auxiliary Coils are the virtual coils inside the iSmart unit; they are not the real physically inputs or outputs that can be wired to any external devices, switches, sensors, etc. The number of Auxiliary Relays M is 127. Since auxiliary relays are internal elements within the CPU, they can be programmed as digital inputs (contacts) or digital outputs (coils).
  • Page 82 Chapter 5 Relay Ladder Logic Programming Auxiliary Coils ( N ) The function of auxiliary coils, N, is the same as auxiliary coils M, but it can’t be kept when the smart powers down. In the first rung of this example, auxiliary relay N01 is being used as an output coil and will be energized when input I03 turns on.
  • Page 83: Specialty Elements

    Chapter 5 Relay Ladder Logic Programming S pecialty Elements General RESET PULSE N.O. N.C. Number output output output output contact contact Symbol (N.O./N.C.)   Used in function block Expansion input coil 12(X01-X0C/x01-x0C) Expansion output coil 12(Y01-Y0C/y01-y0C) Edge trigger (pulse output) 31(R01-R1F/r01-r1F) Analog comparator 31(G01-G1F/g01-g1F)
  • Page 84: Output Instructions

    Chapter 5 Relay Ladder Logic Programming O utput 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 turns from OFF to ON. Once the output is ON or set, it will remain ON until it is reset using the “Reset output”...
  • Page 85: Analog Elements

    Chapter 5 Relay Ladder Logic Programming Filter coil (F) The status of filter decided by the setting of Filter conditions; If the filter reaches filter conditions, function block current will be updated, filter current value will display filter result, filter coil will be ON. According to the photo below, coil (F01) will be output when enabled coil (M01) 10 seconds, current value will be updated.
  • Page 86: Timer Instruction

    Chapter 5 Relay Ladder Logic Programming T imer Instruction The iSmart includes 31 Timer coils that can be used throughout a program. T0E and T0F keep their current value after power lost if “M Keep” is active, but the other Timers’...
  • Page 87 Chapter 5 Relay Ladder Logic Programming Timer Mode 1 (ON-Delay) Mode 1 Timer (ON-Delay) will time up to a fixed value and stop timing when the current time is equal to the pre-set value. Additionally, the Timer current value will reset to zero when Timer is disabled. In the example below, the timer will stop timing when it reaches the preset value of 5 seconds.
  • Page 88 Chapter 5 Relay Ladder Logic Programming 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 pre-set value. Additionally, the Timer current value will be kept when Timer is disabled. In the example below, the Timer will stop timing when it reaches its preset value of 5 seconds.
  • Page 89 Chapter 5 Relay Ladder Logic Programming 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 pre-set value. Additionally, the Timer current value will reset to zero when Timer is disabled.
  • Page 90 Chapter 5 Relay Ladder Logic Programming 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 pre-set value. Additionally, the Timer current value will reset to zero when Timer is disabled.
  • Page 91 Chapter 5 Relay Ladder Logic Programming Timer Mode 5 (FLASH without reset) Mode 5 Timer is a Flash timer without reset that will time up to a fixed preset value and then change the state of its status bit. Additionally, the Timer current value will reset to zero when Timer is disabled. In the example below, timer status bit T01 will be ON immediately when its rung is true and begin its timing sequence.
  • Page 92 Chapter 5 Relay Ladder Logic Programming Timer Mode 6 (FLASH with Reset) Mode 6 Timer is a Flash timer with reset that will time up to a fixed preset value and then change the state of its status bit. Additionally, the Timer current value will reset to zero when Timer is disabled. In the example below, the timer reset input is Input I01.
  • Page 93 Chapter 5 Relay Ladder Logic Programming Timer Mode 7 (FLASH Cascade without Reset) Mode 7 Timer is a Flash Timer which using two Timers in a cascade configuration without reset. The second Timer number follows the first Timer. The cascade configuration connects the timer status bit of first timer to enable the second timer.
  • Page 94 Chapter 5 Relay Ladder Logic Programming Timer Mode 8 (second chronograph mode) Timer mode 8 is stopwatch mode with reset control and pause control. When control condition from OFF to ON, • The timer starts ticking; When the timer reaches the preset value, the output coil will change its state, and the current value of the timer will be displayed as the preset value, and the timing will not continue.
  • Page 95: Counter Instructions

    Chapter 5 Relay Ladder Logic Programming C ounter Instructions The iSmart includes 31 counters that can be used throughout a program. Each counter has a choice of 9 operation modes, 1 for pulse counter, 6 for general purpose counting and 2 for high speed counting. Additionally, each counter has 6 parameters for proper configuration.
  • Page 96 Chapter 5 Relay Ladder Logic Programming Counter Mode 0 (Internal coil) Mode 0 Counter (Internal Coil) used as internal auxiliary coils. No counter preset value. In the example below shows the relationship among the numbered block diagram for a mode 0 counter, the ladder diagram view, and the software Edit Contact/Coil dialog box.
  • Page 97 Chapter 5 Relay Ladder Logic Programming Counter Mode 1 (Non-Overtake, 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 or count down to 0 and stop counting when the current count is equal to 0.
  • Page 98 Chapter 5 Relay Ladder Logic Programming Counter Mode 2 (Overtaking, Non-Retentive) Mode 2 Counter will count up to a fixed preset value and continue counting even reach the preset value, but it will not count when the current value equals 0 in counting-down mode. Additionally, the current count value is non-retentive and will reset to init value on a powering up to the smart relay or switching between RUN and STOP.
  • Page 99 Chapter 5 Relay Ladder Logic Programming smart is power up. The initial value equals to zero if the counter is in counting-up mode, but the preset value in counting-down mode. Counter Mode 3 (Non-Overtaking, Retentive) Mode 3 Counter operation is similar to Mode 1 except its current count value is retentive when restart the power.
  • Page 100 Chapter 5 Relay Ladder Logic Programming Counter Mode 4 (Overtaking, Retentive) Mode 4 Counter operation is similar to Mode 2 except its current count value is retentive. The current count value is retentive and will keep its current count after power lost. Mode 4 Counter will count up to a fixed preset value and then continue counting after the preset value, but it will not count when the current value equals 0 if it’s configured as counting-down mode .
  • Page 101 Chapter 5 Relay Ladder Logic Programming Counter Mode 5 (Overtaking, Up-Down Count, Non-Retentive) Mode 5 Counter’s operation is similar to Mode 2, overtaking and non-retentive. Its status bit will be ON when the counter current value is not less than its preset value and will be OFF when the current value is less than its preset value.
  • Page 102 Chapter 5 Relay Ladder Logic Programming Counter Mode 6 (Overtaking, Up-Down Count, Retentive) Mode 6 Counter’s operation is similar to Mode 4, its current count value is overtaking and retentive. Its status bit will be ON when the counter current value is not less than its preset value and will be OFF when the current value is less than its preset value.
  • Page 103 Chapter 5 Relay Ladder Logic Programming High Speed Counte s (DC sion On The DC powered version smart relays include two 1 KHz high speed inputs on terminal I01 and I02. 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.
  • Page 104 Chapter 5 Relay Ladder Logic Programming Example:Q01 output ON with C01, and Q02 output ON with scan time.
  • Page 105 Chapter 5 Relay Ladder Logic Programming High Speed Counter Mode 8 (DC powered versions only) The Mode 8 High Speed Counter can use either Symbol Description input terminals I01 or I02 for forward up-counting to Counting Mode (8) high speed counting ①...
  • Page 106 Chapter 5 Relay Ladder Logic Programming High Speed Counter Mode 9 (1KHZ Input A/B Phase counter) Mode 9 is A/B phase high speed counter is the two phases counter, same bandwidth for pulse period, but pulse is 90 degrees difference. A/B phase high speed counter functions are same as high speed counter, but parameters are different.
  • Page 107: Real Time Clock (Rtc) Instructions

    Chapter 5 Relay Ladder Logic Programming R eal Time Clock (RTC) Instructions The iSmart smart relay includes 31 RTC coils that can be used throughout a program. Each RTC instruction has a choice of 5 operation modes and has 10 parameters for proper configuration.
  • Page 108 Chapter 5 Relay Ladder Logic Programming RTC Mode 1 (Daily) The Daily Mode 1 allows the RTC coil acting based on a fixed time across a defined set of days per week. The configuration dialog below (example 1) allows setting the workdays per week (i.e., Mon-Fri) and the work hours per day.
  • Page 109 Chapter 5 Relay Ladder Logic Programming Example 3: Example 4: Example 5: Example 6:...
  • Page 110 Chapter 5 Relay Ladder Logic Programming RTC Mode 2 (Interval weekly) The Interval Time Mode 2 allows the RTC coil acting based on time and day per week. The configuration dialog below (example 1) allows setting the start-working time and stop-working time between two days in each week. Example 1: Example 2:...
  • Page 111 Chapter 5 Relay Ladder Logic Programming Example 3: Example 4: RTC Mode 3 (Year-Month-Day) The Year-Month-Day Mode 3 allows the RTC coil acting based on Year, Month, and Date. The configuration dialog below (example 1) allows setting the workday between two different dates. If the year is set as 00-00, the particular mode is available.
  • Page 112 Chapter 5 Relay Ladder Logic Programming Example 1: Example 2: Example 3:...
  • Page 113 Chapter 5 Relay Ladder Logic Programming Example 4:...
  • Page 114 Chapter 5 Relay Ladder Logic Programming RTC Mode 4 (30-second compensator) The 30-second compensator, Mode 4, allows the RTC coil acting based on week, hour, minute and second. The configuration dialog below shows the setting of week, hour, minute and second for the TRC mode 4. Symbol Description RTC adjustment week ①...
  • Page 115 Chapter 5 Relay Ladder Logic Programming The present time will change to be 8:01:00 when it achieves 8:00:40, and RTC status bit R01 turns ON in one scan ※ time. Then time keeps going and R01 turns OFF. RTC Mode 5 (Astronomical Clock) RTC mode 5 is "Astronomical Clock Mode", which uses the set of longitude, latitude, and offset time to control the output of RTC coil.
  • Page 116 Chapter 5 Relay Ladder Logic Programming According to the table, set correspond parameter such as longitude (E/W) and latitude (S/N). R function block will calculate sunset and sunrise of current season, sunset and sunrise offset will base on the value of (-) and (+), the offset time range is 0-59 minutes.
  • Page 117: Comparator Instructions

    Chapter 5 Relay Ladder Logic Programming C omparator Instructions The iSmart smart relay includes 31 comparator coils that can be used throughout a program. Each comparator has 8 different operation modes. Additionally, each comparator has 5 parameters for proper configuration. The table below describes each configured parameter and lists each compatible element for configuring Comparators.
  • Page 118 Chapter 5 Relay Ladder Logic Programming In the example below, Mode 4 is the selected function that compares the value of analog input A01 to a constant value (N) of 2.50. Status coil G01 turns ON when A01 is not less than constant 2.50. Example 2: Timer/Counter present value Compare The Comparator instruction can be used to compare Timer, Counter, or other function values to a constant value or each other.
  • Page 119: Hmi Display Instructions

    Chapter 5 Relay Ladder Logic Programming H MI Display Instructions The iSmart smart relay includes 31 HMI instructions that can be used throughout a program. Each HMI instruction can be configured to display information on the iSmart 16×4 character LCD in text, numeric, or bit format for items such current value and preset value for functions, Input/Output bit status, and text.
  • Page 120 Chapter 5 Relay Ladder Logic Programming HMI function instruction 1. HMI can display character, built-in Chinese, user-defined Chinese.This information cannot be edited through keypad. 2. HMI can display function current value (T, C, R, G and DR), analog input/output value (A, AT, AQ). This information cannot be edited through keypad.
  • Page 121 Chapter 5 Relay Ladder Logic Programming HMI status 1~4: 1. HMI scanning state, press SEL into HIM at IO interface 2. HMI running state, HMI is enabled at IO interface 3. HMI edit preparing state, press SEL when HMI is scanning or running state, flicker cursor will show if there is edited content.
  • Page 122 Chapter 5 Relay Ladder Logic Programming Filter Function Block (Filter) iSmart includes 31 independent filter (Filter) command, 5 working mode in each comparator, please see instruction of comparators and parameters. Filter Mode 0 (Analog filter) Mode 0 Comparator (Internal Coil) used as internal auxiliary coils.
  • Page 123 Chapter 5 Relay Ladder Logic Programming Example : Data 1=161, Data 2=120, Data 3=154, Data 4=160, Data 5=190,Data 6=169, Data 7=110, Data 8=121, Data 9=150,Data 10=198, Data 11=199。 Mode 1 : ① Updated data=(161+154+160) / 3=158 - filter (1, 2, 3, 4, 5), the maximum value 190 and minimum value 120 will be deleted.
  • Page 124 Chapter 5 Relay Ladder Logic Programming For example : F01 current value will update per 10s, when current value updated, F01 coil will turn ON. Filter Mode 3 (Maximum value) When enable coil is ON, maximum function will start, the status of output coil and enable coil is same. When enable coil is OFF, maximum function will close, the status of output coil and enable coil is same.
  • Page 125: Pwm Output Instruction (Dc Transistor Output Models Only)

    Chapter 5 Relay Ladder Logic Programming P WM Output Instruction (DC Transistor Output Models Only) 1 0 B The transistor output model, T type, includes the capability to provide a PWM (Pulse Width Modulation) output on terminal Q01 and Q02. The PWM instruction is able to output up to an 8-stage PWM waveform. It also provides a PLSY (Pulse output) output on terminal Q01, whose pulse number and frequency can be changed.
  • Page 126 Chapter 5 Relay Ladder Logic Programming The state of M01, M02 and M03 decide the duty cycle and frequency of PWM output. PWM stages can be changed by the status of M01, M02 and M03 when P01 is running. ⑥ displays the number of pulse when P01 is running, but ⑥...
  • Page 127 Chapter 5 Relay Ladder Logic Programming The preset frequency and pulse number could be constant or the current value of other function. They are variable if the preset are other data code. The PLSY will stop output if it has outputted the number of ④ pulse. PLSY will run again if it is enabled for a second time.
  • Page 128: Io Link/Remote I/O Instruction (Smt-Cd Model Only)

    Chapter 5 Relay Ladder Logic Programming I O Link/Remote I/O Instruction (SMT-CD model only) 1 1 B The SMT-CD models include the capability to link additional SMT-CD units via the RS-485 connection terminals. The baud rate and communication format both can be set using the Operation» Module System Set… menu selection from the SMT Client software.
  • Page 129 Chapter 5 Relay Ladder Logic Programming One controller can use 8 IO Link (L01~L08). Only one IO Link instruction can work at Mode 1(Send mode), ※ and the other IO Link instructions must be Mode 2 (Receive mode). The Mode 1: Send the ON/OFF states of the selected coils into the chosen W elements. The available W elements in the mode 1 depend on the ID setting of that unit, refer to the table in the previous page for more information.
  • Page 130 Chapter 5 Relay Ladder Logic Programming Example 2: IO Link Mode 2 Set ① = 2, ② = 5, ③ = M03~M07 and ④ =W17~W21; when enabling the IO Link, the ON/OFF state of M03~M07 is controlled by the W17~W21. ①=1, ②...
  • Page 131 Chapter 5 Relay Ladder Logic Programming M U (Modbus) (Only CD type model) 1 2 B MU function performs Modbus RTU communication at RS485 port. There are 15 MU coils: MU01~MU0F. Remote IO and IO Link have higher priority than MU to use RS485 port. MU is executed when the remote IO setting in the system is disabled (No Remote IO) and ID is not 0.
  • Page 132 Chapter 5 Relay Ladder Logic Programming The max data length for Mode 1 and 3 is 25 words, it means 25 continuous addresses. The max data length for ※ Mode 4 is 400bits. MU mode1: Read Registers Set parameter ③, address, to be constant: as show in below figure, the data length is fixed at 1 (it means read signal register only).
  • Page 133 Chapter 5 Relay Ladder Logic Programming MU mode2: Write single register Set parameter ③, address, to be constant: Function parameter display: Set a constant address as 0003, Set DRE0=1234 (hex: 04D2) as the content which would be written into other register. When enable the MU function, the sending out Modbus command will be 01 06 00 03 04 D2 CRC16;...
  • Page 134 Chapter 5 Relay Ladder Logic Programming MU mode3: Write Multiple Registers Set parameter ③, address, to be constant: Function parameter display: Set a constant address, 0003. Data length is fixed at 1word, means writing single register. Set data DRE0=1234 (hex: 04D2) as the content which would be written into other register.
  • Page 135 Chapter 5 Relay Ladder Logic Programming MU mode4: Read Coils Set parameter ③, address, to be constant: Function parameter display: Set a constant address 20 ( here is a Hex number) Data length is a constant value: 10 in Hex format When enable the MU function, the sending out Modbus command will be: 01 01 00 20 00 10 CRC16;...
  • Page 136 Chapter 5 Relay Ladder Logic Programming MU mode5: Write single coil Set parameter ③, address to be constant: Function parameter display: Set a constant address as 0003 Set DRE0=65280 (hex: FF00) as the content which would be written into other coil. When enable the MU function, the sending out Modbus command will be: 01 05 00 03 FF 00 CRC16;...
  • Page 137 Chapter 5 Relay Ladder Logic Programming Example: MU sending and receiving data via RS485 port when it is enabled. Here recommends user to put the D-trigger element in front of the MU coil. MU01 and MU05 coils are controlled by T01 as shown in above figure. Set MU01 as mode1, read registers mode, address starts from DR11=14=0x0E, data length DR12=4, and saving data to the registers from DR01 to DR04.
  • Page 138: Shift (Shift Output)

    Chapter 5 Relay Ladder Logic Programming S HIFT (shift output) 1 3 B The iSmart smart relay includes only one SHIFT coil that can be used throughout a program. This function switches a set of serial coils sequentially by trigger a certain input pulse coil. It has 4 parameters for proper configuration.
  • Page 139: Aq (Analog Output)

    Chapter 5 Relay Ladder Logic Programming A Q (Analog Output) 1 4 B The AQ instructions must be used with extension analog out module, 2AO.The default output signal of AQ is 0~10V, the AQ value and the corresponding 12 bits data value are in the range of 0~1000 and 0~4095. It also can be assigned to output 0~20mA, in current mode;...
  • Page 140 Chapter 5 Relay Ladder Logic Programming Run the program and don’t conduct the M01 contact, DRD4 output value, now, equals to the constant preset value of AQ01, and AQ01 outputs 9.77V. Then enable the M01, the DRD4 output value is depending on the value of V01, changing the value of V01 also influences the output value of AQ01 and DRD4.
  • Page 141: As (Add-Subtract)

    Chapter 5 Relay Ladder Logic Programming A S (Add-Subtract) 1 5 B The iSmart smart relay includes 31AS coils that can be used throughout a program. The AS function performs a simple integral-math-calculation: Addition and Subtraction. There are 6 parameters for proper configuration. table below describes each configuration parameter, and lists each compatible element for configuring AS.
  • Page 142: Md (Mul-Div)

    Chapter 5 Relay Ladder Logic Programming M D (MUL-DIV) 1 6 B The iSmart smart relay includes 31MD coils that can be used throughout a program. The MD function performs a simple integral-math-calculation, Multiplication and Division. There are 6 parameters for proper configuration. table below describes each configuration parameter, and lists each compatible element for configuring MD.
  • Page 143: Pid (Proportion- Integral- Differential)

    Chapter 5 Relay Ladder Logic Programming P ID (Proportion- Integral- Differential) 1 7 B The iSmart smart relay includes 15 PID coils that can be used throughout a program. The PID function performs a simple integral-math-calculation which is according to the equation as shown in below. There are 9 parameters for proper configuration.
  • Page 144: Mx (Multiplexer)

    Chapter 5 Relay Ladder Logic Programming M X (Multiplexer) 1 8 B The iSmart smart relay includes 15 MX coils that can be used throughout a program. This function set its current value to be 0 or one of 4 preset values which depends on the state of selection bit 1 and 2. There are 7 parameters for proper configuration.
  • Page 145: Ar (Analog-Ramp)

    Chapter 5 Relay Ladder Logic Programming A R (Analog-Ramp) 1 9 B The iSmart smart relay includes 15 AR coils that can be used throughout a program. Each AR coils has 2 modes. AR mode 1 In mode1, AR current level is changed to either Level 1 or Level 2 according to the ON/OFF state of “Sel coil” at a specified rate.
  • Page 146 Chapter 5 Relay Ladder Logic Programming Timing diagram for AR The example below shows how to configure AR function.
  • Page 147 Chapter 5 Relay Ladder Logic Programming AR mode2 In mode 2, it supports four different preset levels, but only one of these 4 preset levels can be target level at one time. The current level will change to target level at a designed rate. There are 12 parameters for proper configuration. The table below describes each configuration parameter and lists each compatible element for configuring AR mode2.
  • Page 148 Chapter 5 Relay Ladder Logic Programming Timing diagram for AR Rate = MaxL/Ta; T1=Level0*Ta/MaxlL; T2=(Level1-Level0)*Ta/MaxL; T3=(Level1-Level2)*Ta/MaxL; T4=(Level3-Level2)*Ta/MaxL; The example below shows how to configure AR function.
  • Page 149: Dr (Data Register)

    Chapter 5 Relay Ladder Logic Programming D R (Data register) 2 0 B The iSmart smart relay includes 240 DR coils that can be used throughout a program. The DR function plays an important role in data-transmission. Its current value equals to preset value once it’s enabled. The data can be signed or unsigned by Operation>>module system set…menu selection from the SMT Client software or keypad set.
  • Page 150 Chapter 5 Relay Ladder Logic Programming Data register screen on HMI display DR preset value in stop mode and display DR current value in run mode. STOP RUN (DR01 = C01 current value) DR65~DRF0 can retain the current value when iSmart is stopped or powered down. The last 40 DR registers that from DRC9 to DRF0 are special data register as shown below.
  • Page 151 Chapter 5 Relay Ladder Logic Programming DRC9~DRCF and DRD9~DRF0 as special registers used to store status, the output current value function is as follows: Function description DRC9 Output pulse number of instructions PLSY DRCA AT01 current degree Fahrenheit Used as normal registers when no AT01~AT04 input, DRCB AT02 current degree Fahrenheit such as don’t connect with extension module 4PT;...
  • Page 152 Chapter 6 FBD Block Diagram Programming Chapter 6: FBD Block Diagram Programming FBD Instructions ..............................133 FBD system memory space ..........................134 Analog ................................. 137 Analog Input ............................... 137 Analog Output ............................. 138 Coil Block Instruction ............................139 HMI ................................140 PWM function block (only transistor output version).................
  • Page 153: Fbd Instructions

    Chapter 6 FBD Block Diagram Programming FBD Instructions Input Output coil Range Input 12 (I01~I0C) Keypad input 4 (Z01~Z04) Expansion input 12 (X01~X0C) Output 8 (Q01~Q08) Expansion output 12 (Y01~Y0C) Auxiliary coil 63(M01~M3F) Auxiliary coil 63(N01~N3F) 31 (H01~H1F) 2 (P01~P02) SHIFT 1 (S01) I/O LINK...
  • Page 154: Fbd System Memory Space

    Chapter 6 FBD Block Diagram Programming FBD system memory space The size of a FBD program in the iSmart is limited by the memory space (memory used by the blocks). Resources available in iSmart: Block number System memory (byte) 10000 Each FBD block’s size is not restricted, it depends on its function.
  • Page 155 Chapter 6 FBD Block Diagram Programming Each function block occupied a BLOCK; the available number is limited by the number of B, system memory ※ space and function block number. System Function Block number Block memory number MX AR (byte) Total source 10000 Timer mode 0...
  • Page 156 Chapter 6 FBD Block Diagram Programming Example: calculating resources Input coils: I01, X01, M01, I02; Output coils: H01, N01; Normal ON: Hi001; Analog input: A01; Analog output: AQ01; Logic and function block: B001~B006. Coil input/output and analog input/output don’t occupy B number and memory space.
  • Page 157: Analog

    Chapter 6 FBD Block Diagram Programming Analog Analog include: Analog input A01~A04 Expansion analog input A05~A08 Analog input count value V01~V08 Expansion temperature input AT01~AT04 Expansion analog output AQ01~AQ04 Analog input and output value can be used as preset value of other function blocks. Analog Input Number Range...
  • Page 158: Analog Output

    Chapter 6 FBD Block Diagram Programming Analog Output AQ instructions need to use with extension analog out module 2AO. The default output of AQ is 0~10V voltage, the 12bits data is 0~4095 and the corresponding value of AQ is 0~1000. It also can be set as 0~20mA current output, the 12bits data is 0~2047 and the corresponding value of AQ is 0~500.
  • Page 159: Coil Block Instruction

    Chapter 6 FBD Block Diagram Programming Coil Block Instruction Output coils including Q, Y, M, N, H, L, P, S. FBD menu display: H, L, P, S is special function coil, and press “OK” button into function display. Press the button: Into function display when cursor address is output coil and coil type is H, L, P, S.
  • Page 160: Hmi

    Chapter 6 FBD Block Diagram Programming The iSmart smart relay includes a total of 31 HMI instructions that can be used throughout a program. Each HMI instruction can be configured to display information on the iSmart 16×4 character LCD in text, numeric, or bit format for items such as current value and preset value for functions, Input/Output bit status, and text.
  • Page 161: Pwm Function Block (Only Transistor Output Version)

    Chapter 6 FBD Block Diagram Programming PWM function block (only transistor output version) The transistor output model smart relay includes the capability to provide a PWM (Pulse Width Modulation) output on terminal Q01 and Q02. The PWM instruction is able to output up to an 8-stage PWM waveform. It also provides a PLSY (Pulse output) output on terminal Q01, whose pulse number and frequency can be changed.
  • Page 162 Chapter 6 FBD Block Diagram Programming Example: The state of N01, N02 and N03 are 000, so PWM output pulse is stage1 like this as setting above: The state of N01, N02 and N03 decide PWM output. PWM stages can be changed by the status of N01, N02 and N03 when P01 is running.
  • Page 163 Chapter 6 FBD Block Diagram Programming Mode 3 PWM Output Simultaneously Mode Same as normal PWM mode, but the pulse will be sent via Q1, Q2, P01 and P02 channel, PWM mode 3 built-in 8 sets preset value of bandwidth and period. When PWM mode operation, PWM coil status will be changed and output curve.
  • Page 164 Chapter 6 FBD Block Diagram Programming Mode 4 PLSY Simultaneously Output Mode PLSY function, output port Q01 and Q02, there are 6 parameters in PLSY mode. Symbol Instruction ① PLSY Mode 4 ② Number of PLSY output pulse (saved in DRC9 register) ③...
  • Page 165 Chapter 6 FBD Block Diagram Programming PWM Mode 5(AB Phase PLSY Mode) AB phase PLSY function is similar normal PLSY function, but A/B phase PLSY mode is used Q1 and Q2 port at same time, it will send the pulse which Q1(phase A) leads Q2 (phase B). PWM mode 5 built-in 6 parameters, please see the photo below.
  • Page 166 Chapter 6 FBD Block Diagram Programming Coil output display in Click “OK” enter Click “SEL” to select preset value. FBD mode function display The preset of A/B phase PLSY output frequency and number of outputs could be a constant, and other encoder code either.
  • Page 167: Io Link Function Block

    Chapter 6 FBD Block Diagram Programming IO Link function block Up to 8 additional iSmart units can be configured as independent Slave nodes, each running their own logic program and their I/O linked to one Master smart relay. The Master iSmart smart relay’s ID must be 00, and Slave nodes’ ID should start with 01 and be continuous.
  • Page 168 Chapter 6 FBD Block Diagram Programming Example 1: IO Link Mode 1 Set mode=1, num=5, set type of points as I03, the state of actual sending terminal I03~I07 is sent to memory list; the controller ID=1, the state of corresponding memory list position W09~W13, and relationship of sending terminal is as below: mode=1, num=5, type=I03~I07, ID=1 (W09~W13) Memory List Position...
  • Page 169: Shift Function Block

    Chapter 6 FBD Block Diagram Programming SHIFT function block The iSmart smart relay includes only one SHIFT instruction that can be used throughout a program. This function output a serial of pulse on selection points depending on SHIFT input pulse. FBD output coil display Press “OK”...
  • Page 170: Logic Block Instructions

    Chapter 6 FBD Block Diagram Programming Logic Block Instructions Logic blocks display in FBD: Press the button: Move cursor: input terminals ① → Logic block number ③ → display next → connected block or coil Move cursor: Logic block number ③ →...
  • Page 171: Nand Logic Diagram

    Chapter 6 FBD Block Diagram Programming NAND Logic Diagram FBD: LADDER: Not(I01 And I02 And I03) Note: The input terminal is NOP which is equivalent to ‘‘Hi”; The B output ON when one of the input terminals status is OFF; NAND (EDGE) Logic Diagram FBD: LADDER:...
  • Page 172: Nor Logic Diagram

    Chapter 6 FBD Block Diagram Programming NOR Logic Diagram FBD: LADDER: Not ( I01 or I02 or I03 ) Note: The input terminal is NOP which is equivalent to ‘‘Lo”; The B output ON when all input terminals status are OFF; XOR Logic Diagram FBD: LADDER:...
  • Page 173: Pulse Logic Diagram

    Chapter 6 FBD Block Diagram Programming Pulse Logic Diagram FBD: LADDER: Note: The input terminal is NOP which is equivalent to ‘‘Lo”; The B output change status when input terminal OFF→ON; BOOLEAN Logic Diagram FBD: LADDER: Note: The input terminal is NOP which is equivalent to ‘‘Lo”; Description: The relationship between input and real table is shown below.
  • Page 174: Function Block

    Chapter 6 FBD Block Diagram Programming Function Block Operation rules of FBD function blocks is basically same as ladder mode. Function blocks display in FBD: If cursor address is “Par”, user can press “OK” button into parameter display and edit preset value. Press the button: Move cursor: input terminals or Parameter →...
  • Page 175: Timer Function Block

    Chapter 6 FBD Block Diagram Programming Timer Function Block There is a maximum of 250 timers function blocks under FBD mode, can be set mode 0~7 and the function is same as Ladder mode. Timer Mode7 occupied one blocks and two timers. ※...
  • Page 176 Chapter 6 FBD Block Diagram Programming (2) Timer mode 1 (ON-Delay A Mode) Mode 1 Timer will time up to a fixed value and stop timing when the current time is equal to the preset value. Additionally, the Timer current value will reset to zero when Timer is disabled. FBD display Parameter display Current value...
  • Page 177 Chapter 6 FBD Block Diagram Programming (3) Timer mode 2 (ON-Delay B Mode) 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 pre-set value. Additionally, the Timer current value will be kept when Timer is disabled. FBD display Parameter display Enable Input →...
  • Page 178 Chapter 6 FBD Block Diagram Programming (4) Timer mode 3 (OFF-Delay A Mode) 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 pre-set value. Additionally, the Timer current value will reset to zero when Timer is disabled. FBD display Parameter display Enable Input →...
  • Page 179 Chapter 6 FBD Block Diagram Programming (5) Timer mode 4(OFF-Delay B Mode) 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 pre-set value. Additionally, the Timer current value will reset to zero when Timer is disabled. FBD display Parameter display ←...
  • Page 180 Chapter 6 FBD Block Diagram Programming (6) Timer mode 5(FLASH A Mode) Mode 5 Timer is a Flash timer without reset that will time up to a fixed preset value and then change the state of its status bit. Additionally, the Timer current value will reset to zero when Timer is disabled. FBD display Parameter display Current value...
  • Page 181 Chapter 6 FBD Block Diagram Programming (7) Timer mode 6(FLASH B Mode) Mode 6 Timer is a Flash timer with reset that will time up to a fixed preset value and then change the state of its status bit. Additionally, the Timer current value will reset to zero when Timer is disabled. FBD display Parameter display Enable Input →...
  • Page 182 Chapter 6 FBD Block Diagram Programming (8) Timer mode 7(FLASH C Mode) Mode 7 Timer is a Flash Timer which using two Timers in a cascade configuration without reset. The second Timer number follows the first Timer. The cascade configuration connects the timer status bit of first timer to enable the second timer.
  • Page 183 Chapter 6 FBD Block Diagram Programming (9) Timer Mode 8 Timer mode 8 is including reset control and suspend control, control condition is from OFF to ON. When timer start to time until preset value, output coil will change the status, timer current value will display preset value and stop timing, when reset control is valid, the current value and output coil of timer will reset to 0.
  • Page 184: Common Counter Function Block

    Chapter 6 FBD Block Diagram Programming Common Counter function block There is a maximum of 250 counter function blocks under FBD mode, can be set mode 0~6 as common counter and mode 7~8 as high-speed counter, and the function is same as Ladder mode. Counter edit and display: FBD display: Parameter display:...
  • Page 185 Chapter 6 FBD Block Diagram Programming (2) 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, or count down to 0 and stop counting when the current count is equal to 0. Additionally, the current count value is non-retentive and will reset to init value on a powering up to the smart relay.
  • Page 186 Chapter 6 FBD Block Diagram Programming (3) 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, but it will not count when the current value equals 0 if it is configured as down Counter. Additionally, the current count value is non-retentive and will reset to init value on a powering up to the smart relay or switching between RUN and STOP.
  • Page 187 Chapter 6 FBD Block Diagram Programming (4) Counter Mode 3(Fixed Count, Retentive) Mode 3 Counter operation is similar to Mode 1 except its current count value is retentive when Counter powers down. So, current value won’t be initiate value when Counter powers up but be the value when it powering down. Mode 3 Counter will count up to a fixed preset value and stop counting at that value or stop counting when its current value is 0 if it’s configured as down counter.
  • Page 188 Chapter 6 FBD Block Diagram Programming (6) Counter Mode 5 (Continuous Count, Up-Down Count, Non-Retentive) Mode 5 Counter’s operation is similar to Mode 2 except its current count value is continuous and non-retentive. The status bit is fixed to the non-zero preset value regardless of the state of the direction bit. Its status bit will be ON when the counter current value is not less than its preset value and will be OFF when the current value is less than its preset value.
  • Page 189 Chapter 6 FBD Block Diagram Programming (6) Counter Mode 6(Continuous Count, Up-Down Count, Retentive) Mode 6 Counter’s operation is similar to Mode 5 except its current count value is continuous and retentive. FBD display Parameter display Counting Input → ← Current value Up/Down Counting →...
  • Page 190: High Speed Counter Function Block (Dc Version Only)

    Chapter 6 FBD Block Diagram Programming High Speed Counter Function Block (DC Version Only) The DC powered version smart relays include two 1 KHz high speed inputs on terminal I01 and I02. 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.
  • Page 191 Chapter 6 FBD Block Diagram Programming (2) Counter Mode 8 (DC powered versions only) The Mode 8 High Speed Counter can use either input terminals I01 or I02 for forward up-counting to 1 KHz maximum at 24VDC high speed input signal. The selected Counter Coil (C01-C1F) will turn ON when the pulse count reaches the target “Preset ON”...
  • Page 192 Chapter 6 FBD Block Diagram Programming parameter HI INPUT → CURRENT ENABLE → ← PERSET RESET → ← PARAMETER → ※HI INPUT:I01(A)and I02(B)...
  • Page 193: Rtc Comparator Function Block

    Chapter 6 FBD Block Diagram Programming RTC Comparator Function Block There is a maximum of 250 RTC function blocks under FBD mode, can be set mode 0~4 and the function is same as Ladder mode. (1) RTC Mode 0(Internal Coil) Mode 0 RTC (Internal Coil) used as internal auxiliary coils.
  • Page 194 Chapter 6 FBD Block Diagram Programming (2) RTC Mode 1(Daily) The Daily Mode 1 allows the Rxx coil to active based on a fixed time across a defined set of days per week. The below example1 allows for selection of the number of days per week (i.e., Mon-Fri) and the Day and Time for the B002 (R01) coil to activate ON, and the Day and Time for the B002 (R01) coil to deactivate OFF.
  • Page 195 Chapter 6 FBD Block Diagram Programming (3) RTC Mode 2 (Continuous) The Interval Time Mode 2 allows the Rxx coil to activate based on time and day per week. The below example1 allows for selection of Day and Time for the B002 (R01) coil to activate ON, and Day and Time for the B002 (R01) coil to deactivate OFF.
  • Page 196 Chapter 6 FBD Block Diagram Programming (4) RTC Mode 3 (Year Month Day) The Year-Month-Day Mode 3 allows the Rxx coil to activate based on Year, Month, and Date. The below example1 allows for selection of Year and Date for the B002 (R01) coil to activate ON, and Year and Date for the B002 (R01) coil to deactivate OFF.
  • Page 197 Chapter 6 FBD Block Diagram Programming Example 2: Example 3:...
  • Page 198 Chapter 6 FBD Block Diagram Programming (5) RTC Mode 4(30-second adjustment) The 30-second adjustment Mode 4 allows the Rxx coil to activate based on week, hour, minute and second. The below examples show for selection of week, hour, minute and second for the B002 (R01) coil to activate ON, and 30-second adjustment then B002 (R01) OFF.
  • Page 199 Chapter 6 FBD Block Diagram Programming (6) Real-time clock mode 5 (astronomical clock) RTC mode 5 is astronomical clock mode, using the set latitude and longitude, offset time, to control the output of the RTC coil. The following figures and tables illustrate the display form and parameter meaning of RTC mode 5 and the programming interface in FBD mode.
  • Page 200: Analog Comparator Function Block

    Chapter 6 FBD Block Diagram Programming Analog Comparator Function Block There is a maximum of 250 analog comparator function blocks under FBD mode, can be set mode 0~7 and the function is same as Ladder mode. (1) Analog Comparison Mode 0 (Internal coil) Mode 0 analog comparator (Internal Coil) used as internal auxiliary coils.
  • Page 201 Chapter 6 FBD Block Diagram Programming (2) Analog Comparison Mode 1~7 Analog comparator mode 1~7, setting three parameters, analog input Ax, analog input Ay and reference value G. Analog Comparator mode 1: (Ay- reference value G)≤Ax≤(Ay+ reference value G) , output ON; Analog Comparator mode 2: Ax≤Ay, output ON;...
  • Page 202 Chapter 6 FBD Block Diagram Programming Analog Comparison Mode 3 FBD display Parameter display Enable Input → ← Analog Input ← Analog Input Parameter → ← Reference B003 (G01) output ON when the value of A01 is not lower than the value of A05; Parameter display current value of Ax and Ay when running mode;...
  • Page 203: Filter Function Block

    Chapter 6 FBD Block Diagram Programming Filter Function Block FBD function can use 250 filter blocks in mode 1-4 (same as Ladder mode) Filter Mode 1 (Analog filter) Function instruction When parameters setup finished, analog filter function will be enabled once enable coil status from 0 to 1. This will start to do Ax analog value filter according to select sampling mode, the value after filter will be the current value of F coil.
  • Page 204 Chapter 6 FBD Block Diagram Programming Example : Data 1=161, Data 2=120, Data 3=154, Data 4=160, Data 5=190,Data 6=169, Data 7=110, Data 8=121, Data 9=150,Data 10=198, Data 11=199 Mode 1 : ① Updated data=(161+154+160) / 3=158 - filter (1, 2, 3, 4, 5), the maximum value 190 and minimum value 120 will be deleted.
  • Page 205 Chapter 6 FBD Block Diagram Programming When enable input turns ON, according to parameter setting, unit will start to calculate the analog average value and update the current value of function block. Output coil will turn ON at same time. Timing diagram (example) Filter Mode 3 maximum value When enable coil is ON, maximum function will start, the status of output coil and enable coil is same.
  • Page 206 Chapter 6 FBD Block Diagram Programming Filter Mode 4 (Minimum value) When enable coil is ON, maximum function will start, the status of output coil and enable coil is same. When enable coil is OFF, maximum function will close, the status of output coil and enable coil is same. In enable coil ON status, F function block current value will save the minimum value of analog input Ax.
  • Page 207: As (Add-Sub) Function Block

    Chapter 6 FBD Block Diagram Programming AS (ADD-SUB) function block There is a maximum of 250 AS (Addition and Subtraction) function blocks under FBD mode, and the function is same as Ladder mode. − Compute formula: Parameters V1, V2, and V3 can be a constant or other function current value. The output coil will be set to 1 when the result is overflow.
  • Page 208: Md (Mul-Div) Function Block

    Chapter 6 FBD Block Diagram Programming MD (MUL-DIV) function block There is a maximum of 250 MD (Multiplication and Division) function blocks under FBD mode, and the function is same as Ladder mode. MD = Compute formula: Parameters V1, V2, and V3 can be a constant or other function current value. The output coil will be set to 1 when the result is overflow or parameter V3 is zero.
  • Page 209: Pid (Proportion- Integral- Differential) Function Block

    Chapter 6 FBD Block Diagram Programming PID (Proportion- Integral- Differential) function block There is a maximum of 30 PI (PID) function blocks under FBD mode, and the function is same as Ladder mode. PID computes formula: −   ∆ −...
  • Page 210: Mx (Multiplexer) Function Block

    Chapter 6 FBD Block Diagram Programming MX (Multiplexer) function block There is a maximum of 250 MX (Multiplexer) function blocks under FBD mode, and the function is same as Ladder mode. This special function transmits 0 or one of 4 preset values to MX current value memory by selection control coils S1 and S2.
  • Page 211: Ar (Analog-Ramp) Function Block

    Chapter 6 FBD Block Diagram Programming AR (Analog-Ramp) function block There is a maximum of 30 AR (analog ramp control) function blocks under FBD mode, and the function is same as Ladder mode. (1)AR mode1 Function description: AR current value: 0~32767 AR will keep the current level at “StSp + Offset "B"”...
  • Page 212: Example

    Chapter 6 FBD Block Diagram Programming Example: FBD display: Enable Input → Select level input Sel → Stop input St → Parameter → Parameter display: Parameter display 1 Parameter display 2 AR current value → ← Start/Stop level Preset level1 → ←...
  • Page 213 Chapter 6 FBD Block Diagram Programming (2)AR mode2 Function description: AR current value: 0~32767 AR will vary from 0 to current level at a preset rate when it is enabled. Based Level0:0~32767 on the state of Sel1 and Sel2, Current level will change to other preset level at Level1:0~32767 the preset rate.
  • Page 214 Chapter 6 FBD Block Diagram Programming Example: FBD display Parameter display Program display Enable Input → Select l → SEL+←/→ Select2 → Parameter → Display AR current value when running mode; ※...
  • Page 215: Dr (Data-Register) Function Block

    Chapter 6 FBD Block Diagram Programming DR (Data-Register) function block There is a maximum of 240 DR (data register) function blocks under FBD mode, and the function is same as Ladder mode. The DR function is transferring data. DR sends data from prevention registers to current register and output coil Bxxx ON when it is enabled.
  • Page 216: Mu (Modbus) Function Block

    Chapter 6 FBD Block Diagram Programming MU (Modbus) function block There is a maximum of 250 MU (Modbus) function blocks under FBD mode, can be set mode 1~5 and the function is same as Ladder mode. Remote IO and IO Link are precedence than MU. MU is executed when the system setting is N (No Remote IO) and ID isn’t 0.
  • Page 217 Chapter 6 FBD Block Diagram Programming MU mode1: Read Registers Setting communication address is constant: Address is constant 0003, Data length is fixed at 1word, Send data: 01 03 00 03 00 01 CRC16; Received response form slave1: 01 03 02 data1 data2 CRC16; Saving date to DRE0: DRE0 = data1~2 Mode1 FBD display...
  • Page 218 Chapter 6 FBD Block Diagram Programming MU mode2: Write single register Setting communication address is constant: Address is constant 0003, Setting data DRE0=1234 (hex: 04D2), Send data: 01 06 00 03 04 D2 CRC16; Received response from slave1: 01 06 00 03 04 D2 CRC16; Mode2 FBD display Parameter display...
  • Page 219 Chapter 6 FBD Block Diagram Programming MU mode3: Write Multiple Registers Setting communication address is constant: Address is constant 0003, Data length is fixed at 1word, Setting data DRE0=1234 (hex: 04D2), Send data: 01 10 00 03 00 01 02 04 D2 CRC16; Received response from slave1: 01 10 00 03 00 01 CRC16;...
  • Page 220 Chapter 6 FBD Block Diagram Programming MU mode4: Read Coils Setting communication address is constant: Address is constant 32 (hex: 0020), Data length is fixed at 16 (hex: 10H, 1word), Send data: 01 01 00 20 00 10 CRC16; Received response from slave1: 01 01 02 data1 data2 CRC16;...
  • Page 221 Chapter 6 FBD Block Diagram Programming MU mode5: Write single coil Setting communication address is constant: Address is constant 0003, Setting data DRE0=65280 (hex: FF00), Send data: 01 05 00 03 FF 00 CRC16; Received response from slave1: 01 05 00 03 FF 00 CRC16; Mode5 FBD display Parameter display...
  • Page 222 Chapter 7 Hardware Specification Chapter 7: Hardware Specification Chapter 7: Hardware Specification ........................189 Normal Specification ............................190 Product Specifications............................191 Power Specifications ............................192 iSmart Specifications ..........................192 24V AC model Specifications ........................193 Power circuitry diagram ..........................194 Input Specifications.............................
  • Page 223: Chapter 7 Hardware Specification

    Chapter 7 Hardware Specification Normal Specification Content Specification Mode of user program Ladder & FBD Operation temperature -4° to 131°F (-20° to 55°C) Storage temperature -40° to 158°F (-40° to 70°C) Environmental Maximum Humidity 90% (Relative, non-condensing) Operation Gas No corrosive gases 0.075mm amplitude, 1.0g acceleration Maximum Vibration according to IEC60068-2-6...
  • Page 224: Product Specifications

    Chapter 7 Hardware Specification Product Specifications...
  • Page 225: Power Specifications

    Chapter 7 Hardware Specification Power Specifications iSmart Specifications...
  • Page 226: 24V Ac Model Specifications

    Chapter 7 Hardware Specification 24V AC model Specifications SMT-EA-R10-V4 SMT-EA24-R20-V4 content Voltage Rating AC 24V AC 24V operation Power 20.4~28.8V AC 20.4~28.8V AC range instantaneous power down 10 ms(half cycle) / 20 times 10 ms(half cycle) / 20 times time allowable fuse Need connect a fuse or breaker of Need connect a fuse or breaker of...
  • Page 227: Power Circuitry Diagram

    Chapter 7 Hardware Specification Power circuitry diagram AC 10/20 points DC 24V Mainframe, expansion, and communication...
  • Page 228: Input Specifications

    Chapter 7 Hardware Specification Input Specifications 100~240V AC model content SMT-EA-R10-V4 SMT-BA-R10 SMT-EA-R20-V4 SMT-BA-R20 Input circuitry I01~I06 I01~I09, I0A, I0B, I0C digital input digital input number Signal current AC 110V AC 220V AC 110V AC 220V input 0.66mA 1.3mA 0.55mA 1.2mA ON current >...
  • Page 229: 24V Dc, 12 I/O Model

    Chapter 7 Hardware Specification 24V DC, 12 I/O model content SMT-ED-R12-V4 & SMT-ED-T12-V4 Analog input used Normal digital input High speed input as normal digital Analog input input Input I03~I06 I01,I02 I09,I0A circuitry number Signal current 3.2mA/24V DC 3.2mA/24V DC 0.63mA/24V <0.17 mA/10V input...
  • Page 230: 24V Dc, 20 I/O Model

    Chapter 7 Hardware Specification 24V DC, 20 I/O model content SMT-ED-R20-V4 & SMT-CD-R20-V4 & SMT-CD-T20-V4 Analog input used Normal digital input High speed input as normal digital Analog input input Input I03~I08 I01,I02 I09,I0A,I0B,I0C circuitry number Signal current 3.1mA/24V DC 3.1mA/24V DC 0.63mA/24V <0.17 mA/10V...
  • Page 231: Output Specifications

    Chapter 7 Hardware Specification Output Specifications content relay transistor Load Load output circuitry Extern power Extern power Extern power 23.9~24.1V Less than AC265,DC30V circuitry isolation isolation Photo couplers isolation mechanism Maximal Resistive 8A/point 0.3A/point Load Inductive - - light 200W 10W/DC 24V Open drain current <10uA...
  • Page 232: Inductance Load

    Chapter 7 Hardware Specification Inductance Load There will be a surging voltage (KV) when the inductance load switches between ON and OFF, especially for the relay model. The methods to different power mode to absorb the surging voltage are shown below. a.
  • Page 233: Size Diagram Of Ismart

    Chapter 7 Hardware Specification Size diagram of iSmart 10/12 points 20 points...
  • Page 234: Chapter 8: 20 Points Rs485 Type Models Instruction

    Chapter 8 20 Points RS485 type Models Instruction Chapter 8: 20 Points RS485 type Models Instruction Chapter 8: 20 Points RS485 type Models Instruction ....................203 Communication function ............................. 204 Detail instruction ..............................206 Remote IO function ............................. 206 IO Link Function ............................207 MU instruction (Modbus RTU master) .......................
  • Page 235: Communication Function

    Chapter 8 20 Points RS485 type Models Instruction Only SMT-CD-R20-V4, SMT-CD-T20-V4 -do have RS485 communication function. Communication function There are many parameters needed to be set before user uses the RS485 communication function. And there are two ways to set that parameter. ●.
  • Page 236: Remote Io Function

    Chapter 8 20 Points RS485 type Models Instruction Function parameters: ID SET ID setting (00~99)  REMOTE I/O Remote I/O Mode (N: none M: Master S: Slave)  Function description: Function ID SET REMOTE I/O Description Up to 2 additional iSmart units can be configured as Remote IO function 00~99 M &...
  • Page 237: Detail Instruction

    Chapter 8 20 Points RS485 type Models Instruction Detail instruction Remote IO function Function Description: Remote IO function can make one iSmart as master link to another iSmart as slave; the master can perform its program, but the slave cannot. The ON/OFF state of the output coil Q in slave will affect the ON/OFF state of the expansion output coil Y in master.
  • Page 238 Chapter 8 20 Points RS485 type Models Instruction IO Link Function Function Description: Up to 8 iSmart units can be linked together as the IO Link Network. Each unit runs their own logic program; the ON/OFF state of input, output points, and Auxiliary Coils in each one can be assigned to “W Table”, see the next page for more information.
  • Page 239 Chapter 8 20 Points RS485 type Models Instruction Example: 1. Link 8 20 pointes RS485 models iSmart according to the steps of the Hardware Configuration. 2. Create a ladder program as show below in those 8 iSmart. L 01 3. Set L01 of the iSmart which’s ID =7 as fellow illustration. 4.
  • Page 240: Mu Instruction (Modbus Rtu Master)

    Chapter 8 20 Points RS485 type Models Instruction MU instruction (Modbus RTU master) MU function performs Modbus RTU communication at RS485 port. There are 15 MU coils can be used in ladder mode, MU01~MU0F, and up to 250 MU function blocks diagram in FBD mode. There can be several MU commands executed at the same time, but only one command can be performed, the rest are postponed until the performed one is accomplished.
  • Page 241 Chapter 8 20 Points RS485 type Models Instruction In Ladder mode, there are 5 parameters in Modbus function as shown in below. symbol Description ① MU mode (1~5) ② ID number of the target unit: range from 0 to127 The address of target register in that unit: 1) address is assigned to a constant, range from 0000 to ffff;...
  • Page 242: Modbus Rtu Slave Function

    Chapter 8 20 Points RS485 type Models Instruction Modbus RTU slave function Function Description: iSmart unit can be controlled by the computer or other controller using the communication control. PC and other controller can read and write IO state, preset value of the elements and the setting of the unit. It also can use to read the current value of the element and control the Run/Stop mode of iSmart.
  • Page 243 Chapter 8 20 Points RS485 type Models Instruction Exception Code The controller responses the Exception Code and send Function Code added 80H to main system if there is error happened. Exception Code Description Frame error (Function Code error, Register Encoding error, Data Quantity Error) Command can not be carried out in the RUN mode Command can not be carried out in Cipher mode Data value is over range...
  • Page 244: Chapter 9: Expansion Module

    Chapter 9 Expansion Module Chapter 9: Expansion Module Summarize ................................214 Power .................................. 216 Size ..................................216 Digital IO Module ............................... 219 Analog Module ..............................223 Analog Input Module 4AI…........................223 Temperature Input Module 4PT ........................224 Analog Output Module 2AO ........................225...
  • Page 245: Summarize

    Chapter 9 Expansion Module Summarize Digital Input/Output module:SMT-MA-R8 , SMT-MD-8 ,SMT-MD-T8 Analog Input module: SMT-4PT, SMT-4AI Analog Output module: SMT-2AO iSmart can connect with expansion module. The maximal connectible number to the expansion module is: 3 Digital IO modes, 2 Analog Output modes, 2 Analog Input modules (one 4PT and one 4AI). If the iSmart system is combined with digital IO, analog IO and communication module, it must follow the standard arrangement, “SMT + digital IO module + analog IO module ”, otherwise it cannot work correctly.
  • Page 246 Chapter 9 Expansion Module There are 3 kinds of connecting way for expansion modules as shown below. Mainframe + digital IO * 3 + 4AI*1+ digital IO: SMT-MA-R8 , SMT-MD-8 ,SMT-MD-T8 Mainframe + digital IO * 3 + 2AO*1/4PT*1 digital IO: SMT SMT-MA-R8, SMT-MD-R8, SMT-MD-T8, SMT-MA24-R8 ※...
  • Page 247: Power

    Chapter 9 Expansion Module Power The input voltage, current and power consumption for each expansion module is listed as below table: Module Voltage Current Power SMT-4AI 24 Vdc 70 mA 1.68w SMT-2AO 24 Vdc 85 mA 2.04w SMT-4PT 24 Vdc 55 mA 1.32w Size...
  • Page 248 Chapter 9 Expansion Module Installation All the expansion modules installation method is the same as shown below. ※ X1 X2 Input 4 × AC AC 100~240V SG2-8ER-A Output 4 x Relay / 8A...
  • Page 249 Chapter 9 Expansion Module 0.14...1.5 0.14...0.75 0.14...2.5 0.14...2.5 0.14...1.5 26...16 26...18 26...14 26...14 26...16 (0.14in) lb-in DANGER: HAZARDOUS VOLTAGE Cut off all power before maintenance Electric shock will result in death or serious injury.
  • Page 250: Digital Io Module

    Chapter 9 Expansion Module Digital IO Module The iSmart must set the number of expansion IO when connect with expansion module. The method of setting IO number is shown below. 1) Keypad 2) SMT Client software...
  • Page 251 Chapter 9 Expansion Module Expansion display State Installation and Wiring SMT-MD-R8/T8, SMT-MA-R8/MA24-R8 Expansion module:...
  • Page 252 Chapter 9 Expansion Module Wiring 1) 24V DC power input 2) 24V/100~240V AC power input 3) Relay Output...
  • Page 253 Chapter 9 Expansion Module 4) Transistor output ①-1A quick-blowing fuse, circuit-breaker or circuit protector ②-Surge absorber (43V DC) ③-Surge absorber (Input 24VAC:43V; Input 100~240VAC:430V AC) ④-Fuse, circuit-breaker or circuit protector ⑤-Inductive load ※ C inductive load needs to connect Surge absorber in parallel way to absorb the noise if the iSmart output terminal is the relay type.
  • Page 254: Analog Module

    Chapter 9 Expansion Module Analog Module The maximal connectible number of Analog expansion module to SMT is 2*2AO, 1*4PT and 1*4AI. Analog Input Module 4AI The 4 channel 12bits analog input module, 4AI, has the corresponding registers, A05~A08, DREC~DREF, DRE4~DRE7. It can accept either 0~10V or 0~20mA signal, the range of the measured value is different which depends on the input signal mode.
  • Page 255: Temperature Input Module 4Pt

    Chapter 9 Expansion Module Temperature Input Module 4PT The 4 channel 12bits temperature (PT100) analog input module, 4PT, has the corresponding registers with AT01~AT04. content standard Temperature input range -100℃~600℃ Digital output -100.0℃~600.0℃ Differentiation 0.1℃ Definition ±1﹪ The input value of SMT-4PT is over range if wiring error or no input, SMT will not update the corresponding channel, and the corresponding Error coil (M) turns ON.
  • Page 256: Analog Output Module 2Ao

    Chapter 9 Expansion Module Analog Output Module 2AO iSmart main unit can connect with two 2-channel, 12bits analog output module, 2AO, at the same time. The close one will be auto-assign to AQ01~AQ02, and the other is distributed to AQ03~AQ04. It can out 0~10V voltage signal or 0~20mA current signal, and the data in the 12bits data register, DRD4~DRD7, will determined the output of AO channel.
  • Page 257 Chapter 9 Expansion Module When the preset value in “Analog Output Set” screen is a constant, this value will be stored in DR register, ※ (DRD4~DRD7) and the AQ value equals to (DRx/4.095). For example, CH1 is configured as mode 1, set a constant value, 4000, then the value of AQ01 will be 977, and HMI displays 9.77V.
  • Page 258 Chapter 10 External memory Chapter 10 External memory Chapter 10 External memory ............................1 iSmart Storage Card Instruction ..........................2 Read/Write program with SD card .......................... 2 Data Record And Output (Log function) ......................4 Format SD card ................................ 5 Read Setup Document .............................
  • Page 259: Chapter 10 External Memory

    Chapter 10 External memory iSmart Storage Card Instruction iSmart can use SD card as for data transfer: External memory 1. Read-write card: copy user programs (screen keys, PC upper computer, iSmart automatic operation) by reading and writing SD card. 2. Record and output data: iSmart can record some data in operation according to the user's program and output it in a fixed format.
  • Page 260 Chapter 10 External memory PLC->SD CARD DISK: 29714MB >YES Note : If there is any problem during program update, please re-start the input power and re-update it again. The protected password in iSmart is also effective for the program on the card # It is allowed to store only one program in card, please change other card to store second program if necessary.
  • Page 261: Data Record And Output (Log Function

    Chapter 10 External memory Data Record And Output (Log function) 1、Edit data record Edit data record function as following photo: For example, these types can be set to target register of data record function.The value in per-set value target register could be stored in iSmart or micro SD card once M11 coil enabled. If micro SD card already put into slot, the data record will write into SD card directly;...
  • Page 262: Format Sd Card

    Chapter 10 External memory C. Generate a data record table, select the OUTPUT RECORD function to write the cached data records to memory card. The default stored format will be ".xls" file, it can be opened on PC. Each line in this EXCEL file contains a check point, function block number, and recorded actual value.
  • Page 263: Read Setup Document

    Chapter 10 External memory Read Setup Document iSmart blind type models(B Type) can set the configuration through read XXX.ini document.: XXX.ini document can be used to set iSmart configuration, it's stored under sub-menu of SD card.(User will get "error" on display when move the document out of original location or re-write file name.) When iSmart changes the status from STOP to RUN, it will read the content from setup document and re-write the data for target register.
  • Page 264 Chapter 10 External memory you want to set “255,255,255,000”as SUBNET MASK; Divide the string of numbers into four fields:”255”、”255”、”255”、”000”. Then fill in the corresponding lines for each of these four sections as shown above; 4. IF you fill in a number greater than 255, The corresponding field is automatically set to 255; 5.
  • Page 265 Chapter 11: Ethernet function Instruction Chapter 11: Ethernet function Instruction Chapter 11: Ethernet function Instruction ........................1 summary ..................................2 connect .................................... 2 Ethernet setup.................................. 3 PC Client link setup ................................ 4 Network inputs and outputs function setting and Application ..................5 Web server ..................................
  • Page 266: Chapter 11: Ethernet Function Instruction

    Chapter 11: Ethernet function Instruction summary iSmart series products support Ethernet communication function. Users can use the Ethernet function to achieve the following operations: Read ,Write, and monitor user program Expand device and configure network IO module Network server Device program upgrade connect iSmart has an Ethernet connector and an Ethernet status LED.
  • Page 267: Ethernet Setup

    Chapter 11: Ethernet function Instruction Ethernet setup iSmart can display local IP address, subnet mask, gateway address, master / slave mode and remote master IP address in slave mode on LCD interface. And can be modified with keypad. If the network information is modified, press OK to confirm, the device will restart automatically, enable the modified information to reestablish the network connection.
  • Page 268: Pc Client Link Setup

    Chapter 11: Ethernet function Instruction PC Client link setup Connect iSmart and PC with Ethernet cable, open SMT Client and choose LADDER or FBD editing environment. Right click "station" under the project and Select the pop-up "link" option. Or click "link" under "operation" in the menu.
  • Page 269: Network Inputs And Outputs Function Setting And Application

    Chapter 11: Ethernet function Instruction Network inputs and outputs function setting and Application iSmart provides network digital inputs/outputs and network analog inputs/outputs. The master iSmart can communicate with the slave iSmart using the network inputs and outputs. Blocks Function Number J01 ~ J3F Network digital inputs K01 ~ K3F...
  • Page 270 Chapter 11: Ethernet function Instruction Legend: The status of network digital output K01 is output to M02 of slave device 192.168.0.102. Legend: The network analog input NAI01 reads the value of C01 of the slave device 192.168.0.100. Legend: The value of network analog output NAQ01 is output to T03 of slave device 192.168.0.101. Examples in LADDER: Line 001: Network digital output K01 is used as output point Line 002: Network digital input J01 is used as input point...
  • Page 271: Web Server

    Open the browser, enter the IP address of the iSmart device, and open the iSmart web server page. Enter the username and password (username: IMO, password: IMO), log in and get permission to view the information and working status of the device.
  • Page 272 Chapter 11: Ethernet function Instruction When the username or password is entered incorrectly, you will be prompted to re-enter the correct information. Equipment model and version information: The running status information of the device: When i/o status is displayed, press the "previous page" or "next page" button to switch the display page. When setting information is displayed, the page cannot be changed, and only English and Numeric character can be displayed.
  • Page 273 Chapter 11: Ethernet function Instruction Log out:...
  • Page 274 416 639 0709 IMO South Africa Email: sales-ca@imopc.com IMO Pacific Web: www.imopc.com IMO Automation LLC IMO South Africa (Pty) Ltd IMO Pacific Pty Ltd Steeplechase Industrial Park Unit 2 Trio Park Unit 9, Dillington Pass Suite E, 5845 Steeplechase Blvd...

Table of Contents