background image

FT9Y-B1378(5)

Summary of Contents for FT1A-B12RA

Page 1: ...FT9Y B1378 5 ...

Page 2: ......

Page 3: ... cabinet Do not install the SmartAXIS outside a cabinet Install the SmartAXIS in environments described in the SmartAXIS Pro Lite user s manual If the SmartAXIS is used in places where the SmartAXIS is subjected to high temperature high humidity condensation corrosive gases excessive vibrations or excessive shocks then electrical shocks fire hazard or malfunction will result The environment for us...

Page 4: ...onnecting other SmartAXIS as remote I O slaves over Ethernet Chapter 13 Script Programming complicated processing with script language using conditional branching logical operations arithmetic operations and functions Chapter 14 Troubleshooting Procedures to determine the cause of trouble and actions to be taken when any trouble occurs while operating the SmartAXIS Appendix Additional information ...

Page 5: ...mponents must be willing to accept responsibility for choosing the correct component to suit their application and for choosing an application appropriate for the component individually or in combination with other equipment All diagrams and examples in this manual are for illustrative purposes only In no way does including these diagrams and examples in this manual constitute a guarantee as to th...

Page 6: ...ons for monitoring ladders on the SmartAXIS available devices and instruction lists and details of each instruction FT9Y B1386 SmartAXIS FBD Programming Manual Describes basic operations for function block programming available devices and function block lists and details of each function block FT9Y B1390 SmartAXIS Touch User s Manual Describes product specifications installation and wiring instru...

Page 7: ...A C14SA B FT1A C14SA S 12 I O type SmartAXIS Pro and Lite models with 12 I O points FT1A B12RA FT1A B12RC FT1A H12RA FT1A H12RC 24 I O type SmartAXIS Pro and Lite models with 24 I O points FT1A B24RA FT1A B24RC FT1A H24RA FT1A H24RC 40 I O type SmartAXIS Pro and Lite models with 40 I O points FT1A B40RKA FT1A B40RSA FT1A B40RC FT1A H40RKA FT1A H40RSA FT1A H40RC 48 I O type SmartAXIS Pro and Lite m...

Page 8: ...Installation Location 3 1 Mounting Space 3 2 Mounting on DIN Rail 3 3 Removing from DIN Rail 3 3 Direct Mounting on Panel Surface 3 4 Input Output Wiring 3 7 Power Supply 3 11 Terminal Connection 3 13 Securing the Panel Attachment USB Extension Cable 3 14 CHAPTER 4 Operation Basics Start WindLDR 4 1 PLC Selection 4 2 Create Program 4 3 Convert Program 4 11 Save Project 4 11 Simulate Operation 4 12...

Page 9: ...6 24 Maintaining the SD Memory Card 6 25 Entering a Password 6 27 System Menu Hierarchy Diagram 6 28 CHAPTER 7 Device Addresses Device Addresses 7 1 Special Internal Relays 7 2 Special Data Registers 7 8 CHAPTER 8 Instructions Function Blocks Reference Ladder Program Instructions List 8 1 Advanced Instruction List 8 3 Advanced Instruction Applicable SmartAXIS 8 6 FB List 8 9 CHAPTER 9 Maintenance ...

Page 10: ... Modbus TCP Client 11 19 Modbus TCP Server 11 24 CHAPTER 12 Remote I O Remote I O Master 12 2 Remote I O Slave 12 8 CHAPTER 13 Scripts Script Programming and Management 13 3 Programming Scripts 13 10 Script Programming Examples 13 16 Important Notes 13 35 About the Priority of the Operator 13 35 CHAPTER 14 Troubleshooting Reading Error Data 14 1 Special Data Registers for Error Information 14 3 Ge...

Page 11: ...basic functions The SmartAXIS Pro adds to the functionality of the SmartAXIS Lite and is equipped with an LCD and operation buttons on the module enabling independent monitor and operation functions The SmartAXIS supports 100 to 240V AC and 24V DC power supplies SmartAXIS with Ethernet port 24 40 48 I O types can expand the number of inputs and outputs for a maximum of 90 inputs and a maximum of 5...

Page 12: ... 24V DC FT1A B24RC 100 to 240V AC FT1A H40RKA 24V DC 40 24 16 Yes Yes 2 ports Yes FT1A H40RSA FT1A H40RC 100 to 240V AC FT1A B40RKA 24V DC FT1A B40RSA FT1A B40RC 100 to 240V AC FT1A H48KA 24V DC 48 30 18 Yes FT1A H48SA FT1A H48KC 100 to 240V AC FT1A H48SC FT1A B48KA 24V DC FT1A B48SA FT1A B48KC 100 to 240V AC FT1A B48SC RS232C Communication Cartridge FT1A PC1 Mini DIN type Memory Cartridge FT1A PM...

Page 13: ...in a memory cartridge FT1A PM1 When a memory cartridge is inserted into a SmartAXIS the user program in the memory cartridge is executed instead of the user program in the SmartAXIS You can also download the user program in a memory cartridge to the SmartAXIS SD Memory Card The 40 and 48 I O types are equipped with an SD memory card slot The log data of device values can be saved to an optional SD...

Page 14: ...ed as a stop or reset input to control the SmartAXIS operation Remote I O When the number of SmartAXIS inputs and outputs is insufficient the number of inputs and outputs can be expanded to a maximum of 192 points by connecting additional SmartAXIS as remote I O slaves over Ethernet With the remote I O function the analog inputs on the SmartAXIS that are connected as remote I O slaves can also be ...

Page 15: ...e user program in the SmartAXIS can be protected against reading and or writing by including a password in the user program This function is effective for security of user programs Keep or Clear Designation of SmartAXIS Data Internal relays shift register bits counter current values and data register values can be designated to be kept or cleared when the SmartAXIS is powered down All or a specifi...

Page 16: ...ce Communication Chapter 9 Maintenance communication enables you to check the operating status and I O status of the SmartAXIS monitor and change device values and download and upload user programs using a computer or operator interface User Communication Chapter 10 The SmartAXIS can communicate with external devices equipped with RS232C RS485 or Ethernet ports using user communication This can on...

Page 17: ...intenance Communication System This example shows a 1 1 maintenance communication system in which a SmartAXIS and a computer are connected with USB The USB maintenance cable HG9Z XCM42 is used 1 N Maintenance Communication System This example shows a 1 N maintenance communication system in which three SmartAXIS and a computer are connected over Ethernet The Ethernet cables are connected to the Eth...

Page 18: ...ol and can be used as either a Modbus communication master or slave When used as a Modbus master the SmartAXIS can monitor and modify the data of Modbus compliant devices such as inverters and temperature controllers using Modbus communication For details on Modbus communication see Modbus Communication on page 11 1 Supported ports Ethernet port and expansion communication ports Modbus Communicati...

Page 19: ...can be configured for maintenance communication user communication Modbus TCP or remote I O master Ethernet Communication Example This example shows a system in which a SmartAXIS communicates with another SmartAXIS an operator interface and a computer simultaneously over Ethernet Among the three connections the SmartAXIS has Connection 1 is configured as maintenance communication for the computer ...

Page 20: ...rator interface An Ethernet cable or an O I communication cable see Note is used to connect the SmartAXIS and the operator interface For details on communication settings refer to the operator interface manuals Note For details on O I communication cables see Cables on page A 8 O I communication cable For RS232C FC4A KC1C FC4A KC2C For RS485 FC2A KP1C open end at operator interface side Operator i...

Page 21: ...D memory card for logging the device data Every type of SmartAXIS has a cartridge connector to install an optional memory cartridge Parts Description The text in square brackets is printed on the SmartAXIS to describe LED 1 Power Supply Terminals Connect power supply to these terminals 2 Input Terminals For connecting input signals from input devices such as sensors and pushbuttons DC power type c...

Page 22: ...rtridge If the panel mount USB extension cable is to be connected permanently it can be secured to the USB port cover using a cable tie 11 Memory Cartridge Connector For connecting an optional memory cartridge 12 USB Port A Mini B type USB 2 0 connector A USB maintenance cable or panel mount USB extension cable can be attached and connected to a PC to download and upload user programs using WindLD...

Page 23: ...sor Power Terminals For supplying power to sensors 24V DC Not available on the DC power type Power Run Status LED Status OFF Power is not supplied ON Power is supplied and the user program is being executed Slow Flash 1 sec interval Power is supplied and the user program is stopped Error Status LED Status OFF Normal operation ON An error has occurred Slow Flash 1 sec interval The SmartAXIS is runn...

Page 24: ... of three mutually perpendicular axes Shock Resistance 147 m s2 15G 11ms duration 3 shocks per axis on three mutually perpendicular axes Power Supply Note 3 Rated Power Voltage 100 to 240V AC Allowable Voltage Range 85 to 264V AC Rated Power Frequency 50 60Hz 47 to 63Hz Maximum Power Consumption 18VA 41VA 48VA 43VA Allowable Momentary Power Interruption 10ms maximum at the rated power voltage Diel...

Page 25: ...ours per axis on each of three mutually perpendicular axes Shock Resistance 147m s2 15G 11 ms duration 3 shocks per axis on three mutually perpendicular axes Power Supply Rated Power Voltage 24V DC Allowable Voltage Range 20 4 to 28 8V DC Including ripple voltage Maximum Power Consumption 4 3W 4 8W 7 9W 6 0W Allowable Momentary Power Interruption 10ms maximum Rated voltage PS2 Dielectric Strength ...

Page 26: ...utput Terminal No 4 Q4 to Q7 8 Q4 to Q7 Q10 to Q13 12 Q4 to Q7 Q10 to Q13 Q14 to Q17 Transistor Output Terminal No 4 Q14 to Q17 18 Q0 to Q7 Q10 to Q17 Q20 Q21 User Program Storage Flash ROM 10 000 rewriting life Backup Function RAM Backup data Internal relay shift register counter current value data register Note 3 clock data year month and day Backup Duration Approx 30 days typical at 25 C after ...

Page 27: ...eed Counter Points Total 4 points Total 6 points Total 6 points Total 6 points Maximum Counter Frequency Single two phase selectable 100kHz 2 points Single phase 100kHz 2 points Single two phase selectable 100kHz 2 points Single phase 100kHz 4 points Counting Range 0 to 4 294 967 295 32 bits Operation Mode Rotary encoder mode and adding counter mode Pulse Output Maximum frequency 100kHz Points 2 Q...

Page 28: ...8V DC Terminal Arrangement See Terminal Arrangement on page 2 16 Input External Power Supply Voltage Fluctuation Range Capacity Note 1 DC20 4 to 26 4V 250mA DC20 4 to 26 4V 300mA DC20 4 to 26 4V 300mA Digital Input Input Type Contacts Sink Source Input Points Terminal No Common Line Name 8 points in 1 common line I0 to I7 COM 16 points in 1 common line I0 to I7 I10 to I17 COM 24 points in 1 common...

Page 29: ...nput Internal Circuit Input Operating Range 24V DC COM 4 3KΩ 0V Input Internal Circuit COM Input 4 3kΩ Internal Circuit Sink Source Input FT1A 24 40 48RC Contact Input FT1A 12RC 28 6 ON Area OFF Area 24 15 5 1 1 3 0 5 3 5 5 Input Current mA Transition Area Input Voltage V DC ...

Page 30: ... to I25 Internal terminal Rated Input Current 4 4mA 5 2mA 4 4mA 5 2mA 4 4mA Input Impedance 5 5kΩ 4 7kΩ 5 5kΩ 4 7kΩ 5 5kΩ Turn ON Time 2 5 μs filter value I0 to I7 2 5μs filter value Others 40μs filter value Turn OFF Time 5 μs filter value I0 to I7 5μs filter value Others 150μs filter value Function Input High Speed Counter Two phase 2 systems System 1 1 A phase I0 1 B phase I1 1 Z phase I2 for cl...

Page 31: ...or 5 0 of full scale General Characteristics Operating Mode Self scan Conversion Method Successive Approximation Status Display Pro Device Monitor screen LCD Lite Maximum Temporary Deviation during Electrical Noise Tests 5 0 of full scale Recommended Cable for Noise Immunity Twisted pair shielded cable Calibration or Verification to Maintain Rated Accuracy Not possible Maximum Permanent Allowed Ov...

Page 32: ...4V DC 47kΩ Internal Circuit Sink Input Source Input 56kΩ 22kΩ 0V 24V DC Input Internal Circuit 2 7 5 3 Input Current mA 5 15 24 Transition Area ON Area Input Voltage V DC 28 8 0 9 4 4 OFF Area 1 0 3 0 Input Voltage V DC 5 2 5 15 24 28 8 Input Current mA 6 2 Transition Area ON Area OFF Area Sink Input Source Input 0 2 0 37 Input Current mA 5 15 24 Transition Area ON Area Input Voltage V DC 28 8 0 0...

Page 33: ...nt See Terminal Arrangement on page 2 16 Output Type 1a contact Maximum Load Current Note 10A Minimum Switching Load 10mA 5V DC reference value Initial Contact Resistance 100mΩ maximum 1A 6V DC Electrical Life 100 000 operations minimum rated load 1 800 operations hour Mechanical Life 20 000 000 operations minimum no load 18 000 operations hour Rated Load Note 250V AC 10A 30V DC 10A Dielectric Str...

Page 34: ...See Terminal Arrangement on page 2 16 Output Type 1a contact Maximum Load Current 1 point 2A 1 common line 8A maximum Minimum Switching Load 0 1 mA 0 1V DC reference value Initial Contact Resistance 1A 6V DC Electrical Life 100 000 operations minimum rated load 1 800 operations hour Mechanical Life 20 000 000 operations minimum no load 18 000 operations hour Rated Load Note 250V AC 2A 30V DC 2A Di...

Page 35: ...n output is on Inrush Current 1A maximum Leakage Current 0 1 mA maximum Clamping Voltage 39V 1V Maximum Lamp Load 8W Inductive Load L R 10ms 28 8V DC 1 Hz External Current Draw Sink output 100mA maximum 24V DC power voltage at the V terminal Source output 100mA maximum 24V DC power voltage at the COM terminal Function Input 100kHz output 2 points Q14 Q15 5kHz output 2 points Q16 Q17 Isolation Betw...

Page 36: ...inal Arrangement FT1A H12RA FT1A B12RA Terminal Arrangement and I O Wiring Diagrams FT1A H12RC FT1A B12RC Terminal Arrangement and Wiring I O Diagrams L L L L L Fuse Load Input Side Output Side 2 wire Sensor Analog voltage output device L L L L L Fuse Load Input Side Output Side ...

Page 37: ... and I O Wiring Diagrams FT1A H24RC FT1A B24RC Terminal Arrangement and I O Wiring Diagrams L L L L L L L L L Fuse Load Input Side Output Side 2 wire Sensor Analog voltage output device L L L L L L L L Sink Input Source Input L Fuse Load Input Side Output Side External Power External Power 2 wire Sensor 2 wire Sensor ...

Page 38: ...ms FT1A H40RKA FT1A B40RKA Terminal Arrangement and I O Wiring Diagrams Sink Input Input Side Output Side Source Output Transistor Output 2 wire Sensor Analog voltage output device Fuse Load Source Input Analog Digital Shared Input is Sink Input Input Side Output Side Sink Output Transistor Output 2 wire Sensor Analog voltage output device ...

Page 39: ...Y B1378 2 19 2 PRODUCT SPECIFICATIONS FT1A H40RC FT1A B40RC Terminal Arrangement and I O Wiring Diagrams L L L L L L L L Input Side Output Side L Fuse Load Sink Input Source Input External Power 2 wire Sensor 2 wire Sensor External Power ...

Page 40: ...minal Arrangement and I O Wiring Diagrams Input Side Output Side L L L L L L L L L L L L L L L L L L Source Output Sink Input 2 wire Sensor Analog voltage output device L Load Fuse Tr Input Side Output Side L Load Sink Output L L L L L L L L L L L L L L L L L L Source Input Analog Digital Shared Input is Sink Input Fuse 2 wire Sensor Analog voltage output device Tr ...

Page 41: ...C FT1A H48SC Terminal Arrangement and I O Wiring Diagrams Source Output L Load Fuse L L L L L L L L L L L L L L L L L L Input Side Output Side Sink Input Source Input 2 wire Sensor External Power 2 wire Sensor External Power 2 wire Sensor External Power 2 wire Sensor External Power Tr ...

Page 42: ...KC FT1A B48KC Terminal Arrangement and I O Wiring Diagrams Input Side Output Side Sink Input Source Input L L L L L L L L L L L L L L L L L L Sink Output L Load Fuse Tr 2 wire Sensor External Power 2 wire Sensor External Power 2 wire Sensor External Power 2 wire Sensor External Power ...

Page 43: ...unctions Maintenance communication User communication Modbus RTU master slave Isolation between Internal Circuit and Communication Port Not isolated Recommended Communication Cable Special cable FT1A PC2 Termination Connector Mini DIN Standards EIA RS485 Maximum Baud Rate 115 200bps Communication Functions Maintenance communication User communication Modbus RTU master slave Isolation between Inter...

Page 44: ... port cover insert a flat head screwdriver into the slots press in the tabs at either end of the communication cartridge and lift it directly upward If the cartridge is removed in a crooked state the housing of the cartridge or the internal connector may be damaged With communication cartridges installed Communication Cartridge Turn off the power to the SmartAXIS before removing or installing a co...

Page 45: ...dge cover and pull the cover directly upward to remove it Memory Cartridge User Program Execution Priority Installed on the SmartAXIS When a memory cartridge is installed on the SmartAXIS the user program stored in the memory cartridge is executed User programs can be downloaded from memory cartridges to the SmartAXIS using the memory cartridge download function or LCD operation SmartAXIS Pro only...

Page 46: ...idge cover insert a flat head screwdriver under the memory cartridge cover and pull the cover directly upward to remove it If the cartridge is removed in a crooked state the housing of the cartridge or the internal connector may be damaged Memory Cartridge Ensure that the cartridge is installed with the correct orientation Turn off the power to the SmartAXIS before removing or installing a memory ...

Page 47: ...nd insert the connector of an Ethernet cable securely 12 I O type 24 I O type 40 I O type 48 I O type No Yes Yes Yes Item Specifications Transmission Speed 10BASE T 100BASE TX Electrical Characteristics IEEE 802 3 compliant Recommended Cable CAT 5 STP Category 5 shielded twisted pair cable Connector RJ45 AutoMDI MDI X Function Yes when only two SmartAXIS are connected they can be directly connecte...

Page 48: ...Memory Card Notes It is recommended that SDHC memory cards are formatted on the SmartAXIS before it is used It is recommended that important data is regularly backed up on separate media such as CDs or DVDs 12 I O type 24 I O type 40 I O type 48 I O type No No Yes Yes Item Specifications Supported SD Memory Cards SD memory cards 2GB maximum SDHC memory cards 32GB maximum File System FAT16 FAT32 SD...

Page 49: ...remove the SD memory card in the direction indicated on the SmartAXIS Set the write protect switch of the SD memory card to the OFF position before inserting into the SmartAXIS If any of the actions below are performed while the SD memory card is being accessed data on the card may be damaged The SmartAXIS is turned off The SD memory card is removed Do not turn off the SmartAXIS while the SD memor...

Page 50: ...Dimensions FT1A H12RA 9 3mm when the clamp is pulled out FT1A B12RA 9 3mm when the clamp is pulled out 90 0 100 0 2 Ø 4 5 76 0 110 3 11 0 5 0 76 0 90 0 60 0 56 0 Direct Mounting Hole Layout 90 0 100 0 2 Ø 4 5 76 0 110 3 5 0 11 0 90 0 76 0 60 0 56 0 Direct Mounting Hole Layout ...

Page 51: ...mm when the clamp is pulled out FT1A H24RA 9 3mm when the clamp is pulled out 90 0 100 0 2 Ø 4 5 76 0 110 3 11 0 5 0 76 0 90 0 78 0 74 0 Direct Mounting Hole Layout 90 0 100 0 2 Ø 4 5 76 0 110 3 11 0 5 0 76 0 90 0 78 0 74 0 Direct Mounting Hole Layout 100 0 2 Ø 4 5 90 0 119 0 110 3 11 0 5 0 119 0 60 0 56 0 Direct Mounting Hole Layout ...

Page 52: ...hen the clamp is pulled out FT1A B24RC 9 3mm when the clamp is pulled out 100 0 2 Ø 4 5 90 0 119 0 110 3 11 0 5 0 119 0 90 0 60 0 56 0 Direct Mounting Hole Layout 100 0 2 Ø 4 5 90 0 119 0 110 3 11 0 5 0 119 0 90 0 78 0 74 0 Direct Mounting Hole Layout 100 0 2 Ø 4 5 90 0 119 0 110 3 11 0 5 0 119 0 90 0 78 0 74 0 Direct Mounting Hole Layout ...

Page 53: ...A H40RSA FT1A H40RKA 9 3mm when the clamp is pulled out FT1A B40RSA FT1A B40RKA 9 3mm when the clamp is pulled out 160 0 90 0 144 0 100 0 5 0 160 0 90 0 110 0 60 0 56 0 Direct Mounting Hole Layout 160 0 90 0 144 0 100 0 5 0 160 0 90 0 110 0 60 0 56 0 Direct Mounting Hole Layout ...

Page 54: ...T9Y B1378 FT1A H40RC 9 3mm when the clamp is pulled out FT1A B40RC 9 3mm when the clamp is pulled out 160 0 90 0 144 0 100 0 5 0 160 0 90 0 110 0 78 0 74 0 Direct Mounting Hole Layout 160 0 90 0 144 0 100 0 5 0 160 0 90 0 110 0 78 0 74 0 Direct Mounting Hole Layout ...

Page 55: ...T1A H48SA FT1A H48KA 9 3mm when the clamp is pulled out FT1A B48SA FT1A B48KA 9 3mm when the clamp is pulled out 160 0 90 0 144 0 100 0 5 0 160 0 90 0 110 0 78 0 74 0 Direct Mounting Hole Layout 160 0 90 0 144 0 100 0 5 0 160 0 90 0 110 0 78 0 74 0 Direct Mounting Hole Layout ...

Page 56: ...T1A H48SC FT1A H48KC 9 3mm when the clamp is pulled out FT1A B48SC FT1A B48KC 9 3mm when the clamp is pulled out 160 0 90 0 144 0 100 0 78 0 74 0 5 0 160 0 90 0 110 0 Direct Mounting Hole Layout 160 0 90 0 144 0 100 0 78 0 74 0 5 0 160 0 90 0 110 0 Direct Mounting Hole Layout ...

Page 57: ...iring Ingress of such fragments and chips may cause fire hazard damage or malfunction Do not touch the connector pins with your hand Electrostatic discharge may damage the internal elements When handling the SmartAXIS take measures to discharge static electricity Keep the SmartAXIS wiring away from motor lines Caution The SmartAXIS is designed to be installed in control panels and similar location...

Page 58: ...its side when the ambient temperature will exceed 40 C Do not install the SmartAXIS face down Mounting Space To allow for heat dissipation and facilitate replacement ensure that there are at least 20 to 40mm between the SmartAXIS and surrounding equipment and ducts Mounting Two or More Units Face Up Orientation Use if 35 C or less Side Orientation Use if 40 C or less Face Down 20mm minimum 20mm mi...

Page 59: ...1 Using a flat head screwdriver lower the DIN rail clamp on the SmartAXIS 2 Pull the SmartAXIS outward and upward at the same time Note The SmartAXIS supports 35mm wide DIN rails Supported rails IDEC BAA1000 Length 1000mm Install the SmartAXIS modules according to instructions described in this user s manual Improper installation will result in falling failure or malfunction of the SmartAXIS Do no...

Page 60: ... types To mount the SmartAXIS directly it may be necessary to make holes in the mounting plate depending on the SmartAXIS model Preparations When directly mounting the 12 and 24 I O types pull out the direct mounting plate and the DIN rail clamp on the back of the SmartAXIS and attach the SmartAXIS to the mounting plate using the screw holes Attach the 40 and 48 I O types to the mounting plate usi...

Page 61: ...w or make 5 to 6mm mounting holes and secure the SmartAXIS using M4 pan head screws Always give sufficient consideration to operability ease of maintenance and environmental resistance when deciding on the mounting position 12 I O type FT1A H12RA FT1A B12RA FT1A H12RC FT1A B12RC 24 I O type FT1A H24RA FT1A B24RA FT1A H24RC FT1A B24RC All dimensions in mm 100 2 Ø 4 5 76 90 All dimensions in mm 100 ...

Page 62: ...1A B40RKA FT1A B40RSA FT1A H40RC FT1A B40RC 48 I O type FT1A H48KA FT1A H48SA FT1A B48KA FT1A B48SA FT1A H48KC FT1A H48SC FT1A B48KC FT1A B48SC 160 90 144 100 All dimensions in mm 160 90 144 100 All dimensions in mm When directly mounting the SmartAXIS tighten mounting screws with torque of 1N m 10kgf cm Caution ...

Page 63: ...d the shield on the SmartAXIS side using a D type type 3 ground Wire input devices you want to connect to the SmartAXIS according to type as shown below DC Power Type Digital Input Sink Input Digital Input Source Input Contact Output External Power Input Terminal I SmartAXIS SmartAXIS 0V Power Supply Terminal 0V Power Supply Terminal PNP Output External Power Input Terminal I Output Sensor Output ...

Page 64: ...pply Terminal Contact Output External Power SmartAXIS SmartAXIS PNP Output External Power Sensor Output SmartAXIS Analog Output Input Terminal I Analog Output Terminal COM Output Internal Circuit Contact Output Input Terminal I SmartAXIS COM Contact Output SmartAXIS SmartAXIS COM COM NPN Output Sensor Vcc 0V Sensor Power Supply External Power Sensor Power Supply External Power Input Terminal I Inp...

Page 65: ...iring UL1015 AWG22 or UL1007 AWG18 When equipment containing the SmartAXIS is intended for use in European countries insert an IEC 60127 approved fuse to each output of every module for protection against overload or short circuit This is required when equipment containing the SmartAXIS is destined for Europe When driving an inductive load that emits noise like a magnet or a valve to reduce noise ...

Page 66: ...otection Circuit B Protection Circuit C Protection Circuit D Inductive Load COM C R Output Q This protection circuit can be used when the load impedance is smaller than the RC impedance in an AC load power circuit R Resistor of approximately the same resistance value as the load C 0 1 to 1 µF Inductive Load COM R Output Q C or Surge Killer This protection circuit can be used for both AC and DC loa...

Page 67: ...xample FT1A 12 A When Power Is Turned Off The DC power types detect a power failure when the power voltage drops below 20 4V DC A momentary power interruption of 10ms or less is not recognized as a power failure when the power voltage is at the rated voltage Inrush Current at Powerup When the SmartAXIS is powered up there is an inrush current of a maximum of 30A flows Use a power supply with suffi...

Page 68: ...can be used only when the length of grounding wires for those devices are the same Use a ground wire of UL1007 AWG16 Use a thick wire for grounding the SmartAXIS and make the grounding wire as short as possible to make sure that noises from external devices can be conducted to the ground effectively As shown below external devices generating noise must be separated from the SmartAXIS and grounded ...

Page 69: ... UL1015 AWG22 AI 0 5 8 WH 32 00 01 4 100 UL2464 AWG24 AI 0 25 8 YE 32 03 03 7 100 For 2 wire connection UL1007 AWG18 AI TWIN 2 x 0 75 8 GY 32 00 80 7 100 UL1015 AWG22 AI TWIN 2 x 0 5 8 WH 32 00 93 3 100 Tool Name Phoenix Type Order No Pcs Pkt Crimping Tool CRIMPFOX ZA 3 12 01 88 2 1 Do not touch live terminals otherwise electrical shocks may be caused When the power is on terminals to which extern...

Page 70: ...t come loose from the SmartAXIS This section describes the procedure to secure the USB extension cable to the USB cover 1 Open the SmartAXIS USB port cover and plug the panel attachment USB extension cable into the USB port 2 Wrap the cable tie around the USB port cover and the panel attachment USB extension cable 3 The cable tie can also be inserted through the holes on the USB port cover 4 Tight...

Page 71: ...ies Note SmartAXIS Touch series use WindO I NV3 software for programming See the SmartAXIS Touch User s Manual for instructions for programming and basic operation of WindO I NV3 with the Touch series Start WindLDR From the Start menu of Windows select Programs Automation Organizer V2 WindLDR WindLDR WindLDR starts and a blank ladder editing screen appears with menus and tool bars shown on top of ...

Page 72: ...he procedure to create the ladder program see Create Ladder Program on page 4 3 For the procedure to create the ladder program see Create FBD Program on page 4 7 Press this button then the same PLC will be selected as default when WindLDR is started next time PLC Selection Option SmartAXIS Type No FT1A 12 FT1A 24 FT1A 40 FT1A 48 FT1A H12RA FT1A B12RA FT1A H12RC FT1A B12RC FT1A H24RA FT1A B24RA FT1...

Page 73: ...gured as rung comments for individual rungs Start WindLDR From the Start menu of Windows select Programs Automation Organizer V2 WindLDR WindLDR WindLDR starts and a blank ladder editing screen appears with menus and tool bars shown on top of the screen Create a simple program using WindLDR The sample program performs the following operation When only input I0 is turned on output Q0 is turned on W...

Page 74: ...of input I0 1 From the WindLDR menu bar select Home Basic A Normally Open 2 Move the mouse pointer to the first column of the first line where you want to insert a NO contact and click the left mouse button Note Another method to insert a NO or NC contact is to move the mouse pointer where you want to insert the contact and type A or B The Normally Open dialog box appears ...

Page 75: ...st ladder line program the OUT instruction by inserting a NO coil of output Q0 7 From the WindLDR menu bar select Home Basic OUT Output 8 Move the mouse pointer to the third column of the first ladder line where you want to insert an output coil and click the left mouse button Note Another method to insert an instruction either basic or advanced is to type the instruction symbol OUT where you want...

Page 76: ...B1378 When completed the ladder program looks like below To insert a new ladder line without creating a new rung press the down arrow key when the cursor is on the last line or press the right arrow key when the cursor is at the right most column of the last line ...

Page 77: ...n on and off in a one second cycle Note The output FB and all the FBs connected on the left side of the input connector of the output FB are called the circuit block The output state of the output FB is the execution result of a single circuit block Insert input I0 1 From the WindLDR menu bar click Home Function Block Terminal I Digital Input 2 Move the mouse pointer to the FBD editor and click th...

Page 78: ...NUAL FT9Y B1378 Insert the AND logical AND FB 1 From the WindLDR menu bar click Home Function Block Basic AND Logical AND 2 Move the mouse pointer to the FBD editor and click the left mouse button AND B0 is inserted at the position of the mouse pointer ...

Page 79: ...line 1 From the WindLDR menu bar click Home Line Draw Line 2 Move the mouse pointer to the input I0 output connector 3 Click the left mouse button and drag the line to the AND B0 input 1 connector 4 Release the mouse button The output connector of the input I0 and the input 1 connector of the AND B0 are connected ...

Page 80: ...position of the mouse pointer 3 Connect the output connector of AND B0 and input connector of the output Q0 with a connection line Connect them in the same manner as Connect input I0 and AND B0 with a connection line on page 4 9 Insert input I1 and connect it to the input 2 of AND B0 Insert input I1 in the same manner as Insert input I0 on page 4 7 and connect it to the input 2 of AND B0 with a co...

Page 81: ...e For details on the special internal relay see Special Internal Relay Device Addresses on page 7 2 Creating the sample FBD program is now complete Convert Program The program can be checked whether it contains any user program syntax error From the menu bar select Home Convert Program group When the instruction FB symbols are connected correctly the program conversion is completed successfully If...

Page 82: ...ndLDR screen without connecting the SmartAXIS Ladder Program From the WindLDR menu bar select Online Simulation The Simulation screen appears To change an input status place the mouse pointer on the input and right click the mouse In the pop up menu select Set or Reset to set or reset the input To quit simulation from the WindLDR menu bar select Online Simulation ...

Page 83: ... turn on either input I1 or input I2 output Q1 continues to turn on and off in a one second cycle Notes To quit the simulation select Online Simulation Simulation again You can check the state of the input connectors and output connectors of each FB When input connectors output connectors and connection lines are in red they are on Blue indicates off For details on the state of unconnected input c...

Page 84: ...e USB Driver Installation Procedure on page A 5 1 From the WindLDR menu bar select Online Set Up 2 The Communication Settings dialog box appears Click the USB tab and then click OK The communication method is now set to USB Next download a user program 3 From the WindLDR menu bar select Online Download The Download dialog box appears then click OK The user program is downloaded to the SmartAXIS No...

Page 85: ...adder Program From the WindLDR menu bar select Online Monitor Monitor When both inputs I0 and I1 are on the ladder diagram on the monitor screen looks as follows Rung 1 When both inputs I0 and I1 are on output Q0 is turned off Rung 2 When both inputs I0 and I1 are on output Q1 is turned off Rung 3 When both input I0 and I1 are on internal relay M10 is turned on M8121 is the 1 sec clock special int...

Page 86: ...nues to turn on and off in a one second cycle Checking the operation is now complete Notes You can check the state of the input connectors and output connectors of each FB When input connectors output connectors and connection lines are in red they are on Blue indicates off For details on the state of unconnected input connectors of the FBs see the SmartAXIS FBD Programming Manual Exit WindLDR Whe...

Page 87: ...n 5 Click the Stop button to stop operation then the start control special internal relay M8000 is turned off The PLC operation can also be started and stopped while WindLDR is in the monitor mode Select Online Monitor Monitor and click the Start or Stop button Note Special internal relay M8000 is a keep type internal relay and stores the status when power is turned off M8000 retains its previous ...

Page 88: ...urned off The reset input has priority over the stop input System Statuses at Stop Reset and Restart The system statuses during running stop reset and restart after stopping are listed below I O Side Power ON OFF SmartAXIS Power ON OFF 0 sec or more 0 sec or more Order of Powerup and Powerdown To turn the power on turn on the SmartAXIS and I O sides at the same time or turn on the I O side first f...

Page 89: ...Timer interrupt When executing the same program repeatedly regardless of the scan time is required the timer interrupt can call a subroutine at specified time interval 5 41 Forced I O function The inputs or outputs of the SmartAXIS can forcibly be turned on or off regardless of the actual inputs and outputs status 5 43 Monitor Communication ports Communication mode and parameters for each communic...

Page 90: ...gure the following run stop control settings Stop input Reset input Run stop selection at memory backup error Run stop selection at power up Memory Backup When the SmartAXIS starts running device values in the RAM are kept or cleared Configure the keep clear settings for the following devices Internal relays Shift registers Counters Data registers Input Configuration Configure the inputs to use sp...

Page 91: ...lies the protection to the user program by configuring a password so unauthorized users cannot inadvertently upload or download it Self Diagnostic Configure the watchdog timer monitoring the operating status of the SmartAXIS Calendar Clock The SmartAXIS is equipped with an internal clock and its calendar data year month day day of the week and clock data hour minute second can be used in user prog...

Page 92: ...aded to the SmartAXIS after changing any of these settings Programming WindLDR 1 From the WindLDR menu bar select Configuration Run Stop Control The Function Area Settings dialog box for Run Stop Control appears 2 Click the check box under the Stop and Reset Inputs 3 Click the OK button Stop Input Click the check box on the left of Use Stop Input and type a desired input number available on the Sm...

Page 93: ... registers counters and data registers stored in the RAM are maintained for approximately 30 days Since this setting relates to the user program the user program must be downloaded to the SmartAXIS after changing this setting Programming WindLDR 1 From the WindLDR menu bar select Configuration Run Stop Control The Function Area Settings dialog box for Run Stop Control appears 2 Click the Run or St...

Page 94: ...backup error occurs the SmartAXIS is started or stopped according to Run Stop Selection at Memory Backup Error regardless of Run Stop Selection at Power Up For start stop operation see Start Stop Operation on page 4 17 Since this settings relate to the user program the user program must be downloaded to the SmartAXIS after changing this settings Programming WindLDR 1 From the WindLDR menu bar sele...

Page 95: ...es are maintained When the SmartAXIS is reset by turning on a designated reset input these statues and values are cleared despite the settings in the Configure Keep Clear Settings dialog box shown below The keep clear settings in this dialog box are not maintained when restarting the SmartAXIS Since these settings relate to the user program the user program must be downloaded to the SmartAXIS afte...

Page 96: ... are cleared at startup default Keep All All shift register bit statuses are maintained at startup Keep Specified Range A specified range of shift register bits are maintained at startup Enter the start keep number in the left field and the end keep number in the right field The start keep number must be smaller than or equal to the end keep number Valid shift register bit numbers are R0 through R...

Page 97: ...M8154 When M8154 is on at the end of scan the values of all data registers are written to ROM After all values are written the execution status is stored in D8133 and M8154 turns off M8155 When M8155 is on at the end of scan the values in the corresponding ROM are read and stored to the data registers specified by D8184 starting address to read and D8185 number of registers to read After all value...

Page 98: ...ample 12 I O model Example 24 40 48 I O model Data registers ROM ROM D0000 1234 D0000 111 D0001 2345 D0001 222 D0398 6789 D0398 888 D0399 7890 D0399 999 Data registers D0000 1234 1234 D0001 2345 2345 D0398 6789 6789 D0399 7890 7890 M8154 is ON 400 words D0000 D0001 D0398 D0399 Data registers ROM ROM D0000 1234 D0000 111 D0001 2345 D0001 222 D1998 6789 D1998 888 D1999 7890 D1999 999 Data registers ...

Page 99: ...3 and M8155 turns off Example 1 When reading the values of D0100 to D0179 80 words with a 12 I O model specify D8184 100 and D8185 80 and then turn on M8155 Data registers ROM D0000 1234 D0000 111 D0001 2345 D0001 222 D0100 440 D0100 10 D0101 441 D0101 20 D0178 518 D0178 700 D0179 519 D0179 710 D0398 6789 D0398 888 D0399 7890 D0399 999 M O R Data registers D0000 1234 D0000 111 D0001 2345 D0001 222...

Page 100: ... Data registers ROM D0000 1234 D0000 111 D0001 2345 D0001 222 D0800 440 D0800 10 D0801 441 D0801 20 D1498 518 D1498 700 D1499 519 D1499 710 D1998 6789 D1998 888 D1999 7890 D1999 999 M O R Data registers D0000 1234 D0000 111 D0001 2345 D0001 222 D0800 10 D0800 10 D0801 20 D0801 20 D1498 700 D1498 700 D1499 710 D1499 710 D1998 6789 D1998 888 D1999 7890 D1999 999 700 words When D8184 800 and D8185 70...

Page 101: ...igh speed Counter in the SmartAXIS FBD Programming Manual The AC power type does not support the high speed counter In situations where the high speed counter function is required use the DC power type Application example This application example punches holes into a roll of paper at a regular interval The two pulses A phase B phase that carry the phase difference output from the rotary encoder ar...

Page 102: ...nter Two phase high speed counter External inputs I0 I1 group 1 and I3 I4 group 3 can be used as two phase high speed counters External inputs I2 and I5 can be used as external clear inputs for group 1 and group 3 In this situation external inputs I2 and I5 cannot be used as single phase high speed counters Note If not used as the external clear input Z phase group 2 and group 4 can be used as sin...

Page 103: ...hese groups support 100 kHz maximum pulse input and are capable of counting in a range from 0 to 4 294 967 295 32 bits When the current value and the preset value match or an overflow or underflow occurs an external output turns on or an interrupt program is executed These groups only support the reset input via a special internal relay When the reset is executed the current value returns to the r...

Page 104: ...er counts by the phase difference between the A phase and B phase pulse input When the A phase precedes the B phase the counter counts up with the rise and fall of the B phase When the B phase precedes the A phase the counter counts down with the rise and fall of the B phase 4 edge count two phase high speed counter This counter counts by the phase difference between the A phase and B phase pulse ...

Page 105: ...value 2 3 4 in order When the final preset value 4 matches the current value the preset value returns to preset value 1 and the values are compared Preset value storage locations The preset values during high speed counter operation are stored as 2 words in special data registers Specify the data registers to store the preset values in WindLDR and store those preset values in the user program Spec...

Page 106: ...er preset value during execution does not change even when the preset value for that preset value number is changed When the current value and the current preset value match the preset value with the number stored in Next Preset Value Number becomes active Changes to the Next Preset Value Number data register must be performed before the preset value becomes active Counting state Count Before acti...

Page 107: ...ues counting Execute Comparison Output or Interrupt Program Comparison Output in this example Turn on the comparison special internal relay for only one scan Overwrite Current Preset Value Number with Next Preset Value Number and start the count with the preset value for Current Preset Value Number Add 1 to Next Preset Value Number 4 When the procedure is executed up to preset value 6 repeat again...

Page 108: ... catch input interrupt input or frequency measurement the high speed counter cannot be used However the interrupt program can only be used when ladder program is selected as the programming language 1 From the WindLDR menu bar select Configuration Input Configuration The Function Area Settings dialog box is displayed 2 Select Two Single phase High speed Counter for the group to use the high speed ...

Page 109: ...hase and B phase pulse input When the A phase precedes the B phase the counter counts up with the rise and fall of the B phase When the B phase precedes the A phase the counter counts down with the rise and fall of the B phase 4 edge count This counter counts at quadruple the frequency of the input pulse This counter counts by the phase difference between the A phase and B phase pulse input When t...

Page 110: ...elow 0 Note When the comparison action is Comparison Output and either a preset value overflow or underflow has been enabled as a comparison condition the text box to enter the comparison output is enabled The comparison output can be specified for each of these match conditions Keep After the current value matches the preset value select to reset the current value to a reset value or to keep the ...

Page 111: ...o I1 2 I2 3 I3 to I4 4 I5 5 I6 6 I7 Read Write Comparison Output Reset M8030 M8040 M8045 M8055 M8166 M8173 R W Gate Input M8031 M8041 M8046 M8056 M8167 M8174 Reset Input M8032 M8042 M8047 M8057 M8170 M8175 Reset Status M8033 M8050 R Comparison ON Status M8034 M8043 M8051 M8060 M8171 M8176 Overflow M8035 M8044 M8052 M8061 M8172 M8177 Underflow M8036 M8053 Count Direction flag M8037 M8054 Group 1 I0...

Page 112: ...egisters as 2 words When the 32 bit data storage setting in the function area settings is set to From Lower Word the lower word is stored in the first device Group 1 I0 to I1 2 I2 3 I3 to I4 4 I5 5 I6 6 I7 Read Write Overflow M8035 M8044 M8052 M8061 M8172 M8177 R Group 1 I0 to I1 2 I2 3 I3 to I4 4 I5 5 I6 6 I7 Read Write Underflow M8036 M8053 R Group 1 I0 to I1 2 I2 3 I3 to I4 4 I5 5 I6 6 I7 Read ...

Page 113: ...on and indicates the adding subtracting direction for the previous comparison Group 1 I0 to I1 2 I2 3 I3 to I4 4 I5 5 I6 6 I7 Read Write HSC Reset Input I2 I5 Reset Status M8033 M8050 R Counting mode Count direction flag status When the count direction flag changes Single phase high speed counter Adding counter Always the adding direction None Up down selection reversible counter Adding direction ...

Page 114: ... box is selected in the settings in the WindLDR High speed Counter Settings the current value is kept 5 Q1 maintains the on state until comparison output reset M8030 turns on M8034 turns on for only one scan 6 When the gate output turns off counting stops Note High speed counter usage precautions The high speed counter starts the count operation with the following two conditions The SmartAXIS star...

Page 115: ...e B phase pulse I1 the count goes up When the B phase pulse I1 precedes the A phase pulse I0 the count goes down 4 When the current value and preset value 1 D8052 D8053 match the preset value 1 comparison output Q1 and setting value match M8034 turn on When preset value 1 matches preset value 2 is stored in the preset value D8052 D8053 as the new preset value and counting continues 5 The preset va...

Page 116: ...t Two Single phase High speed Counter for Group 1 In High speed Counter Settings configure the settings as follows External input Group 1 I0 to I1 Operation mode Single phase High speed Counter Counting Mode Adding Counter Comparison Action Comparison Output Comparison settings Tag name device address D0 data register Number of preset values 1 Comparison output Q2 external output when matched Pres...

Page 117: ...ing in the END processing after the 3rd scan is executed Store the reset value in D8054 D8055 Store 1 in the next preset value number D2 Turn off gate input M8031 Turn off M0 D1 D2 REP S1 1 MOV W D1 D8054 REP S1 0 MOV D D1 D4 REP S1 1000 MOV D 2nd scan Detect the falling edge of the initialize pulse M0 and M8032 turn on Initialize the current value with the reset value in the END processing after ...

Page 118: ...irectly connected to the paper feed roller and output pulses are counted by the high speed counter and controlled The cycle time is the time to count 2 700 pulses When the hole punch time is 0 5 seconds the operation condition is 2 700 pulse count time 0 5 seconds Paper roll Paper feed roller Perforator Rotary encoder SmartAXIS External input Group 1 I0 to I1 Operation mode Two phase High speed Co...

Page 119: ...scan Store 2 700 in preset value 1 D4 D5 3rd scan Detect the rising edge of M0 turn on gate input M8031 2nd scan Detect the falling edge of the initialize pulse M0 and M8032 turn on Initialize the current value with the reset value in the END processing after the 2nd scan is executed Store 0 in the reset value D8054 D8055 Turn off gate input M8031 Turn off M0 M8032 reset input is a special interna...

Page 120: ...rogram must be downloaded to the SmartAXIS after changing any of these settings Catch Input Specifications Note Input filter settings have no effect on the catch inputs For the input filter function see Input Filter on page 5 38 Catch Input Terminals and Special Internal Relays for Catch Inputs Note Only the 24 40 and 48 I O types can use external inputs I6 and I7 as catch inputs The 12 I O type c...

Page 121: ...assigned to a catch input is turned on for only one scan This example demonstrates a program to maintain a catch input status for more than one scan Actual Input ON OFF Catch Input Relay ON OFF M8090 M8095 Note END Processed 1 scan time Actual Input ON OFF Catch Input Relay ON OFF M8090 M8095 Note END Processed 1 scan time Input I2 is designated as a catch input using the Function Area Settings Wh...

Page 122: ...use external inputs I6 and I7 as interrupt inputs The 12 I O type cannot use external inputs I6 and I7 as interrupt inputs Programming WindLDR 1 From the WindLDR menu bar select Configuration Input Configuration The Function Area Settings dialog box for Input Configuration appears 2 Select Interrupt Input in the Groups 1 through 6 pull down list boxes the Interrupt Input dialog box appears 3 Selec...

Page 123: ...nterrupt input is turned on at the same time interrupt program execution is given priority to inputs I0 I2 I3 I5 I6 and I7 in that order If an interrupt is initiated while another interrupt program is executed the subsequent interrupt program is executed after the prior interrupt is completed Multiple interrupt programs cannot be executed simultaneously Make sure that the execution time of the int...

Page 124: ...Area Settings The frequency measurement results are stored in the following special data registers Read only Notes If the input pulse cycle is longer than the scan time the measurement results are updated at pulse cycle 1 scan time The data registers for the upper word and the lower word of the measurement value change according to the 32 bit data storage method specified For details see 32 bit Da...

Page 125: ...nload the user program to the SmartAXIS Frequency measurements will start when you download the user program and set the SmartAXIS to run 1 From the WindLDR menu bar select Configuration Input Configuration The Function Area Settings dialog box is displayed 2 Specify Frequency Measurement for the group to use frequency measurement 3 Click OK This concludes configuring the settings ...

Page 126: ...ng the input filter function select Normal Input under Special Inputs on the Input Configuration dialog box in the Function Area Settings Since these settings relate to the user program the user program must be downloaded to the SmartAXIS after changing any of these settings Programming WindLDR 1 From the WindLDR menu bar select Configuration Input Configuration The Function Area Settings dialog b...

Page 127: ...the slower the tracking of the change in analog input becomes When filtering the input value is calculated with the equation below Analog Input Allocation The analog inputs are shared with the digital inputs The allocation of analog inputs varies based on to the model 12 I O type 24 I O type 40 I O type 48 I O type Analog input I 0 1 2 3 4 5 6 7 Special data register that stores the analog input v...

Page 128: ...nction Area Settings in WindLDR and download the user program to the SmartAXIS 1 From the WindLDR menu bar select Configuration Input Configuration The Function Area Settings dialog box is displayed 2 Specify Analog for the external input to use as analog input and configure Filter Count Click Default to set all the external inputs to digital 3 Click OK This concludes configuring the settings Powe...

Page 129: ...m the user program must be downloaded to the SmartAXIS after changing any of these settings Special Data Register and Special Internal Relay for Timer Interrupt Note A label is the starting address of the program branch to jump to and it is specified by the LABEL instruction Programming WindLDR 1 From the WindLDR menu bar select Configuration Input Configuration The Function Area Settings dialog b...

Page 130: ... respectively If an interrupt is initiated while another interrupt program is executed the subsequent interrupt program is executed after the prior interrupt is completed Multiple interrupt programs cannot be executed simultaneously Make sure that the execution time of the interrupt program is shorter than interrupt intervals sufficiently Interrupt programs cannot use the following instructions SO...

Page 131: ...on execution state while stopped cannot be checked with the module s power run status LED For the power run status LED see Product Specifications on page 2 1 The forced I O may cause unexpected operation of the SmartAXIS Make sure of safety before forcing inputs or outputs Caution Type Device Range Inputs Outputs 12 I O type I0 to I7 Q0 to Q3 24 I O type I0 to I17 I40 to I75 I80 to I115 I120 to I1...

Page 132: ...bers and force I O statuses can be specified in this dialog box 3 Click the New button and type an input or output number under Device in the list Click the Force On button or Force Off button to force on or off the designated input or output 4 To start the forced I O function click the Start Suspend Force button The forced I O can be suspended temporarily by clicking the Start Suspend Force butto...

Page 133: ... works as a normal input Note Make sure that all the forced inputs and outputs are released when the test using the forced I O function is finished Select Delete All from the right click menu in the Forced I O List dialog box to release all the forced inputs and outputs at once Even though I0 is designated forced I O is suspended and actual input status is read to the SmartAXIS Input I0 is release...

Page 134: ...cable Ethernet port The SmartAXIS can communicate with Ethernet compatible devices such as computers and operator interfaces Maintenance communication user communication Modbus communication and remote I O are all possible Expansion communication ports Maintenance communication user communication and Modbus RTU communication are all possible Maintenance communication Chapter 9 Maintenance communic...

Page 135: ...umber Signal Name Cable Color Signal Direction Peripheral Device D SUB Cover Port 2 Port 3 Shield RS232C 1 RS RTS RS RTS Black DR 2 ER DTR ER DTR Yellow CTS 3 SD TXD SD TXD Blue RD 4 RD RXD RD RXD Green SD 5 DR DSR DR DSR Brown RS 6 SG SG Gray None SG 7 SG SG Red SG 8 NC NC White NC Pin Number Signal Name Cable Color Signal Direction Peripheral Device D SUB Cover Port 2 Port 3 Shield RS485 1 A A B...

Page 136: ...n Ports The Function Area Settings dialog box is displayed 2 In the Communication Mode pull down list for the appropriate port select the communication mode The configuration dialog that corresponds to the communication mode is displayed 3 Change the settings on the configuration dialog according to the communication format for the destination device A user communication example is shown below 4 C...

Page 137: ...martAXIS For the SmartAXIS Pro the user program on the memory cartridge can be downloaded or uploaded to the SmartAXIS Pro module with the LCD and operation buttons Notes Always turn the SmartAXIS off before removing or installing a memory cartridge If the memory cartridge is inserted or removed with the power on SmartAXIS operation cannot be guaranteed There is a risk of the product failing The m...

Page 138: ...Pro the user program can also be downloaded using the LCD and operation buttons Programming WindLDR Insert the memory cartridge into the SmartAXIS turn the power on and then connect the SmartAXIS to the computer WindLDR 1 From the WindLDR menu bar select Configuration Cartridge The Function Area Settings dialog box is displayed 2 Select the Enable Memory Cartridge Download check box 3 Click OK Thi...

Page 139: ...box is displayed Note If the user program on the SmartAXIS to upload is password protected click Password and enter the password 3 Click OK The user program on the memory cartridge is deleted at this time 4 Turn off the SmartAXIS power and remove the memory cartridge This concludes configuring the settings for the memory cartridge to upload the user program from the SmartAXIS 5 Insert the memory c...

Page 140: ...ard as the log data CSV files The DLOG instruction FB outputs the date and time and the device values of the specified devices to the CSV file in the specified folder The TRACE instruction FB outputs the date and time and the device values of the previous number of scans for the specified devices to the CSV file in the specified folder For details on the DLOG and TRACE instructions see Chapter 26 ...

Page 141: ...SmartAXIS is running The Data File Manager uses the maintenance communication protocol of SmartAXIS so it can be used only when the maintenance communication is possible For example the communication over Ethernet is not possible if the port number is different The operating speed varies according the state of communications with the SmartAXIS and the capacity of the SD memory card The Data File M...

Page 142: ...view in the Data File Manager the contents of the folder are displayed Deleting files and folders Operation procedure 1 On the details view right click on a file or folder and select Delete 2 On the delete confirmation dialog click Yes The file or folder is deleted Uploading files Operation procedure 1 Click Upload button on the toolbar A dialog box is displayed for you to enter the location to sa...

Page 143: ... data trace instruction FB the files are saved under the TRACE folder The name of folder storing files is specified in the DLOG and the TRACE instructions FB Toolbar SD memory card DATA0001 fixed 20111201 csv 20111202 csv DATALOG fixed RESULT RESULT 20111210 csv 20111212 csv TRACE fixed Folder name The folder name is specified by S1 of the DLOG instruction FB Any name with a maximum of eight singl...

Page 144: ...nterval Reading from or writing to the SD memory card Off When an SD memory card is not inserted When an unsupported or unformatted SD memory card is inserted When access to the SD memory card is stopped by SD memory card access stop flag M8076 When the SmartAXIS is turned off The SD memory card can be removed Address Function Description Read Write M8026 SD Memory Card Status This special interna...

Page 145: ...ult value configured in the Function Area Settings is stored in D8074 once the user program downloaded is completed If the backup battery is dead the default value is stored in D8074 The backlight ON time can be configured with HMI function of SmartAXIS Pro For details see Setting the LCD Backlight ON Time on page 6 10 Programming WindLDR 1 From the WindLDR menu bar select Configuration LCD Settin...

Page 146: ...e of contacts using the operation buttons The ladder program can be monitored regardless of the Run Stop status of the SmartAXIS Notes In order to monitor the ladder program on the LCD of the SmartAXIS Pro you need to configure settings using WindLDR There are two restrictions in creating the ladder programs that can be displayed on the LCD Create ladder programs considering those restrictions A m...

Page 147: ...on LCD Settings The Function Area Settings dialog box is displayed 2 Select the Enable ladder program monitoring on FT1A check box 3 Click the OK button This concludes configuring the settings Note The setting you select in the Ladder Program Monitoring on FT1A dialog box at the start up of WindLDR can be changed in the Function Area Settings dialog box later ...

Page 148: ...nstruction see Chapter 13 Display Instructions in the SmartAXIS Ladder Programming Manual For details on the MSG FB see Chapter 14 The interface FB MSG FB Common Settings in the SmartAXIS FBD Programming Manual Character Set The character set used for the messages can be configured Scroll Unit The unit to scroll the texts can be configured Scroll Speed The speed to scroll the texts can be configur...

Page 149: ... WindLDR 1 From the WindLDR menu bar select Configuration LCD Settings The Function Area Settings dialog box is displayed 2 Configure the character set scroll unit scroll speed and blinking speed in the message settings 3 Click the OK button This concludes configuring the settings ...

Page 150: ...elected The low word data is loaded from or stored to the subsequent device This is identical with the 32 bit data storage of OpenNet Controller and FC4A FC5A MicroSmart From Lower Word When a data register timer or counter is used as a double word device the low word data is loaded from or stored to the first device selected The high word data is loaded from or stored to the subsequent device Dev...

Page 151: ...10 is designated as a double word source device and data register D20 is designated as a double word destination device the data is loaded from or stored to two consecutive devices according the 32 bit data storage setting as illustrated below 305419896 Double word Data High Word D10 12345678h Source Device From Upper Word 4660 1234h Low Word D11 22136 5678h Low Word D10 22136 5678h High Word D11 ...

Page 152: ...AXIS Pro the password must be entered with the LCD and operation buttons on the module Note Before proceeding with the following steps make sure to note the protect code which is needed to disable the user program protection If the user program in the SmartAXIS is write or read write protected the user program cannot be changed without the protect code If the user program is read protected without...

Page 153: ...without user program protection 1 From the WindLDR menu bar select Online Download or Upload When the user program in the SmartAXIS is read and or write protected the Protect Error dialog box appears When program verification or online edit is attempted the Protect Error dialog box appears 2 Enter the password and click the OK button The user program protection is disabled only temporarily When th...

Page 154: ... timer setting time in either of the following two ways Decide by user system specification Determine the maximum on time milliseconds so the output signals do not stay on if the SmartAXIS loses control and set that value as the watchdog timer setting time However if the ladder program processing time takes longer than the design specification use an NOP no operation instruction in the ladder prog...

Page 155: ...seconds When the actual scan time is longer than the scan time preset value the scan time cannot be reduced to the constant value Special Data Registers for Scan Time In addition to D8022 three more special data registers are reserved to indicate current maximum and minimum scan time values Note R W is the abbreviation for read write When R W it can be read and written When R it can only be read W...

Page 156: ...the SmartAXIS internal clock is set using WindLDR or the operator interface the time is not adjusted for daylight savings time even if the time after it was set is within the daylight savings time period Set the time to the time adjusted for daylight savings time The set date and time becomes the date and time after being adjusted for daylight savings time Programming WindLDR Configure daylight sa...

Page 157: ...ecessary 4 Click OK The date and time configured in the dialog box is written to the SmartAXIS Function Description Read clock The current time calendar clock is updated every 500 ms and automatically stored in the special data registers Set clock Sets the current time calendar clock Set the current time with WindLDR or a user program that uses the special data registers Adjust function When clock...

Page 158: ...M8020 After writing data to the write calendar clock special data registers D8015 to D8021 turn M8020 off to on to set the internal clock with the data in D8015 to D8021 as the calendar data year month day day of the week and the clock data hour minute second Calendar and clock data storage locations The calendar clock data is stored in the following special data registers Note If the scan time is...

Page 159: ...02 REP MOV W S1 2 D1 D0003 REP MOV W S1 9 D1 D0004 REP MOV W S1 35 D1 D0005 REP MOV W S1 0 D1 D0006 REP MOV W S1 R D0000 D1 R D8015 REP 4 I0000 M0000 SOTU MOV W S1 R D0004 D1 R D8019 REP 3 I0001 M0001 SOTU MOV W S1 R D8008 D1 R D0010 REP 7 M8125 M8020 M0000 M0001 M8120 is the initial pulse that turns on for only one scan at the start of operation When the SmartAXIS starts operating the current cal...

Page 160: ...gs are applied when the user program is finished downloading Consult the network administrator regarding the IP address to configure Note 1 The SmartAXIS default settings are IP address 192 168 1 5 subnet mask 255 255 255 0 default gateway 0 0 0 0 Note 2 When automatically acquiring an IP address using DHCP the same IP address may not be assigned each time depending on the DHCP server settings and...

Page 161: ...of connections with remote hosts can be confirmed with special internal relays M8110 to M8112 When a connection with a remote host is established the corresponding special internal relay is turned on When the connection is disconnected the corresponding special internal relay is turned off The IP addresses of the remote hosts can be confirmed with special data registers D8110 to D8121 Note R W is ...

Page 162: ...cation Mode for the connection to use Configure the communication mode allocated to a maximum of three connections that can be used as client or server Each connection can be set to a different port number Set connections that are not used to Unused 3 Select Maintenance Communication Server The Maintenance Communication Server dialog box is displayed 4 Specify the parameters Click OK This conclude...

Page 163: ...ost Name and a Port Number When a remote host is specified with an IP address and the SmartAXIS establishes connection with the remote host that has the specified IP address and the corresponding port number then communication is started When a remote host is specified with a host name the SmartAXIS tries to obtain the IP address from the specified host name using the DNS server If the IP address ...

Page 164: ...lect that remote host in the Remote Host List dialog box and click on Delete button Once a remote host is deleted the remote host numbers of the following remote hosts are changed As a result the functions referring to those remote hosts such as Modbus TCP client or User communication client will be affected IP Address Specify the remote host with an IP address Port Number Specify the port number ...

Page 165: ...n area settings slave number message scroll speed scroll unit blinking speed and LCD backlight ON time can be modified The system menu language can also be changed Calendar Clock Configures the calendar clock of the SmartAXIS internal clock Monitors Device Monitor Displays modifies the specified device values Program Monitor Displays the ladder program The on off state of bit devices can be change...

Page 166: ...sage Screen The SmartAXIS can display messages on the LCD using the MSG message instruction FB While the SmartAXIS is running the message is displayed when the input conditions of MSG message instructions FB are ON Multiple message screens with different priorities can be switched and displayed with the up and down buttons Running Stopped 2012 OCT 10 WED 13 30 40 2012 OCT 10 WED 13 30 40 Run Edit ...

Page 167: ...uttons Moves the cursor left and right These buttons are used to move the cursor while changing digits entering password or operating on the ladder display screen ESC OK buttons Confirm menu items with the OK button Return to the previous screen with the ESC button Press Hold Operation Press short press The switch is pressed for 0 1 seconds or more and less than three seconds and then released Pre...

Page 168: ... above If the cursor is on the top rung it moves the cursor to the top line of that rung Press Moves the cursor down one line When the cursor is on the last line of the ladder nothing happens Press and hold Moves the cursor to the top line of one rung below If the cursor is on the bottom rung it moves the cursor to the top line of that rung Press Moves the cursor once to the left When the cursor i...

Page 169: ... the item selected with the cursor If the bottom of the item list is displayed nothing happens Press and hold Repeats the press operation Press Moves the cursor once to the left Press and hold Repeats the press operation Press Moves the cursor once to the right Press and hold Repeats the press operation Press Confirms the modification Press and hold Not valid Press Discards the modification Press ...

Page 170: ...In further descriptions this is explained as ESC OK buttons 1 and 2 in the diagram indicate the order to push the switches The system menu is displayed While the SmartAXIS is running the top screen for the running system menu is displayed On the system menu screen press the ESC OK buttons to return to the standard screen SmartAXIS Stopped 2012 OCT 10 WED 13 30 40 Stopped 13 30 40 2012 OCT 10 WED 1...

Page 171: ...ps to stop the SmartAXIS 1 On the standard screen press the ESC OK buttons The system menu is displayed 2 Select Stop and press the OK button 3 Select Yes with the down button and press the OK button The SmartAXIS is set to stop Stopped 2012 OCT 10 WED 13 30 40 Run Edit Program External Memory Configurations Running 13 30 40 2012 OCT 10 WED When setting the SmartAXIS to run by using the buttons on...

Page 172: ... so this section describes how to switch the language to Japanese 1 On the standard screen press the ESC OK buttons The system menu is displayed 2 Select Configurations with the up and down buttons and press the OK button 3 Select Menu Languages and press the OK button 4 Select Japanese with the down button and then press the OK button to confirm Selectable menu languages The menu languages that c...

Page 173: ...ample modify Minute 7 Modify Minute with the up and down buttons 8 Press the OK button to confirm the modifications to the calendar clock Calendar clock configuration range The calendar clock configuration range is as follows Notes When the date is modified the day of the week automatically changes The day of the week is not displayed on the configuration screen If an invalid date is set an error ...

Page 174: ... right buttons 5 Select the value with the up and down buttons and then press the OK button to set the backlight ON time Backlight ON time configuration range The backlight ON time configuration range is as follows 0 to 65 535 seconds Notes The default backlight ON time is 10 seconds The default value can be modified in WindLDR Function Area Settings dialog box For details see Backlight ON Time on...

Page 175: ...button 4 Select Communications with the up and down buttons and press the OK button 5 Select Slave Number with the up and down buttons and press the OK button The port selection screen is displayed 6 Select Port 2 with the up and down buttons and press the OK button For example change the slave number of the port 2 to 1 7 Specify 1 with the up and down buttons and press the OK button Selectable sl...

Page 176: ...d Press the ESC button or the button to return to the configuration screen and then set the correct slave number again For maintenance communication see Maintenance Communication via Expansion Communication Port on page 9 3 and for Modbus RTU slaves see Modbus Communication via RS 232C RS 485 on page 11 1 Configuring the Network Settings When the SmartAXIS 24 40 48 I O type is stopped you can conf...

Page 177: ...n Settings Modifying the Scroll Speed While the SmartAXIS is stopped you can configure the scroll speed for messages displayed with the message MSG instruction FB This cannot be configured while the SmartAXIS is running 1 In step 4 of Configuring the Slave Number select Message Settings and press the OK button 2 Select Scroll Settings with the up and down buttons and press the OK button 3 Select S...

Page 178: ... The scroll units that can be selected are as follows 1 character 1 pixel Configuring the Blinking Speed When the SmartAXIS is stopped you can configure the blinking speed for messages displayed with the message MSG instruction FB This cannot be configured while the SmartAXIS is running 1 In step 2 of Configuring the Scroll Speed select Blink Settings and press the OK button 2 Select Blinking Spee...

Page 179: ...M Internal Relay M Special Internal Relay R 2 Press the up and down buttons The device numbers change Modifying Device Values This section describes how to specify a device and modify that device value Modifying a Bit Device Value This section describes an example of switching on M0012 while the SmartAXIS is running 1 On the standard screen press the ESC OK buttons The system menu is displayed 2 S...

Page 180: ... OK button The SmartAXIS switches to the Device Monitor mode 3 Select device type D Data Register with the left and right buttons and press and hold the OK button 4 Select D0002 with the up and down buttons and press the OK button 5 Move the digit with the right button and modify the value with the up and down buttons 6 Press the OK button to confirm M 01234567 M 01234567 M 01234567 M 012345 0000 ...

Page 181: ...eset values differ from the device values in the ROM T C is changed is displayed on the standard screen When the SmartAXIS is running put it to Stop mode For the steps to stop the SmartAXIS see Switching run stop on page 6 7 2 On the standard screen press the ESC OK buttons The system menu is displayed 3 Select Edit Program with the up and down buttons and press the OK button 4 Select T C Preset V...

Page 182: ...adder program is selected as the programming language The on off state of bit devices can also be modified 1 On the standard screen press the ESC OK buttons The system menu is displayed 2 Select Program Monitor with the up and down buttons and press the OK button The SmartAXIS switches to the Program Monitor mode 3 Select Last Monitored Line with the up and down buttons and press the OK button 4 T...

Page 183: ...tatus is displayed Press the down button 6 The download protection status is displayed Running 13 30 40 2012 OCT 10 WED Stopped 2012 OCT 10 WED 13 30 40 When the SmartAXIS is stopped When the SmartAXIS is running External Memory Device Monitor Program Monitor Status Monitor Configurations Device Monitor Program Monitor Status Monitor When the SmartAXIS is stopped When the SmartAXIS is running Syst...

Page 184: ... have occurred are displayed 4 Press the ESC button 5 Select Clear Error with the down button and press the OK button 6 Select Yes with the down button and press the OK button General errors and user program execution error are cleared Note For details on error information see Troubleshooting on page 14 1 When an error occurs while SmartAXIS is running and the SmartAXIS continues running When an e...

Page 185: ...ns The system menu is displayed 2 Select Error Status with the up and down buttons and press the OK button 3 The error code is displayed 4 Select the error type with the up and down buttons and press the OK button Only errors that have occurred are displayed Device Monitor Program Monitor Status Monitor Error Status General Error 㸸 3 Execution Error 㸸 0 Clear Error General Error 㸸 3 Power failure ...

Page 186: ... press the OK button The confirmation screen is displayed 6 Select Yes with the down button and press the OK button 7 The screen below is displayed while the user program is uploaded When the upload is finished the screen in step 4 is displayed Notes In either of the situations below the password must be entered The user program on the SmartAXIS has been password protected for program uploads The ...

Page 187: ... button 7 The screen below is displayed while the user program is downloaded When the download is finished the screen in step 4 is displayed Notes In either of the situations below the password must be entered The user program on the SmartAXIS has been password protected for program uploads The user program on the memory cartridge has been password protected for program downloads If an invalid pas...

Page 188: ... is displayed Switching between Multiple Message Screens 1 On the standard screen press the up button The message with the highest priority is displayed out of all the MSG instructions FB with the inputs on 2 Press the up button The message with the next highest priority is displayed 3 Press the down button 4 Press the ESC button to return to the standard screen For details on the MSG instruction ...

Page 189: ... and down buttons and press the OK button 5 Select Yes with the down button and press the OK button 6 While the access to the SD memory card is being stopped the screen below is displayed When stopping the access is finished the screen in step 4 is displayed Notes Set the write protect switch on the SD memory card to insert into the SmartAXIS module to the off position Insert and remove the SD mem...

Page 190: ...ory with the up and down buttons and press the OK button 3 Select SD Card with the up and down buttons and press the OK button 4 Select Format with the up and down buttons and press the OK button 5 Select Yes with the down button and press the OK button 6 While the SD memory card is being formatted the screen below is displayed When the format is finished the screen in step 4 is displayed Stopped ...

Page 191: ...ugh z 3 Move the cursor to the second character with the right button 4 With the up and down buttons select an alphanumeric character 5 Enter the password using the same steps and press the OK button When the correct password is entered the menu for the next step is displayed Notes The characters that can be entered on the password screen are as follows However the space cannot be used as a passwo...

Page 192: ...t require a password T C Preset Values Slave Number Communications Function Clock Backlight Menu Languages Port 2 Port 3 IP Address Subnet Mask Default Gateway Message Settings Scroll Settings Scroll Speed Scroll Unit Blinking Speed Run Edit Program General Error Execution Error Clear Error Configurations External Memory Memory Cartridge SD Card PLC Cartridge Cartridge PLC Stop Access Last Monitor...

Page 193: ...elay and special internal relay device address is an octal number 0 through 7 Upper digits are decimal numbers 2 Out of data registers D0 through D1999 D1000 through D1999 cannot be designated as keep types Retained in STOP RUN but zeroed out when the power is turned on 3 When you use data register ROM backup you can initialize the data registers with the values backed up in ROM For details see Ch...

Page 194: ...te X X M8020 Calendar Clock Data Write Flag Operating Cleared Write X X M8021 Clock Data Adjust Flag Operating Cleared Write X X M8022 User Communication Receive Instruction Cancel Flag Port 2 Cleared Cleared Write X M8023 User Communication Receive Instruction Cancel Flag Port 3 Cleared Cleared Write X M8024 BMOV WSFT Executing Flag Maintained Maintained Read X M8025 Maintain Outputs While CPU St...

Page 195: ... Cleared Cleared Read X M8085 Interrupt Input I7 Edge Cleared Cleared Read X M8086 M8087 Reserved M8090 Catch Input ON OFF Status Group 1 I0 Maintained Cleared Read X X M8091 Group 2 I2 Maintained Cleared Read X X M8092 Group 3 I3 Maintained Cleared Read X X M8093 Group 4 I5 Maintained Cleared Read X X M8094 Group 5 I6 Maintained Cleared Read X X M8095 Group 6 I7 Maintained Cleared Read X X M8096 ...

Page 196: ...is selected as the programming language see Chapter 4 Instructions Reference Carry and Borrow in the SmartAXIS Ladder Programming Manual M8130 Disconnect User Communication Connection Connection 1 Maintained Cleared Read Write X M8131 Connection 2 Maintained Cleared Read Write X M8132 Connection 3 Maintained Cleared Read Write X M8133 M8143 Reserved M8144 Timer Interrupt Status ON Allowed OFF Proh...

Page 197: ...a are set to the internal clock M8020 Calendar Clock Data Write Flag When M8020 is turned on data in data registers D8015 through D8021 calendar clock new data are set to the internal clock M8021 Clock Data Adjust Flag When M8021 is turned on the clock is adjusted with respect to seconds If seconds are between 0 and 29 for current time adjustment for seconds will be set to 0 and minutes remain the...

Page 198: ...am only When M8100 M8101 or M8102 is turned on all ERXD instructions ready for receiving user communication through connection 1 connection 2 or connection 3 are disabled respectively This function cannot be used when FBD program is selected as the programming language M8110 M8112 Connection Status When SmartAXIS and a network device are connected via the maintenance communication server user comm...

Page 199: ...reater than that of device designated by S2 S3 S2 See Chapter 7 Data Comparison Instructions Special Internal Relays M8150 M8151 and M8152 in ICMP in the SmartAXIS Ladder Programming Manual This function cannot be used when FBD program is selected as the programming language M8152 Comparison Result 3 Ladder program only When the CMP instruction is used M8152 is turned on when the value of device d...

Page 200: ...o 1 000 ms X X 7 11 D8023 Scan Time Current Value ms Every scan X X 7 11 D8024 Scan Time Maximum Value ms At occurrence X X 7 11 D8025 Scan Time Minimum Value ms At occurrence X X 7 11 D8026 Communication Mode Information Port 2 and Port 3 Every scan X X 7 12 D8027 Port 2 Slave Number Every scan X X 7 12 D8028 Port 3 Slave Number Every scan X X 7 12 D8029 System Software Version Power up X X 7 12 ...

Page 201: ...d Current Value Frequency Measurement Value I5 Every scan X X 7 13 D8069 Low Word X X D8070 High Word Preset Value X X 7 13 D8071 Low Word X X D8072 High Word Reset Value X X 7 13 D8073 Low Word X X D8074 Backlight ON Time Every scan X X 7 13 D8075 D8076 Reserved D8077 Out of Analog Input Range Status X X 7 13 D8078 MAC Address Read only Every 1 sec X X 7 13 D8079 X X D8080 X X D8081 X X D8082 X X...

Page 202: ... Word Current Value Frequency Measurement Value I7 Every scan X X 7 13 D8141 Low Word X X D8142 High Word Preset Value X X 7 13 D8143 Low Word X X D8144 High Word Reset Value X X 7 13 D8145 Low Word X X D8146 Reserved D8147 D8148 Remote I O Slave 1 Communication Error Status When error occurred X X 7 15 D8149 Analog Input AI10 Every scan X X 7 15 D8150 Analog Input AI11 Every scan X X 7 15 D8151 A...

Page 203: ...am Execution Error on page 14 6 D8008 D8021 Calendar Clock Data D8008 through D8021 are used for reading calendar clock data from the internal clock and for writing calendar clock data to the internal clock D8022 D8025 Scan Time Data D8022 through D8025 are special data registers for checking the scan time and configuring the constant scan time For details on the SmartAXIS Pro Lite scan time see C...

Page 204: ...rmation Information about the communication adapters installed on the port 2 and port 3 connectors is stored to D8030 D8031 Optional Cartridge Information Information about the optional cartridge installed on the SmartAXIS is stored to D8031 D8032 D8035 D8037 D8038 Interrupt Input Jump Destination Label No Ladder program only Jump destination label numbers for interrupt inputs are stored in these ...

Page 205: ...or details on the SmartAXIS Pro Lite high speed counter see High Speed Counter on page 5 13 D8074 Backlight ON Time The backlight ON time is stored The backlight ON time can be configured by changing the value in D8074 between 1 to 65535 seconds When D8074 is 0 the backlight is always ON The backlight ON time can also be changed with the HMI function For details see Backlight ON Time on page 5 57 ...

Page 206: ...ss The IP address of the remote host accessing connection 1 through 3 is stored in special data registers Example Connection 1 Connected IP Address aaa bbb ccc ddd D8110 aaa D8111 bbb D8112 ccc D8113 ddd D8130 D8132 Connection Connected Port Number When connections are established with other network devices the port numbers of the connected network devices are stored in these special data register...

Page 207: ... the remote I O analog inputs are converted to digital values 0 to 1000 and stored in the special data registers allocated to each remote I O slave When the programming language is FBD the linear conversion can be configured for each analog input AI Even when the linear conversion is configured for the analog inputs the special data registers store the analog values 0 to 1000 before the linear con...

Page 208: ...7 DEVICE ADDRESSES 7 16 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...

Page 209: ...on Equal to comparison of counter current value CC Counter Comparison Greater than or equal to comparison of counter current value CDP Dual Pulse Reversible Counter Dual pulse reversible counter 0 to 65 535 CDPD Double word Dual Pulse Reversible Counter Double word dual pulse reversible counter 0 to 4 294 967 295 CNT Adding Counter Adding counter 0 to 65 535 CNTD Double word Adding Counter Double ...

Page 210: ...553 5 sec TIMO 100 ms Off delay Timer Subtracting 100 ms off delay timer 0 to 6553 5 sec TMH 10 ms Timer Subtracting 10 ms timer 0 to 655 35 sec TMHO 10 ms Off delay Timer Subtracting 10 ms off delay timer 0 to 655 35 sec TML 1 sec Timer Subtracting 1 sec timer 0 to 65535 sec TMLO 1 sec Off delay Timer Subtracting 1 sec off delay timer 0 to 65535 sec TMS 1 ms Timer Subtracting 1 ms timer 0 to 65 5...

Page 211: ...or Equal To X X X X X CMP Compare Greater Than or Equal To X X X X X ICMP Interval Compare Greater Than or Equal To X X X X X LC Load Compare Equal To X X X X X LC Load Compare Unequal To X X X X X LC Load Compare Less Than X X X X X LC Load Compare Greater Than X X X X X LC Load Compare Less Than or Equal To X X X X X LC Load Compare Greater Than or Equal To X X X X X Binary Arithmetic ADD Additi...

Page 212: ...Return DJNZ Decrement Jump Non zero DI Disable Interrupt EI Enable Interrupt IOREF I O Refresh HSCRF High speed Counter Refresh Coordinate Conversion XYFS XY Format Set X X CVXTY Convert X to Y X X CVYTX Convert Y to X X X AVRG Average X X X X X Pulse PULS1 Pulse Output 1 PULS2 Pulse Output 2 PULS3 Pulse Output 3 PULS4 Pulse Output 4 PWM1 Pulse Width Modulation 1 PWM2 Pulse Width Modulation 2 PWM3...

Page 213: ...mon Logarithm X EXP Exponent X POW Power X File Data Processing FIFOF FIFO Format X FIEX First In Execute X FOEX First Out Execute X NDSRC N Data Search X X X X X Clock TADD Time Addition TSUB Time Subtraction HTOS HMS to Sec STOH Sec to HMS HOUR Hour Meter Ethernet Instructions ETXD Transmit over Ethernet ERXD Receive over Ethernet Data Logging DLOG Data Log TRACE Data Trace Script Instructions S...

Page 214: ... NRS X X X X X X X X XCHG X X X X X X X X TCCST X X X X X X X X Data Comparison CMP X X X X X X X X CMP X X X X X X X X CMP X X X X X X X X CMP X X X X X X X X CMP X X X X X X X X CMP X X X X X X X X ICMP X X X X X X X X LC X X X X X X X X LC X X X X X X X X LC X X X X X X X X LC X X X X X X X X LC X X X X X X X X LC X X X X X X X X Binary Arithmetic ADD X X X X X X X X SUB X X X X X X X X MUL X X...

Page 215: ... X X X X X X X X X ALT X X X X X X X X X CVDT X X X X X X X X X DTDV X X X X X X X X X DTCB X X X X X X X X X SWAP X X X X X X X X X Week Programmer WEEK X X X X X X X X X YEAR X X X X X X X X X Interface MSG X Note X Note X Note X Note X Note X Note X Note X Note User Communication TXD2 X X X X X X TXD3 X X X X RXD2 X X X X X X RXD3 X X X X Program Branching LABEL X X X X X X X X X LJMP X X X X X...

Page 216: ... X X X ARAMP2 X Note2 X Note2 X Note2 Dual Teaching Timer DTML X X X X X X X X X DTIM X X X X X X X X X DTMH X X X X X X X X X DTMS X X X X X X X X X TTIM X X X X X X X X X Trigonometric Function RAD X X X X X X X X X DEG X X X X X X X X X SIN X X X X X X X X X COS X X X X X X X X X TAN X X X X X X X X X ASIN X X X X X X X X X ACOS X X X X X X X X X ATAN X X X X X X X X X Logarithm Power LOGE X X ...

Page 217: ...blocks Special function is allocated to each special internal relay For details on the individual special internal relays see Chapter 7 Device Addresses Special Internal Relays on page 7 2 5 2 R Shift Register Outputs ON OFF state of a shift register device 5 3 AI Analog Input The analog input values 0 to 10V DC for the analog input terminals are converted to digital values 0 to 1 000 and output W...

Page 218: ...aximum of four input signals ON OFF and outputs the result 7 4 XOR Exclusive Logical OR Finds negative logical OR for a maximum of four input signals ON OFF and outputs the result 7 5 XNOR Negative Exclusive Logical OR Finds negative exclusive logical OR for a maximum of two input signals ON OFF and outputs the result 7 6 NOT Negation Outputs the result of negating the input signal ON OFF 7 7 SOTU...

Page 219: ...turns off when the off delay time elapses The current value is incremented from zero to the preset value 8 7 TIMOD Off delay Count Down Timer When the execution input is on the output turns on After the execution input turns off the output turns off when the off delay time elapses The current value is decremented from the preset values to zero 8 9 TIMCU On off delay Timer After the execution input...

Page 220: ...o the up down selection input The current value is compared with ON OFF thresholds The output turns on or off according to the comparison result 9 3 HOUR Hour Meter Accumulates the ON duration of the input in hours minutes and seconds The output turns on when the accumulated time reaches the configured time 9 7 CNT RST OUT UP CUD PRST OUT CLK U D HOUR EN OUT RST Symbol Name and Diagram Function Ou...

Page 221: ...FB of the SmartAXIS and its functions Symbol Name and Diagram Function Output inversion FBD manual page ALT Alternate Output Sets resets the output X 12 1 ALT TRG OUT SET RST Symbol Name and Diagram Function Output inversion FBD manual page WEEK Weekly Timer Compares the specified day of the week ON time and OFF time with the current time and outputs the result 13 1 YEAR Yearly Timer Compares the ...

Page 222: ... pulses at the specified frequency and duty cycle X 15 6 RAMP Ramp Pulse Output Outputs pulses with the frequency change function X 15 11 ZRN Zero Return Outputs pulses while the proximity signal is off X 15 21 ARMP Advanced Ramp Output pulses with the frequency change function according to the settings configured in the frequency table X 15 26 PULS EN OUT INI PWM EN OUT INI RAMP EN OUT INI DIR ZR...

Page 223: ...mplicated processing with the script language that supports conditional branching logical operations arithmetic operations and functions 17 1 SCRPT EN OUT Symbol Name and Diagram Function Output inversion FBD manual page HSC High speed Counter Operates the high speed counter configured in the function area settings Turns on off the high speed counter gate input reset input X 18 1 RSFF RS Flip flop...

Page 224: ...X X X X X Truth Table TRUTH X X X X X X X X Timer On delay Count Up Timer TIMU X X X X X X X X On delay Count Down Timer TIMD X X X X X X X X Off delay Count Up Timer TIMOU X X X X X X X X Off delay Count Down Timer TIMOD X X X X X X X X On off delay Timer TIMCU X X X X X X X X Single Shot Pulse SPULS X X X X X X X X Dual Timer DTIM X X X X X X X X Random Pulse Output RPULS X X X X X X X X Counter...

Page 225: ...t Down Timer TIMD X Off delay Count Up Timer TIMOU X Off delay Count Down Timer TIMOD X On off delay Timer TIMCU X Single Shot Pulse SPULS X Dual Timer DTIM X Random Pulse Output RPULS X Counter Adding Counter CNT X X Up Down Selection Reversible Counter CUD X X Hour Meter HOUR X Shift Register Shift Register SFR Data Comparison Data Comparison CMP X X X X Schmitt Trigger STTG X X X X Range Compar...

Page 226: ...8 INSTRUCTIONS FUNCTION BLOCKS REFERENCE 8 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...

Page 227: ...ad Program on page 4 14 Upload user programs User programs stored in the SmartAXIS can be uploaded to WindLDR Monitor change device values The user program and the device values of the SmartAXIS can be monitored and the device values can be changed using WindLDR See Monitor Operation on page 4 15 Download system software System software can be downloaded to the SmartAXIS See Upgrade SmartAXIS Syst...

Page 228: ...cifications for the USB Port See the following pages for details on each maintenance communication function Monitor change device values Monitor Operation on page 4 15 Download upload user programs Download Program on page 4 14 Download system software Upgrade SmartAXIS System Software on page A 2 FT1A 12 FT1A 24 FT1A 40 FT1A 48 X X X X Computer USB port USB cable HG9Z XCM42 USB maintenance cable ...

Page 229: ...nication function Monitor change device values Monitor Operation on page 4 15 Programming WindLDR Configure the settings for maintenance communication Setting Procedure 1 From the WindLDR menu bar select Configuration Comm Ports The Function Area Settings dialog box appears FT1A 12 FT1A 24 FT1A 40 FT1A 48 X Port 2 X Port 2 and 3 X Port 2 and 3 Computer Serial Communication Port RS232C RS485 Connec...

Page 230: ...configuration cannot be selected Data Bits 7 Parity None 4 Click OK Configuring the maintenance communication for the expansion communication port is now complete Baud Rate bps 115200bps 1200 2400 4800 9600 19200 38400 57600 115200 Data Bits 7 7 or 8 Parity Even None Even Odd Stop Bits 1 1 or 2 Receive Timeout ms 500 10 to 2550 Slave Number 0 0 to 31 Slave number can be specified by either a const...

Page 231: ...uch as a maintenance communication server or Modbus TCP communication to each of the three connections on the SmartAXIS Maintenance Communication Specifications for the Ethernet Port See the following pages for details on each maintenance communication function Monitor change device values Monitor Operation on page 4 15 Download upload user programs Download Program on page 4 14 FT1A 12 FT1A 24 FT...

Page 232: ... SmartAXIS via Ethernet Configure Maintenance Communication Server 1 From the WindLDR menu bar select Configuration Network Settings The Function Area Settings dialog box appears 2 Enter the IP address subnet mask and default gateway 3 Click Connection Settings 4 In the Communication Mode pull down list for the connection to configure select Maintenance Communication Server The Maintenance Communi...

Page 233: ...mpletes maintenance communications settings Download User Program and Confirm IP Addresses via USB Port Before starting Ethernet communication configure the function area settings and download the user program to the SmartAXIS via USB 7 Connect the PC and the SmartAXIS using a USB cable 8 From the WindLDR menu bar select Online Transfer Download The Download dialog box appears Local Host Port No 2...

Page 234: ... SmartAXIS Select Online Monitor Monitor from the WindLDR menu bar 11 From the WindLDR menu bar select Online Monitor Batch The Batch Monitor dialog box appears 12 Confirm that the IP address entered in step 2 is correctly shown in D8084 to D8087 Monitor SmartAXIS via the Ethernet Monitor the SmartAXIS via Ethernet using WindLDR 13 From the WindLDR menu bar select Online Communication Set Up The C...

Page 235: ...ck Browse The IP Address Settings dialog box appears 15 Click New The Input IP Address dialog box appears 16 Enter the IP address entered in step 2 and click OK 17 From the WindLDR menu bar select Online Monitor Monitor The IP Address Settings dialog box appears 18 Select the IP address you entered and click OK ...

Page 236: ...LC Status The PLC Status dialog box appears 20 Check that the SmartAXIS module type and system software version are displayed correctly Configuring the initial Ethernet setup for the maintenance communication server is now complete You can download and upload user programs and monitor and change device values via Ethernet ...

Page 237: ...e SmartAXIS modules can communicate with a maximum of 31 RS485 devices using the user communication User communication transmit and receive instructions can be programmed to match the communication protocol of the equipment to communicate with Possibility of communication using the user communication mode can be determined referring to the user communication mode specifications described below Use...

Page 238: ...RS232C port RS232C Equipment To Port 2 RS232C Communication Cartridge FT1A PC1 To Port 3 To RS232C Port Attach a proper connector to the open end of the cable referring to the cable connector pinouts shown below User Communication Cable FC2A KP1C 2 4m 7 87 ft long Cable Connector Pinouts Pin Port 2 Port 3 AWG Color 1 RTS request to send 28 Twisted Black 2 DTR data terminal ready 28 Yellow 3 TXD tr...

Page 239: ...the expansion communication port use the user communication cable FC2A KP1C One end of the user communication cable is not provided with a connector and can be terminated with a proper connector to plug in to communicate with the RS232C port To Port 2 RS485 Communication Cartridge FT1A PC3 To Port 3 To Port 2 RS485 Communication Cartridge FT1A PC2 To Port 3 31 devices maximum Shielded twisted pair...

Page 240: ...ram must be downloaded to the SmartAXIS after changing any of these settings 1 From the WindLDR menu bar select Configuration Communication Ports The Function Area Settings dialog box for Communication Ports appears 2 In the Communication Mode pull down list for Port 2 and Port 3 select User Protocol Click the Configure button when changing previous settings The User Protocol dialog box appears Wh...

Page 241: ...to insert the TXD instruction and type TXD You can also insert the TXD instruction by clicking the User Communication icon in the menu bar and clicking where you want to insert the TXD instruction in the program edit area The Transmit instruction dialog box appears Communication port Transmit completion output Transmit status register Transmit data byte count Port 2 M10 D100 D101 S1 12 D1 M10 I0 S...

Page 242: ...K 4 Since the Transmit instruction dialog box reappears repeat the above procedure In the Data Type Selection dialog box click Variable DR and click OK Next in the Variable Data Register dialog box type D10 in the DR No box and click BCD to ASCII to select the BCD to ASCII conversion Enter 4 in the Digits box 4 digits and 2 in the REP box 2 repeat cycles When finished click OK 5 Again in the Data ...

Page 243: ...rogram the end delimiter ETX 03h When finished click OK 7 In the Transmit instruction dialog box type M10 in the destination D1 box and type D100 in the destination D2 box When finished click OK Programming of the TXD2 instruction is complete and the transmit data is specified as follows STX 02h D10 1 31h 2 32h 3 33h 4 34h 5 35h 8 38h BCC 41h ETX 03h BCC 6 36h 7 37h BCC calculation range Constant ...

Page 244: ... bar and clicking where you want to insert the RXD instruction in the program edit area then the Transmit dialog box appears Click RXD to change the dialog box to the Receive dialog box The Receive instruction dialog box appears 2 Check that RXD is selected in the Type box and select Port 2 in the Port box Then click Insert The Data Type Selection dialog box appears You will program source device ...

Page 245: ...o verify When finished click OK 6 Again in the Data Type Selection dialog box click Variable DR and click OK Next in the Variable Data Register dialog box type D10 in the DR No box and click ASCII to Binary to select ASCII to binary conversion Enter 4 in the Digits box 4 digits and 2 in the REP box 2 repeat cycles Click Variable select HEX and type 0D to designate a delimiter When finished click O...

Page 246: ...OK Next in the Constant Hexadecimal dialog box type 03 to program the end delimiter ETX 03h When finished click OK 9 In the Receive instruction dialog box type M100 in the destination D1 box and type D1000 in the destination D2 box When finished click OK Programming of the RXD instruction is complete and the receive data will be stored as follows 1234h D10 0005h D11 4660 5 ...

Page 247: ...Data Register Function Data Register Value Updated R W Port 2 to Port 3 D8104 Control signal status Every scan R D8105 DSR input control signal option When sending receiving data R W D8106 DTR output control signal option When sending receiving data R W Bit 15 0 2 0 1 0 0 D8104 0 3 Port 2 Port 3 D8104 2 bit Binary Value DTR DSR Description 00 OFF OFF Both DSR and DTR are off 01 OFF ON DSR is on 10...

Page 248: ... 1 0 0 D8105 0 3 Port 2 0 5 0 4 Port 3 D8105 3 bit Binary Value Description 000 DSR is not used for data flow control When DSR control is not needed set 0 to D8105 001 When DSR is on the SmartAXIS can transmit and receive data 010 When DSR is off the SmartAXIS can transmit and receive data 011 When DSR is on the SmartAXIS can transmit data This function is usually called Busy Control and is used f...

Page 249: ... 3 Port 2 Port 3 D8106 2 bit Binary Value Description 00 While the SmartAXIS is running DTR is on whether the SmartAXIS is transmitting or receiving data While the SmartAXIS is stopped DTR remains off Use this option to indicate the SmartAXIS operating status 01 Whether the SmartAXIS is running or stopped DTR remains off 10 While the SmartAXIS can receive data DTR is turned on While the SmartAXIS ...

Page 250: ...ge 10 15 User communication server functions and configuration are described in User Communication Server on page 10 19 The SmartAXIS supports the TCP IP protocol The SmartAXIS can send data to and receive data from devices on a network by using the ETXD Ethernet user communication transmit instruction and the ERXD Ethernet user communication receive instruction The SmartAXIS can be used as both a...

Page 251: ... user communication server The client devices connect to the SmartAXIS and the SmartAXIS communicates with the client devices using Ethernet user communication instructions A maximum of three connections can be allocated to user communication servers A maximum of three client devices can simultaneously connect to and communicate with the SmartAXIS When three connections are allocated to user commu...

Page 252: ...nection will be kept open until either the SmartAXIS is stopped or a special internal relay allocated to the connection is turned on User Communication Client Receive Instruction ERXD Cancel Flag The allocation of the user communication receive instruction cancel flags for each client connection is shown in the table below For details about the user communication receive instruction cancel flag se...

Page 253: ...o the SmartAXIS 1 Select Configuration from the WindLDR menu bar and then click Connection Settings The Function Area settings dialog box appears 2 Select the User Communication Client as the communication mode for the client connection 1 The User Communication Client dialog box appears Configure the remote host number and receive timeout If you want the SmartAXIS to establish the connection when ...

Page 254: ... transmit data or ERXD Receive over Ethernet to receive data as the instruction type Select the client connection from 1 through 3 and designate S1 D1 and D2 Click OK button to close the dialog box 4 Download the user program The settings for the user communication client have been finished The specifications of Ethernet user communication instructions ETXD and ERXD instructions are identical to T...

Page 255: ...e 2 The receive timeout is enabled when using the ERXD instruction To disable the receive timeout set it to 25500 ms User Communication Server Receive Instruction ERXD Cancel Flag The allocation of the user communication receive instruction cancel flags for each server connection is shown in the table below For details about the user communication receive instruction cancel flag see Chapter 25 Use...

Page 256: ... then download the user program to the SmartAXIS 1 Select Configuration from the WindLDR menu bar and then click Connection Settings The Function Area settings dialog box appears 2 Select the User Communication Server as the communication mode for the server connection 1 The User Communication Server dialog box appears Configure the local host port number and receive timeout If you want to restric...

Page 257: ... transmit data and ERXD Receive over Ethernet to receive data as the instruction type Select the server connection from 1 through 8 and designate S1 D1 and D2 Click OK button to close the dialog box 4 Download the user program The settings for the user communication server have been finished The specifications of Ethernet user communication instructions ETXD and ERXD instructions are identical to ...

Page 258: ...r RXD instruction with or without a start delimiter is executed The receive completion output of the RXD instruction at a smaller address goes on 5 While a RXD instruction with a start delimiter is executed another RXD instruction with the same start delimiter is executed No effect on the receive completion output 7 The first bytes of received data do not match the specified start delimiter No eff...

Page 259: ... 149 165 181 197 213 229 245 6 ACK SYN 6 F V f v Decimal 6 22 38 54 70 86 102 118 134 150 166 182 198 214 230 246 7 BEL ETB 7 G W g w Decimal 7 23 39 55 71 87 103 119 135 151 167 183 199 215 231 247 8 BS CAN 8 H X h x Decimal 8 24 40 56 72 88 104 120 136 152 168 184 200 216 232 248 9 HT EM 9 I Y i y Decimal 9 25 41 57 73 89 105 121 137 153 169 185 201 217 233 249 A LF SUB J Z j z Decimal 10 26 42 ...

Page 260: ...e n n o C n i p 9 b u s D s t u o n i P r o t c e n n o C N I D i n i M Description Color Pin Pin Description Shield Cover 1 NC No Connection NC No Connection Black 2 1 NC No Connection NC No Connection Yellow 3 2 DATA Receive Data TXD Transmit Data Blue 4 3 NC No Connection NC No Connection Green 5 4 GND Ground DSR Data Set Ready Brown 6 5 NC No Connection NC No Connection Gray 7 6 NC No Connecti...

Page 261: ...SOTU S1 73 D2 D0 D1 M1 M0 M0 MOV W TXD 2 CMP W S1 D8014 M8125 S1 C2 REP D1 D31 MOV W S1 D8012 REP D1 D20 MOV W S1 D8013 REP D1 D21 MOV W M8120 is the initialize pulse special internal relay 3 D8105 to enable the DSR option for busy control M8125 is the in operation output special internal relay CMP W compares the D8014 second data with 0 When the D8014 data equals 0 second M0 is turned on Counter ...

Page 262: ...ose of the barcode reader See Programming WindLDR on page 10 4 For details of the communication parameters of the barcode reader see the user s manual for the barcode reader An example is shown below To RS232C Port To Port 2 RS232C RS232C Communication Cartridge FT1A KP1C Barcode Reader IDEC DATALOGIC DS4600A Attach a proper connector to the open end of the cable referring to the cable connector p...

Page 263: ...a output filter Sub serial 02h No Output priority 1 No No Terminator BCR data output Character suppress Main serial input 03h Yes No No Comparison preset mode Not used M100 Input to start receiving barcode data M101 Receive completion output for barcode data M8120 Initialize pulse special internal relay D20 Store barcode data upper 4 digits D21 Store barcode data lower 4 digits D100 Receive status...

Page 264: ...ASCII characters in the range from the BCC calculation start position to the byte immediately before the BCC in units of two characters to make 1 byte hexadecimal data Example 37h 35h 75h 2 Add up the results of step 1 3 Invert the result bit by bit and add 1 2 s complement 4 Convert the lowest 1 byte data to ASCII characters Example 75h 37h 35h 5 Store the two digits to the BCC LRC position If th...

Page 265: ...odbus RTU master the SmartAXIS can monitor and change the data of Modbus RTU slave devices When the SmartAXIS is configured as a Modbus RTU slave the device data of the SmartAXIS can be monitored and changed from the Modbus RTU master device For the Modbus RTU master function and how to configure it see Modbus Master Communication on page 11 2 For the Modbus RTU slave function and how to configure...

Page 266: ...re allocated to execute Modbus master communication The internal relays or data register bits are allocated in the order of requests For example when internal relay M0 is designated as the request execution device M0 is allocated to request No 1 M1 to request No 2 and so on To execute a request turn on the corresponding request execution device When communication is completed the request execution...

Page 267: ...ed in a request table is shown in the table below Note 8 bytes of the user program area are needed per each request Use a single DR for all communication requests Error data of each communication request Unchecked Error data the remote host number high order byte and error code low order byte of each request in the entire request table can be confirmed Data registers as many as the quantity of req...

Page 268: ...ate to the user program the user program must be downloaded to the SmartAXIS after changing any of these settings 1 From the WindLDR menu bar select Configuration Communication Ports The Function Area Settings dialog box for Communication Ports appears 3 Click the Configure button for Port 2 The Modbus RTU Master Request Table appears 2 In the Communication Mode pull down list for Port 2 select Mo...

Page 269: ...rror status data registers are allocated in the order of request numbers When deleting a request or changing the order of requests the relationship of the request to the request execution devices and error status data register is changed If the internal relay or data register is used in the user program the device addresses must be changed accordingly After completing the changes download the user...

Page 270: ...y in the Modbus RTU Master Request Table Devices used for executing requests are automatically listed in the table To execute a request turn on the corresponding request execution device Data registers can also be designated as the Request Execution Device When the first data register is designated as the Request Execution Device data register bits as many as the number of requests are allocated f...

Page 271: ... 16 Master Device Address Internal Relay Master Device Address Data Register r Bit 0 Master Bit 1 Bit 2 Internal Relay M Bit 0 Slave Bit 1 Bit 2 Modbus Address Word 0 b15 Master Word 1 Word 2 Data Register D b14 b1 b0 Bit 0 Slave Bit 1 Bit 2 Modbus Address b2 b15 b14 b1 b0 b2 b15 b14 b1 b0 b2 Bit 0 15 Master Bit 16 Bit 32 Internal Relay M 14 1 0 Word 0 Slave Word 1 Word 2 Modbus Address 2 31 30 17...

Page 272: ...sts Modbus Slave Communication Specifications 1 When timeout occurs the SmartAXIS discards the received data and waits for the first frame of the next valid communication 2 For communication at 19200bps or higher the timeout between characters needs to be a minimum of 0 75ms 3 For communication at 19200bps or higher the timeout between frames needs to be a minimum of 1 75ms Item Description Baud R...

Page 273: ...ter 300000 and above 300001 300200 0000 00C7 T0 T199 timer current value 4 300501 300700 01F4 02BB C0 C199 counter current value Holding Register 400000 and above 400001 402000 0000 07CF D0 D1999 3 6 16 408001 408200 1F40 2007 D8000 D8199 409001 409200 2328 23EF T0 T199 timer preset value 3 409501 409700 251C 25E3 C0 C199 counter preset value SmartAXIS Device Calculating Modbus Address Calculation...

Page 274: ...s dialog box for Communication Ports appears 2 In the Communication Mode pull down list for Port 2 select Modbus RTU Slave 3 Click the Configure button The Communication Parameters dialog box appears Change settings if required 4 Click the OK button to save changes 5 Download the user program to the SmartAXIS Now programming for the Modbus slave is complete Details about parameters and valid value...

Page 275: ... 01h Function code error unsupported function code 02h Access destination error address out of range address device quantity out of range 03h Device quantity error 1 bit write data error CRC RTU mode uses CRC check codes Modbus RTU Mode Calculating the CRC 16 cyclic redundancy checksum Calculate the BCC using CRC 16 for the range from the slave number to the byte immediately before the BCC The gen...

Page 276: ...r contact One through 128 consecutive bits can be read out Communication Frame Request from Modbus Master ACK Reply from Modbus Slave NAK Reply from Modbus Slave Communication Example RTU Mode Purpose Read 15 bits starting at output Q10 Q10 1 0 8 0 1 9 Modbus address 9 9 1 8 8h Communication frame address 0008h Condition Slave No 8 Q10 through Q27 binary data 1234h Request from Modbus Master 08 01...

Page 277: ...ter ACK Reply from Modbus Slave NAK Reply from Modbus Slave Communication Example RTU Mode Purpose Read 2 words starting at data register D1710 D1710 1710 0 400001 401711 Modbus address 401711 Extract lower 5 digits 1711 1711 1 1710 6AEh Communication frame address 06AEh Condition Slave No 8 D1710 data 1234h D1711 data 5678h Request from Modbus Master 08 03 06AE 0002 CRC ACK Reply from Modbus Slav...

Page 278: ...Communication Example RTU Mode Slave No Function Code Address OFF 0000h ON FF00h xxh 05h xxxxh xxxxh Slave No Function Code Address OFF 0000h ON FF00h xxh 05h xxxxh xxxxh Slave No Function Code Error Code xxh 85h xxh Purpose Force internal relay M1320 on M1320 132 0 8 0 1001 2057 Modbus address 2057 2057 1 2056 808h Communication frame address 0808h Condition Slave No 8 Request from Modbus Master ...

Page 279: ...Mode Slave No Function Code Address New Data xxh 06h xxxxh xxxxh Slave No Function Code Address Acknowledge Data xxh 06h xxxxh xxxxh Slave No Function Code Error Code xxh 86h xxh Purpose Write 8000 to data register D1708 D1708 1708 0 400001 401709 Modbus address 401709 Extract lower 5 digits 1709 1709 1 1708 6ACh Communication frame address 06ACh Condition Slave No 8 Request from Modbus Master 08 ...

Page 280: ...10 ON M611 OFF M612 ON M613 ON M614 OFF M615 OFF M616 0N M617 OFF M620 OFF M621 OFF M622 OFF M623 OFF M624 OFF M605 LSB through M614 MSB binary data 6B M615 LSB through M624 MSB binary data 02 M605 60 0 8 5 1001 1486 Modbus address 1486 1486 1 1485 5CDh Communication frame address 05CDh Condition Slave No 8 Request from Modbus Master 08 0F 05CD 0010 02 6B 02 CRC ACK Reply from Modbus Slave 08 0F 0...

Page 281: ...through D1711 D1708 1234h D1709 5678h D1710 ABCDh D1711 EF01h D1708 1708 0 400001 401709 Modbus address 401709 Extract lower 5 digits 1709 1709 1 1708 6ACh Communication frame address 06ACh Condition Slave No 8 Request from Modbus Master 08 10 06AC 0004 08 12 34 56 78 AB CD EF 01 CRC ACK Reply from Modbus Slave 08 10 06AC 0004 CRC NAK Reply from Modbus Slave 08 90 xx CRC Slave No Function Code Add...

Page 282: ... connections can be allocated to Modbus TCP clients Each connection can communicate with one Modbus TCP server device When the SmartAXIS is configured as a Modbus TCP server the device data of the SmartAXIS can be monitored and changed from Modbus TCP client devices The SmartAXIS can allocate a maximum of three connections for Modbus TCP servers For the Modbus TCP client function and how to config...

Page 283: ...continuously Communication Completion and Communication Error Modbus communication finishes when a read or write process is completed successfully or when a communication error occurs A communication error occurs when communication failure has repeated three times When a communication error occurs the request is canceled and the next request is processed When the error status data register is desi...

Page 284: ...area are needed per each request Request execution devices and error status data registers are allocated in the order of request numbers When deleting a request or changing the order of requests the relationship of the request to the request execution devices and error status data register is changed If the allocated internal relays or data registers are used in the user program those device addre...

Page 285: ...r program to the SmartAXIS 1 From the WindLDR menu bar select Configuration Connection Settings The Function Area Settings dialog box appears 2 Select Modbus TCP Client as the communication mode for the connection 1 The Modbus TCP Client Request Table dialog box appears 3 Click on the Communication Settings button The Communication Settings dialog box appears Configure the timeout and click OK but...

Page 286: ...odes according to the specifications of the Modbus server devices Function Code Data Size Slave Address SmartAXIS as Modbus Slave 01 Read Coil Status 1 to 128 bits 000001 065535 Reads bit device statuses of Q output R shift register or M internal relay 02 Read Input Status 1 to 128 bits 100001 165535 Reads bit device statuses of I input T timer contact or C counter contact 03 Read Holding Register...

Page 287: ...st List dialog box Slave No Designate slave numbers 1 through 247 The same slave number can be designated repeatedly for different request numbers which can be 1 through 255 The slave number is usually not referred by Modbus TCP server Configure the slave number if Modbus TCP server requires Slave Address Designate data memory addresses of Modbus servers The valid slave address range depends on th...

Page 288: ... the device range for the SmartAXIS type used Parameter Modbus TCP Server Slave Number Ignored Response Time 1 5 ms Number of Clients that can Access Simultaneously 3 1 client per 1 connection Port Number 502 can be changed between 0 and 65535 Supported Function Code 01 Read Coil Status 02 Read Input Status 03 Read Holding Registers 04 Read Input Registers 05 Force Single Coil 06 Preset Single Reg...

Page 289: ...ram to the SmartAXIS 1 From the WindLDR menu bar select Configuration Connection Settings The Function Area Settings dialog box appears 2 Select Modbus TCP Server as the communication mode for connection 1 The Modbus TCP Server dialog box appears 3 Configure the parameters and click on OK button Note For details about each parameter see the following page 4 Download the user program to the SmartAX...

Page 290: ...address 192 168 1 101 is configured for connection 1 and the allowed IP address is not configured for connections access from a total of two clients with any IP addresses is accepted Modbus TCP Communication Format This section describes the communication format used for Modbus TCP client and server communication Modbus TCP communication format starts with the Modbus TCP header followed by the RTU...

Page 291: ...e I O slave per one connection When the connections 1 through 3 are all used for remote I O the remote I O master can connect to a maximum of three remote I O slaves Notes If a communication timeout occurs at a remote I O slave all outputs of the remote I O slave are turned off Depending on the details of the control on the remote I O slave side this may lead to a hazardous situation so set the ma...

Page 292: ...cription Connection 1 Digital inputs I40 to I75 Digital outputs Q40 to Q61 Analog inputs D8149 AI10 to D8156 AI17 Remote I O slave 1 communication error status D8148 Remote I O slave 1 communication error M8005 Remote host IP address 000 000 000 000 to 255 255 255 255 Port number 0 to 65535 Timeout 100 ms to 25 500 ms 100 ms increments Connection 2 Digital inputs I80 to I115 Digital outputs Q80 to...

Page 293: ...1 Analog inputs D8040 to D8047 Connection 1 I40 to I75 Q40 to Q61 Analog inputs D8149 to D8156 Connection 2 I80 to I115 Q80 to Q101 Analog inputs D8158 to D8165 Connection 3 I120 to I155 Q120 to Q141 Analog inputs D8167 to D8174 I0 to I35 Q0 to Q21 Analog inputs D8040 to D8047 Remote I O master Remote I O slave 1 Item Connection port Device Description Connection status Connection 1 M8110 Indicate...

Page 294: ... status D8148 D8157 D8166 is 2 connection disconnected 2 The remote I O master attempts to establish a connection with remote I O slave 1 but the connection cannot be established At the event above the remote I O slave 1 communication error M8005 is kept on and the remote I O slave 1 communication status D8148 is kept as 2 connection disconnected 3 When the connection is successfully established a...

Page 295: ...e and switching hub it takes a minimum of approximately 5 ms after the remote I O master issues a request until the response from the remote I O slave is reflected as inputs 1 The remote I O master is able to perform remote I O communication in END processing and it simultaneously issues requests to all remote I O slaves 2 The time until the response is returned is affected by the state of the net...

Page 296: ... user program to the SmartAXIS Configuration Procedure 1 From the WindLDR menu bar select Configuration Function Area Settings Connection Settings The Function Area Settings dialog box is displayed 2 Click Communication Mode for the connection to configure and then select Remote I O Master The Remote I O Master dialog box is displayed 3 Click Remote Host No and select New Remote Host The Remote Ho...

Page 297: ... slave to connect Note The default port number of the remote I O slave is 2110 5 Click OK When the settings are correctly completed the details configured in the Remote Host dialog box are displayed in the Remote Host No drop down list 6 Configure the receive timeout 7 Click OK Configuring the remote I O master is completed ...

Page 298: ... displayed on the standard screen and the status monitor screen For how to check the communication state on the status screen see Monitoring the Remote I O Slave Status on page 12 9 Standard screen Item Description Network settings Mode Automatically acquire an IP address fixed IP address IP address 000 000 000 000 to 255 255 255 255 Subnet mask 000 000 000 000 to 255 255 255 255 Default gateway 0...

Page 299: ...s the OK button 3 The system version is displayed Press the down button The communication cycle is displayed Configurations Device Monitor 1 Status Monitor Error Status Current The current communication cycle with the remote I O master Maximum The maximum communication cycle from when the connection with the remote I O master was established until the present Minimum The minimum communication cycl...

Page 300: ...ile CPU Stopped M8025 Cannot be used Communication settings Serial communication port The communication mode is always Maintenance Communication The communication settings are fixed as the following settings Baud rate 115 200 bps Data length 7 bits Parity Even Stop bits 1 bit Ethernet Communication Cannot be used except for remote I O communication Maintenance Communication Access to devices Outpu...

Page 301: ...r than the inputs and outputs are disabled The user program originally entered into the SmartAXIS is deleted No other settings except the remote I O slave settings can be configured Configuration Procedure 1 Select Configuration Remote I O Configure Slave The Remote I O Slave Configuration dialog box is displayed 2 Click PLC Type and select the PLC type of the connected SmartAXIS to configure 3 Cl...

Page 302: ...emote I O master to connect 5 Click the Inputs Settings tab and then configure the settings for the analog and digital inputs For details on the settings see Analog Input on page 5 39 Note For the remote I O slave the input filter s set time is fixed to 3 ms For details on the input filter function see Chapter 5 Special Functions Input Filter on page 5 38 6 Click Download to download the remote I ...

Page 303: ...em as a configuration file frs Note No other information except the remote I O slave settings are stored in the configuration file frs saved using the Remote I O Slave Configuration dialog box Saving Remote I O Slave Settings Operation Procedure 1 In the Remote I O Slave Configuration dialog box click Save The Save As dialog box is displayed 2 Specify the location to save to and enter the file nam...

Page 304: ...log box click Open The Open dialog box is displayed 2 Select the configuration file frs to use and click Open The remote I O slave settings are loaded Notes When the remote I O slave settings are read the existing settings in the dialog box are overwritten If you specify an invalid file an error message is displayed and the remote I O slave settings are not loaded ...

Page 305: ...ripts as a group by adding scripts created in Script Editor or deleting them For details see Script Manager on page 13 5 Script Data Type The data type for the range of data that will be handled in the script must be configured by taking into consideration the details of the processing in the script including the maximum and minimum values of data that will be handled and whether negative numbers ...

Page 306: ...are not allowed Bit devices are always processed as bits and values of those devices are 0 OFF or 1 ON Applicable SmartAXIS Device Notation in Script Editor Bit device I Inputs I000 to I155 Q Outputs Q000 to Q141 R Shift registers R000 to R127 M Internal relays M0000 to M1277 M8000 to M8177 C Counter contacts C000 to C199 T Timer contacts T000 to T199 D Data register bits D0000 0 D0000 15 to D1999...

Page 307: ...es the procedure to create and register a script The registered script can be executed by specifying the script ID in the SCRPT instruction FB 1 On the Project Window double click Script Manager Script Manager dialog box opens 2 Click Add Script Editor dialog box opens 3 Specify Script ID When creating a new script enter the script ID 1 to 255 ...

Page 308: ...R under Function list select Category and Function and then click Insert Format The sample code displayed in Format is inserted at the cursor position in Script 7 After you finish creating the script click OK You are returned to the Script Manager dialog box and the created script is displayed in Script list 8 Click Close A save confirmation message is displayed 9 Click OK The script is saved and ...

Page 309: ...Editor on page 13 6 5 Delete Click this button to delete the script selected in the Script List 6 Select Click this button to close the Script Manager dialog box and set the script ID of the script selected in the Script List to the editing dialog box 7 Close Click this button to close Script Manager Note If you click Close when the script list was modified a save confirmation message is displayed...

Page 310: ... data type to process in the script For details about the data types see Script Data Type on page 13 1 4 Script Enter the script The restrictions for one script are a maximum of 240 characters per line and a maximum of 1024 lines per script 5 Error Check Click this button to check errors in the current script 6 Import Click this button to display the Open dialog box so you can import a script prog...

Page 311: ...first select an area in the script and then click Find you can search only in the selected area 10 Replace Click this button to display the Replace dialog box Enter the text to search in the script in Find what and enter the text to replace it with in Replace with Notes This is an effective tool when replacing device addresses If you first select an area in the script and then click Replace you ca...

Page 312: ...utton to return to Script Manager without saving the current script Options Dialog Box This dialog box allows you to specify Font Size Tab indent and Colors used in the Script Editor Script text box Font Enter or select the font name for text displayed in Script Size Enter or select the size pixels of text displayed in Script Sample Shows a sample of text that will be displayed in the Script text ...

Page 313: ... S MANUAL FT9Y B1378 13 9 13 SCRIPTS Colors Shows the colors for Comment Keyword and Device Click the colored buttons to display the Color dialog box Characters that are not comments keywords or devices are all shown in black ...

Page 314: ...on line 1 is executed if the conditional expression 1 is satisfied Conditional expression 2 is evaluated if conditional expression 1 is not satisfied and execution line 2 is executed if conditional expression 2 is satisfied Execution line 3 is executed if conditional expression 2 is not satisfied too switch case default switch case constant 1 break case constant 2 break default break Execution lin...

Page 315: ...h case constant 1 break case constant 2 break When the conditional expression matches the constant 1 execution line 1 is executed and the switch execution is terminated by break Evaluation for constant 2 is not executed and the execution moves to execution line 3 return return Script will exit and the next instruction FB in the user program is executed Operator Format Description Compares if is eq...

Page 316: ...ined Mininum value MIN Minimum value out of is returned This can be used for all data types Up to 15 arguments can be defined Exponential function EXP Exponential function of is returned This can only be used for data type F float Natural logarithm base e LOGE Natural logarithm base is e for is returned This can only be used for data type F float Set a value larger than 0 for argument Common logar...

Page 317: ...s returned in BCD value This can be used with data types W word I integer D double word and L long Conversion from float to Binary FLOAT2BIN Float value of is returned in binary value Values after the decimal point is truncated This can be used with data types W word I integer D double word and L long Conversion from Binary to float BIN2FLOAT Binary value of is returned in float value This can be ...

Page 318: ...re processed from the starting bit device as one word Word device to Bit device 1 word length WORD2BITS Starting device of copy target bit device Starting device of copy source word device Copies one word worth of data from to 16 bits are processed from the starting bit device as one word Function Format Description Indirect specification OFFSET Reference device Device to store the offset value 0 ...

Page 319: ...eginning of a line will become a comment is defined with a single byte Double byte characters can be written after Definition of comment Sample definition Notes Describing comments to explain the contents of the script is useful especially when another person works on the scripts or when some time has passed after editing the scripts Comments are ignored not executed when the script is executed so...

Page 320: ...ored in D0102 Example 1 3 Conditional branch Script Operation Description If the value of D0100 is not 0 and the value of D0102 is not 0 either 0x1234 is stored in D0103 If the value of D0100 is not 0 and the value of D0102 is 0 then nothing is executed If the value of D0100 is 0 then nothing is executed regardless of the value of D0102 Example 1 4 Conditional branch Script Operation Description I...

Page 321: ...3 is 0 then 200 is stored in D0104 If either the value of D0100 or D0102 is 0 then nothing is executed regardless of the value of D0103 Example 1 7 Iteration Script Operation Description If the value of D0100 is larger than 0 then 1 is repeatedly added to the value of D0102 and 1 is repeatedly subtracted from the value of D0100 In the script example above when the while statement repeats ten times...

Page 322: ... value D0000 D0000 1 This script stores the values of D0010 through D0019 in D0100 through D0109 It operates as follows First the offset value D0000 is initialized and set to 0 First iteration loop The value of D0000 is 0 so the condition D0000 10 is true and the statements inside while are executed The value of D0010 0 words from D0010 is stored in D0100 0 words from D0100 1 is added to the value...

Page 323: ...0 If the value of D0100 is 999 then 0x5678 is stored in D0200 and D0000 01 is set to 1 If the value of D0100 is not 10 nor 999 then nothing is executed Convert a decimal value to octal For example convert 10 dec to 12 oct 16 dec to 20 oct Convert a value to octal up to 4 digits max 1 0 while counter 2 D0100 gets original data 3 1 decimal base 4 0 calculation results repeat four times while 1 4 Ext...

Page 324: ...ment it terminates the script execution Example 1 14 Break out of a loop with the break statement Script Operation Description While the value of D0100 is 0 the while statement is repeated until D0102 and D0103 match Inside the while statement if the values of D0102 and D0103 are equal the while statement will end and execution breaks out of the while statement In the example above the values of D...

Page 325: ...102 then 0x100 is stored in D0103 Example 2 4 Less than or equal to Script Operation Description If the value of D0100 is less than or equal to the value of D0102 then 0x100 is stored in D0103 Example 2 5 Greater than Script Operation Description If the value of D0100 is greater than the value of D0102 then 0x100 is stored in D0103 Example 2 6 Greater than or equal to Script Operation Description ...

Page 326: ... Logical OR Script Operation Description If the value of D0100 is not 0 or the value of D0102 is not 0 then 100 is stored in D0300 If either one of them is true the processing in the brackets is executed Example 3 3 Logical inversion Script Operation Description If the value of D0100 is not equal to 0x1234 then 100 is stored in D0300 Example 3 4 Logical inversion Script Operation Description If th...

Page 327: ...e result is stored in D0300 Example 4 3 Multiplication Script Operation Description The values of D0100 and D0200 are multiplied together and the result is stored in D0300 Example 4 4 Division Script Operation Description The value of D0100 is divided by the value of D0200 and the result is stored in D0300 Example 4 5 Modulo Script Operation Description The value of D0100 is divided by the value o...

Page 328: ...nged to 1 If the bitwise logical OR operation on the value of D0000 01 and the value of D0001 01 is 0 D0002 01 is changed to 0 The operation is the same as the following ladder diagram Example 5 3 Logical XOR exclusive OR Script Operation Description The logical XOR operation on the value of D0100 and each bit in 0xFF is stored in D0200 For example if the value of D0100 is 15 0x0F then 240 0xF0 is...

Page 329: ...ation is the same as the following ladder diagram Example 5 6 Left shift Script Operation Description The value of D0100 is shifted to the left by the value of D0200 and the result is stored in D0300 For example if the value of D0100 is 1 and the value of D0200 is 3 1 is shifted 3 bits to the left and the result of 8 is stored in D0300 Example 5 7 Right shift Script Operation Description The value...

Page 330: ...m value Script Operation Description Out of the values stored in D0100 D0110 D0120 D0130 and D0140 the maximum value is stored in D0200 Up to 15 arguments can be used Example 7 2 Mininum value Script Operation Description Out of the values stored in D0100 D0110 D0120 D0130 and D0140 the minimum value is stored in D0200 Up to 15 arguments can be used Example 7 3 Exponential function Script Operatio...

Page 331: ...is 10 and the value of D0030 is 5 the function calculates 10 to the power of 5 and stores the result in D0010 Only the data type F float can be used Example 7 7 Square root Script Operation Description Calculates the square root of the value of D0020 and the result is stored in D0010 Only the data type F float can be used Example 7 8 Sine Script Operation Description Calculates the sine of the rad...

Page 332: ...result as radians in D0010 Only the data type F float can be used Example 7 13 Arctangent Script Operation Description Calculates the arctangent of the value of D0020 and stores the result as radians in D0010 Only the data type F float can be used Example 7 14 Convert angle to radians Script Operation Description Converts the value of D0020 from degrees to radians and stores the result in D0010 On...

Page 333: ...loat 1234 56 0x449A51EC as a binary value is stored in D0100 the value after the decimal point is truncated and 1234 binary value is stored in D0200 Example 7 19 Convert binary to float Script Operation Description Converts the binary value in D0100 to a float value and stores it in D0200 For example if the binary value 1234 is stored in D0100 the float value 1234 0 0x449A4000 as a binary value is...

Page 334: ...long The NULL terminating character 0x00 is added to the end of the string Setting the string 1234 when the data type is W word Device Stored value Device Stored value Upper byte Lower byte D0200 12345 D0100 0x2D 1 0x31 D0101 2 0x32 3 0x33 D0102 4 0x34 5 0x35 D0103 0x00 0x00 Terminating character Device Stored value Device Stored value Upper byte Lower byte D0200 1234567890 D0100 1 0x31 2 0x32 D02...

Page 335: ...00 1 0x31 2 0x32 D0100 12345 D0201 3 0x33 4 0x34 D0202 5 0x35 6 0x36 D0203 7 0x37 0x00 Terminating character Device Stored value Upper byte Lower byte Device Stored value D0200 0x2D 1 0x31 D0100 12345 D0201 2 0x32 3 0x33 D0202 4 0x34 5 0x35 D0203 0x00 0x00 Terminating character Device Stored value Upper byte Lower byte Device Stored value D0200 1 0x31 2 0x32 D0100 1234567890 D0201 3 0x33 4 0x34 D0...

Page 336: ...l 1 is stored in D0000 If even a single one is not equal 0 is stored Note Even if the data type is set to D double word L long or F float the comparison is performed from the starting device in bit units Example 7 24 Word unit data copy Script Operation Description Copies the value of 10 word devices from D0200 up to D0209 to 10 word devices from D0100 up to D0109 Note Even if the data type is set...

Page 337: ... Copy 1 word from bit devices to a word device Script Operation Description A value of 1 word length from I004 to I023 is copied to the value of device D0000 This is the same as BITS2BITS I004 D0000 0 Example 7 28 Copy 1 word from a word device to bit devices Script Operation Description The value of device D0100 is copied to the bit states of a value of 1 word length from M0000 M0000 to M0017 Thi...

Page 338: ...value of D0018 the device 8 words from D0010 is read and stored in D0200 Example 7 30 Indirect write Script Operation Description When the value of D0020 is 3 the constant 1234 is stored in D0013 the device 3 words from D0010 D0200 OFFSET D0010 D0020 0000 D0010 0008 D0020 8 1234 D0018 1234 D0200 Read OFFSET D0010 D0020 1234 0000 D0010 0003 3 1234 D0013 1234 D0020 Write ...

Page 339: ...string 10 in the first line of the script so the execution goes into an infinite loop When using the while definition define it so the execution will not go into an infinite loop If the execution becomes an infinite loop the scan time will exceed the watchdog timer setting and a watchdog timer error will occur The value of D0100 becomes 0 when the while definition is repeated 10 times in the follo...

Page 340: ...13 SCRIPTS 13 36 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...

Page 341: ...artAXIS user program syntax errors are still checked Errors are also checked at starting and during operation of the SmartAXIS When an error occurs the error is reported by turning on the ERR LED on the SmartAXIS Lite and an error message can be viewed on WindLDR For the procedure to confirm the error status and clear the error on the SmartAXIS Pro see Checking Clearing Error Information on page 6...

Page 342: ...the error code using the following procedure 1 From the WindLDR menu bar select Online Monitor Monitor The monitor mode is enabled 2 From the WindLDR menu bar select Online Status The PLC Status dialog box appears 3 On the right of the Error Status in the PLC Status dialog box click the Clear button This procedure clears the error code from special data register D8005 general error code and the er...

Page 343: ...ng error is occurring D8005 General Error Code D8006 User Program Execution Error Code Turn on M0 and turn on the upper bit of D8005 The error information is cleared at the end of the ladder scan Bit 15 2 1 0 Power failure D8005 3 6 5 4 7 8 9 12 11 10 13 14 Watchdog timer error Reserved User program ROM sum check error Timer counter preset value sum check error Reserved Keep data sum check error U...

Page 344: ...signated to be maintained during power failure is corrupted because of memory backup failure Note that the keep data of internal relays and shift registers are cleared Data of counters and data registers are also cleared Clear the error code using WindLDR If this error occurs in a short period of power interruption after the battery has been charged as specified the battery is defective and the Sm...

Page 345: ... one of the following conditions is met When the user program in the SmartAXIS is password protected and the password of the user program in the memory cartridge does not match Configure the correct password to the user program in the memory cartridge For details on entering the password see User Program Protection on page 5 64 When uploading the user program from the SmartAXIS is prohibited Uploa...

Page 346: ... WEEK YEAR MSG TXD RXD DI EI XYFS CVXTY CVYTX AVRG PULS PWM RAMP ZRN ARAMP DTML DTIM DTMH DTMS TTIM FIFOF NDSRL HOUR ETXD ERXD DLOG and TRACE see Ladder Program Instructions List on page 8 1 19 Attempt was made to execute an instruction that is not available for the PLC 20 PULS PWM RAMP ZRN or ARAMP has an invalid value in control registers 21 DECO has S1 exceeding 255 22 BCNT has S2 exceeding 256...

Page 347: ...does not work Diagram 10 Data is not transmitted at all in the user communication mode 24 40 48 I O types only Diagram 11 Data is not transmitted correctly in the user communication mode 24 40 48 I O types only Diagram 12 Data is not received at all in the user communication mode 24 40 48 I O types only Diagram 13 Data is not received correctly in the user communication mode 24 40 48 I O types onl...

Page 348: ...run status LED PWR RUN is on while running and flashes while stopped Is power supplied Is the power voltage correct The power run status LED is not on or flashing Is the power run status LED on or flashing Supply power END Call IDEC for assistance Is the power run status LED on or flashing NO NO YES YES NO YES NO YES Supply the rated voltage AC power type 100 240V AC DC power type 24V DC ...

Page 349: ...The Backlight is not On Is power supplied Is the power voltage correct The Backlight is not On Is the LCD backlight on Supply power END Call IDEC for assistance Is the LCD backlight on NO NO YES YES NO YES NO YES Supply the rated voltage AC power type 100 240V AC DC power type 24V DC ...

Page 350: ...on NO See Troubleshooting Diagram 3 SmartAXIS Lite The Error Status LED ERR is On YES Is the power run status LED on Monitor M8000 start control special internal relay using WindLDR Is M8000 on Turn on M8000 using WindLDR Is the power run status LED on Turn off the stop and reset inputs Is the power run status LED on YES NO YES YES NO NO YES Note The Start button is found in the WindLDR menu bar N...

Page 351: ...estore normal operation by clearing error codes from WindLDR See Clearing Error Codes from WindLDR on page 14 2 The error status LED is on Clear error codes using WindLDR See Note below END See General Error Codes on page 14 3 Identify the error code and correct the error YES Did the error status LED turn off NO END Call IDEC for assistance YES Did the error status LED turn off NO ...

Page 352: ...iring correct Input does not operate normally END YES NO Are input device addresses correct Call IDEC for assistance Correct the external device wiring Is the input device on Correct the program YES NO NO YES NO YES YES NO Correct the input wiring Supply the rated voltage to the input terminal Note Check the on state for the input with the WindLDR monitor or the device monitor on the SmartAXIS Pro...

Page 353: ...maged Replace the SmartAXIS END Output does not operate normally SmartAXIS Lite Check the output with WindLDR SmartAXIS Pro Check the output with WindLDR or the device monitor Click the Start button in WindLDR on a computer connected to the SmartAXIS Note The Start button is found in the WindLDR menu bar NO YES SmartAXIS Lite Is the power run status LED on SmartAXIS Pro Is the LCD backlight on Is ...

Page 354: ...ommunication between WindLDR on a computer and the SmartAXIS is not possible SmartAXIS Lite Is the power run status LED on SmartAXIS Pro Is the LCD backlight on Is the computer link cable connected correctly Connect the cable completely Call IDEC for assistance When only program download is not possible Only program download is not possible YES NO Are the Communication Settings correct Click the S...

Page 355: ... damaged Replace the SmartAXIS Is stop or reset input designated in the WindLDR Function Area Settings Monitor the start control special internal relay M8000 using WindLDR on a computer YES Turn off the start control special internal relay M8000 using WindLDR on a computer NO Cannot stop or reset operation Note To monitor M8000 from the WindLDR menu bar select Online Monitor Monitor then Online Cu...

Page 356: ...t the watchdog timer Insert a NOP instruction into the ladder diagram so the time configured for the watchdog timer is not exceeded For FBD the watchdog timer cannot be reset in the program Call IDEC for assistance Watchdog timer error occurs and the SmartAXIS does not run Are the input ON OFF voltage levels correct Call IDEC for assistance The interrupt catch input cannot receive short pulses END...

Page 357: ...36 NO YES YES NO Are the Function Area Settings completed 1 Are signals being input to group 1 to 4 12 I O type or group 1 to 6 24 40 48 I O type Make sure that input signals are connected to correct terminals Call IDEC for assistance Select Single phase High speed Counter in the Groups 1 through 4 Frequency measurement does not work ...

Page 358: ...e When the power run status LED is not on 1 SmartAXIS Pro When the LCD backlight is not on 1 SmartAXIS Lite Is the power run status LED on SmartAXIS Pro Is the LCD backlight on Is the communication cable connected correctly Call IDEC for assistance Make sure of correct wiring YES YES Is the input to the TXD instruction on Turn on the input to the TXD instruction NO NO NO YES Data is not transmitte...

Page 359: ...s on simultaneously YES Correct the program to make sure that inputs to more than 5 TXD instructions do not go on simultaneously Data is not transmitted correctly in the user communication mode Set the communication parameters to match those of the remote terminal using WindLDR 1 Make sure that the busy signal at the remote terminal does not exceed 5 sec NO NO Is the data register designated as tr...

Page 360: ...mmunication cable connected correctly Call IDEC for assistance Make sure of correct wiring YES YES Is the input to the RXD instruction on Turn on the input to the RXD instruction NO NO NO YES Data is not received at all in the user communication mode SmartAXIS Lite When the power run status LED is not on SmartAXIS Pro When the LCD backlight is not on 1 SmartAXIS Lite Is the power run status LED on...

Page 361: ...rent data register YES NO Is a start delimiter specified in the RXD instruction YES Did you check the start delimiter of incoming data Did you check the format of incoming data Is an end delimiter specified in the RXD instruction Did you check the end delimiter of incoming data Is the receive timeout value set correctly using WindLDR Is one input used to start multiple RXD instructions Make sure t...

Page 362: ...ode low order byte 1 Make sure that slave address settings are correct Turn on the request execution device YES Is it clear which request has an error NO See the request table to find which request has an error and what error occurred see Communication Error Data of Each Request on page 11 3 YES 01h function error NO 02h access destination error NO YES 03h device quantity error 1 bit write data er...

Page 363: ... data register or internal relay Turn off the request execution devices for communication requests that do not require constant execution and turn on the devices only when they are used NO YES YES NO WindLDR and the SmartAXIS cannot communicate SmartAXIS Lite Is the power run status LED on SmartAXIS Pro Is the LCD backlight on Is the USB interface cable connected Call IDEC for assistance YES NO Ar...

Page 364: ...PLC directly using a single USB cable Step 2 Check communication settings Open the Communication Settings dialog box in WindLDR Select USB and uncheck the Use HGxG Pass Through check box Restart the computer and try again Confirmation procedure 1 Right click on My Computer and select Properties 2 In the System Properties dialog box select the Hardware tab and click Device Manager 3 All available c...

Page 365: ...OTING Troubleshooting Diagram 19 Modbus master communication request is slow END Select to use request execution internal relay and designate an internal relay number Keep unnecessary internal relays turned off and turn on internal relays only when sending requests ...

Page 366: ...ed in the remote I O master correct Configure the correct remote host settings in the remote I O master for the remote I O slaves Are the network settings of the remote I O slaves correct Configure the network settings of the remote I O slaves and specify valid IP addresses and subnet mask Is Master IP Address configured in the remote I O slaves correct Specify the IP address of the remote I O mas...

Page 367: ...ware version with the following steps 1 Connect the computer to the SmartAXIS USB port with the USB maintenance cable HG9Z XCM42 2 From the WindLDR menu bar select Online Monitor Start Monitor WindLDR enters monitor mode 3 Select Online PLC Status The PLC Status dialog box is displayed You can check the SmartAXIS system software version with System Software Version Note SmartAXIS system software d...

Page 368: ...he expansion communication ports or the Ethernet port 2 From the WindLDR menu bar select Online Download System Software Download The System Software Download dialog box appears 3 Select the PLC type and the system software version to download and then click Start System Software Download Notes If the SmartAXIS is running it is stopped automatically before the system software download starts Older...

Page 369: ...message is displayed Click OK to start downloading the system software 5 System software download status is shown by a progress bar A completion message appears when the system software has been downloaded successfully Click OK to close the System Software Download dialog box ...

Page 370: ...A user program execution error may occur if an older system software is downloaded to the SmartAXIS If the system software download fails the backlight on the SmartAXIS Pro will remain flashing or the error status LED on the SmartAXIS Lite will remain flashing In this situation turn on the SmartAXIS power again and redo the download from step 1 If the SmartAXIS Pro backlight is still flashing or t...

Page 371: ... 1 Connect a USB cable to the USB port on the SmartAXIS with power supplied while the computer is running 2 After the message Found New Hardware appears on the computer the driver installation wizard appears Select No not this time and click Next 3 Select Install the software automatically Recommended and click Next ...

Page 372: ...ged to Warn After changing the option to Warn reconnect the SmartAXIS and retry the installation procedure from the step 1 5 Installation is now complete Click Finish Installing on Windows Vista 7 32 bit or 64 bit 1 Connect a USB cable to the USB port on the SmartAXIS with the power supplied and the computer running 2 The following message appears in the bottom right corner of the desktop 3 The in...

Page 373: ...it 1 Connect a USB cable to the USB port on the SmartAXIS with the power supplied and the computer running 2 An icon is displayed in the taskbar Click to display the progress dialog 3 When the installation is complete the icon in the taskbar automatically disappears The installation is completed ...

Page 374: ...N type FC2A KP1C RS485 communication cartridge FT1A PC3 Terminal block type Twisted pair shielded cable with a minimum core wire of 0 3mm2 Conductor resistance 85Ω km maximum shield resistance 20Ω km maximum To SmartAXIS To Computer Mini DIN Connector Pinouts D sub 9 pin Female Connector Pinouts Description Pin Pin Description Shield Cover Cover FG Frame Ground TXD Transmit Data 3 3 TXD Transmit D...

Page 375: ...28 Blue 4 RXD Receive Data NC No Connection 28 Green 5 DSR Data Set Ready NC No Connection 28 Brown 6 SG Signal Ground NC No Connection 28 Gray 7 SG Signal Ground SG Signal Ground 26 Twisted Red 8 NC No Connection NC No Connection 26 White Cover Shield Signal Direction Do not connect any wiring to NC terminals otherwise operation failure or device damage may be caused Caution To HG2G 5F 3G 4G To S...

Page 376: ...ection 5 5 RXD2 Receive Data 2 SG Signal Ground 6 6 DSR Data Set Ready SG Signal Ground 7 7 SG Signal Ground NC No Connection 8 8 NC No Connection Shield Cover 9 DTR Data Terminal Ready To SmartAXIS To HG2F 3F 4F Mini DIN Connector Pinouts D sub 25 pin Male Connector Pinouts Description Pin Pin Description NC No Connection 1 1 FG Frame Ground NC No Connection 2 2 TXD Transmit Data TXD Transmit Dat...

Page 377: ...tor Error Status Function Clock Menu Languages Backlight T C Preset Values Message with the highest priority Running 13 30 40 2012 OCT 10 WED Stop External Memory Device Monitor Program Monitor Memory Cartridge SD Card Last Monitored Line Go To Stopped 2012 OCT 10 WED 13 30 40 System Version 1 00 Run Stop Status Stopped General Error 3 Execution Error 0 Clear Error Edit Program External Memory Con...

Page 378: ...ant to format SD card No Yes Run Edit Program External Memory Configurations Memory Cartridge SD Card Do you want to stop SD card access No Yes Run Edit Program External Memory Configurations Function Clock Menu Languages Backlight Communications Message Settings Slave Number Port 2 0 Port 3 0 Slave Number Network Settings Slave Number Network Settings Run Edit Program External Memory Configuratio...

Page 379: ...anguages Japanese Backlight ON time 00010 s Run Edit Program External Memory Configurations Function Clock Menu Languages Backlight Device Monitor Program Monitor Status Monitor Error Status T 0000 T 0010 T 0020 T 0030 0000 0010 0020 0030 TP 0 0000 0001 0002 0003 TP 0 TP 0 TP 0 C 0 0000 0001 0002 0003 C 0 C 0 C 0 0 0 0 0 0 0 0 0 D 0000 0001 0002 0003 D D D D 8000 8001 8002 8003 D D D M M M M 8000 ...

Page 380: ...otection Status Read Program Prohibited Protection Status Write Program Password Protected MAC Address Subnet Mask 255 255 255 0 Default Gateway 0 0 0 0 Network Settings DHCP OFF IP Address 192 168 1 5 General Error 3 Execution Error 0 Clear Error Device Monitor Program Monitor Status Monitor Error Status Error PLC is stopped Press OK button for more details Error PLC is running Press OK button fo...

Page 381: ... FT1A H40RSA 48 points 30 18 22 8 18 Sink FT1A H48KA 18 Source FT1A H48SA 100 240V AC 50 60Hz 12 points 8 4 8 4 FT1A H12RC 24 points 16 8 16 4 FT1A H24RC 40 points 24 16 24 12 FT1A H40RC 48 points 30 18 30 18 Sink FT1A H48KC 18 Source FT1A H48SC Lite 24V DC 12 points 8 4 6 2 4 FT1A B12RA 24 points 16 8 12 4 4 FT1A B24RA 40 points 24 16 18 6 8 4 Sink FT1A B40RKA 4 Source FT1A B40RSA 48 points 30 18...

Page 382: ...ge Connection Specifications Mini DIN FT1A PC1 Standards EIA RS232C Maximum Baud Rate 115 200bps Communication Functions Maintenance communication User communication Modbus RTU master slave Isolation between Internal Circuit and Communication Port Not isolated Connection Specifications Mini DIN FT1A PC2 Standards EIA RS485 Maximum Baud Rate 115 200bps Communication Functions Maintenance communicat...

Page 383: ...ed Fonts List Note Some of the characters cannot be input Character Code Table Using the Character Code Table Example Finding the character code for the character a in the table The upper 4 bits of the code are hexadecimal 6 The lower 4 bits of the code are hexadecimal 1 Therefore the character code for a is as follows Note For other fonts and two byte characters refer to the table of the relevant...

Page 384: ...APPENDIX A 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 European Font ISO 8859 1 Cyrillic Font ANSI 1251 ...

Page 385: ...SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 A 19 APPENDIX Japanese Font JIS X0201 ...

Page 386: ...APPENDIX A 20 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...

Page 387: ...r communication 1C A 9 Calendar Clock 5 3 Calendar and clock data storage locations 5 70 calendar data write flag M8016 7 5 Calendar clock error 5 69 calendar clock data read error flag M8014 7 5 write flag M8020 7 5 write adjust error flag M8013 7 5 carry Cy and borrow Bw M8003 7 4 catch input ON OFF status M8090 M8095 7 6 Character Code Table A 17 Checking Error Information 6 20 Checking Error I...

Page 388: ...lt gateway 12 8 default gateway D8092 D8095 7 14 Derating 2 13 details button 14 1 device addresses 7 1 Device Address 13 15 Device Settings 5 3 DHCP 5 72 Dimensions 2 30 direct mounting on panel surface 3 4 disable and enable interrupts 5 34 5 41 disabling protection 5 65 Download user program 9 1 download program 4 14 Downloading and uploading user programs 5 49 Downloading the User Program 6 23...

Page 389: ...n 10 1 Interface FB 8 13 internal relay keep designation 5 7 interrupt input 5 34 I2 through I5 edge M8080 M8085 7 6 status M8070 M8075 7 6 IP address 5 75 12 8 IP address D8084 D8087 7 13 IP Addresses 9 7 K keep data sum check Error 14 4 designation 5 7 L LCD 2 2 Backlight ON Time 6 10 Specifications 2 8 line control signals RS232C 10 11 list advanced instruction 8 3 basic instruction 8 1 Local H...

Page 390: ...ower failure 14 4 supply 3 11 wiring 3 12 Power Supply Terminals 2 1 Power Run Status LED 2 3 14 8 14 10 Preset value storage locations 5 17 Preset value reset value storage locations 5 24 programming 32 bit data storage setting using WindLDR 5 63 catch input 5 32 catch input using WindLDR 5 32 forced I O using WindLDR 5 44 input filter using WindLDR 5 38 interrupt input using WindLDR 5 34 Modbus ...

Page 391: ...formation 14 3 for interrupt inputs 5 34 for RS232C line control signals 10 11 for scan time 5 67 for timer interrupt 5 41 list 7 8 Special FB 8 15 Special internal relay list 5 23 special internal relay 7 2 12 3 for catch inputs 5 32 for interrupt inputs 5 34 for timer interrupt 5 41 specifications catch input 5 32 Modbus master communication 11 2 user communication mode 10 1 Standard Screen 6 2 ...

Page 392: ...heck error 14 4 protection 5 64 ROM sum check error 14 4 syntax error 14 4 writing error 14 4 protocol 10 4 User Communication via Ethernet Communication 10 14 via Serial Communication 10 1 user communication cancel flag 10 16 10 19 server 10 19 V version system program D8029 7 12 via USB 14 24 W watchdog timer error 14 4 Week Programmer FB 8 13 WindLDR clearing error codes 14 2 monitoring 14 1 pr...

Page 393: ...Specification and other descriptions in this brochure are subject to change without notice Information in this brochure is current as of May 2019 2019 IDEC Corporation All Rights Reserved FT9Y B1378 5 ...

Reviews: