background image

Artisan Technology Group 

is your source for quality 

new and certified-used/pre-owned equipment

• 

FAST SHIPPING AND 

DELIVERY

• 

TENS OF THOUSANDS OF 

IN-STOCK ITEMS

•  EQUIPMENT DEMOS
• 

HUNDREDS OF 

MANUFACTURERS 

SUPPORTED

•  LEASING/MONTHLY

 

RENTALS

•  ITAR CERTIFIED

           

SECURE ASSET 

SOLUTIONS

SERVICE CENTER REPAIRS

Experienced engineers and technicians on staff 

at our full-service, in-house repair center

WE BUY USED EQUIPMENT

Sell your excess, underutilized, and idle used equipment 

We also offer credit for buy-backs and trade-ins

www.artisantg.com/WeBuyEquipment

                        

REMOTE INSPECTION

Remotely inspect equipment before purchasing with 

our interactive website at

 

www.instraview.com

LOOKING FOR MORE INFORMATION? 

Visit us on the web at

 

www.artisantg.com

    

for more 

information on price quotations, drivers, technical 

specifications, manuals, and documentation

Contact us:

 

 

(888) 88-SOURCE  |  [email protected]  |  www.artisantg.com

SM

View

Instra

Summary of Contents for Simatic TI405

Page 1: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Page 2: ...IEMENS SIMATIC TI405 User Manual Order Number PPX 405 8101 2 Manual Assembly Number 2593546 0006 Second Edition Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 3: ...eter to this history In all correspondence and or discussion about this manual Event Original Issue Second Edition Date 8 89 10 93 Description Original Issue 2593553 0 XJl second Edition 2593553 OXl2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 4: ...1 19 14 20 1 20 3 2H 21 13 22 1 22 15 A l A 7 B l B 17 c t C lO Glossory 1 Glossary 11 Index l Index ll Registration Dflerlptlon Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Second Pages o s rlptlon Artisan Technology Group Quality Ins...

Page 5: ...fications 1 1 Product Summcuy 1 2 TI425 CPU 1 2 TI430CPU 1 2 TI435 CPU 1 2 TI405 Expansion Unit _ _ 1 2 Machine stage Programming _ 1 2 Handheld Programmer 1 2 Memory Cartridges 1 4 Base Units _ 1 4 TI405 I O 1 4 Cassette Program storage 1 4 1 2 CPUSpecifications 1 5 1 3 Base Specifications 1 10 1A Discrete Input Module Specifications 1 11 1 5 Discrete Output Module Specifications 1 13 1 6 Input S...

Page 6: ... SP53with FIND Instruction __ _ _ _ 1 32 Serial Port on 11435 _ 1 32 MOVMC Instruction __ _ _ 1 32 Chapter 2 Installation 2 1 Safety Guldelln 2 2 Safety ConslderatlQl1 Disconnecting Power _ Disconnecting Power for Emergency Conditions __ Bypassing PLC tor Machine Loading _ Enclosure Selection _ _ Temperature Considerations _ _ _ _ _ 2 3 Grounding Grounding the Equipment Single Point Grounding GUid...

Page 7: ...15 Wiringthe Output Modules 2 40 2 16 Connectlng the InputSimulator Module 2 47 PPX U D5S Input Slmulotor Module 2 47 Chapter 3 Troubleshooting and Maintenance 3 1 Introduction 3 2 3 2 PPX U G1Nllntenupt Input Module a ReacJ Write Shared RAM on MIU 3 3 PPX U Q1Nllnterrupt Input Module 3 3 Reod ono Write Shared RAM AUX47 on MIU 3 3 3 3 I O staluslndlcatloll on the MIU 3 5 3A Using the MIU to Troubl...

Page 8: ...eplacement 3 22 Memory Cartridge Battery Replacement 3 23 Chapter 4 Programming the SIMATIC TI405 4 1 4 2 4 3 4A Identifying the MIU Keys The PPX 5 lOP Machine Interface Unit First Level Key Functions Second Level Key Functions Enterlng Programs Key Sequence Termination Displaying the Program Contents Correcting Errors Inserting Instructions Deleting Instructions Locating a Specific Instruction Se...

Page 9: ... 4 32 4 32 4 34 Chapter 5 Relay Ladder Logic Programming 5 1 Programming Guidelines S 2 5 2 Entering common Ladder Logic Networks S 3 Entering a Simple Network 5 3 Entering Contacts In Series AND 5 4 Entering Series Branches in Parallel OR STR 5 5 Entering Parallel Contacts in Series AND STR 5 6 Entering a Complex Ladder Program 5 7 5 3 Using the Accumulator 5 9 5 4 Subroutine Programming 5 11 5 5...

Page 10: ...ng Stage 000 _ _ _ 6 32 Entering Stage 001 _ _ 6 33 Entering Stage 002 6 34 Entering Stage 003 6 35 Running the Program 6 36 Program Operation 6 36 Ending the Program 6 36 6 7 An Advaneed Stage Programming Example 6 37 Diagram Symbols 6 37 Praduct Finishing Example 6 38 Entering Stage 000 6 42 Entering stage 001 _ 6 43 Entering stage 002 6 44 Entering stage 003 _ 6 44 Entering Stage 004 _ 6 45 Ent...

Page 11: ...ment DI p1ay 7 7 Program Operation 7 7 7 5 Hlgh Speed COunt Subroutine T1435 Only 7 10 stage XX Operation 7 11 stage 001 Operation 7 11 stage 002 Operation 7 12 stage 003 Operation 7 12 7 6 MIU Operator Interface 11435 Only 7 13 Chapter 8 Instruction Operands 8 1 Input Contaefs 8 2 8 2 Output Colis 8 3 8 3 Control Relays 8 4 8A Immediate Inputs 8 S 8 5 Immediate Outputs 8 6 8 6 Special RelQy 8 7 C...

Page 12: ... Chapter 10 Comparative Boolean Instructions STRE 10 2 ORE 10 2 ANDE 10 3 SlRNE 10 3 ORNE 10 4 ANDNE 10 4 STR 10 5 OR 10 5 AND 10 6 SlRN 10 6 ORN 10 7 ANDN 10 7 Chapter 11 Immediate InstrucHons SlRI 11 2 STRNI 11 2 ORI 11 3 ORNI 11 4 ANDI 11 4 ANDNI 11 5 OUll 11 5 OR OUll 11 6 SETI 11 7 RSTl 11 7 LDIF 11435 Only 11 8 OUllF 11435 Only 11 9 x Contents Artisan Technology Group Quality Instrumentation...

Page 13: ...PD _ 13 12 Chapter 14 Bit Manipulation Instrucflons SHFR _ _ _ 14 2 SHFL 14 3 ROTR _ 14 4 ROTL 14 5 lOF T1435 Only 14 6 OUTF TI435 Only 14 7 ADDF TI435 Only 14 8 SUBF TI435 Only 14 8 MULF TI435 Only 14 9 DIVF T1435 Only 14 9 ANDF TI435 Only _ _ _ 14 10 ORF TI435 Only __ _ 14 11 XORF T1435 Only _ 14 12 CMPF TI435 Only _ 14 13 SUM _ 14 13 LDSX T1435 Only _ __ 14 14 Chapter 15 Accumulator Stack Instr...

Page 14: ... Instructions ADDB 17 2 ADDBD TI435 Only 17 2 SUBB 17 3 SUBBD TI435 Only 17 3 MULB 17 4 DIVB 17 4 INCB 17 5 DECB 17 5 Chapter 18 Encoding and Decoding Instructions BIN 18 2 BCD 18 2 ENCO 18 3 DECO 18 4 SEG 18 5 ATH 18 6 HTA TI435 Only 18 8 Chopter 19 Table Instructions FILL 19 2 FIND 11435 Only 19 3 FDGT TI435 Only 19 5 DLBL TI435 Only 19 7 NCON TI435 Only 19 8 ACON T1435 Only 19 8 MOV T1435 Only ...

Page 15: ... 0151 21 8 INT 21 9 IRTC 21 9 IRT 21 9 MLS MLR 21 10 Chapter 22 Program SupportInstructions SET 22 2 RST 22 2 SR 22 3 PO 22 4 NOP 22 4 END 22 5 LDLBL T1435 Only 22 5 MOVMC T1435 Only 22 6 RD 22 8 wr 22 9 RX 22 10 WX 22 12 FAULT 22 14 RSTwr 22 15 Appendix A Number Systems and Codes A I Nul llber Systems A 2 Decimal Numbers A 2 Binary Numbers A 2 Binary Coded Decimal Numbers A 3 Octal Numbers A 4 He...

Page 16: ...ex 8 2 B 2 Instruction Operands B 3 Discrete Operands _ __ B 3 WordOperands _ __ B 3 8 3 Instruction SUmlTlClfY 8 4 Appendix C ErrorMessages Glossary Index xlv Contents Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 17: ... Figure 2 1 Operator Safety Switch __ 2 4 Figure 2 2 Emergency stop Switch 2 5 Figure 2 3 JOG or INCH SWItch 2 6 Figure 2 4 Sample Ground Connections _ _ _ 2 9 Figure 2 5 Examples of Noise SnUbbing 2 12 Figure 2 6 Base Configuration Example _ 2 15 Figure 2 7 Base Mounting Dimensions 2 16 Figure 2 8 Expansion Base Mounting Dimensions _ 2 17 Figure 2 9 CPU Dipswitch _ 2 18 Figure 2 10 Inserting the ...

Page 18: ...3 3 Monitoring a v mernorv Address in Run Mode 3 6 Figure 3 4 Storing a Constant in V memory 3 7 Figure 3 5 Monitoring Output Points _ 3 8 Figure 3 6 Test Mode MIU Display 3 9 Figure 3 7 Test Run Mode Instruction Display 3 10 Figure 3 8 Monitoring a Timer 3 11 Figure 3 9 AUX58 Menu Display 3 12 Figure 3 10 YlXlOO Configuration Display 3 12 Figure 3 11 Keyboard Check Selt test 3 14 Figure 3 12 AUX4...

Page 19: ...rrupt Routine Instructions __ _ 5 12 Figure 5 9 Scan Time Components _ 5 13 Figure 6 1 Four Basic Components of stage Programming 6 3 Figure 6 2 One Complete stage _ 6 4 Figure 6 3 stage Used as a Flag 6 4 Figure 6 4 stage Running Continuously __ 6 5 Figure 6 5 Assigning Stage Numbers in Octal 6 6 Figure 6 6 stages Connected Sequentially 6 6 Figure 6 7 stages Contrailing the Same Points 6 7 Figure...

Page 20: ...mple Stage OlO 6 50 Figure 6 41 Advanced Example Stage 011 6 51 Figure 6 42 Advanced EAample Stage 012 6 51 Figure 6 43 Advanced Example Stage 013 _ 6 52 Figure 6 44 Advanced Example Stage 014 6 52 Figure 6 45 Advanced Example Stage 015 6 53 Figure 6 46 Advanced Example Stage 016 _ 6 53 Figure 6 47 Advanced Example Stage 017 6 54 Figure 6 48 Advanced Example Stage 020 6 54 Figure 6 49 Input Module...

Page 21: ...ample 8 7 Figure 8 8 Timer Relay Example 8 13 Figure 8 9 Counter Relay Example 8 14 Figure 8 10 V Memory Pointer Example 8 15 Figure 8 11 Stopping Program Execution it Error Detected 8 17 Figure 15 1 SPExample 15 9 Figure 15 2 ADD Binary Top of Stock to Accurnulotor ADDBS 15 9 Figure 15 3 SUBtract Binary Top ot Stack from Accumulator SUBBS 15 10 Figure 15 4 Multiply Binary Accumulator by Top of St...

Page 22: ..._ _ 1 28 Table 2 1 CPU DlpswitCh Settings _ __ 2 18 Table 2 2 Serial Interface Port Baud Rates 2 19 Tobie 4 1 First Level MIU Key Definitions 4 4 Table 4 2 Second level MIU Key Definitions _ 4 7 Table 4 3 Default Retentive Memory Ranges 4 34 Tobie 5 1 Key Sequence for a Simple Network 5 3 Table 5 2 Key Sequence Using AND __ 5 4 Tobie 5 3 Key Sequence Using ORSTR 5 5 Tobie 5 4 Key Sequence UsingAND...

Page 23: ...are included in this chapter Chapter 3 provides the instructions for performing preventive maintenance and troubleshooting your TI405 products Error messages and steps for forcing I O points are included in this chapter Chapter 4 provides the details for operating the Mac1TineInterface Unit MIU a hand held programming device and for programmine your Series 405 system Chapter 5 provides the details...

Page 24: ...the MIU A machine control program that combines relay ladder logic and the sequential function programming elements called Stage A program segment that only executes when made active by another Stage Technical Assistance Ordering Replacement Pam Ifyou need information that is not included in this manual or ifyou have problems using the system contact your Siemens Industrial Automation Inc distribu...

Page 25: ...the I O Modules xxvi Conn ct the Wires for Une Power xxvii Connect the I O Module Wiring xxviii Connect Cln Input SWitch xxviii AtfClch the MIU xxix Cleor the Memory xxx EnterA ProgrClm xxxi SIMATIC TI405 u s Manual Quick start xxiII Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 26: ...tch Then you enter a simple program that turns an output module status LED on and off whenever the input switch is toggled You need the following items for this demonstration A SIMATIC TI425t u or TI435 CPU A CMOS RAM Memory Cartridge if using the TI435 Any Series 405 Base A PPX U 50N 16 point 24 48 VDC Input module A PPX U 15T 24 VDC Output module Wiring for 110 VAC line supply voltage Hook up wi...

Page 27: ...en the securing screw Figure I Il1 effIngthe CPU Ifyou have a TI435 insert a PPX G 03M CMOS RAM cartrtdge in the CPU 1 Remove the left panel cover on the CPU 2 Insert the Memory Cartridge as shown in Figure ii 3 Press firmly to ensure that the cartridge is seated in the CPU Rgu1811 Inserting a Memory Cartridge In the T1435 SIMATIC TJ40S User Manual Quick Stort xxv Artisan Technology Group Quality ...

Page 28: ...oilage Insert the I O Modules F lgure iii 110 VAC Shorting Iklr Instcdlallon Insert an Input and an Output module into the base as follows see Figure iv 1 Tilt these modules and hook their rear tab into the base as you did with the CPU 2 Push the modules toward the base to seat them securely 3 Tighten the securing screw Figure iv Inserting the I O Modules xxvi Quick Start SlMA11e 11405 UserManual ...

Page 29: ...I PM IIIUnit TE NO o vo SIMATICT1435 STOP cPU 0 c COM WARNING Figure v Conn aing the CPU Une Power Wiring To minimize risk of potentisl shock hazard and injury to personnel be sure the unit is properly installed in an enclosure in order to minimize access to electricslly live terminals Only persons knowledgeable in the safe use of high voltage should perform this operation SIMAT C T 405 UserManual...

Page 30: ... single pole single thTOW switch to terminal 4 24 VDC of the CPU and to 0 of the tint DC input module This is the top screw terminal on the left half of the input module strip as shown in FiguTe vi 2 Replace the front panel on the CPU CATerminaJ U 16T 0 m IJT INPUT LiiiMif _ SIMATlCTt435 II E Figure VI Wiring the I O Modu xxviII Quick Start SIMATle R405 UserManual Artisan Technology Group Quality ...

Page 31: ...able between the MID and the CPU as shown in Figure vii or attach the MID directly to the front ofthe CPU by mating the 15pin connectors CPU 0 0000 0 I Mac lline Int8If8ce Un d r L rl 0 r II II figure vii COnnectlng the MIU Quick Start xxix Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 32: ...gUI8 viii SettIng the Keylock SwItch to TERM 3 Enter the following key sequences Key Sequence Display iii ii c i J CIJ CiiiJ AU 1 Oper t i Dg IIode AU 13 Go To Pgm IIode CiiD 5 gm 1Iode l iiiIJ IIOde Pgm iii CIJ o J CiiiJ AtIX 2 RLL oper t i AUX 24 Cl 8ar Ladder jj J CLa lUl Ladder CiiD me SIMATIC TI405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artis...

Page 33: ... ng Node AUX 11 Go To Run IIOdol iii Run Mode iii Node Run When you are finished the CPU will be in RUN mode Shaded keys I represent the blue colored symbol identification keys on the MIU Ifyou have difficulty enteringyour program refer to Chapter 4 for more detailed instructions about using the Machine Interface Unit Ifan error message is displaYed on the MIU refer to Chapter 3 for an explanation...

Page 34: ...0 Calculating Power ReqUirements In Expansion Bases 1 21 1 9 Programmingand Program storage Speclflcations 1 23 MIU Pertpheral Port 1 23 1 10 Peripherallnterfaee Ports 1 25 Programmer Port 1 25 Serial Interface Port 1 26 CPU Protocols 1 28 Protocols Supported by each Port 1 28 CPU Restrictions when UsingK sequence 1 29 Using la bit Modems 1 30 UsingnSOFT Release 2 01 in Bottom Port 1 30 Determinin...

Page 35: ... and 8 slots Expansion models are available in those densities for connecting up to four bases in a single TI405 system like the configuration in Figure 1 1 The CPUs have Machine Stage built in Machine Stage is a machine control language that is combined with relay ladder logic RLL to create programs in less than one third the time required with RLL only The PPX S l0P Machine Interface Unit MIU is...

Page 36: ...nly ___ n Unllwllh 1IuIII AC SUpply AuxII 1 24 VDC_r __ 0 or Slot _ TI405 JhmoIY cartridge T1435 only cMOS RAM Includes_ry EEPROM oUVPROM t 6 or SlOt BuB 4r TI4OII D e fd _r figure J J TIAOS Product Fcmlly SIMAlIC 11405 UserManual System Speclflcatlons 1 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 37: ... by the total power consumption of the components used in the base The TI405 I O consists of modules for 12 24 VDC input output 1101220VAC input output and Relay output in 8 and 16 point densities Each module has its own diagnostic LEDs and two commons per module for better isolation Their thermal dissipation characteristics allow them to drive outputs at 2 A for each channel 8 point modules over ...

Page 38: ...gth 1500 VAC 1 min between primary secondary FG and RUN contaeta Insulation 20M ohme 500 VDC between primary secondary FG and RUN contact PPX 485DC1 CPU 100M ohms Vibration MIL STD 810C 514 2 Shock MIL STD 810C 516 2 Noi Immunity NEMAICSS 304 Impul 1000 V 11l Dimensions mm 108 W x 150 H x UO rr Environmental air No corrosive gases SIMATIC T 405 Us rManual System Speclflcatlons Artisan Technology G...

Page 39: ...Machine Stage RLL and Machine Stage Instruction Set Boolean and Date operation Beoleen and Data operation Boolean and Data t Ipetation Thtal number of instructions 122 122 122 Integer math Ye Ye Yo Program ecurity CPU mode keylock Ye Ye Y Password No No No Progrem JJB II B Y Ye Yes ThlBlnumber of control relay 480 can use unused loco 480 Icen use unused loco 480 can use unused local QUtpubil end r...

Page 40: ...ule 2 2 2 CPU ron mode relay 260 VACII A 60160Hz ao 260 VACII A 60160Hz 30 260 VACII A 60160Hz ao VDCIA VDCIA VDCIA Diegnosttcs Programmed wag messages 74 74 74 User definedmessegee 4 di p 4 digi 4 digi CPU di o LEO 6 6 6 I O module mag LEDs 3 a 3 System dieg special relays 14 14 14 Debug N seen Yes Y Yes Search and replace No No No Hold looted outputs during TEST STOP Y Yes Y Progremmeble w tchdo...

Page 41: ...gramming Language RLL and Machine S1 ll RLL and Machine Stage RLL and Machine S1 ll Instruction Set Boolean end Data operation Boolean and Data operation Bocleen and nata operation 1btal number of instructiD 174 174 174 Integer math Yes Ye Ye Progrem security CPU mode keylock Yes Ye Ye Password Y Yes Ye ProgriEUD name Y Ye Yes Thtal numbel of control relays 480 can U54 uaneed local 480 can use unu...

Page 42: ...Ib mode relay 260 VACll A 60160 Hz 260 VACll A 60160 Hz 260 VACll A 60160 Hz 80VDC 1A OVDC1A 80VDC 1A Djagnostics Programmed wag messages 98 98 98 User defined messages 23 eheracter 23 character za cherecter CPU diagno tic LEDs 6 6 6 110module diag_ LED 8 8 3 System diag spoctal relays 14 14 14 Debug N seen V s Ves V Search and replace Yes Y V s Hold seIeold outputs duriugTEST STOP Ye V Ves J g em...

Page 43: ...hstand ifehorted between ground and circuit Inauiation resistance 10M ohm 600 VDC betw n ground and circult Note No tnsulation if shorted between ground and circuit Noise immunity NEMA ICS8 304 Impulse 1000 V 1 The following table lists the overall base dimensions PPX PPX PPX PPX PPX PPX U emJ Uo04B U oeBJ U 08B U 08BJ U I8B Number of Slots 4 4 6 6 6 6 Expansion No Ye No Yeo No Ye Capability Lengt...

Page 44: ...A 12 V 8 3 mA 24 V 10 mA 48 V 8 3mA 24 V Input switohlng characteristics On level 9 5 V isv 9 5 V Offlevel 4 0V 7V 3 0V Offto On response 1 7ma 3 10ms 6 40ms On to Off reaponse 2 12 ms 3 12m 10 50 me Ststue Indicator Maximum Off current Logic ide Logic Bide Logic Bide Minimum On current 1 6mA 1 5mA 1 5mA 3 SmA 3 6mA 4 0mA Internal power consumption max 160 mA 100mA 150mA 6V Weight 260g 260g 260g R...

Page 45: ... 60 Hz 20 rnA 230 V 60 Hz 14 5 rnA 115 V 60 Hz Input switching characteristics On level 70 V 70V Offlevel 80 V 30 V Offto On response 5 30 me 6 80ms On to Offresponse 10 50 me 10 50 me Statue Indicator Logic side Logic side Maximum Off current 2 rnA 2mA Miuimum On current 7mA 7 rnA Internal current coneumption max 5 V 100mA 150mA Weight 240g 270g Removable connector Yes Yes Temperature derating No...

Page 46: ...O lmA O lmA 265VAC 26SVAC 40VDC 40VDC ON voltage drop N A N A 0 SV 2A LSV O SA Stnalli st recommended load SmA 5VDC 5mA 5VDC 0 2mA SVDC 0 2mA 5VDC Maximum inruoh 2A 4A 6Afor 100m 1 A for 100 me 12Afor 10m 2 A for 10 ms Offto Onrespon89 12m 10m Lma Lme Ou to Offr pon 12m 10m 1mo Lme Statue Indicator Logic etde Logic side Logic oide Logic sid Internal fueea 2 8A 2 8A 2 7A 2 SA Replaceable ru e No No...

Page 47: ...VAC Small t reeommanded load 0 2mA 10mA 16V 10mA 16V Maximum inrueh 1 A for 100m 10 A for 100 me 10mA 100V 2Afur lOme SOA for lOme 15 A for 10 me Offto On response 0 5m 1 me 1me On to Off response 0 5 me 1 me 1 2 cycle 1 me 112cycle Statue Indicator Logic Bide Logic Bide Logie lde Internal fu e 2lJOA 2 8A 2 5A Replaceable fu No No No Internal current consumptjon max 200mA MOmA 450mA 5V Weight 270g...

Page 48: ... 20T 1 1 f 1 1 1 t t j O 5A1Paint 0 I 1 I 300 0 I I O ClifIMI 1 T C 2M olnt 5 t1 IDlI 1 2A CC1 I I I I 110 Point IS re ChIIrt te ra o to 30 AIllb ntT m rw oloC PPX Uo15T z s 10 20 30 iJO 150 80 Amb nt r C PPX U oST output GIMffII d 0 8 A PtIInt I I I I I r I r I Outpdl ClJftMt 1 A PD1ht 5 JVCommon I I I I I n 1 I O Pow vaT II ChIIrt Oulpul te CJ 35 M1Qtlll o to zo 30 Amblm1 m C PPX U 25T SIMAnc n4...

Page 49: ...e input points Operating temperature o to 60 C 32 to 140 F Humidity 5 to 95 neneondensing Power Supply Requiremente EJ temlll supply N A Current Consumption on internal 5 V 4 mAlcircuit maximum 160 rnA 1 16 System Speclflcaflons SIMATICTl405 Us r Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 50: ... contact Insulation resistance 20M ohms 500 VDe between pr imary secondary FG and RUN eontaet Notee immunity NEMA ICS3 304 Impulse 1000 V 1 flO Dimensions mm 108 W x 150 H x 110 D Woight 640g Plastio material ABs Voltago range 85 to 182 VAC 170 to 264 VAC Frequency range 47 to 63 Hz Input eurrent 1 8 A Inrush current 20 Ameximum Input power 50 W maximum Output voltage 5 1 V 0 25 20to28V 12 V 12 V ...

Page 51: ...e TI435DCCPU DC Power Supply Requires msmory cartridge TI436DCl CPU DC Powar Supply Requiree memory cartridge TI405 Expaneion Unit PPX 405 IOEX Expansion unit with AC power supply 4000 1 These devices can Illso provide power to external devices 24 VDC e 00 mA 2 Does not provide onomo 24 vne Table 1 5 Pow R cIulremenls for 11405 BClM 1 1406 Bases IJesc ription I OW8J Required JUA PPX U 04B 4 slot b...

Page 52: ...24 VDC output module 16 pointe 200 0 6 A logic PPX U 55T 12124 VDC output module 16 pointe 360 0 6 A logic TI406 AC Output Module PPX U 2OT 1101220 VAC output 8 pointe 2 A 250 PPX U 26T 1101220 VAC output 16 pointe 0 6 A 450 TI406 Relay Output Modules PPX U 01T Relay output module 8 pointe 2 A 550 PPX U 05T Relay output module 16 points 1 A 1000 Table 1 7 Power Requi enl for Tl405Hondheld PrograJ ...

Page 53: ...er 0 location _ Module Position Module T pe Power Consumption mA Slot 0 PPX U 25N 110 VAC1n 16pt 150 Slot 1 PPX U 25N 110 VAC1n 16pt 150 51012 PPX U 25N 110 VAC1n 16pt 150 Slot 3 PPX U 25N 110 VAC1n 16pt 150 Slot 4 PPX U 15T 12124 VDC Out 16pt 200 Slot 5 PPX U 25T 110 220 VAC Out 16pt 450 Slot 6 PPX U 25T 110 220 VAC Out 16pt 450 Slot 7 PPX U 25T 110 220 VACOut 16pt 450 PPX 5 10P Machine Intelface...

Page 54: ...on Module Type Power Consumption mA S otO PPX U 55N 12 24 vac1n 16pt 1S0 Slot 1 PPX U SSN 12 24 VDC1n 16pt 1S0 Slot 2 PPX U 5ST12 24 vacOut 16pt 3S0 Slot 3 PPX U QSTRelay Out 16pt 1000 Slot 4 PPX U QSTRelay Out 16pt 1000 SlotS PPX U QSTRelay Out 16pt 1000 Slot 6 NIA Slot 7 N A PPX S 10PMachine Interface Unit NIA BlISe 80 Tolal Power SuPPlied is 3700 rnA Na CPUIPower Supply is baing used Total I 15...

Page 55: ... Supplied i 3700 mAff CPUIPower Supply i being used T01lIl I I meol I OR Power 4000 mAi PPX 405 IOEX Supplied Expansion Un Is being used This module combination is valid only if the Total Power Consumed number IS_lhan lb Po_ Supplied number FIgure 1 5 Power Budget Worksheet 1 22 System Speclflcaflons SIMATIC Tl405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURC...

Page 56: ... 2 Noise immunity NEMA ICS3 304 Impulse 1000V 11 Dimensions 145 DUn x H8mm x 30 mm Weight 380 g excludes memory eartridge Display type LCD Display Bize 24 cheractere by 2 lines Display LEns Run Test Pgm Keypad 55 keys Power Supply Requirements UVPROM 12 5 VDC 6 VIlC External supply 5VDC 5 Internal power consumption 200 rnA 120 rnAfor baek Iight Write to memory cartridge 848 rnA 120 rnA for back li...

Page 57: ... CMOS RAM EEPROM UVPROM PPLQ 03M PPLG 28M PPLQ I4M Memory capacity OKwords OKwords 16K words Backup battery Lithium Not required Not requlred Write dioahle function Terminal jumper Iarminal jumper Not required Writing life N A More than 10 000 time 1 000 timeB Memory deletion method N A Electrically erased Ultraviolet irradiation W ight 42g GOg 60g Cartridge ineertion frequency More than 10 000 ti...

Page 58: ...RUNO 0vo CPuo 0 COM Figure 1 7 MIU Port Specifications Table 1 11 MIU Port Pin DescriptiON Pin Name Description 1 YOP Sen88 connection between MID and CPU 2 TX1 ran_it Data RS 232 C 3 RX1 Receive Data RS 232 C 4 ONLINE Requaat Communication TTL 5 ABNO CPU Error TTL 6 PRDY CPU ready to communicate TTL 7 CTS CI r Ib Sand RS 232 C 6 YOM Benee connection between MID and CPU 9 NOtU88d 10 LCBL Sense cab...

Page 59: ... each pin PWFIO 0 BATT F1UNO 0110 CiPUo 0 COM RUN 3S STOP 2S pinFemllie oConneetor RS C F1S 422 300 1200 9600 19 2KBaud 8 Data Bits 1 SW1 BIt 1 Slop BIt Odd Parity HaII CupI AsyncIvOnous ore 1 014 0 o 0 o 0 o 0 o 0 o 0 o 0 o 0 o 0 o 0 o 0 o 0250 13 RgU 1 8 11435 SerlaIlnterfcace PortSpeciflcCltio 1 26 System Specifications SIMAnc n405 UsarManual Artisan Technology Group Quality Instrumentation Gua...

Page 60: ...5 Not used 16 TXD Transmit Data RS 422 17 Notu d 18 RTS Requ t to Send RS 422 19 R1 8 Requeot to Send RS 422 20 Notnoed 21 Notu d 22 Notu d 23 CTS Clear to Send 8 422 24 Not used 25 Net used Toble 1 13 CommunlcClllon PorfSpec lftcotlons tYP RS 232CIRS 422 Baud rate 300 1200 9600 19 2K BPS Data format Hex mod or ABCll mode Connector 25 pin D socket Protocol N sequenceIK sequence Isolation No Addre ...

Page 61: ...ed from scratchpad memory Table 1 15 Protocols Used by TI405 Interface Dtlv1c s Device Type Protocol PPX S I0P MID K CVlJI00 K TISOFT ReI 1 0 K TISOFT Rei 2 01 KorN IN t2 N NOTE The bottom port on the TI435 can be configured for station address network Hex or ASCII mode and odd or no parity using AUX 26 with TJSOFr Release 2 01 or AUX 56 with the PPX 8 10P MID MIU Firmware V3 2 or greater To enabl...

Page 62: ...ndler K sequence protocol cannot be used on both TI435 CPU ports at the same time Attempts to use both TI485 CPU ports with K sequence at the same time can result ill communication timeouts and incorrect data transfers Because the TI435 CPU contains independent buffers and handlers for N and K no communication interference problems arise from using K on the top port and N on the bottom port at the...

Page 63: ...tries K sequence first If the CPU responds correctly with K sequence then TISOn connects and begins normal online operations IfK sequence does not work TISOFT tries N sequence This method ofinvoking TISOn is generally acceptable except when trying to use TISOn on the bottom port of a TI435 CPU containing V2 1 firmware while the top port is in use In this specific case TISOn attempts to come online...

Page 64: ... TISOn is eommunicatin 1 with N sequence The following restrictions apply to TI405 TISOFT N sequence is an option on TiSOn Release 2 01 for TI405 but is not available on TISOFT Release 1 0 The following TISOn Release 2 01 operations are not available when N sequenee protocol is used AUX 10 Syntax Check STATUs CHART CHGVAL change value except for V memory Constant Editor in STATUs CHART CHGVAL Beca...

Page 65: ...further information Onproblem see Technical Advisory PPX 405 004 TI425 Version 1 6 firmware failed to report the number of points in I O configuration for the PPX U Otz High Speed Counter HSC module Solution This problem was corrected to report 16 input and 32 output points for the HSC In previous firmware releases error indicator SP53 was not reset immediately prior to the FIND instruction TI435 ...

Page 66: ...2 14 Base Configuration Rules 2 14 Base Mounting Dimensions 2 16 2 7 Setting the CPUDlpswJtch 2 18 Selecting the CPU Battery Backup 2 18 Selecting the Network Address Default 2 19 Selecting the Serial Port Baud Rate 2 19 2 8 Installing the CPUand Expansion Un 2 20 Installing the CPU and Expansion Unit _ 2 20 Connecting the Line Power Wiring 2 21 Selecting 110 VAC Supply Voltage 2 22 Selecting 220 ...

Page 67: ...nfiguration m435 only _ _ __ _ __ 2 32 2 13 I O Module Numbeltng Notation 2 34 2 14 Wlltngthe Input Module 2 35 2 15 Wiring the Output Modules 2 40 2 16 Conn8Cling th lnpu Simulator Module 2 47 PPX U Cl5S Input Simulator Module _ _ __ _ __ _ 2 47 2 2 Installation SIMATIC Tl405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 68: ...ol Standards ICS 3 304 81 Safety Recommendations Consideration should be given to the use ofan emergency stop function which is independent ofthe programmable controller Where the operator is exposed to the machinery such as in loading or unloading a machine tool or where the machine cycles automatically consideration should be given to the use ofan electromechanical override or other redundant me...

Page 69: ...chine is not operating 0 when it is necessary for the operator to reach into the machine Power must he removed by a non semiconductor switch 0 a physically wired relay contact placed to intermpt power to the output It is not sufficient to rely solely on the PLC for this function Figu e 2 1 Illustrates an operator safety switch Relayccntael or limit wlech open when operator must c h into machine I ...

Page 70: ...e control system This type of switch is shown in Figure 2 2 Emergency Heeet Guard SlOP l UmilSwitch C1 I locl mechanicai y Relay Conlac of ol mochani 1 relay C1 C1 QUlpul Module QUIp m he programmablecontroller C1 f o 1 4 User supplied orillcalloads whichcould o __ uselmu Loads which couldnol _ J cause injury SIMAnc T 405 User Manual Figure 2 2 Emergency Slop SwUch Installa on 2 5 Artisan Technolo...

Page 71: ...ading or setup operations See Figure 2 3 Jog I Oulput Modul OUtpUlO 10 the progmmrnable controB8r IY SWitch or contact openIn jog orinchmoae User suppilllld criticalloaQa whicheould cause injury 2 6 Installal10n Figure 2 3 JOG or INCH Switch SIMATICT 4Cl5 Us9r Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 72: ...r is closed The enclosure should be located so that the doors may be opened fully permitting easy access to the PLC wiring and components Ifenvironmental conditions permit a 19 inch rack may be used instead ofa NEMA enclosure When preparing your installation plan for an adequate air flow to ensure proper cooling ofequipment Do not permit the convective cooling ofthe PLC to be hindered MOWltthe PLe...

Page 73: ...ween enclosures and bases provide grounds and should be tightened properly Connect any TI405 component with an external chassis or external ground terminal on its power connectors to the subpanel ground bus This connection should exhibit very low DC resistance 0 05 ohm and low high frequency impedance Connect the sub panel ground bus to a single point ground such as a copper bus bar to a good eart...

Page 74: ...t ground points Remove these impediments in the area of contact and use external toothed lock washers star washers to ensure good continuity and low impedance This practice should be used for all terminations lug to subpanel device to lug device to subpanel subpanel to conduit etc Examples of ground connections are shown in Figure 2 4 SUb el Star 1 washers Step 2 Equipment Gn undbraid cop rluga V ...

Page 75: ...ield wiring wherever possible Avoid sharp bends to power and data cables Use 7 6 cm 3 inch radius Onall bends A good low ground impedance of 0 1 ohm or less must exist for all componente in the system Use wireways for wire and cable routing when possible Keep wire strippings from falling into modules controllers or bases For long return Jines to the power supply do not use the same wire for input ...

Page 76: ...nge of voltages in the noisy line and high parasitic capacitance between lines This typically is the case for long wire runs in the same conduit Magnetic coupling occurs through parasitic mutual inductances between lines This requires high currents or high rates of change of current as well as significant mutual inductance which may result from proximity of wiring Electromagnetically radiated nois...

Page 77: ...ing You may achieve an alternative type of suppression by placing an RC or varistor circuit shown in Figure 2 5 across the contacts parallel to the switch Both types of snubbing cause the physical devices to come on or go offmore slowly The RC and varistor elements should have minimal effect on system timing their time constants are substantially less than 1 millisecond 120VAC 120 VAC OISC te Disc...

Page 78: ...s inside the mounting cabinet NEMA type recommended Two cases offield wiring warrant special attention Wirine that enters the harsh noise area to enable monitoring and control ofthose devices and TIL or low level less than 24 V wiring In these cases supplement the physical separation between control and noise prone wirine with shielded twisted pair wiring 12 twistslft for the control signals Groun...

Page 79: ... up to 320 input points and 320 output points but when using 16 point modules the maximum number of I O points is 16 points per module X8 modules per be x 4 b 612 points If only eight point modules are used the maximum number of I O is 8 points per module 8 modules per base x 4 bases 256 points 8 and 16 point discrete modules may he mixed in any order on the base On any base the maximum number of ...

Page 80: ...r 4 SIOI_ 6 0 n n o0 6 TI405 Elql I Qoe eo 6 r 4 expansIon Unit with I Power Supply Auxiliary 24 VDc 6 SIOI_ Power Source TI 1J fI Jl 6 101_ 6 TI405 I 0 Q r Installation 2 16 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 81: ...he following base diagrams are specified in millimeters 1 o 7 2 16 Installatlon O O O O Q Q D D D nD D D D D DI PPX U 08BJ Figure 2 7 BaseMounting Pimer15ian SIMATIC TI405 UserManual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 82: ... D D D If CPU 119 0 5 D PPX U 6B h J j 4 23 1 Q 1 CF IJI I O Elcpanalon IJr1 t I SIot r r 0 0 0 0 0 0 t D D D DD D D D D D Cf IJ 119 0 80 I Ii l PPX U 8B tt Figu 2 8 Expcln lonBase Mounting Dimensions SIMATIC TI405 User Manual Installation 2 17 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 83: ... port SW4 Baud rate selection for the genero lpurpose port Slfl8cllng th CPU Battery Backup The dipswitch block is located at the rear ofthe CPU as shown in Figure 2 9 When SW1 is Off the CPU backup battery is enabled This backup battery maintains the contents ofthe system parameters when the external power is turned off On the TI425 the backup battery also maintains the contents ofthe CPU program...

Page 84: ... On the CPU defaults to address I When SW2 is Off the address is set with the MIU SW3 and SW4 on the dipswitch shown in Figure 2 9 control the baud rate at which the serial interfac port operates Table 2 2 lists the baud rates corresponding to the settings ofSW3 and SW4 Table 2 2 Serial Interface Port Baud Rates Baud SW3 SW4 800 Off Off 1200 Off On 9600 On Off 19200 On On Installaflon 2 19 Artisan...

Page 85: ...top ofthe CPU or Expansion Unit forward so that you can hook the tabs at the bottom rear into the slots at the bottom of the base frame 2 Push the CPU or Expansion Unit toward the base until it is securely seated 3 Tighten the securing screw Figure 2 10 m tlng the CPU SIMAnc n405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 86: ...wiring Terminal 6 Chassis Ground TAnninal7 ACLine Tenninal8 ACNeutral snorting 53r rmmm RuN SS _0 o IIATT c ntnII Pn I IIQ lJnII TE RUN 0 01 0 SIMATIC TJ435 STOP UO o COM WARNING Figure 2 11 Connecllng the CPU Line Pow Wiring To minimize risk of potential shock hazard and injury be sure the unit is properly installed in an enclosure to IlIlinimize access to electrically live terminals Only persons...

Page 87: ...pply Voltoge 1b operate your CPU or Expansion Unit from a 220 VAC supply voltage do not install the shorting bar See Figure 2 12 24V 220 VAC Supply Voltage 4V LB 4 v 0 Instalilhe shortingbar for 110 VAC Supply Volta I 110 VAC Supply Voltage FIgure 2 12 sehtcling 110 or 220 VAC Supply Voltage 2 22 Insfallal10n SIMATIC TI4D5 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888...

Page 88: ...s to terminals 6 7 and 8 as shown in Figure 2 13 mmm ConnI p og UnIt SIMATIC TI43SDC N TEAM STOP cpUJPOWeFl t VOC 3S PWFlO 0 BATT RUNO 0110 CPUo 0 COM Tenninal8 Chassis Ground Tenninal7 oc Tennlnals OC lGm D SIMAT C T 405 User Manual Figure 2 13 NOS PPX 435OC CPU Installation 2 23 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 89: ...ground and DC line supply wires to tenninals 6 7 and 8 as shown in Figure 2 14 Terminal 8 Ch i Gmund Terminal DC Tenninal8 DC m mmJ c m J Pr g Unit SIMAnC TI435DC1 RUN TeAM TOP CPUIPOWER 1 voe 3S PWRO OHAIT RUNO 000 CPUO 0 COM 2 24 Installatton Figure 2 14 TI405 PPX 435DC1 CPU stMATle n405 UserManual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 90: ...the base as shown in Figure 2 15 1 Tilt these modules and hook their rear tab into the base in a similar manner as the CPU 2 Push the modules toward the base to seat them securely 3 Tighten the securing screw Figure 2 15 Inserting the I O Modules Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 91: ...e actual wiring tenninal functions for each 110 module are listed in Section 2 14 1b reinstall the terminal block 1 Insert the terminal block onto the 110 module edge card connector 2 Tighten the retaining screws 3 Replace the 110 module covel Tenninal Block R winingSCrew lannlna 610ck Retaining Screw INPUT 12 24V o 4 0 of 1 5 1 S i A 2 6 3 7 3 7 2 26 Installa110n Figure 2 16 Removing the T rmlna ...

Page 92: ... Figure 2 18 1 Remove the connector cover on the upper right hand side of the CPU 2 Attach the MIU directly to the front of the CPU by mating the 15 pin connectors or attach the connecting cable between the MIU and the CPU Rgul8 2 17 Connecting the MIU Oir etly to the CPU SIMATIC Tl405 Us8r Manual Installaflon 2 27 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artis...

Page 93: ...aoljustment control as shown in Fieure 2 19 Using a small Phillips head screwdriver follow the sups below to aoljust the contrast 1 To increase the contrast tum the contrast aoljustment control counter clockwise 2 To decrease the contrast tum the contrast adjustment control clockwise FIgure 2 19 MIU Contrast Adjustment Location SIMATIC 71405 Us Manual Artisan Technology Group Quality Instrumentati...

Page 94: ...nt center of the module as shown in Figure 2 20 The keyswitch has three settings that control forcing the module into RUN mode forcing the module to stop and the normal terminal mode for operation from a programming device To prevent an accidental start up when you are working on wiring in remote locations set the keyswitch to stop and remove the key In addition to the force RUN and force STOP mod...

Page 95: ... the fourth is X20 through X37 The CPU automatically confi2UreS the I O when power is applied unless the POWERUP cm CHECK is turned On using AUX Function 44 The best way to make sure that the I O configuration is recorded is to press I Ci J UiiiJ CiKLJ and look at the resulting display as shown in Figure 2 21 DRUN DltST DPGM AUX 46 CFG 1 AUTO 2 30 Installatlon figure 2 21 I O Configuration Menu To...

Page 96: ...ing automatically saved as correct once power is applied From a cleared display press l iiiJ CiiiiJand you see the display shown in Figure 2 22 ORUN I AUX 4 4 POWERUP CFO CHECKI 0 Y I N OPGM J I I I I I 1 1 5 4 3 2 107 432 1Q Figure 2 22 Power up COI Iftguralion Check Disploy A flashing cursor is positioned over either the Y or the N Use CiiiU to move the cursor over the Y ifit is not already ther...

Page 97: ...u want to modifY You may also step directly to a particular base and slot position by pressing I ii and the base and slot number For example to select base lIslot 3 press UiiiJ l3 JCD CiiiJ To assign a stal ting address ofYSOO to the output module at that position press Iiiillil Ci JCD CD CiiD You could assign a stal ting address of X140 to the input module in base lIslot 2 by pressing 9ii ffiiW i...

Page 98: ... or tape your 110 configuration can be retrieved by usin 1 the SYS option in the appropriate load function This saves having to manually configure the 110 after the program is loaded Manual confiltUration of a single module causes the 110 configuration of the preceding and following modules to change The TI40li does not allow you to assign duplicate point numbees The completed 110 configuration mu...

Page 99: ... type The second digit indicates the number of pointe The third digit indicates whether the module is an input or output module INPUT DC24V 0 Q 1 Ii 1 I i 2 2 I i 3 7 3 7 Unique product number that Idenllfie module Color coding lor module id8fltification Blue Input Red Output While Special PPX U 05N _ 1 o Contact witch 1 Transistor wttch open collllc lor Sink 2 AC 3 L DgiCTIL 5 Source 0 4 8 points...

Page 100: ...4 VDC TB rA ra 0 4 0 4 1 5 1 5 2 6 2 6 3 7 3 7 U 1l51 l 1o 2 2ij 4 we Xl 4 12mA I r1r CA 1 25 0 J7V 5 y IrX 1 25 liY X _ 1 I GIl irx 4 x o o 1 1 2S _ 5 1 r I X _ 7 I X Ilex l 3 c J eX Figure 2 25 PPX U GSN 12 2A VDC Input Module Negative Logie SIMAT C T 405 User Manual Installa on 2 35 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 101: ... 100 240VOC TB 0 4 5 2 6 3 7 U 2ON 80 2B5VAC Xl 10 30mA fcXj 0 0 1 X l X fI g _ J IICX rI g 0 0 X X _ I II _ z c J XJ Figure 2 26 PPX U 20N 115 230 VAC Input Module Negc dlve Positive Logic 2 36 Installa110n SIMATIC 71405User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 102: ...T6 A H B 0 4 0 4 5 5 2 6 2 6 3 7 3 7 U 25N 8O 132VAC xl 8O 20mA H IL l BOA IX rz _ e 0 IIQS 1 I X l I X T 1 25 rz _ 2 I ere 0 I R 5 1 lY IP I 7 7 1 25 1 ItV I 1R8 I CJ o U 2 SIMATIC Tl405 User Manual Figure 2 27 PPX U 25N 115 VAC Input Module Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 103: ...7 Y II Xl II INPUT 24 48VDC TB 0 4 1 5 2 6 3 7 U SON 2Q VDC X 12 rnA 1 c j OO Q c ji C1 1r s r7 5 c j C2 I Y r v c j C3 I I L T7 c j C4 1 l l7V c j CS 1 5 r S c j C7 CY L c J X u SON 2 38 Installotk n FIgure 2 28 PPX U 50N 24 48 voe Input Module Isoleted SIMATle Tl405 Us9rManual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 104: ...NPUT 12 24 vAelDC TB I A I B 0 4 0 4 1 5 1 5 2 II 2 6 3 7 3 7 U lISN 10 2 V X N JOC 4_1 MA HdDC I QCA Z I o o 0 II X 0 y y _ J I _ 7 O y 0 7 _ J 9 0 xT u_ figure 2 29 PPX U 66N 12 24 VAC VDC Input Module stMATle Tl405 UserManual Installatlon 2 39 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 105: ... 1 II 2 II 3 7 U O1T S BVAC X _1ItlC SmA 2A C l en l 0 l _ l II r _ eI y l rn 0 1 1 5 eX u on 2 1 InstoUaI1on figure 2 30 PPX U 01T 8 Po1n1 Relay Output Module SIMATIC TI405 UserManual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 106: ...6 J I L L 2 L 7 h111 o L 3 h ll rail II OUTPUT RELAY TB FU rA r B o 4 0 4 1 5 1 5 2 6 2 6 3 7 3 7 u esr VAO 1ACiOIfIO I tZ V 5mA 1 Figure 2 31 PPX U 05T 16 Polnt Relay Output Module SIMA11C TI405 User Manual 1nstollal1on 2 41 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 107: ... Y 2 b 3 OS Y b 0 7 Y L 1 1110 II CJ 2 011 L 1I i Y L 3 II c CA 1111 OS 4 1 II 24V c J U 12T F1gwe 2 32 PPX U 12T 12 24 VDC Output Module Negative logic SinkIng 2 42 Installallon SIMAnc TI405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 108: ...4VDC TIl 24 FU rA H B 0 4 0 4 1 5 1 5 2 Ii 2 Ii 3 7 3 7 U 111T 6V 28 4 VDC X IU mA o liA XiI rr IICX III 1 7 Xv l 17 7 II _ 7 ICX H I IIQ y T If l 1 Xl Z 1 17 5 7 III y ICX I 1 c J X U16T Figure 2 33 PPX U l6T 24 VDe Output Module Negative logic Sinking SIMAlIC 11405 UserManual 1ns1allatlon 2 43 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 109: ...11 z oll e L II a 1 11 0 L 11 b 11Q9 OUTPUT 1B 240VAC TB FU 0 4 1 5 2 6 3 7 U 2OT 15 2AV X 1O l X II X L J _ 1 _ _ J I X e 5 7 4 XJ 0 1 J 0 1 1 5 _ 3 X CJ FXj U 2lJT 2 44 Installation Rgure 2 34 U 2OT B PoInt 115 230 VAC OutpUt Module SIMATIC Tl405 UserManual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 110: ...l It c 19 1 lV 1 17Q It c CXJ CJ ec 1J 2 T 11 I 1 17 I c I CY 1 ItOi 4 i Y oll rll l1I2 III 4 o 5 1 6 2 7 3 CA o 4 1 5 2 6 3 7 CB L L L L L L L L L L L L L L L L FIgure 2 35 PPX U 2 T 16 Polnt 115 230 VAC Output Module SIMATIC TI405 User Manual Instollatlon 2 45 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 111: ...3 L 11 8 l21li OUTPUT 12 24V DC 18 FU I I B 0 4 0 4 1 s 1 5 2 6 2 6 3 7 3 7 U SST 10 2 aAVO X rI CA ss L 0 II x X J x J e 7 0 t II IV I 7 il L 1 iv II c J X u Rgure 2 36 U 5ST 12 24 VDCOutput Module Positive logie Sourelng 2 16 lnatanatlon SIMAl1C 11405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 112: ... lights when power is applied to the system tfyou select the sixteen input mode all input are active and LED 18 lights when power is applied to the system Sole IIon LEOs SIMULATOR 16 4 5 6 7 5S OFF J f ON AO A1 A2 e o A4 A5 A6 A7 aoC o B1 en B2 B3 B4 B5 D B6 B7 e o u ess FronlViow 6 Dr 16 Inputs selectorSwirdl 00 _VIew SIMATIC 11405 UserManual FIgure 2 37 PPX lHlSS InputSimulator Module Instollatl...

Page 113: ...Displaying the F mware Level 3 13 3 5 sen t FUnctions tor the MIU 3 14 Starting the MIU Tests 3 14 Testing the Keyboard _ 3 14 Testing the Display _ _ 3 14 Testing the BaCklight 3 14 Testing the Cassette Port _ _ 3 15 Testing the Memory Cartridge __ __ _ 3 15 Exiting the MIU 3 I 5 3 6 Validating a Program 3 I6 Checking the Syntax of a Program 3 16 Checking for Duplicate References 3 16 3 7 Testing...

Page 114: ...alues Section 3 4 describes several methods for using the MIU as a troubleshooting tool Self test diagnostics provide another isolation technique The MIU contains a complete set of self test diagnostic routines to determine the operational status of its features The TI405 CPUs provide internal diagnostics during run time and specific services when the system is in program mode By naine the system ...

Page 115: ...ns execution The routine is executed and the CPU resumes the normal scan until another interrupt signal is received For more information refer to the SIMATIC TI405 Interrupt Module Manual PPX 405 8109 AUX 47 was added for the MIU to allow reads and writes to shared RAM on UO modules that use the UO serial bus This ftmction is available on TI425 and TI435 CPUs V2 1 or greater using MIU V3 6 or grea...

Page 116: ...LOT AUX 47 INTELU I O I 1012 OIV I ADDR AUX 47INTELU 110 Addnillss 10 for Preeet 01 210101 BYTES musl u octal add_ AUX 47 INTELU I O 4 Bytes 01 V01014 00035507 R_data Current Preset is 35507 Data forspecified add To change data type new aata then enter must use leading zeros OJ OJ CD DJDJ CD CD c TI I Et T I AUX 47 INTELLI I O 01 2101014 0012 456 Wriledata New p t is 123456 1002661 Figure3 1 hamp ...

Page 117: ...y shows the state ofthe displayed point and does not reflect the cumulative power flow through a network of contacts If a timer or counter instruction is displayed an s appears until the preset is reached then the black rectangle takes its place until the timer or counter is reset XOO23 turned off _ON o RUN DOFF o TEST 326 5 o PGM 8TH X 0023 1 I 1 I 1 1117654321076543210 XOO23 is t ned on _ON o RU...

Page 118: ... also cause Special Relays to tum on and error codes to be loaded into specific V memory locations These relay numbers and memory locations are noted along with the error description in cases where they are used The MIU can be used to monitor and to modifY V memory locations while the program is running Tomonitor location V7757 press CE J CD c r J Ci J CLJ1iiiiIl The display shown in Figure 3 3 ap...

Page 119: ...ful while troubleshooting by allowing you to load known values into specific memory locations Th enter a value of 342 into location V4000 press IJ c I J IT Ci J Ci JIii2iIJ and see the display shown in the top illustration in Figure 3 4 _ON o RUN DOFF o TEST V 4001 V 4000 o PGM V MON 0000 0000 111111117654321076543210 o RUN o TEST o PGM V 4001 V 4000 I I I I I I I I 765 432 1 0 7 654 3 2 1 0 Figur...

Page 120: ...lp find failed YO points or programming errors Tomonitor YO through Y17 press iiiiiiiiJ Ci J 1iiiliIJ Figure 3 5 shows how the display would appear ifY1 Y7 and Y13 were all on g o RUN o FF o TEST y 1 0 Y 0 o PGM 1 6 P MON 111111117654321076543210 F1gu 3 5 Monltorlng Output Points Forcing Points Points may be forced on or offfrom this display in RUN mode TEST RUN mode or PGM mode Toforce Y1 on pres...

Page 121: ...or TEST RUN mode depending on whether or not the program is currently executing Specifying the Number of Scans You have two options while in the TEST PGM mode You may specij y the number of times that you want your program to sean and then stop by beginning with a cleared display and pressingCi J ijjfiJ CiiiU 1 iiiD The message NO OF SCANS is displayed Enter a number from 1 through 65535 and press...

Page 122: ...Memory IndicatesXOO23 Is011 a_ON o RUN DOFF o TEST 326 S o PGM STR X 0023 I III I I I 1765432t 07654321 0 FlgUI8 3 7 TesHlun M InstJUctlonDisplcly If a timer or counter instruction or contact is displayed in the TEST RUN mode its current value is shown continually updatine along with the contact status Figure 3 8 shows how this display would appear This display also shows the power flow status com...

Page 123: ...N H o TEST _ T 0063 o PGM TMR T 003 K0050 IIIYIIII 654321076543210 Power Flow Before Contact Power Flow Aner Contact nl c i Figure3 8 Monitoring a 11mer SIMAnc T1405 User Manual Troubleshoollng and Mclntenance 11 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 124: ... o J C6iiiJ The message in Figure 3 9 is displayed DRUN AUX CPU CFG 5 DlEST TEST OPERATIONS AUX S 8 DPGM I I I I I I I I 765 4 J z I 0 i 5 01 J 2 1 O Figure 3 9 AUX 58 Menu Display Press iiiL and YOOOO is displayed along with its current configuration If YO is set to be forced off when in TEST PGM mode the MID display shows the message in Figure 3 10 ORUN I AUX 5 8 TEST OPER TIONS I DlEST YOOOO OF...

Page 125: ...l pumps or damps holding material in work are some of the possibilities that might need to be left in their last state when the PLC controlling the machine is stopped for troubleshooting purposes Only qualified personnel aware of industry standard aafety practices should use theae techniquea il1 order to minimize riak of peraonal injurY or damage Two other AUX Functions display useful troubleshoot...

Page 126: ...ciated with that key For example pressingCiiii displays the code 10H Continuing across the top row each key displays a code that is one greater than the key to its left Moving down a row increases the displayed code by 10 When you have tested as many keys as you wish press iii to end the test The next display shows the message 2 DISPLAY CQCK Pressl iiiJ and the message ASCII CODE 30a 0 should appe...

Page 127: ...M memory cartridge with the display Hc TYPE RAJI UVPRoH A flashing cursor appears on RAM and you may use I _ I or i I to move the cursor to the type memory cartridge that is currently installed in the MIU Refer to Chapter 5 ifyou need directions for removing or inserting a memory cartridge Press iiiiJ and a BUSY message is displayed fOT about one minute while the test is performed When this test c...

Page 128: ...ed along with an error code Refer to Appendix C for descriptions of the error codes Continue to run syntax checks and correct the program until the NO SYlI l U IlRROR message appears Another program check may be l UU from the 1 8m 2 PUP REF display PressIT and UiiJ to check for multiple use of the same output coil Ifa duplication is found the second oceurrenee is displayed along with an error mess...

Page 129: ...jI you see the message J 0 CHECK Olt Otherwise you see an error message describing the problem and specij ying in what base and slot the module in question is located A typical error message is shown in Figure 3 13 DRUN DTEST OPGM AUX E 2 0 1 I I I I 42 I O BASE O SLOT3 TERMINAL BLOCK OFF F lgure 3 13 Exomple of an Error Message Display This example shows that the I O module in slot 3 ofthe CPU ba...

Page 130: ...led by the program and may not stay in the state to which it was forced Control relays stages counters and timers can be forced as well as physical inputs and outputs but they are also suQject to having their forced state overridden by the program I O points can be forced from a blank display on the MIU or from the word or bit status displays The following key sequences demonstrate how to force I ...

Page 131: ...CPU Indicallon of Failecll O ModUles Each module has at least one LED labeled TB to indicate that its terminal block is loose or disconnected Modules with internal fuses have an LED labeled FU to indicate a blown fuse See Figure 3 15 Modules that USe external 24 VDe power supplies have another LED labeled 24 V that illuminates whenever the voltage drops below tolerance OllTPUT RELAY TB tccee Termi...

Page 132: ...iagnostic ErrorM8NQge Display 1 This informs the operator that an error has occurred and that AUX 42 should be run to pinpoint that problem Running the AUX 42 110 diagnostics would display the message shown in Figure 3 17 Attention is focused directly on the problem Similar messages are displayed for other 110errors i l DRUN AUX I SLOT3 4 2 I 10 BASE DlEST E 2 I 1 TERMINAL IlLOCI OFF DPGl 1 I I I ...

Page 133: ...cal error codes and in this case would hold the value 201 This indicates that an error 201 has been detected meaning that an I O module is missing a terminal strip For example ifmemory location V7760 contains the value 0003 indicating that the problem is in base 00 slot 03 V7762 holds the value 201 verifying that error 201 missing terminal strip is causing all the problems With all this informatio...

Page 134: ... thumb and forefinger and pull it loose from the retaining clip 2 Grasp the leads from the battery close to the battery connector with one hand 3 Grasp the battery connector with the other hand and gently pull to disconnect the battery Toinstall a new battery connect the battery connector and insert the new battery under the retaining clip See Figure 3 18 _ery Retelnlng Clip CPU Battery Battery Co...

Page 135: ...as shown in Figure 3 19 2 Remove the top cover 3 Using a small flat blade screwdriver gently pry the battery up until there is enough clearance to grasp the battery 4 Grasp the battery between your thumb and forefinger and pull up 5 To insert the new battery align the battery leads with holes in the circuit board The battery leads and circuit board holes are keyed such that the battery can only be...

Page 136: ...4 6 4 8 4 8 4 8 4 8 4 8 4 8 4 8 4 9 4 9 4 9 4 9 4 10 4 12 4 12 4 14 4 16 4 17 4 6 Using Posswords _ 4 18 4 7 Storing ond Retrieving progroms 4 20 Retrieving a Program from the CPU 4 20 storing a Program in the CPU 4 21 storing a Program on Cossette Tape 4 22 Retrieving a Program from the Cassette Tape 4 24 storing a Program in an EEPROM 4 25 Erasingthe EEPROM Program 4 26 storing a Program In a UV...

Page 137: ... Figure 4 2 Within these groups there are first and second level keys First level keys are functions activated when the key is depressed without preceding it with the shift key Second level keys are the functions activated when the key is preceded by the shift key D RUN D TEST D PGM P Q R S T NJC B H C H DIM INS DOD 0 3 2 J C J R dip I xt J J2 l A H eLFI SHFT Etlr I c J c J c J c J c J L l C J c J...

Page 138: ...e operand of the enters the alphabet from A to Y instruction BLUE key Numeric Keys Operation Keys 2 88 II II II I 8 0 11 1 Sets up constants BCD Octal These keys are used to execute Hex and the number of the operation function memory Figul8 4 2 MIU Key Groups Programming the SIMA11C 11405 4 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 139: ... J LD ST END eM Z fA t i D C J OCR SHFT ENT 1 c J c J c J c J c J c J c J c J S 10P 0 Tobie 4 1 First Level MIU Key DefinlllOl1 Key Function I I Moves the curaor one character to the left CD IJ Uee to enter a numerical value Iiiiiil Use to specify an address location the user wante to a ess I iiiJ hrltiates an ADDinstruction UiiiJ hrltiat an AND jnstruction a J Selects Auxiliary function l iiJ Ind...

Page 140: ...ates Master Line Read instruction CiiiiJ Initiates Mas ter Line Set instruction Wi Initiates Multiply inetruction UiiiJ Initiate NOT operator ii Di pleye next data element M Initiat OR instruetion WD Initiate OUT instruction mil Di play previous data element CiiEl Initiates Ra t Instruction I iiilJ Precede a Stage Identifioation number mLJ Initiates Set instruction Ciii J Initiate any tage except ...

Page 141: ... Funcllons The location of the second level MIU programmer keys are depicted in F igure 4 4 The basic function ofeach key is listed in Table 4 2 I l tw I I ON o RUN DOFF o TEST I I o PGM I A C D E ocr EXIf c J c J c J c J c J c J c J c J c J c J c J G H I J PNTII TEST OH c J c J c J c J c J c J c J c J c J c J c J K L H 0 D SPD E H H DEL c J c J c J c J c J c J c J c J c J c J c J Q R S r sec II H...

Page 142: ...iiJ t8 the auxiliary function menu EiLJ Seleete GX Remote 110 Identifier CiiLJ Used prior toCiiJ to delete B program element UiiiJ Seleete octal data type cm J Force elected point Off gi Forces selected point On IiiiiiJ Indicates a Pointer location for indirect addressing Ciiiiil Select can control in Tost Mode Shaded keysc J represent the blue colored symbol identification keys on the MIU SIMAnc ...

Page 143: ...ke CiLlliiiiiJ Ci J Ci JCD o J CiiiJ To look at the next program address press CiiiiJ To look at the previous program address press r iiiiJ Ifyou make a mistake by pressing the wrong key you can correct the error by pressingCiLI to clear that entry Press or EiiiJ until you reach the instruction in front of which you want to insert anothsr mstruetion Enter the key sequence for the instruction excep...

Page 144: ...ing zeros Address fields are displayed without leading zeros The following key sequences illustrate how to enter values in different numeric formats Ib enter the octal value 037 CEJo Jo Jo Jo JliWJIiiiWOi DCDCD iii J Ib enter the ASCII value Pr CIJo Jo Jo Jo JliWJliiiWG JliiiWC Ww Jl iliiJ Ib enter the hexadecimal value A7 CLJCi lo Jo Jo JliWJ liiiWl MiiiJliiiWCDCiiiiJ The MJU shows all error code...

Page 145: ...he number of the AUX function that you wish to execute press UiiiJ and use liiiiJ and CiiiiJ to step through the auxiliary function headings PressingCiiD accesses the functions under the displayed heading PressingCiiilJ and lJiiJ scrolls through the functions for that heading shown in the shaded boxes Once the desil ed AUX function has been found press CiiJ to execute that function Toexit the AUX ...

Page 146: ...r 110 r ShoW CAl 110 _ROIItk I l 1 otUted J Puwl ll Up cee C CFG I II IrA UX 7 AUX48 AUX48 0 GI GIJO L NdUSed J I AUXS1 I u II AUX53 Il AUX54 Il AUX55 I r CPU 1 Modlr PR M N8me bn11nw IntSCrllk hfWd S W8tchcSOg fmr CFG I w p II kef II NJX i Ir wx r AUXsA CPU N W Addr 0_ NCltIJwd J I NotUNO J ern Figure 4 5 AUX Function Menu Hierarchy SIMATIC 11405 Js r Manual Programming the SIMATIC T1405 4 1 Arti...

Page 147: ...the left side ofthe MIU and insert the memory cartridge as shown in Figure 4 6 Be sure that the memory cartridge is aligned in the same way as Figure 4 6 and that you firmly seat the cartridge figure 4 6 Insertinga MemClIYCClrtridgeIn the MIU 4 12 Programming the SIMATIC T1405 SIMAT C TI405Use Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 148: ...n the TI435 remove the left panel cover Insert the memory cartridge into the cartridge slot as shown in Figure 4 7 Be sure that the memory cartridge is aligned in the same way as Figure 4 7 and that you firmly seat the cartridge figure 4 7 Il I ertlng a Memory Cartridge In the CPU Programming fha SIMATle T1405 4 13 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artis...

Page 149: ...As you pull the lever the cartrid disconnects from the MID and becomes loose You can then pull the memory cartridge out ofthe MID as shown in Figure 4 9 F IgU 4 8 Dlsconn ellng the Memory COl1ridg from the MIU F1gU 4 9 Removing the Memory Cal1ridge from the MIU 4 14 Programming tha SIMATIC T1405 SIMAnc n405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www a...

Page 150: ...the cartridge level until it is disconnected from the CPU See Figure 4 10 AIs you pull the lever the cartridge disconnects from the CPU and becomes loose Youcan then pull the memory clU tridgeout of the CPU as shown in Figure 4 11 Rgure 4 10 Dlsconnecllng the Memory CartrIclge from the CPU JV Figure 4 11 Removing the Memory Cartridge from 1he CPU Programming 1he SIMATIC TI405 4 15 Artisan Technolo...

Page 151: ...to pins 2 and 3 To allow programs to be written to the cartridge move the jumper to pins 1 and 2 Wr1te protect Jumper 3 Writing Is disabled when the write protect jumper Is Inserted over pins 2 and 3 In the above figure Pull up this hook to remove the canrtdge Rgure 4 12 Wrf e Pt O I Terminal on the Memory Cartridge 4 16 Programming the S1MATlC TI405 SIMATIC Tl405 User Manual Artisan Technology Gr...

Page 152: ...e digits 0 9 Press ijjnJ before pressing the A Z keys You can also store a program name in CPU memory This name is only a reference to make program identification easier and does not need to be the same as the program name used when storing to tape For example to give a program in the CPU the name MACHINEl enter the following key sequence Key Sequence Display CD I i J C iiiJ AUX 5 CPU CFG AUX 51 M...

Page 153: ...some other value such as 00004321 press the following key sequence Key Sequence Display CD CWUiiiJ AUX 8 PASSWORD OPS AUX 81 MODIFYPASSWORD CODE IS 12346878 Ci J CD o J Ci J o J CODE IS 00004321 D J D J CW iii EiiiJ Ifyou decide to stop using the password it can be cleared by entering a password of eight zeros or 00000000 Once a password is set the CPU can be locked UJling Auxiliary Function 83 Lo...

Page 154: ... cycle will require unlocking the CPU with the password Key Sequence DUplay CDIT UiiiJ AUX 8 PASSWORD OPS AUX 88 LOCK CPU UiiiJ CPU LOCKED LOCK CiiiIJ CPU LOCKED iiiiJ If no password is set when you attempt to lock the CPU the message NO PAsSWORD is displayed Tounlock the CPU enter the following key sequence Key Sequenee DUplay CDIT UiiiJ AUX 8 PASSWORD OPS AUX 82 UNLOCK CPU CiiIJ CPU LOCKED PASSW...

Page 155: ... from MIU to CPU CiiiiJ IfMC contains datal AOX 71 CPU TO IIC IIC ts NOT lI oANl You can either pr8ss jj J to continue or I iiia J CiiiiJ to cancel the transfer and exit NOTE Ifno MC memory cartridge is present in the MID the MC in the CPU may be physically transferred to the MIU instead ofusing this procedure You can also store the system parameters which are items such as a non standard UO confi...

Page 156: ... J 10 PO 2 v 3 SYs w J jfi 1 00000 CiiiIJ liND 076B 3583 ifuoing TI425 CPU Cii J 00000 07679 3583 ifuoing TI425 CPU Are you ready CiiiIJ CMOSRUI 08k 11 represents the BK of memory The display will count from 00 through 07 twice 01 The program successfully rreneferred from Mill to cpu Programming the SIMATIC T1405 4 21 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www ar...

Page 157: ...tain any combination of the alphabetic letters or the digits 0 9 Pre jjjfIJ before preoeing the A Z key then pre liiiffJ again to enter the numeric keys NOTE Ifyou plan to store several programs on the same tape you should name each program to allow the correct program to be found when you reload it Also remember that a tape is a serial access device meaning that multiple programs are stored on th...

Page 158: ...e cassette tape by repeating the procedure selectinli1option 3 SYS at the first prompt Ifyou want to store V Memory follow the example above selecting option 2 V at the first prompt Be sure to use different names for each such as SYSPRM6 for the system parameters NOTE Use a Personal Computer type data recorder for storinli1and retrieving programs Most audio recorders do not accurately record and p...

Page 159: ...CD CiiJ 1 00000 CiiiJ 00000 S I ART Begin playback 00000 BUur At this point Bet the tone control of the recorder at midway and tum the volume control to ita off oetting CiiIJ On recorder Pre o Play Afterthil reoorder is placed in the Play mode increase the volume until the eymbol appearo in the lower rigbt corner of the MID dioplay Iftbe volume ia too high the star will disappear Try to adjust the...

Page 160: ...isplay CDG JUYiJ AOX 7 HEll QRTRIDaR AOX 71 CPU TO IIC iji 1 pall 2 V 3 STS G J iji lat 00000 UiiLl IlIID 07679 03583 ifuaing TI425 CPU iji 00000 076797 Ifthe EEPROMi blank CiiiiJ RRPRoN 08l1 repr ants the 8K of memory The display will count from 00 to 07 twic Oll Iftb EEPROM contain data Uii iJ AOX 71 CPU TO Me Me IS No BLANJ When the program is stored on EEPROM you can remove the cartridge from ...

Page 161: ...OM enter the following key sequence Key Sequence Display CDITJ M i AUX 7 llIKM cAR l RIDQll AUX 75 CLllAII HC 0iiiJ CLllAII MC iiiLJ BUSY rniJ HC CLBARED 4 26 Programming the SlMATIC 11405 S MATIC Tl405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 162: ...liilJ AUX 7 HIlM CAR l RIDGB AUK 71 CPU TO Me WJ lfPGH 2 V 3 BYS Ci J 0iiD 1St 00000 iii BND 07679 03583 ifusing TI425 CPU iii 00000 076797 iii Ifthe UVPROM ta blank UVIIPROX 161t e represents the 8K of memory The display will count from 00 to 07 twice iifJ Olt Ifthe UVPROM contains data AUK 71 cpu l O lie 1IC IS NOT BLANIt When the program is stored on UVPROM you can remove the cartridge from the...

Page 163: ...windows on the UVPROM les facing up in a commercially available UVPROM erasing unit It normally takes 20 to 30 minutes of exposure to fully erase the program but this may vary according to the erasing unit Read the documentation or manual for recommended erasing times Retaining SCrew FililUnJ 4 14 Removingthe Memory Ccrrlrldge Cover 4 28 Programming the SlMATIC TI405 SIMAnc n405 UsarManual Artisan...

Page 164: ...its See Figure 4 15 Least Significant Digit 000 000 0 0000 0 0 0 0 1 8 _ _ 1 11 7 a 5 5 Most Significant Dlgtt 00 00 9 3 V7747 V7746 Rgure 4 15 32 bIt Double Word Fonnat Interpreting V mory Contents Figure 4 15 illustrates how to interpret a 32 bit double word as eight BCD digits Address V7746 holds the lower four digits and address V7747 holds the upper four digits Ifyou use one ofthe 16 bit inst...

Page 165: ...oy 1 256 V07400 VOnn V07400 V07777 VU7400 512 GXO GX777 V40000 v40037 InpulflOlOp GX GX TI 320 XO X477 V40400 V40423 _ x I r I 320 YO Y477 V40500 V40523 I I 460 CRO eR737 V40600 V40635 ill 384 SO S577 V41000 V41 027 TmerRBlayS 128 TO T177 V411 00 V41107 To t ICau I 128 CTO CT177 V41140 V41147 CT t t I I 96 SPO SP137 V41200 V41205 192 SP320 SP817 V41215 V41230 r t Figure 4 16 T1425 11435 Memory MCi...

Page 166: ...west base number and slot number are displayed in hexadecimal form System Errors System errol diagnostics identitY errol S and their severity Self diagnostic errol codes at V7755 V7756 and V7757 classifY errol S as fatal maier and minor l espectively Module Error A code showing the base and slot location ofthe problem module is stored at memory location V7760 V memory address V7762 contains the er...

Page 167: ...s is illustrated in Figure 4 17 and Figure 4 18 The starter circuit shown in Figure 4 17 requires a manual start The normally open push button 1 must be pressed In the event ofa power loss manual restart is required The equivalent RLL design built with non retentive control relays functions the same way PB1 Contacts Actual Field Wiring 5011 X6 C non retentive 1 1 OlIT C non retentIVe ALL Equivalen...

Page 168: ...ions the same way When built with non retentive control relays the RLL circuit requires a manual re start after a power loss PB1 8011 J S Contacts Actual Field Wiring C X7 retentive I Vf OUT C retentive j 1 C X7 non retentive I rl f iOUTl C non retentive RU Equivalent Figure 4 18 O on of Ret ntlve c md Non Retentive Control Relays Programming the SIMATIC TI405 4 33 Artisan Technology Group Quality...

Page 169: ...erands f DRUN I SET RANGES I AUX 57 RET DT ST 1 S T C DPGM I I I t I I I I e i 3 2 10115 32 1 0 Table 4 3 Oefgu Retentive Memory Ranges Operand Type Default Retentive Range Control r el y C C600 C787 V memory V V2000 V7877 Timera T No re b ntive timers Counters CT CTO CT177 St g S No retentive stegee Using a UVPROM cartridge PPX G 14M in a TI405 controller results in default retentive memory range...

Page 170: ...rrent starting value just press CiiiLl You then see the end of the retentive control relay range displayed as shown below DRUN I AUX SET RET flANGES S 7 DTEST END C DPGM I I I I I I 1 I o J 1 0 7 I o J Either enter a new ending value or just press iijL to retain the current value If you entered a starting value you must enter an ending value or retain a valid current value Othel Wise I lS04 BAll R...

Page 171: ...d For example to switch from having C200 through C377 retentive to having all control relays non retentive first display the following I g ORUN AUX 57 SET RET RANGES I Ol ST 1 S T C0200 OPGM I I I I I I t 7 Ii IS 4 J 2 j 01f5 J Press Iiiifi then 0iii J and the following display appears ORUN AUX 57 SET RET RANGES I Ol ST C02011 0377 RESET 7 OPGM I I I I I I 7 5 4 2 j e 7 Ii i 4 I Press jjj and you ...

Page 172: ...ries Branches In Parollel OR STR 5 5 Entering Parallel Contocts in Series AND STR 5 6 Entering a Complex Ladder Program 5 7 5 3 Using the Accumulator 5 9 5 4 Subroutine Programming 5 11 5 5 Interrupt Programming 5 12 5 6 Calculating Scan nme 5 13 StMATle T 405Use Manual Relay Ladder Logic Programming 6 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 173: ...combine a group ofelements in series with a previous element or group ofelements Use all to join one element in parallel to a previous element or group of elements Use OR STI to combine parallel branches that began with a S l R instruction Use at least one output X Y or C or box instruction at the end ofeach network Press IiiiiiiJ when you have entered an element in a network The MIU programmer bu...

Page 174: ...er handles the display ofthe instructions Xl Yl I I lJT FlgU 5 1 A Simple Network Example Table 5 1 Key sequence for a Simple Network Key Sequence Display Description W Display blank Begin witb CLR key IiiiiJUiiJ NOP Go to tbe firet addr WiD iiilD CIJ CWU G l R Xl Begin the network with STR Iiiiiliii o J CWU OO I T2 End tbe network with an output CiiiDCiiD JlND Then end the program SIMAnc T 405 1 ...

Page 175: ...Sing AND Key Sequence Dbplay Description iii Display blank Begin with CLR key IliiiiJ l ii J HOP Go to the fir t addr CiiiiJ 5iiiiJ o J iii 8 l R Xl Begin the network with STR ijRJ iii CIJ UiiLJ AIlD X3 Join X3 in B8n88 with Xl rniJIiiiiiIo J CiiiiJ OUT Yl End the network with an output iii iii IIlII1l Then end the program 5 4 Ralay Ladder Logic Programming SIMAlIC 11405 Usef Manual Artisan Techno...

Page 176: ...e Brcmches In Parallel OR STR Table 5 3 Key 5eq Using OR SlR Key Sequ e DilIplay Deseription M Display blank Begin witb CLR key iiiiiiJUiiD HOP Goto the firat address iii iii CD CiiiJ S l R xO Begin branch A with STR UiiiJ liiiiJ ITJ CiiiJ lIND Xl Join XO in riee with Xl CMJ I iii Jo J r mo OR X2 Begin branch B by joining X2 in parallel with branch A iii liiiiiiiJ Ci J CiiiJ S l R Y3 Begin branch ...

Page 177: ...hes Table 5 4 Key Sequence Using AND SIR Key Sequenoe Dbplay Description WiiJ Di play blank Begin with CLR key fiiiiJ UiiiJ NOP Go to tho first address CiiiiJ EililJ CIJ iii STRX2 Begin the network with STR CiiiiJ I iiiJ CD DmJ STRXO Begin the parallel segment with STR iiJ EililJ CIJ iii ORxi Join Xl in parallel witb XO l iiJ miD emJ ANDSTR Join the parallel segment in eeries with X2 CiiiiLJ Iiiii...

Page 178: ...e guidelines presented in this chapter X1 X3 X4 X7 Y1 A Bl I r X2 B2 XS X6 I I X13 Dr X14 X10 D2 I I X11 X12 D3 I I Rgure 5 5 Entering0 Complex I cIdderProgrom SIMAnc n405 UsarManual Relay Loddar Logic Programming 5 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 179: ...llel with branch Bl CiiiD iiiiiJ o J uw AND X1 Join X7 in series with branches BlandB2 L iiiiiJ III mCiiiiJ OR X13 Join X13 in parallel with branch C CiiiiJ EiiiJ II D CiiJ STR xu Begin branch D2 with 8m UiiiJ GiiiJ rnmCiiJ AND X1 0 Join XIO in aerie with X14 L E iiiiJ CiiiiJ OR STR Join branch D2 with Xl3 CiiiiJ iii II II CiiJ STR X1 1 Bogin branch D3 with 8m UiiiJ iiiiiJ II l LJ CiiJ AND X1 Join...

Page 180: ...sult into memory location V4001 whenever XOis on S l R LV ADDS OUT END XO V 4000 K5 V 4001 If more than one LD instruction is used sequentially the accumulator stack is brought into use The stack is a group of eight 32 bit data registers that accept values as they are pushed out of the accumulator by another value being loaded into the accumulator Up to eight values may be pushed onto the stack If...

Page 181: ...cations V4004 thl ough V4007 STR XO LD V4000 LD V4001 LD V4002 LD V4003 OUT V4004 POP OUT V4005 POP OUT V4006 POP OUT V4007 END POP Stack 3 Stack 2 Stack Stack 4 Stack 7 Stack 5 Stack 6 Stack 8 PUSH Accumulator F1gwe 5 6 Accumulator and stack Operation 5 10 Relay Ladder Logic Programming SIMAl1C 11405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisan...

Page 182: ...AT Figure 5 7 Subroutine Instructions Subroutines may be nested or placed inside other subroutines up to eight levels deep Since subroutines are placed after the lDID instruction in your program they are not scanned unless called by the main program This means that they do not add to the scan time unless they are being executed This makes a subroutine an excellent spot to place math or table instr...

Page 183: ...ld be allowed to complete before an intarrupt routine is executed The DI instruction enables the interrupt module to immediately transfer program execution to an interrupt routine Interrupts are enabled until the program scan encounters a DI8I instruction The DJ SJ disables internJ Pts while some critical portion of the program executes Once the critical section ends another BIIIJ instruction enab...

Page 184: ...int output modules no data communication module nothing connected to the programming port lK of high speed boolean instructions and O 5K of other instructions All times come from Table 5 6 Read Inputs Update Outputs Programming Port Data Convnunications Internal Diagnostica User Program High Speed Boolean 1 K Other Inatructiona 0 5 K 11 0 fl S 85 6 fl S Jllll li 182 2 J lS 11 0 J lS 90 7 us 192 4 ...

Page 185: ... 6Jls Progr mming Port 0 2 3 0 ms 0 2 8 0 me Communications Date Communications Module 1 1 1 8 me 1 1 1 8 ms Per Module Interne Diagnostics 1 1 1 5 me 1 1 1 6 me Uo r Program par Kl 3 0ms O 49 mst 3 0mstt Ifno programmillg cLwiee is connected to the progrB lJ i Iiing port this time iIil0 iPS Ifno data CQmmtUrlcations module is installed this time is 0 05 ms in the Tl42S and 0 16 ms tn tho TI436 tH...

Page 186: ... Intermedate Stage Programming Example Diagram Symbols Conveyor Line Example Entering stage 0Cl0 Entering Stage 001 Entering Stage 002 Entering stage 003 Running the Program Program Operation Ending the Program An Advanced Stage Programming Example Diagram Symbols Product FinishingExample Entering Stage 0Cl0 Entering Stage 001 Entering Stage 002 Entering Stage 003 Entering Stage 004 Entering Stage...

Page 187: ...5 6 53 Entering stage 016 6 53 Entering stage 017 6 54 Entering stage 020 _ 6 54 Running the Program _ 6 55 Program Operation 6 55 Ending the Program 6 55 Executing the Program 6 56 6 8 Monitoring the Excllnple Program 6 58 6 2 Stoge Progrommlng SIMATICTl405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 188: ...s of each stall e Stage Number B Aunique numberthat Identities each stege end allows rtto be referenced byother stages inthe program Stage Number a Stage Action Operations that are performedwhile the stage is active Tum OnOutput Y2 Transition Condition X4 X5 Acondrtion in which the stage becomes inactive 1 H Leavethl go when X4 end XS are both On 1 I Jump 005 Atransrtionto another stage Inthe prog...

Page 189: ... be followed by jumps to multiple stages to achieve the same effect as multiple initial stages Figure 6 2 combines the four basic components to make one complete stage Y2 X4 X5 H Tum on output Y2 and Jeave it on until X4 and X5 are both on F lgure 6 2 One Complete stQge Only the first component is necessary since a stage can be used as a flag to indicate that a certain point in the program has bee...

Page 190: ...nts This means that the numerals 8 and 9 are not used in stage numbers See Figure 6 5 A The next stage number after Stage 7 is Stage 10 and the Stage following Stae S 17 is Stage 20 The stage numbers do not have to be assigned sequentially You can choose any order that makes sense to you The TI405 has 384 stage numbers available 000 to 577 in octal however only one stage can be assigned any given ...

Page 191: ...n a simple straieht line configuration that executes much like scanning through a relay ladder logic program The main difference is that only the I O points in the active stage can control the program s execution See Figure 6 6 Figure 6 6 stog Connected equ Holly 6 6 Stage Programming SIMATIC 1 405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg ...

Page 192: ...Between stoge Figure 6 7 stog Controlling the SOITllil Points Toease the transition between stages outputs from the previous stage remain on for one scan ofthe newly activated stage Therefore an output energized by two coneecutive stages cannot tum offfor one Scan during the transition between stages See Figure 6 8 041 1 1 V66 Y67 SIMAnc n405 Us r Manual Figure 6 8 Pol ng stotus Betw n stoges Slag...

Page 193: ... stages always use the OR 0 instruction XO 000 X3 IY4 X6 Xl IY4 Figure 6 9 Active SlagM Sharing Output It is possible and often desirable to have multiple stages active at the same time You can have several chains of Stalr s looping at once or stages can branch to multiple other stages and create parallel operations that may or may not rejoin See Figure 6 10 Rgure 6 10 SClInpleof Mulllple Active S...

Page 194: ...ages are active this can be a very useful way fol each stage to monitor what the others are doing and react accOl dingly Stage 3 has to be active before Stage 1 can transition to Stage 10 but then Stage 3 has to become inactive before Stage 10 can jump to Stage 11 Figure 6 11 UsingStage Condition to Control Flow stage Programming Artisan Technology Group Quality Instrumentation Guaranteed 888 88 S...

Page 195: ...hat you are going to automate Figure 6 12 provides a sequential function chart describing the operation ofa machine that clamps a part drills a hole in the part and then ejects it See Fignre 6 13 AUN f PART f CLAIM SAFETY S SWITCH IN TNE GlWlOIN LO Iffi I CLOSED PLACE PAAT PLAtE DRll l NO L o M UNTlL IT IS L oo OAtU r WAIT r r OAIU AEJ SE AT s WSE AT EJEC T BOttoM OS DRILL fCI C P PART F Jgure 6 1...

Page 196: ...ed to the sequential function chart Putting the I O symbols right on the chart can help ensure that no points are overlooked See Figure 6 14 H UN swrrnH PART IN PlACE L_ H SEZoo H DRIll s LOWER SECOND U T De LA V PART EJECT FIgure 6 14 Adding I O Points SIMATIC Tl405 User Manual stage Programming 6 11 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 197: ...H PAIIT IN Pl C X2 0 NUT a ooeo eo Y Vi T2 TO H s ros H DRIll 5 lOWER 5ECOND UMrr OEt Ay Figure6 15 AssigningNumbe to I O Points NOTE This is an example application only Actual applications require PLC external circuits for primary critical safety protection 6 12 stage Programming SIMATIC TI405 Use Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 198: ...ws a sample ladde logic program CLOSE CLAMP DRILL CYCLE DDNE Cl EJECT PART Y4 CLAMP PART YO I L rf l 1 OUT I RUN PART SWrTCH PRESENT XO Xl CLAMP PART YO DRILL CYCLE IN PROGRESS DRILL DOWN Y2 DRILL UPPER UMIT X4 EJECT PART Y4 DRILL CYCLE IN PROGRESS C3 MOVE DRill TO LOWER LIMIT DRILL CYCLE IN PROGRESS C3 NOT IN ALARM Yl DRill DOWN Y2 f V 1 11 f II r l f jOUTl I DRILL GUARD UPPER ClAMP CLOSED LIMIT ...

Page 199: ...R IN PROGRESS C2 C3 I I DRIll UP Y3 DRill UP Y3 RESET TIMER RST TO CHECI FORENDOF DRill CYCLE DRIll DRIll UPPER CYCLE UMIT IN PROGRESS X4 C3 I I DRIll CYCLE DONE C1 EJECTPART AFTlER CYCLE IS DONE PART NOT EJECT ClAMPED PART j f o U T f DRill CYCLE DONE C1 I FIgure 6 16 Example of a Ladder LogIc Program continu cJ 6 14 Stage ProgrammIng SIMAnc n405 UserManual Artisan Technology Group Quality Instru...

Page 200: ...lAMP Yo RUN PART SWrtCM PRESENT X2 rHX1I lBUARDI y DRILL UPPER U RST ET STAGE 1 RElEASE GlAMP so 1 P NOT P1lES NT Xl _N ClAMPED R T CYa E F lgure 6 17 Example of Stoge Progranunlng NOTE This is an example application only Actual applications require PLC external circuits for primary critical safety protecrion SIMATIC T 405 UserManual Sfoga Programming 6 15 Artisan Technology Group Quality Instrume...

Page 201: ...uires fewer steps than the ladder logic program Tills means fewer instructions to enter and fewer instructions to search through during the startup step See Figure 6 18 Ladder Lollic SIR ANOX1 AND NOT Y4 OR ANP TC1 OUT SIRYl ANONOTX4 STlI co ORSTlI AND NOT Y 4 OUT co 2 M1DX4 AND AND NOT Y t ANDNOTG3 ANDNO fY3 STlI Yl ORSIR ANDNOTX3 0UTYl STlINOT 2 AND OUT v 3 fMRtoKS STlI OUT SIR ANDC AHONoTY2 va ...

Page 202: ...ases where multiple stages attempt to control the same outputs The OR 0U 1 allows multiple active stages to control the same output without interfering with each other This is the equivalent of having the active stages connected in parallel befo e beingjoined to the output Ifone ofthe active stages turns on the output it will come on even jfone of the other active stages has the output turned off ...

Page 203: ...YO X5 f X6 IYO F1gU 6 19 Mumple Stages Controlling on Output X2 YO 1 I our Figu 6 20 Ladder logic Equivalent All Stages Activ 6 18 Stage Programming SIMATIC Tl405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 204: ...e program With ladder logic documentation is a step that can be overlooked Stage programming promotes modular development of control programs A stage program is composed of modules each controls a specific function in the program By developing and reusing program modules made of individual or groups of stages program development time is cut Modular programs are easy to troubleshoot since all the o...

Page 205: ...implifies the construction of a stage program makes it much easier to follow and gives it a closer correspondence to the machine that it controls If a modular approach to writing the program was used another common maintenance problem can be addressed If a library of stage operations is developed and reused throughout a plant the same control stages perform the same operations in whatever machine ...

Page 206: ...the l ERK position Key Se luence Display Wi Wi Ci J c i J UiiiJ AOX 1 Opat t ina Mode 4UX 13 Go To PQK Mode CiiiJ GM Mode DiD Hod E PGH iiJ CD c i J UiiiJ AOX 2 RLL Operations AUX 2 Claar LaddQrs CiiiJ Clea r 11 L dd 8r8 0iD Olt gjiJ iiii lJi J 0 HoP SIMAT C T1405 UserManual stage Programming 6 21 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 207: ... Stage execution 8tarte when the CPU is switehed to RUN mode a Stage Subsequent stages following the initial stage in the program r Oontaet Equivalent to normally open ladder logic contact 2 Coil Equivalent to a ladder logic coil I Leave the current stage and start uno Jump executing the indicated atage when power flow reaches this point 6 22 stage Programming SIMATIC Tl405 Us rManual Artisan Tech...

Page 208: ...ows a jump to Stage I to occur this disables the output in Stage 0 causing YO to be turned off The running light YI in Stage I stays on and program execution remains in Stage I until the stop switch X3 is closed Closing the stop switch allows a jump back to Stage 0 this disables the output in Stage 1 Figure 6 22 illustrates the key sequence for entering this example The unshaded area ofthe logic d...

Page 209: ... colored symbol identification keys on theIU Key Sequence JjgJ iiiiJ CDcm J Display ISGSO STRXO ANDX1 Figure 6 22 Entering a Stage Program 6 24 Stage Programming S MAnc TI405 Us Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 210: ...iWilCD iii Display QUTYO ANDX2 JMPS1 Figure6 22 Entering 0 stoge Progrom conllnued SIMAT C T 405 User Manual stage Programming 6 25 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 211: ...d Key Sequence UiJ IiiiiiJCLJCi1iJ Displey SGS1 OllTY1 STRX3 Figure 6 22 Entering CI log Progrom continued 6 26 Stage Programming SIMATle n405 UserManual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 212: ...2 are all closed at the same time Having all three closed simultaneously allows the jump from Stage 0 to Stage 1 Once the jump to stage 1 is made X3 and Yl are the only active I O points XO Xl and X2 are not used in Stage 1 and may be switched on or off without affecting program execution YOremains off and Yl is on until X3 is closed Closing X3 allows a jump back to Stage 0 this causes Yl to turn ...

Page 213: ...iption RST Reset Stege Dieable the indicated stage when SOnnn power flow reA h this point 1 NOTContect Equivalent to a normally closed ladder logic contact fi Stage Contact This contact passes power flow when the indicated stage i active H NOTStago This contact passea power flow when Contact thi indieated stage is not active 6 28 stage Programming SIMATIC 11405 User Manual Artisan Technology Group...

Page 214: ...EA XO G sr llt X1 G sr lf YO X2 G 4 Si llt X3 Y1 l SIMATIC T 405 User Manual FIgure6 23 Conveyor Une stage Programming 6 29 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 215: ...0 5 seconds and stop for 0 5 seconds This operation might be used to move empty containers under a filling spout and pause as each one is filled When X3 is closed to request continuous running ofboth conveyors a jump to Stage 3 is allowed Ifthe stop button is closed at any time Stage Contact sa 1 forces a jump to Stage o Stage 3 engages the clutches on both conveyors at the same time This might be...

Page 216: ... ONE SP4 SECOND SP4 OECONO 10001 E P J E ENGAGE STOP GL GM CL UTCH WAS B SSE Y2 Y3 STAGE 3 A 1 ENBABE RETURN STlLL OLUTC ct To IN A B AOIIB AJJfO OPERATION Y2 Y3 001 STOP WAS _EO Figure 6 2A An Intermediate Stage Progrcmmlng Exarnpl SIMATIC T 405 User Manual stoge Progrommlng 6 31 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 217: ...key sequence to program Stage O Shaded keys c J represent the blue colored symbol identification keys on the MIU Key Sequence Display lJiiJIiiiiJu JUiiJ lOG sO UiiiiJIiiiiiiiilu JCiiJ Ol1 l YO l iiLI iijj u JCiiJ S l R XO CiiEJliiiiiJo JCiiJ J IIl Sl URJliiiilo IUiiJ J IIl S2 6 32 stage Programming MATIC T 405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE ww...

Page 218: ...ate Exampl Stag 001 Enter the following keystrokes to program Stage 1 Key Sequence Display CiiJliiiiJCD So Sl W 1ijjijjjJ CD OUT Yl CiIiiJliiiiiiJCDUiiU 8TH xl lJiiIJIiiiiiilo J RST 81 SIMATIC 71405 User Manual stage Programming 6 33 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 219: ...age 2 Key Sequence DiBplay CiiJIiiiiiJITJcmu ss e2 iii I iiiJITJCifiJ STR XlI CiiJ i J I CiiiIJ AND eP4 m JrmiiilJITJ iii 0U l Y2 iii UiillEiiiiiJITJ iii STRN XlI iL J CLJ ijiJ AND eN I miiJIi iililllCD iii 0U l Y l iii GiiiiB ITJ um J eTR xa CMJ Iiii Do J iiIJ JJ P sa CiiiiJ lJiW iiiiil CD CiiiJ STRN Sl I IIiiiiiJCLJ ijiJ nIP so 6 34 5toge Programming SIMAnC11405 UserManual Artisan Technology Gro...

Page 220: ... Key queuee Display Cii J iiii COCiiLI sa S3 l RiiDIWiiiiICO ii J OU I Y2 CWJIUiiiilCO iiJ OUT y3 CiILJl ilDIJliiJCOUiiJ S l RN X3 IAiiiJ iiij Ci J ijjJ AND Sl QiEJ iiiiii COCiifJ nIP S2 CiiiJ jill liiiliiJ Ci J iiJ S l IlH sl CiiLJliiiiiJw J CiiJ nIP so SIMATIC 11405 Use Manual Slage Programming 6 35 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 221: ...n Xl is closed Stage 1 is reset and Yl is turned off until the next jump to Stage 1 Stage 2 pulses either Y2 or Y8 depending on the state ofX2 SP4 is a special relay that is Onfor 0 5 seconds and offfor 0 5 seconds Closing X8 allows a jump to Stage 3 IfSta e 1 becomes inactive at any time program execution is forced back to Stage O Stage 8 turns on both Y2 and Y8 continuously until either X8 is tu...

Page 222: ...ts input Counters retain their current counts until CTOO1 reset by the RSf instruction B Set Stage Activate the indicated otage without leelring the cutl Olll otaga The S lIe remains active until h is reset or a jump to llflO1her Olage iBmade from the otago Data Clock Rese L L L Shift When a low to high transition is seen on Register the clock Input the cum lnt on or off states rr T of the contAct...

Page 223: ...PAINT DJluO DIVERTER GATE SHORT PRODUCT STATION STATION 1 2 STATION STATION 1 2 STATION STATION 3 4 STATION 3 Figure 6 30 Product finishing Example The finishing line conveyors advance for one second then stop for two seconds while each operation takes place The operation at each finishing station onlY takes place ifa product is present at that station The tall product finishing line has four stat...

Page 224: ... then sets Stages 11 through 17 if the corresponding control relays are energized The control relays are turned on or offby the product shift registers in Stages 6 and 7 so the result is that the output YlO through Y16 controlling the operation at any station is activated only ifa product is present at that station When a stage is set its I O points become active but unlike a jump to a stage the p...

Page 225: ...records receiving the product The state ofStage 10 is used as a clock signal to shift the on and offstates through the chain of control relays indicating the presence or absence of a product at each station This is a natural choice since Stage 10 is active when the conveyor is moving physically shifting the products between finishing stations Closing X3 clears both shift registers This could be us...

Page 226: ...0 I 2 Shalt PIVdIKlt At F Bt Sbltbn C11 I 1 Short Ptoduct Short Ats conct5IIItIon C 2 I 2 Short ShortPn JdUQt Pal At 1 MtStII tIon L 11 LY1 Y1 0 vte ToI 5hortP C C Counter CTo cn c Realiter Flgu 6 31 stage Program tor Product Flnl hlng SIMAnc T14Cl5 User Manuol SfOge Programming 6 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 227: ...keystrokes to program Stage O Shaded keys c J represent the blue colored symbol identification keys on tbe MIU key Sequenc DUplay 0iiJ IiiiilJCIJ m J lSG so W Ii liIliICIJ CiiO OU l TO CiiiiJ IiiiiJ CIJ CiiO STR xa CiiiiJ UiiEJ CIJ iii o J CiiO RS l C l a C l l GiiJ IiiiiJ o J CiiD nIP Sl GiiJIiiiiiJG J CiiD nIP S 6 42 Stage Programming SIMA71C 71405 Us9 Manual Artisan Technology Group Quality Ins...

Page 228: ...Stage 1 Key Sequence Display Ciiii J IiiiiiJ o J iii 8G 81 GiiiJ CiiDCi JIiiiiiD JCi JCiiiLJ l IIR to lt2 0 liiJiiijjJ o J 2iiJ 00 1 T4 IiiiiiilI CDCiiilJ 00 1 ys CiiiiJ iiii o J CiLl 8 l R Xl CiiiiJ Iiiii CL 1iiiiiJ D J Ci J CiiiJ RST 82 820 CiiiJ iii CD CiiiJ JHP SO SIMATIC Tl405 Use Manual stage Programming 6 43 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artis...

Page 229: ... o Jr iidJ 8G 82 l iIiJUiiiEJ G J iii STR 1 0 GiLlIiiiiiiJ o J r iidJ JHP 83 Figure 6 35 shows the complete Stal 3 program RST SG10 STOP CONVEYORS FIgure 6 35 Advanced Exampl sfag OO3 Enter the fallowing keystrokes to program Stage 3 Key Sequence Display ii Ii7mJ o J r iidJ 8G 83 CiiiD IiiiiiiJ o J G J iii RS 1 810 QiE IiiiiiJ CD iii JHP 84 6 44 Stage Programming slMATIC 11405 User Manual Artisan ...

Page 230: ...ii S l R Cl Wi iiiiiJ J J o J iii SE S12 CiiiJ lmiiiJ o J CiiIJ sTR C2 Wi iiiiiJ J J o J UiiiJ Bl lT 813 CiiiJ o J iiI S l R C3 iillliiiiJ J J o J CiiiJ SIl S14 CiiiJ liiiiiiJ J J u J CiiiJ BTR ci0 CiiiJ iiiiiJ J J o J iii sE S15 CiiiJ Iiiiil J J J J I iiiLJ s l R Cll CiiiJ liiiiJ J J o J CiiiiJ SS SlS CiiiJ liiiiiiJ J J CD UiiLJ s l R C12 CiiiJ iiiiiJ J J o J CiiiJ SIl S17 iii IiiiiiJ o J CD Ciii...

Page 231: ... C2 I TALLPRODUCT ATTHIRDSTATION C3 I TALLPRODUCT AT LASTSTATION Cl0 I SHORTPRODUCT AT FIRST STATION Cll I SHORTPRODUCT AT SECOND STATION C12 I SHORTPRODUCT AT LASTSTATION figure 6 36 Advanced Exampl stage004 6 46 Stage Programming SIMATIC T 405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 232: ...ge 5 Key Sequence Display GiJ iiiiilJ o J EJ sa ss iiLJ iiiiiiJCLJCLJIiiiilJCLJCLJUiiLJ RsT sl1 S17 UiiiiJEiiiiD Ci J1SdiiiI CLJ ITJ MJ TIIR T2 1 10 iii liiiiiJ o J EJ SilT S6 CiiiJ liiiiiJCIJ UiiLJ Sl l T 87 iiI liiiiiJ CLJ Ci J i LJ SilT S10 CiliiJ UiiiJ Ci J CiiliJ sm T2 Qij1J liiiiiJ CD UiiJ JIll S3 SIMATIC TI405 User Manual stage Programming 6 47 Artisan Technology Group Quality Instrumentati...

Page 233: ...6 38 Advanced Exampl_Slage 006 Enter the following keystrokes to program Stege 6 Key SeqU DC Display CiDIiiiiiII o J CiiiJ SG S6 iii liiiiJ Ci J CiiiJ S l R X2 CiiiJ liiiiiJ o J eLl CiiiiJ 9 l R 910 I iiiiJ Eiiill IT E S l R X3 CiLJ o J I CiiiJ Sft co C7 6 48 Stage Programming SIMAnc n405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 234: ...owing keystrokes to program Stage 7_ Key Seq nee Diooplay C iiU iiiiiiJ cz J CiiiJ SG s7 l iIiiJ UiiiJ EiiiiiiJ CD r iiLI S 1 RN X2 l iIiiJ IiiiiiJ Ci J C i J r iiLI S l R S10 I i iiJ riiiiJG J Uii J S l R X3 liJIDiiJITJo J jSBj ITJo JCiiiiJ sR C10 C17 SIMATIC T 405 User Manual Stage Programming 6 49 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 235: ...6 40 Advanced Example Stage 010 Enter the following keystrokes to program Stage 10 K oy Sequence Display CiiJIiiiiJ o J Ci J UiiiJ sa al0 CiiiiiJliiiiiDI o J CiiU 0 CI l Y1 cmiDfiiiiiiiiJ o J ij J oUT Y2 iii iii eLl lJiiLJ aTR X2 CiiiiiJ ltil iiiiI CD UiiU OUT Y3 6 50 Stage Programming SfMATlC Tl405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg...

Page 236: ...Sequence Display CiiiJ liiiiiiJ Ci J Ci J iiiI sa Sll cm J IiiiiiiiiJ Ci JCi J iff OUT Y10 Figure 6 42 shows a complete Stage 12 program 12 TALL BUFFf R Yll Figure 6 42 Advanced Exampl tage012 Enter the following keystrokes to program Stage 12 I S MATIC TI405 UserManual OUT Y11 Display stage Programming 6 51 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg co...

Page 237: ...equence Display ii Eiiiii Ci J CD CiiiD SG 813 ran IiiiiiiiI Ci J CD CiiiiJ 00 1 TU Figure 644 shows the complete Sta 14 program 14 TALL DRYER Y13 F1li1u 6 44 Advanced Exampl stQge 014 Enter the following keystrokes to program Stage 14 Key Sequenee Display ii liiiilJ CD o J iii sa S14 IiiiiiiiiI CD o J CiiiiJ YlJ 6 52 S1age Programming SfMATlC Tf405 Use Manual Artisan Technology Group Quality Inst...

Page 238: ...Ci J iii so s15 W fiiiiiijjJ IT o JGiiD OU l Yl4 Figure 6 46 shows a complete Stage 16 program 16 SHORT PRIMER Y15 Figure 6 46 Advanced Excmple stag 016 Enter the following keystrokes to program Stage 16 Key Sequence Display Ci LJ iiilJ o J o J Cii J sa S16 j lmiliilJ o J IT CiiiD 0U l Y15 SIMATfC TI405 User Manual Slage Programming 6 53 Artisan Technology Group Quality Instrumentation Guaranteed ...

Page 239: ...age 20 program L TALL V13 DRYER TTALL PRODUCT l COUfolTER CTO l SHORT VIeT P T rbDUNTER cn Flgur 6 48 Advanced Example Stage 020 Enter the following keystrokes to program Stage 20 Key Sequen Display jiJ liiiiiiJ c z J o J CiiiLl sa s20 um J IffiiiffiI Ci J CD CiiJ STRY13 GD m J cmJ o J iWiiil aGCNT CTO 1t9999 Ci J Ci J Ci J CD CiiJ CiiiiJ IffiiiffiI Ci J CD CiiiD BTR y16 GD gliJ GiiJ o J iSS iiI S...

Page 240: ...O and turns Onoutputs Y4 and Y5 Stage I then waits until the Xl stop switch is closed When Xl is closed Stage I resets all stages this turns off all output points and jumps to Stage O Figure 6 49 shows the input module indicators used in this example INPUT O 8 0 1 0 1 START j 4 00 4 SlUP j 1 0 50 1 0 5 0 DIVERTERSWITCH j 2 0 60 2 0 6 0 TAll ON CLEAR SHIFT REGISTER I 30 10 3 0 1 0 Figure 6 49 Input...

Page 241: ...h C12 are turned on or offby the shift registers in Stages 6 and 7 that keep track of the position of each product on the finishing lines The set stage instructions used to activate the finishing operation stages allow Stage 4 to activate other stages without jumping to them This allows Stage 4 to continue executing after it has activated the other stages Timer 1 1 is reset when the jump to Stage ...

Page 242: ... is clocked into the short shift register An off state is clocked into the tall product shift register since this time a gap is left in the row of tall products Notice that both shift registers are programmed with eight control relays even though not all ofthem are needed Shift registers in the TI405 CPU must use control relays in groups of eight and the first relay number in the shift register mu...

Page 243: ...le The active stages can be monitored with the MIU by entering the following key sequence Key Sequence MJ WiiJ I i iiiJCi J Iiiiiil Figure 6 51 shows how the MIUdisplay appears if stages 1 4 6 7 12 15 and 17 were active 1 r ORUN I S 1 0 s 1 0 OTEST 1 6P MON DPGM I I I I I I I 171154 521 o 1 5 J 1 Figure 6 51 Active stagM Monitor Display 6 58 Stage Programming SIMATIC Tl405 User Manual Artisan Tech...

Page 244: ...gure 6 52 Product Count Display Current timer values are stored in V memory locations that are equal to the timer number The current timer values for timer 000 and 001 can be viewed 00 the MIU by entering the following key sequence Key Sequence UiiiJ UiiiJ c EJ o J Iiffil Notice that timer 000 does not stop at its preset of20 but continues to time up to 9999 You may use l iiiiiJ and ljjiiJ to view...

Page 245: ...o monitor YO through Y17 Use CiiD and Iiiiil to view the status of other Y points Figure 6 54 shows how the MIU display appears ifYl Y2 Y4 Y5 and Y14 were on Key Sequence cg jjJ WiD IUiiiiiJ o J IiiiiIJ DRUN I V y 0 I 1 0 DTEST 1 8 P MON DPGM I I I I I 5 4 3 2 ID7fii 4J210 Rgure 6 54 I O Monitor Display 6 60 Stage Programming SIMATIC TI405 User Manual Artisan Technology Group Quality Instrumentati...

Page 246: ...eration _ __ 7 6 stage 007 Operation _ _ __ _ 7 6 7A Seven Segment Dtsplay 7 7 Program Operation _ _ _ _ 7 7 7 s High Speed Count Subroutine TI435 Only 7 10 stage Cl XJ Operation _ _ __ _ 7 11 stage 001 Operation _ 7 11 stage 002 Operation _ 7 12 stage 003 Operation _ _ 7 12 7 6 MIU Operator Interface TI435 Onty 7 13 SIMAnc n405 User Manual Appllcoffon Examples 7 1 Artisan Technology Group Quality...

Page 247: ... to the coil YI controlling current to the motor On the following scans the circuit continues to supply power flow to YI until Switch Xl is pressed Stop Switch Motor X1 Y1 vi 1 0 Start Switch XO Figu 7 1 start Stop RLL Circuit xo I STAAT Y1 Figure 7 2 start Stop Stoge Circuit 7 2 Appllcal10n Examples SIMATIC Tl405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURC...

Page 248: ...ergized When the timer times out or the reset switch is pressed the horn output coil is turned off Start Reset Motor XO X1 Y1 I I 1 LTT Y1 Y1 I I r TMR T4 I I 1 50 Hom OUtput IX Y1 YO fl I I LTT figure 7 3 Sy f m stolt up Hom RU Xl AEsET YO Figure 7 4 System stoat up Hom stoge SIMAnc n4Q5UserManual Appllcaflon Examples 7 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE w...

Page 249: ... 5 and the program instruction listing in Figure 7 6 Main instructions used ISG to indicate the Initial Stage SG to indicate all other Stages XO Xl 000 000 AST STO so ST YO TO X2 RUN N BmlillllRMttue 01 RJRWAflD y TO X2 xa xa JOB JOB FORWARD X4 Yl X4 JOG JOB AE lEASE REVERSE Y2 figure 7 5 Run Jog Control stage 7 4 Appllcaf10n Examples SIMATIC Tl405 User Manual Artisan Technology Group Quality Inst...

Page 250: ...R X 0002 22 JMP S 0004 23 STRN X 0002 24 JMP S 0005 25 SG S 0004 27 OROUT y 0001 28 SG S 0005 30 STR X 0003 31 JMP S 0006 32 STR X 0004 33 JMP S 0007 34 SG S 0006 36 OROUT y 0001 37 STRN X 0003 38 JMP S 0000 39 SG S 0007 41 OROUT y 0002 42 STRN X 0004 43 JMP S 0000 44 END Figure 7 6 Run Jog control ProgramUstIng Appllca on Examples 7 5 Artisan Technology Group Quality Instrumentation Guaranteed 88...

Page 251: ...nput X2 IfX2 is on a jump is made to Stage S4 IfX2 is off program execution jumps to Stage S5 In order to go into continuous run operation the X2 run switch has to be pressed either before the start switch is pressed or within 0 5 seconds afterwards This reduces the possibility of accidentally selecting continuous run operation Stage 54 turns on output Yl causing the main drive to run the machine ...

Page 252: ...e 7 11 is the RLL program listing Figu 7 7 seven Segment Display Example Main instructions used SEG to convert a BCD number to a seven segment display bit pattsm OUTF to move the bit pattsm to the physical outputs Program Operation Each time XOmakes an off to on transition the current value of counter CTO which is located in the V memory location 1000 greater than the counter number increases hy o...

Page 253: ...urrent value of counter CTO into the accumulator where the SEG instruction converts the Binary Coded Decimal count into a bit pattern that corresponds to the segments of the four seven segment displays needed to represent the count Ifthe current count is 28 then the bit pattern in the accumulator after the SEG instruction executes is 0011111100111111 01011011 011111111 7 8 Application Examples StM...

Page 254: ...rightmost bit moving to YO Each 1 in the pattern turns on the corresponding image register point and each 0 turns offits point At the end of each program scan these image register values are output through the first two 16 point output modules in the first base to four seven segment displays Figure 7 7 sbows how the display appears with a current value of 28 in counter CTO and that output point is...

Page 255: ...me than the overall control program You can follow the example on the Machine Stage diagram in Figure 7 12 and in the program listing in Figure 7 13 Main instructions used GTS to Go Ib the Subroutine SBR to indicate the start ofthe subroutine RT to return from the subroutine FORINEXT to define a looping operation within the subroutine STRI to immediately read an input without waiting for the progr...

Page 256: ...e Sl and starts to watch for the first part in the batch to pass the proximity switch connected to Xl Stage Sl contains a STRI Xl instruction that is an immediate 110 instruction This means that instead of only reading the state ofXl at the beginning ofeach program scan and usinll the value stored in the image register for the entire scan the stata ofXl is read from the input module each time the ...

Page 257: ...proximity switch and increment counter CTO The immediate input instruction is required here because without it the Xl input is not read until the current Scan ends after all the parts to be counted have passed Program execution jumps to Stage S3 after the subroutine completes its task The two comparison contacts in this stage control machine operation depending upon how many parts were counted by ...

Page 258: ...and NCON BCD Math and Accumulator instructions g DRUN I I DTIST OUTPUT I S AT 99 DPGM I I o 7 2 0 figure 7 14 Messoge DlsplClyed 0I l the MIU In both programs the PLC scans and waits until XOis closed Once this happens the Machine Stage program transitions to Stage I and displays the message The relay ladder logic program branches to its subroutine and performs the same operations Both programs co...

Page 259: ...TI435 Only conflnued 1 I f tJo 000 DLBL K1 Figure7 15 MIU Operator ll llerfoce Slog_ 7 14 AppUca110n Examples SIMATICTl405 UserManual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 260: ...rom the accumulator in order to remove the offset from zero since 6400 is equal to zero percent output Divide the number in the accumulator by 256 with a DIV K 0256 to scale the performance value to a percentage between 0 and 99 The OUT V 06000 instruction moves this result from the accumulator to memory location V6000 A percentage is now stored in V6000 but the number is in BCD format It must be ...

Page 261: ...y continued xo LO VSOOO BCD 7 16 Application Examples L RT Figure 7 17 MIU Operator Interface RLL 5ubroutlne Segment SIMATIC 11405 User Manuol Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 262: ... that one word ofdata is moved The LDA 000010 specifies that the move is made at an offset of eight oetal10 into a table of values In this case the move is being made into DLBL K1 Ifyou look at the boxes under the DLBL in either of the figures and stan counting from zero with the first ACON A OU you see that number eight is an NCON K 0000 This numeric constant instruction has been programmed with ...

Page 263: ...e one location that we want The MOYMC K 0001 instruction actually makes the transfer to DLBL Kl 0 ISO S 0000 2 STR X 0000 3 JMp S 0001 4 SO S 0001 6 LD V 05000 4 7 BCD 8 SUBD K 00006400 10 DIY K 0256 11 OUT V 06000 12 LD K 0001 13 LDA 0 06000 14 UTA V 07000 16 LDA 0 00001 17 LDA 0 00010 18 LDA 0 06770 19 MOYMC K 0001 21 FAULT K 0001 23 STRN X 0000 24 JMP S 0000 25 END 26 DLBL K 0001 28 ACON A OU 2...

Page 264: ...14 is seen if a value of 7CFF is placed in memory location V5000 and XO is closed 0 STR X 0000 1 GTS K 0001 3 END 4 SBR K 0001 6 STR X 0000 7 LD V 05000 8 BCD 9 SUBD K 00006400 11 DIY K 0256 12 OUT V 06000 13 LD K 0001 14 LDA 0 06000 15 HTA V 07000 17 LOA 0 00001 18 LDA 0 00010 19 LDA 0 06770 20 MOYMC K 0001 22 FAULT K 0001 24 RT 25 DLBL K 0001 27 ACON A OU 28 ACON A TP 29 ACON A UT 30 NCON K 2020...

Page 265: ... 8 7 CPU status Reldys 8 8 System Check Relays 8 9 Accumulator Relays 8 10 Data Communications Relays 8 11 8 7 Timer Relay 8 13 8 8 Counter Relays 8 14 8 9 V Memory Palnters 8 15 8 10 Indirect Addressing 8 16 Overview 8 16 ErrorFlag 8 17 SIMAr e n405 User Manual Inslrucffon opercnos 8 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 266: ...ts a field device for example a limit switch When the field device turns on the imafl register point assigned to that device is set to 1 before startinlr the next scan and the X normally open contact is closed This completes the circuit to the next instruction on the RLL rung When the field device turns off the image register point is cleared to 0 before starting the next scan and the normally ope...

Page 267: ...y the octal reference number Y Operation The Y coil on the RLL rung represents a field device for example a pilot light When the Y coil turns on the image register point referenced by that Y is set to 1 and the field device is turned on at the end ofthe Scan When the Y coil turns off the image register point referenced hy that Y is cleared to 0 during the next scan and the field device is turned o...

Page 268: ...e octal reference number C Operation The control relay is used to provide control for other RLL instructions When used as a contact the control relay functions as follows When the image register point corresponding to a C is set to I the C normally open contact is closed This completes the circuit to the next instruction on the RLL rung When the image register point corresponding to a C is cleared...

Page 269: ...n Image Register update lor Outputs l diagnostics Agul8 8 4 CPU ScCln Cycle An immediate input is represented by the normally open contact nt symbol and the normally closed contact lI I symboi Figure 8 5 shows an example of normally open and normally closed immediate input contacts Mer pressing the operation key you may enter a normally open immediate input with the MIU Ib do so press liiiHJCi J I...

Page 270: ...pdated during the RLL Program Execution phase of the scan cycle An immediate output is represented by the oun fsymbol as shown in Figure 8 6 To enter a normally open immediate output with the MID after pressing the operation key press ijjW Ci J ijjW IiiRiffiI followed by the octal input reference number X2 Y7 1 f 10uT Figure 8 6 lnvnediate Output Excmple 8 6 Instruction Operands SiMATIC TI40S User...

Page 271: ...ollowed by the octal reference number SPooo SPOOl This Special relay is on if this is the first Scan after the CPU is reset It is reset on the second scan Normally On You can use this special relay when you need a condition to always be true Clock RelClYs The special clock relays cycle on and otTonce for the specified time period sporo SP004 spoas SPOO6 SPOO7 SfMATIC Tl405 UserManual l minute cloc...

Page 272: ...ToP mode using the keyswitch Otherwise it is off PGM relay SP020 is on when the CPU is in the PGM mode Otherwise it is off Interrupt enable relay SP022 is on when the hardware interrupts are enabled with the ENr instruction It is off when the hardware interrupts are disabled with the nrsr instruction CPU battery disabled SP025 is on ifCPU dipswitch 1 is on disabling the CPU battery The relay is of...

Page 273: ... O error is detected This could be a missing terminal block a missing I O module a blown fuse a different I O configuration or several other conditions The specific error code is stored in either V7755 or V7756 Otherwise it is off Communications error relay SP046 is on when a communications error is detected The specific error code is stored at V7756 Otherwise it is off I O configuration error rel...

Page 274: ...o be zero Half borrow flag SP064 is on wben the l6 bit arithmetic subtraction operation results in a borrow because the operand was larger than the accumulator value Borrow f1ag SP065 is on when the 32 bit arithmetic subtraction operation results in a borrow because the operand was larger than the accumulator value Half carryf1ag SP066 is on when the l6 bit arithmetic addition operation results in...

Page 275: ...ise it is off Base number OISlotnumber 1 SP123 is on when a transmission error is detected by the DCM in Base O Slot 1 Otherwise it is off Base number O Slot number 2 SP124 is on when the DCM in Base O Slot 2 is transmitting Otherwise it is off Base number OISlotnumber 2 SP125 is on when a transmission error is detected by the DCM in Base O Slot 2 Otherwise it is off Base number O Slot number 3 SP...

Page 276: ...s transmittine Otherwise it is off Base number O Slot number 6 SP135 is on when a transmission error is detected by the DCM in Base OlSlot 6 Otherwise it is off Base number OISlot number 7 SP136 is on when the DCM in Base O Slot 7 is transmitting Otherwise it is off Base number O Slot number 7 SP137 is on when a transmission error is detected by the DCM in Base O Slot 7 Otherwise it is off SP320 t...

Page 277: ...age register point corresponding to the relay The range of n is octal 0 177 1b enter a timer relay using the MIll press UiiiJ and the octal reference number You may also speciiY a different preset with the timer relay A timer relay with a preset turns on when the timer current value equals that preset and remains on until the timer is reset The X is the constant value for the preset SIMATIC Tl405 ...

Page 278: ...rs to the image register point that corresponds to the relay The range ofn is octal 0 177 1 0 enter a counter relay using the MIU yon press I aa Iand the octal reference number You may also speciJ va different preset with the counter relay A counter relay with a preset tuTUS on when the counter current value equals that preset and remains on until the counter is reset The X is the constant for the...

Page 279: ...2 is used as a pointer Its contents 3247 represent the actual location of where the low order 16 bits of the accumulator are stored V3247 X2 P Example I I OuT Accumuloto I 0000 I 1212 I I I P2142 I P2 42 3247 1212 V2 42 V3247 Figure 8 10 V Memory Pointer Example Ib enter a pointer reference using the MIU press ffiiiij followed by the V memory pointer address Key Sequence CiiiiJ iiiJ Ci J CiiiiJ l ...

Page 280: ...ouble word OUTput accumulator right most word OUTput accumulator Double word SToRe greater than or equal SToRe less thaN AND greater than OJ equal AND less thaN OR greater than or equal OR less thaN SToRe Equal SToRe Not Equal AND Equal AND Not Equal OR Equal OR Not Equal TiMeR TiMeR Fast TiMeR Accumulating TiMeR Accumulating Fast CouNTer StaGe CouNTeJ Up Down Counter LoaD accumulator indeXed OUTp...

Page 281: ...s turned on For example if a LD PIOOOis used in a RLL program changes in the value stored in V1000 create changes in SP71 See Table 8 1 Table 8 1 Values of COntents of VI000 Contents ofYlOOO Octal Specified Re ult SP71 hezadecimal Equivalent RelUter 0000 0 VO OK OFF 029C 1284 V1284 not valid ON 4180 40600 V40600 OK OFF 5000 50000 V50000 not valid ON You can use SP71 following each indirect address...

Page 282: ...s STR 9 2 STRN 9 2 AND 9 3 OR 9 3 ANDN 9 4 ORN 9 4 AND STR 9 5 ORSTR 9 6 OUT 9 7 OROUT 9 6 SIMAnc n405 UserManual High Speed Boolean Instrucflons 9 I Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 283: ...CT SP and OX X2 STRN Store NOT STRN begins a new line oflogic The onloffstate of the STRN contact is opposite the state of its associated image register point vr J f OUT Key Sequence CiiiiJUi2iJl iiiiiJ c z J iii M IiimiiiJ c z J CiiiJ 9 2 Valid Data Types High Speed Boolean Instrucflons X Y C S T CT SP and OX SIMATIC Tl405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 88...

Page 284: ... x Y C S T CT SP and GX xa OR OR OR connects two logic elements in parallel The on off state of the contact following the OR is the same as the state ofits associated image rellister point vr f OUT J Xc Key Sequence Ci iDliiiiJCD iii cm J jiiJ D J cm J IiliiiiilCD CiiiJ Valid Data Types SIMATIC Tl405 Use Manual x Y C S T CT SP GX High Speed Boolean Inslruc ons 9 3 Artisan Technology Group Quality ...

Page 285: ...C S T CT SP and GX X2 ORN OR NOT ORN connects two logic elements in parallel The on offstate of the contact following the ORN is opposite the state ofits associated image register point vr I __ OUT r r r X6 Key Sequence Ci iiJ iii o J Cii J gD I NOT I iii CO I I C2iiiJ I I liiiiI TI CiiiJ 9 4 Valid Data Types High Speed Boolean Ins1ructlons x Y C S T CT SP and GX SIMATfC Tf405 User Manual Artisan ...

Page 286: ...ents in series Each group must begin with an STR instruction Y7 hr OUT X3 X4 H X5 X2 Valid Data Types None StMATle T 405U ar Manual High Speed Boolean Instrucflons 9 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 287: ...lel Each group must begin with a STR instruction Y7 Xl X2 X3 H H il T OUT X4 XS H Jf r I Xe I Valid Data Types None 9 6 High Speed Boolean Ins1rucflons SIMATIC Tl405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 288: ...the state of the last occurrence of that output is the state that is written to the physical output point at the end of the scan Y7 I OUT Yl0 L _ _ OUT 1 Key Sequence c m J ijU CD iii cmu J IW 1iiIITJ ii J w oftmjj ilo J CD Ciii J Valid Data Types SIMATIC Tl405 UserManual X Y C GX High Speed Boolean Inslruc ons 9 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artis...

Page 289: ...ed to be ORed toeather so that an inactive occurrence ofan output later in the program scan will not override an active occurrence n I ROUT r _ vr j ROUT Key Sequence UiiD jij o J emu Uii J WD Iii2iiiiJ I iij J I iiiiJ iijjJ o J CiiIJ J iL 00 IUiiiWl I iWJ 9 Valid Data Types High Speed Boolean InstrucMons x Y C and GX SlMATlC T 406 User Manual Artisan Technology Group Quality Instrumentation Guara...

Page 290: ... 10 2 ANDE 10 3 STRNE 10 3 ORNE 10 4 ANDNE 10 4 STR 10 5 OR 10 5 AND 10 6 STRN 10 6 ORN 10 7 ANDN 10 7 SIMAT C T 405 User Manual ComparatiVE Bool On Insfrueflons 10 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 291: ...value VandK ORE OR Equal ORE connects this contact in parallel with another The contact turns on when the first V memory value is equal to the second value X2 V13 V14 Key Sequence iii iij D J iii CiiJ liiifiJ o J liiWCiJJCi JITJo JG JITJUiiiJ C9iIJIliWiiiICI J UiiiJ Y7 OUT Valid Data Types 10 2 Comporo ve Boolean Ins1ruO OrlS First value V Second value VandK StMATlC Tl405 User Manual Artisan Techn...

Page 292: ... Types First value V Second value VandK SlRNE Store Not Equal STRNE begins a new line of logie The contact turns on when the first V memory value is not equal to the second value V17 V20 Y7 t j I COUT Key Sequence I STR I liiiW I liiiWc LJo Jo Jl i JCDITJCiiIJ cmiLllfiiiiiiICD CiiLJ Valid Data Types First value V Second value VandK SIMATIC Tl405 User Manual Comparaflve Boolean Inslrucflons 10 3 Ar...

Page 293: ...ue V Second value VandK ANDNE AND NOT Equal ANDNE connects this contact in series with another The contact turns on when the first V memory value is not equal to the second value X2 m Y7 H I OUTr Key Sequence um J IiiiiiJ CD iii UiLl CWD IOM IITJ liilillo JCDD JITJITJw JE iiiIJ CQiii ItiiliiijJ CIJ ij J Valid Data Types 10 4 Comparative Boolean Instructions First value V Second value VandK SIMAr C...

Page 294: ...Than or Equal OR connects this contact in parallel with another The contact turns on when the first value is greater than or equal to the second value X2 a 1 1 OUT V3000 V6000 l 1 Key Sequence Ci iiJ I iiiiiJ TI iii UiDD JITJCDCi JCi JlITeIITJCDCi JCDCiiiJ cmJ IUiiiiiiIIT CiiJ Valid nata Types SIMATIC T 405 User Manual First value T CT V 1400 41027 Second value V and K Comporol1ve Boolean 1 l 1ruc...

Page 295: ...es First value T CT V 1400 41027 Second value V K T6 K42 STRN Store Less Than STRN begins a new line of logic The contaet turns on when the first value is less than the second value Y7 I OUT Key Sequence iijj umJUiiiJCDIiifi iID JITJGiiiJ UiiiiJ IiimiiiJ CD GiiiJ Valid Data Types 10 6 Comparaffve BOOlean Instrucffons First value T CT V 1400 41027 Second value V K SIMATIC T14D5 User Manual Artisan ...

Page 296: ...d value V K ANDN AND Less Than ANDN connects this contact in series with another The contact turns on when the first value is less than the second value X2 V2700 K60 Y7 H I COUT r Key Sequence l iiliJ WiiiJ CD UHD I ANI II ii iJIT CD CD G JCDI1imB CLJ o J CiiiLJ I mJ CD iii Valid Data Types SIMAnc n405 User Manual First value T CT V 1400 41027 Second value V K Comparat1ve Boolean Insfrucijons 10 7...

Page 297: ... 11 4 ANDI __ __ _ 11 4 ANDNI __ _ __ 11 5 oun _ 11 5 OR oun _ 11 6 SEn _ _ 11 7 Rsn __ 11 7 LDIF n435 Only 11 8 OUnF n435 Only _ 11 9 SIMATIC TI405 User Manual Immediate Instrucffons 11 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 298: ...iiiiICD iii Valid Data Types X Store NOT Immediate STRNI begins a new line of logic The on off state of the STRNI contact is opposite the state ofits physical input point which is read immediately not at the end of the scan Y7 l I11 1 OUT Key Sequence I iiiiJ om J jjjill c LJ jjjill iiiiiJ CIJ I I cm J FiiUiiI CD iii Valid Data Types X 11 2 Immediate Inslrucflons SIMAT C T 405 UsarManual Artisan T...

Page 299: ...f its physical input point which is read immediately not at the end of the scan Y7 OUT X2 X6 Key Sequence CiiiJ iii CD jji UiOIiiifi o J ijfi XiiLJ Ci J jji WI IiiilmJ CD ifj J Valid Data Types X S MATIC 11405 Usar Manual Immediate Instruc ons 11 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 300: ...iiU Iii2iiiiJCD CiiiU Valid Data Types X AND Immediate ANDI connects two logic elements in series The on off state ofthe contact following the ANDI is the same as the state of its physical input point which is read immediately not at the end of the scan Y7 HI I OUT Key Sequence CiiLJ I iiiiJ CD CiiiU c mJ liiiW o J limll iiiiJ o JDiD Iii2iiiiJCD iii Valid Data Types X 11 4 Immediate Instructlons S...

Page 301: ...Immediate OUTI ends a line of logic The on offstate of the physical output point is updated immediately not at the end of the scan If the same point is used as an immediate output more than once in a program it is possible for the stete of that physical output point to change several times during one program scan Y7 I OUTI Key Sequence l DO iiiiJ w J CiiLl Em liilWCD liiiW IiiiWiJ o J r ii J Valid...

Page 302: ...idered to be OR ed together so that an inactive occurrence of an output later in the program scan does not override an active occurrence X2 X3 Y7 j FlOUTI Y7 FlOUTI r r r 11 6 Key Sequence t AiiD I iiiiJ o J iii CLlmDlimJCD miiiilc z J m J rnBJ jjijlJ o J CiRJ CLlmDlimJCO jjjIDIimiiECW m J Valid Data Types Y Immediate Ins1ruc ons SIMARC 71405 User Manual Artisan Technology Group Quality Instrument...

Page 303: ...iilD JIiiiiiiii1CLJUiiiJ Valid Data Types Y Reset Output Point Range Immediate RSTI turns off a range ofphysical output points immediately not at the end ofthe scan Ifany of the reset points are used as outputs elsewhere in the program they continue to be controlled by program logic X2 V4 Y7 RSH Key Sequence Ii I iiiiiJCD UiiLl jillliiiWCLJ CLJIriWiDICLJ ii Valid Data Types Y SIMATICTl405 Use Manu...

Page 304: ...ed as the least significant bit and any upper accumulator bits that are not loaded are set to zero Xl LDIF XO K5 ACCUMULATOR x 3 X2 Xi XO ON OFF OFF ON ON Key Sequence CiiiJ iij CO Cii J ULJ liiiWc cJ CD la FT I iij u J IIimCD Cii J 11 8 Valid Data Types Immediate Inswuctlons First value Second value X K l 32 SIMAnc n ws UserManual Artisan Technology Group Quality Instrumentation Guaranteed 888 88...

Page 305: ...t bit from the accumulator is moved to the specified point Xl OUTI Y30 8 ACCUMULATOR V37 Y36 Y35 rn V Y32 Y31 Y30 ot I ON OFF ON OFF ON ON OFF Key Sequence CiiiiJ iijjJ o J CiiD UiiiLJ WDJ Ci J CD ijjW ImiiDJ CLJ Ci J c LJ rsn Valid Data Types SIMATIC Tl405UserManual First value Second value Y K 1 32 ImmediatE Instructtons 11 9 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOU...

Page 306: ...structions TMR 12 2 TMRF 12 3 TMRA 12 4 TMRAF 12 5 CNT 12 6 SGCNT 12 7 UDC 12 8 SIMATIC Tl405 User Manual TImer and Counter Inslrucftons 12 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 307: ...9 9 seconds The current value ofany TMR is stored in the V memory location with the same number B5 the timer so the current value for TMR T4 is at location V4 Each timer must have a unique number between 0 and 177 octal In the example Y4 turns on 4 3 seconds after XO is closed Y5 turns on 2 0 seconds after XO is closed xo I I TMR T4 KA3 T4 Y4 OIJT o 1 I __ OUT J Key Sequence iijiJ iii o J iiji CDi...

Page 308: ... stored in the V memory location with the Same number as the timer so the current value for TMRF T47 is at location V47 Each timer must have a unique number between 0 and 177 octal In the example Y4 turns on 6 2 seconds after XO is closed xo I I TMRF T47 K620 T47 Y4 __lCOllT Key Sequence CiiiiJ iiiiJ o J ii UiiiiJEiiiiiJCDo JkiiiiiiCDo JeuCifiJ CiiiiJ EiiiiiJ CD o J ii l WJ lliiffiI CDUiiJ Valid D...

Page 309: ...ting with the one that has the same number as the timer TMRA T30 stores its current value at V30 and V31 This means that there cannot be a timer number T3l since its corresponding V memory location is already in use Each timer must have a unique number between 0 and 177 octal In the example Y4 turns On after XO has been closed for a total of 8 3 seconds I TMRA I I TMA T7 I PRE Klls V4 I OUT T7 xo ...

Page 310: ...h the one that has the same number as the timer TMRAF T46 stores its current value at V46 and V47 This means that there cannot be a timer number T47 since its corresponding V memory location is already in use Each timer must have a unique number between 0 and 177 octal In the example Y4 turns on after XO has been closed for a total of 4 3 seconds xo I TMRAF I I TMR T46 I PRE K430 Y4 I OUT x T46 Ke...

Page 311: ...000 so counter CT2 stores its current count in VlOO2 The CNT retains its current count until its lower contact is turned on this resets it to zero In the example Y3 comes on after Xl has been toggled 16 times Y4 comes On after Xl has been togeled a total of20 times Turning on X2 resets the counter 1 I CNT 1 CNT CT2 I PRE Kl6 YJ I COUT K20 Y4 I Cou I 1Xl jl 1 X2 jl 1 CT2 ll Vl002 I Key Sequence iii...

Page 312: ...nter number plus 1000 so counter CT7 stores its current count in V1007 The SGCNT retains its current count until reset with an RST instruction In the example Y3 comes on after Xl has been tOggled 10 times Xl SGCNT CT5 Kl0 Y3 f OUT J CT5 I Key Sequence CiiiiJ iii Ci J iji Ciii JGiDEiiiJCIJ Ci JCLJ iji UiiiJ lliiJ CIJ iji IiiiilWJ CIJ iji Valid Data Types First value Second value CT V and K 1 9999 S...

Page 313: ...VI006 This means that there cannot be a counter CT6 since its corresponding V memory location has been used The UDC retains its current count until the R contact is turned on this resets it to zero In the example Y3 turns on after Xl has been toggled 4 times and back off after X2 is toggled I U UDC I I I D CNT CT5 I PRE K4 I R Y3 I OuT I Xl I CTS I I X3 I I X2 I Key Sequence iii Eiiii CD CiiiJ Ci ...

Page 314: ...DA 13 5 OUT 13 6 OUID 13 7 OUTX 13 8 AND 13 9 ANDD 13 9 OR 13 10 ORD 13 10 XOR 13 11 XORD 13 11 CMP 13 12 CMPD 13 12 SIMAr e n405 UsBr Manual Accurnolctor Data Manlpulal10n Inslrucflons 13 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 315: ...tion is loaded by the value pointing to that address PExampie V Example c J Accumulator KExampie 12 K12 Accumulator I 0000 Accumulator Vl600 P1600 1713 I L D I V4212 I LD I K12 I r LD I P1600 X1 X2 Key Sequence iii iijj CLJ iii CJ iiJ Ci J o JIT o J IT ijL iii iii o J iii CJ iiJ i5iiio J IT CiiiD CiiiiJ iii o J CiiiIJ Cii JliiiW iiiiilo Jo Jc LJo JO Valid Data Types v P and K 13 2 A l mula1o Data ...

Page 316: ... points to the address of the first of the two locations X1 X2 X3 LDD V4616 LDD K12345 LDD P3200 V Example Accumulator K Example 0001 2345 K12345 Aeo imulatof P Example Key Sequence CiiiiJ iiiLJ ITJ CiiJ CiiJ iiifi Cii JliiWl LJo Jo JITJo JCiiJ CiiiD CiiiJ o J EJ CiiJliiWCii JliiWIiiiiiiiIITJo JeLJo Jc LJUii J CiiiD iii o J CiiJ CiiJliiWCii J BiiiiJCLJITJo JCDCiiD Valid Data Types Sf MAne 11405 Us...

Page 317: ...et into the accumulator before executing the LDX V1500 Xl l D V6l20 l DX V1600 LDV6l20 V6l20 LijiJ Accumulatot LDXVl500 Address Vl500 Offset from Accumulator V1503 c J Accumulator Key Sequence CiiiiJ UiiiiJ c LJ CiiJ E CD c LJ CI J o J UiiIJ UiLJ ION ICi J jiiEIJ c LJ c i JCi J o J CD CiiiIJ Valid Data Types V NOTE The offset is read as a hexadecimal number and then converted to an octal offset 13...

Page 318: ... for addressing V memory Xl LOA 017n Key Sequence CiiiiJ CiiiiJ G J UiiLJ Wii JIimJITJCiiWo JCLJCDCi J ij SIMATle n405 Use Manual Valid Data Types 0 0 77777 A umulator Data Manipulation Instructions 13 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 319: ... pointed to hy the P value X1 X2 OUT V2000 OUT P2142 V Example Accumulator V2000 P Example Accumulator L L 1 142 1 3247 1212 V2142 V3247 Key Sequence ijjLJ CiiiiiJ Ci J iii I mJ G J o J o J CD o J I iiIJ CiiiD UiiiiiJ o J CimJ jD i1ffIliiffii D JCi JCIJD JCiiiJ Valid Data Types V 0 41027 and P 13 6 AccLnllJotor Doto Monlpuoflon InstNcflons SIMA1IC 11405 Use Manuo Artisan Technology Group Quality I...

Page 320: ...ue is placed in two V memory locations starting with the one pointed to by the P value V Example P Example P32JO j 2121 V3230 V2140 OUTO OUTO P32JO Xl X2 Key Sequence UJiJ iiiiJ CD CiiiJ cmJ iiiiJCi JEiiillJu Jo JCD w J ijji j j CiiiiiJ CD iji WDliiWCTIEiiiBJo JCDCLJD JCiiiLl Valid Data Types VandP SIMAnc n405 User Manual Accumulator Data Manlpulot1on InslTucflons 13 7 Artisan Technology Group Qua...

Page 321: ...e V2OO0 OIfsellrom Aceumulalor V2OO4 2345 Accumulator I ooo o e k LD K4 4 Aecumulator 0000 I 0004 S1liCk 0000 I 2345 Register I W K4 W K2345 OUTX V2000 Xl Aceu later I 0000 0004 2345 I V2004 Key Sequence CiiiiJ IiiiiiJ G J ijjJ UiLJ IiiiiiiiiiI o J Ci J CLJ Ci J CiiiJ Cii J IiiiiiiiICLJ CiiiiJ 1 MJ1 iiilliu J iiiWCLJCi JCIJCIJo JD JCiiiIJ Valid Data Types V NOTE The offset is read as a hexadecimal...

Page 322: ...the accumulator and an eight digit V memory OT constant value or the contents oftwo consecutive V locations The specified V location contains the least significant two bytes The result is stored in the accumulator Flags SP63 and 70 are set according to the result ANDD 1 1 1 1 31342 Xl I I Key Sequence UiiiJ I iiiiiJ c i J CiiiJ CiU iiifi CiLJIiiiIDiii 2iio Jc i Jo Ju JG J1 iiiiJ Valid Data Types T...

Page 323: ... between the accumulator and an eight digit V memory or constant value or the contents of two consecutive V locations The specified V location centains the least significant two bytes The result is stored in the accumulator Xl ORO V8220 Key Sequence CiiLJ iiiilJ Ci J E cmLJIiiiWCiD M Ci JITJr oc z JITJ iiiiJ Valid Data Types TI425 TI435 K VandK 13 10 Accumulafor octo Manlpuaffon lns1rucl1ons SIMAT...

Page 324: ...xclusive OR between the accumulator and an eight digit V memory or constant value or the contents of two consecutive V locations The specified V location contains the least significant two bytes The result is stored in the accumulator Xl XORD V5250 Key Sequence cm J iii o J iiiLJ ijjfiJ Ci J l iiiW Qj l iiiW o J ijjfiJ IT CD G J o J CIJ iifiJ Valid Data Types TI425 TI435 K VandK S MATIC T 405 User...

Page 325: ...ight digit V eonstam value or the contents oftwo consecutive V locations with the accumulator The specified V location contains the least significant two bytes Flags SPGO 61 and 62 are set according to the result X1 CMPD V6263 Accumulator Accumulator Accumulater Compared Data Compared Data c Compared Data SP62isOn Sp611s0n SP60is On Key Sequence iii iiiiJ IT iii ESiiJliiiWCii JliiiWCEJCi JCUCDCDCi...

Page 326: ...4 8 SUBF Tl435 Only 14 8 MULF TI435 Only 14 9 DIVF TI435 Only 14 9 ANDF Tl435 Only 14 10 ORF TI435 Only 14 11 XORF T1435 Only 14 12 CMPF T1435 Only 14 13 SUM 14 13 LDSX T1435 Only 14 14 SIMAT C T1405 User Manual Bit Manlpulatlon Inslrucffons 14 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 327: ...an be up to 32 positions A 32 bit shift sets the accumulator to zero Xl SHFR K5 ACCUMULATOR BEFORE Key Sequence iiiJ IiiiJCi J r aa J iiifflo JOi JITJCiLJ ijjfi CLlCiifiJ Valid Data Types V and K NOTE The shift value must be a hexadecimal number in the range of I F 14 2 Bit Manipulation Instructions SIMATIC TI405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE...

Page 328: ... to 32 positions A 32 bit shift sets the accumulator to zero Accumulator Xl I I Before SHFL K4 Aocumulator Key Sequence iii CiiiJ Ci J iii 1 iiiifi G JCii Jo JCDlimJliiiiiio JCiiiiJ Valid Data Types V and K NOTE The shift value must be a hexadecimal number in the range I F SIMATIC Tl405 User Manual Bit Manipulation Inslrucffons 14 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 8...

Page 329: ...ack into the left end to fill the vacancy The rotation can be up to 32 positions Xl FlOTR K3 ACCUMULATOFl ElEFOFlE Key Sequence CiiiiJUiiiiiJr LJ ijiJ ijjji ITJG JCDITJl iiiiiJiiiiiiiCIJ ijiJ Valid Data Types V and K NOTE The rotate value must be a hexadecimal number in the range of l F 14 4 Bit Manlpulat10n Inslructlol SIMATIC T 405 User Manual Artisan Technology Group Quality Instrumentation Gua...

Page 330: ...s loaded back into the right end to fill the vacancy The rotation can be up to 32 positions Accumul8 tor ROTl K4 Accumulator Key Sequence iiBJ l iiiJCi J tiiiWCi Ju Jo JCDiido J Valid Data Types V and K NOTE The rotate value must be a he adecimal number in the range of 1 F SIMATIC TI405 User Manual Bit Manipulation Instrucflons 14 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 8...

Page 331: ... and any upper accumulator bits that are not loaded are set to zero X1 LDF X10 KG Accumulator Key Sequence iii EiiiJ CIJ G J CiiiiJ J JlilliJ IJ jjjfiJl iiiiJCIJG Jliiiiiiiiilo JCiiiJ 14 6 Valid Data Types Bit Manlpulatlon Instructions First value Second value x Y C S T CT SP and GX K 1 32 SIMATfC Tf405Usef Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisa...

Page 332: ...umulator is moved to the specified point r OUTF C20 K4 Acc umul8tor C23 C22 G21 C20 OFF ON OFF ON Key Sequel1 j J WiiJ Ci J CiiiJ ma J jjjfL o JliiillJ o JCDliimo J jjjD Valid Data Types SIMATIC Tl405 UserManual First value Second value X Y C GX K 1 32 Bit Manipulation Instructions 14 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 333: ...nd value K 1 32 SUBF Tl435 Only Subtract from Accumulator SUBF subtracts the value formed by the specified image register bits from the eie ht digit BCD value in the accumulator The specified point is the least significant bit The result is stored in the accumulator Special relays SP63 SP64 SP65 and SP70 are set aecording to the result Xl SUBF C14 KB Key Sequence CiIiiJ jjjlJ D J iiiLJ CiiiiJ jjjf...

Page 334: ...nd value K 1 16 D1VF T1435 Only Divide Accumulator by Image Register Range DIVF divides the eight digit BCD value in the accumulator I y the value formed by the specified image register bits The specified point is the least significant bit The result is stored in the accumulator Special relays SP53 SP63 and SP70 are set according to the result DIVF X40 K16 Key Sequence jJjJ I iiiiJ w J CiiiJ CiiJl...

Page 335: ...ult is stored in the accumulator Special relays SP63 and SP70 are set accordingly Accumulator Xl Before Accumulator Key Sequenc iii CiiiiiiJ c i J iii BLJ iiiWCO iiiWI iiiiJCi JCDIiiiiiiiiiIITJCiiiLJ Valid Data Types 14 10 Bit Manlpulal10n Instructions First value Second value x Y C S T CT Sp and GX K 1 32 SIMATle 11405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88...

Page 336: ...gnificant bit The result is stored in the accumulator Xl ORF YO K4 Accumulator Before A1te Accumulator Key Sequence CiJiJ iii Ci J CiiiJ Ci iJIiliWCDliliWWiiilCDllSiWo JCiiiJ Valid Data Types First value Second value x Y C S T CT SP and ax K 1 32 SIMATIC T 405 User Manual Bit Manipulation Instrucftons 14 11 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 337: ...significant bit The result is stored in the accumulator Xl ORF Cl2 K5 Accumulator Before Accumulator Key Sequence CiiiiJ iiiU r LJ CiiiJ iiOJlIJtiiiWCiiLJliiillJCLJliiiDJlZiiilr LJo Jli iCIJ ijij Valid Data Types 14 12 Bit Manipulation Instructions First value Second value x Y C S T CT SF and ax K 1 32 SIMATIC Tl405 J er Manuol Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOU...

Page 338: ...Sequence Ci iU I iiiiiJCD iii I iiiJ imJCLJIiiifiJI ZiiiJc DCTIIiiiiiiic i Jc i J ifiJ Valid Data Types First value Second value x Y C S T CT Sp and ax K l 32 SUM Count One Bits in Accumulator SUM counts the number ofbits set to ones in the 32 bit accumulator The count is stored in the accumulator as a hexadecimal number Accumulator Alter Eleven BIts Set to 1 s Accumule1Or Key Sequence I om I iii ...

Page 339: ...OLBLK4 NCON Kl234 NCON 1 8785 DLBLK4 Accumuator 1234 6765 I OFFSET I Accumulator _ _ _ J SET j _ 1 1 8765 NOTE The offset value must be a hexadecimal number Key Sequence CiiiiJ WiiJ c I J iii u LJ miiiiiIc I J iii u LJ liiiWCi J CD IiiiiiiI CDCiiiJ CiiRJCiiJ liiiWCIJCDCLJC OiiiiiiCIJCiiiiJ liiiWCiDCIJCIJCiDIiiiiiiic I JCDCLJCLJCiiJ I Iu J c LI CIJ CLJ IiiWjjj Ci J o J D J CLJ CiiJ Valid Data Types...

Page 340: ...UBBS T1435 only MULBS T1435 only DIVBS T1435 only __ ANDS T1435 only DRS TI435 only XORS 11435 only 15 2 15 3 15 3 15 4 15 4 15 5 15 5 15 6 15 7 15 7 15 9 15 10 15 10 15 11 15 12 15 12 15 13 SIMAnc n405 User Manual Accurmiator Stack Inslruc ons 15 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 341: ...cumulator lind any previous value in the accumulator is lost ACCUMULATOR STACK REGISTERS Key Sequence iii lUii3 w J UiiiJ liiifiJ CLJ u J CLJ iii Valid Data Types none BEFORE 37 2 3 4 5 6 7 8 AFTER 2 3 4 5 6 7 e 16 2 Accumualor stack Ins1tucflons SIMATIC TI405 UserManual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 342: ...d Data Types none Subtract lbp of Stack from Accumulator SUBS subtracts the value in the first stack register from the value in the accumulator The result is stored in the accumulator flags SP63 SP64 SP65 and SP70 are set according to the result Key Sequence iii liiiiJ c LJ i ji I iiiiJ liiiW CD UiiiJ Valid Data Types none S MAnc T 405 u serManual A umulator stock Inslrucllons 15 3 Artisan Technol...

Page 343: ...Divide Accumulator by Top of Stack DIVS divides the eight digit value in the accumulator by a four digit value in the first stack register The result is stored in the accumulator and the remainder is stored in the first stack register Flags SP53 SP63 and SP70 are set according to the result Key Sequence iii l1iilJ D J jj J Uii J liiiW Ci J l inJ Valid Data Types none 15 4 AcclJTlulotor stock lnstr...

Page 344: ...CLJ iii c Stack Reg Stack Regl er Stack Register SP50 is On SP61 is On SP62isOn INV Valid Data Types none One s Complement Accumulator INV inverts each bit in the 32 bit accumulator and stores it back in the accumulator Key Sequence J iiiiiJ D J CiiJ iffi w J DO CLJ Uii J Valid Data Types none SIMAnc T 405UserManual A umuloror Stack Inslrueftons 15 5 Artisan Technology Group Quality Instrumentatio...

Page 345: ... The mathematical formula for this operation is 100000000 8 djgit accumulator vaJUA 10 s complement value Key Sequence l iiiiJ WiiiJD J CiiiJ WiD jjjfiJ IT o JCD Cii iJ Valid Data Types none 15 6 AcclJYluiotor stock Inslrucflons SIMADC D405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 346: ... top of Stack Special Relays Many special SP relays or flags exist in the TI405 CPUs These are internal discrete points that are set and reset by the CPU depending on certain operatin conditions The seven new stack instructions now available on the TI435 affect the SP flags shown in Table 15 1 Table 15 1 Flags Affected by New Stack Instl letiQI1 Instruclion Flap Affected ADDBS SP63 SP66 SP67 SP70 ...

Page 347: ...e operand stack register 1 in this case are greater than the 32 bits of the accumulator off otherwise Half cany on when 16 bit addition results in a carry because the sum is greater than can be displayed in 16 bits off otherwise Carry on when 32 bit addition results in a carry because the sum is greater than can be displayed in 32 bits off otherwise Sign on when the most significant bit of the 32 ...

Page 348: ...e result is stored in the accumulator The contents of the first stack register are popped away Flags SP63 SP66 SP67 and SP70 are set according to the result ADDBS is a 32 bit operation See Figure 15 2 A 31 Bill mulator H X1 1 ADDBS J o Stack Register 1 B mulator A B 1002S Figure 15 2 ADD Binary Top of Stack to Accumulator ADD8 MID Key Sequence CimJ liiiiJCI J iij J EMU IMruCD CD E iiiiJ Valid Data...

Page 349: ...MULBS TI435 only Multiply Binary Accumulator by Top of Stack MULBS multiplies a 16 bit 4 digit value in the accumulator by a 16 bit 4 digit value in the first stack register The 32 bit result is stored in the accumulator The contents of the first stack register are popped away Flags SP63 and SP70 are set according to the result See Figure 15 4 31 16 15 I ignored I A I ignored B I A 8 Bit Accumulat...

Page 350: ...0 are set according to the result See Figure 15 5 X1 t I I Divas J ait 1 31 18 15 0 Accumulator I A I Stack Regi t 1 I lqnored B I Accumulator I Integer part of A I B I Stack Register 1 I Rsmaindef I IOO2S Figure 15 5 Divide BinaryAccumulator by Top ol Stack DN8S MID Key Sequence Ci iD IiliiJCD cmJ cm JlimJ Ci JIT CiiiiJ Valid Data Types none SIMATIC T 405 Use Manual Accumulator stack Inslrucffons...

Page 351: ...ence iijj liiiiJ w J cm J am J liKW CD l iiIJ Valid Data Types none OR Accumulator with Top of Stack DRS performs a logical OR between the contents of the accumulator and the contents ofthe first stack register The result is stored in the accumulator The contents of the first stack register are popped away Flags SP63 and SP70 are set accordin to the result DRS is a 32 bit operation See Figure 15 7...

Page 352: ...70 are set according to the result XORS is a 32 bit operation See Figure 15 8 Xl I I XORS J Bit II 31 0 Accumulator I A I Excluol OR StackRegister1 I B Ac umulator I A iI IIxclusN e OR B 1002659 FIgure 15 8 Exclusive OR Accumulotor with Top of Stack XORS MIU Key Sequence Ci U WiiiJ u J ifj J liiiW CLJ w J CJO CD ifj J Valid Data Types none SIMATIC Tl405 Us r Manual AoournLCator stack Instruo ons 1...

Page 353: ...ructions ADD 16 2 ADDD 16 2 SUB 16 3 SUBD 16 3 MUL 16 4 DIV 16 4 INC 16 5 DEC 16 5 SIMATIC Tl405 Us r Manual BCDInstTucflons 16 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 354: ...from two consecutive V memory locations to the accumulator It stores the results in the accumulator If a V data type is used the lower four digits ofthe number come from the specified V location and the upper four digits from the next higher V location Flags SP63 SP66 SP67 SP70 and SP75 are set according to the result Xl ADDD Kl2345 Key Sequence ijj iii c i J iii iiiJ iijRJc LJI iiiilllimiliiilD J...

Page 355: ...eight digit constant value or the value from two consecutive V memory locations from the accumulator Ifa V data type is used the lower four digits ofthe number come from the specified V location and the upper four digits from the next higher V location Flags SP63 SP64 SP65 SP70 and SP75 are set according to the result Xl SUBD V24l2 Key Sequence CiiiiJ I iiiiJ c I JUiiiJ CiiiiJ ijjfi Ci J ijjfi Ci ...

Page 356: ... o JCiiiJ Valid Data Types VandK DIV Divide BCD DIY divides the value in the accumulator by a four digit value from a V memory location or by a four digit constant It stores the result in the accumulator Flags SP53 SP63 SP70 and SP75 are set according to the result Xl OIV V2102 Key Sequenee ijjj iii o J CiiD CiiiJ I G J G J CD c LJ CiiiiJ 16 4 BCD Instructions Valid Data Types VandK SIMATIC Tl40S ...

Page 357: ...Jl iiiiJ Valid Data Types V Decrement BCD DEC subtracts 1 from the binary coded decimal value in the specified V memory location Flag SP63 is set if the location is decremented to zero Flag SP75 is set if the value is not a BCD number Xl I r r r r DEC 112640 Key Sequence iii EiiiiiJ r LJ CAiiJ Di Jo J I jjjff CLJD JCDo Jo Jl iiiiJ Valid Data Types V SfMATIC T 405 Usaf Manual BCD Inslruc110ns 16 5 ...

Page 358: ...7 2 ADDBD Tl435 Only 17 2 SUBB 17 3 SUBBD Tl435 Only 17 3 MULB 17 4 DIVB 17 4 INCB 17 5 DECB 17 5 SIMAnc 11405 User Manual Binary Instructions 17 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 359: ... bit binary constant value or the value from two consecutive V memory locations to the accumulator The result is stored in the accumulator If a V data type is used the lower 16 bits come from the specified V location and the upper 16 bits from the next higher V location Flags SP63 SP66 SP67 SP70 and SP73 are set according to the result Xl ADDBD V2362 Key Sequence CiiiiJ liiiJ c i J l iifiJ l 6iiRJ...

Page 360: ...nary Double Word SUBBDj subtracts a 32 bit binary constant value or the binary value floom two consecutive V memory locations from the accumulator Ifa V data type is used the lower 16 bits come from the specified V location and the upper 16 bits from the next bigher V location Flags SP63 SP64 SP65 and SP70 are set according to the result Xl suaao V3l3l Key Sequence Ci BJ iiij o J CiiiJ M ijjfiJCi ...

Page 361: ...iLl Valid Data Types VandK DIVB Divide Binary Word DIVB divides the value in the accumulator by a 16 bit binary value from a V memory location or by a 16 bit binary constant The result is stored in the accumulator Flags SP53 SP68 and SP70 are set aooordine to the result Xl Key Sequence iii iii o J iii CiiiiJliiifiJCi JliiiWCi Jo JCDCi JCDUiiiJ DIVB V23 24 Valid Data Types VandK 17 4 Binary Instruc...

Page 362: ...Jo JCi JCiiiL J Valid Data Types V Decrement Binary DECB subtracts 1 from the binary value in the specified V memory location Flag SP63 is set ifthe location is decremented to zero Xl DeCIl V46S6 Key Sequence UiiJ jji c i J iiL I iiif Ju JCIJcr JITJ ijjfi Ci Jo Ju Jo J I CiiiL J Valid Data Types V SIMATIC Tl405 UserManual BlnalY Instrucflons 17 5 Artisan Technology Group Quality Instrumentation Gu...

Page 363: ...uctions BIN 18 2 BCD 18 2 ENCO 18 3 DECO 18 4 SEG 18 5 AlH 18 6 HTA TI435 Only 18 8 StMATle n405 UserManUQI Encoding and Decoding Insfrucflons 18 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 364: ... CiiiJCiiiJ Valid Data Types none Convert Binary to BCD BCD converts the binary value in the accumulator into an eight digit binary coded decimal value Flags SP63 and SP70 are set according to the result Key Sequence iiiJ iii CD iii iWCiiJ Valid Data Types none 111 2 Encoding and Decoding Instructlons SIMATIC11405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURC...

Page 365: ...e of 0 is returned Ifmore than one bit is on SP53 is set and the position of the rightmost on bit is returned Aoeumulator srr 3 3 2 2 2 2 2 2 2 2 2 2 098 766 4 32 098 7 6 t Accumulator Alter r 68 4 2 Key Sequence CiIiiJ UiiiiJ w J I iiiJ I iiiW CIJ CiD CD CD i i J Valid Data Types none SIMARC R405 User Manual Encoding and Decoding InslrlJC ons 18 3 Artisan Technology Group Quality Instrumentation ...

Page 366: ...d by 32 until it is less than 32 then the remainder is encoded Before 16 8 4 2 1 BIT3322222222 1 11111111111 109 8 7 854 3 1 1 0 9 876 5 4 3 1 1 0 9 8 7 654 3 1 1 0 Key Sequence l iLI iiiiiJ o J CiiiiJ liiiW CD CD I CD CiiiiJ Valid Data Types none 18 4 Encoding and Decoding 1ns1ruc ons SIMA71C 71405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg...

Page 367: ...o produce those numbers on seven segment displays Accumulator aero Accumulator e d c b _g _ __ Key Sequence lUii J jjjj J CW CiiiiJ liiiW I Ci J Di J CiiiiJ Valid Data Types none SIMATIC Tl405 Usar Manual Encoding and Decoding Instrucflons 18 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 368: ...cter and only foul bits are needed for each hex number the hex table is half as long as the ASCII table In the example LD K4 sets the length of the ASCII table and LOA 02500 indicates that the ASCII table starts at location V2500 Xl LD K4 LOA 02500 ATH V2000 Key Sequence iiij I iiiiJ I CiiiiJ OLI iliiiiiiiI IJ Ciii J OLICiHOJCDGiiiJc i JCi JCi Ju JCiiiJ iiWCDr o Di J iiiWCLJc i JCIJu J u J ijD Val...

Page 369: ...II values listed in Table 18 1 Tobie 18 1 Valid ASCII VClluesfor ATH CQnvelSlon ABcnCharacter ABen He VaIue Converted Bel Digit 0 30 0 1 31 1 2 32 2 3 33 3 4 34 4 6 35 6 6 36 6 7 37 7 8 38 8 9 39 9 A 41 A B 42 B C 43 C D 44 D E 46 E F 46 F SIMAnc n405 UserManual Encoding and Decoding Instrucflons 18 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 370: ...ght bits are required to store each ASCII character the ASCII table is twice as long as the hex table In the example LD K2 sets the length of the hex table as two V memory locations and LDA 04150 indicates that the hex table starts at location V4150 Xl LD K2 LDA 04150 HTA V4200 Key Sequence CiiiJ IiiiiiJ Ci J iiiiJ Wi iiiiiiiiI o J CiiiiJ Wi iiifi c i JCiiWo JCi JCUo J iiiiJ liiiIDCiOCDc i JliiiWC...

Page 371: ...V4151 r 34 46 B 1 4 F 1 3 9 D 4 2 31 39 44 31 33 V4 200 V4201 V4202 V4203 SIMAnc T1405 User Manual Encoding and Decoding Ins1ruc ons 18 9 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 372: ...ON TI435 Only 19 8 ACON T1435 only 19 8 MOV T1435 Only 19 9 TTD T1435 Only 19 10 RFB T1435 Only 19 11 STT T1435 Only 19 12 RFT TI435 Only 19 13 ATT TI435 Only 19 14 SIMATIC 71405 U er Manual Table Irntructlons 19 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 373: ...nts of that V location In the example the LD K6 specifies a range length of 6 The LOA 03104 specifies that the range starts at V3104 X1 LD K8 LDA 03104 4678 V3104 4678 V3105 V3600 ALL 4678 V3108 V3600 4678 4678 V3107 4678 V3110 4678 V3111 Key Sequence WiiJ iii o J m J Ci i J IiiiiiiiiI w J iii Cii J jijillu J iillCi Jo JCLJw JCiiiJ jijill I o Ju Jw J jijill IJw Jw JCi JCLJr ii J Valid Data Types V...

Page 374: ...mory location is used as the search value In the e ample LDA 010 sets the length of the block as 10 octal LDA 02100 indicates that the search block starts at V2100 LD K2 specifies an offset of 2 so the actual search starts at memory location V2102 The value to search for is found in V3142 Flag SP53 is set if the value is not found Xl LOA 1 2100 LO K2 AND V3142 LOA 010 Key Sequence iii Ii l w J iii...

Page 375: ...rucllons Accumulator I 2 S_ F eal 18r 2100 V2100 10 Accumulator V2102 I 6 9999 V2107 V3142 I 9999 I SIMATle T 405 Usar Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 376: ... used with a V data type the contents ofthat V memory location is used as the search value In the example LD K6 sets the length ofthe block as 6 V memory locations LDA 01410 indicates that the seal Ch block starts at V141O The search value is found in V2000 Xl LD K6 LOA 01410 FOOT V2000 Key Sequence UlLJ I iiiiJo J CiiiiJ Ciii J IiiiiiiiiJCi J CiiiiJ Ciii JriiiWCIJEiiiLlo JCi Jo JCLJCiiiiJ IOH ICD...

Page 377: ...10 SlaCkRegister 6 V1416 1416 2012 3160 4711 8033 Accumulator 4 19 6 Tabla Instrucflons V2000 I 3162 SIMAnc TI405 UserManual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 378: ...sed ACON AXf NCON Kl l34 DLSLKl DLSLK2 END I Key Sequence iiiiJ CiiiiJ iiiWCi Jo Jo JCDiiiiiiiiiilo JCiiiiJ iiiWCi JCIJCIJO J llii CLJD J i J iiiWDDCDCi JCDiiiiiiiilITJ iiiJ limJCi JCIJCIJOOi iii ilCClCDw Jo J i Valid Data Types K l FFFF SIMATIC Tl405 User Manual TobiE Instruc110ns 19 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 379: ...y ASCII Constant ACON is an ASCII constant used with the DLBL Instruction to store tables ofASCII data Either one or two characters can be stored with each ACON tnstruetion If only one character is stored a blank space is inserted in front of that character Multiple ACON instructions may be used with one DLBL 19 8 Table Instructions Valid Data Types A A Z 0 9 SIMAnc n405 UserManual Artisan Technol...

Page 380: ... V5240 X1 LD KB V4100 1372 1372 V524Q 4736 4736 LDA 9214 9214 04100 7362 7362 1499 1499 MOV 1937 1937 V5240 0406 0406 V4107 1956 1956 VS247 Key Sequence iii iii D J iii D iO tIiiiiiiICDCiiiJ l i IiiiffJ CD 10 1CD o JCD u J Cii J WUCiDCIJo JliiiffJo JCOITJCDCDCEJ Valid Data Types V NOTE The table length parameter must be a hexadecimal number SIMATle T 405 User Manual Table Insfrucl10ns 19 9 Artisan...

Page 381: ... store the table pointer that is the offset into the table of the next entry to be moved The example sets a table with six data words The table pointer is located at address V3100 The data words are each moved in tum to V4140 When the table pointer equals the table size flag SP56 is set Xl 1 1 Thble Polnl8r 13100 3714 1290 1773 7421 4237 V4140 3714 LOA 06 LDA 03100 ITO V4140 19 10 Table Instructio...

Page 382: ...at is the offset into the table ofthe next entry to be moved The example sets a table with sis data words The table pointer is located at address V2360 The data words are each moved in turn to V3350 Flag SP56 is set when the table pointer is zero X1 V2360 V236s S Table Pointer 4372 1409 V3350 3999 1742 2417 4321 1742 LOA 06 LDA 02360 RFB vsssc Key Sequence CiiiiJ liiiJ c J J CiiU em jjjfiJ u J iW ...

Page 383: ...tore the table pointer that is the offset into the table of the next entry to be written to The example sets a table with eight data locations The table pointer is located at address V4560 The data words are moved from location V2360 When the table pointer equals the table size flag SP56 is set 4952 V4570 Xl LOA 010 Table PoInte 10 V4S60 LDA 04560 V2360 STT 4952 V2360 Key Sequence CiiiiJ I iiiJ CI...

Page 384: ...nter is located at V5320 Values popped from the stack are written to location V3160 When a value is removed from the top ofthe stack all other values in the stack move up to the next memory location toward the top of the stack Flag SP56 is set when the table pointer is zero V5326 Xl 4 2374 7492 1437 1974 V3l60 2374 LDA 06 LOA 05320 RFT V3160 Key Sequence l iliiJ UliiiJ o J CiiiD Cii J IiiiWc LJ ii...

Page 385: ... at V5320 Values pushed onto the stack are read from V2220 When a value is added to the top of the stack all other values in the stack move down to the next memory location away from the top of the stack When the table pointer equals the table size flag SP56 is set Xl Stack Pointer 5 15320 4952 V2220 6116 4952 7492 1437 1974 VS326 LOA 06 LOA 08320 ATT V2220 Key Sequence WiD iiiiJ Ci J iii CiLJ lii...

Page 386: ...ge Instructions ISG _ _ __ __ _ 20 2 SG _ _ 20 2 JMP __ 20 3 NJMP _ 20 3 SIMATIC Tl405 User Manual Stage Ins1Tucflons 20 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 387: ...lid Data Types 8 Stage SG indicates any segment of a machine stage program except the initial stage Stages are inactive until activated by a JMP or SET from another stage Stages become inactive when reset with an RST instruction or a JMP is made from the current stage to another stage In the example Stage Sl turns on output Yl until X2 closes and a jump is made to Stage S2 V1 Key Sequence CiiO Iii...

Page 388: ...S NOT Jump to Stage NJMP makes a transition from one stage to another when the transition conditions are false The stage being jumped from is made inactive and the stage being jumped to is made active In the example a jump is made from Stage S3 to Stage S4 when X3 is on or a jump is made to Stage S5 when X3 is off Key Sequence CiiJ Iiiiiill CD iiii CiiiiJ CiiiiJ w J CiiiiJ I IIiiiill o J UiID I iW...

Page 389: ...5 Only 21 5 GTS n435 Only 21 6 SBR n435 Only 21 7 RTC n435 Only 21 7 RT n435 Only 21 7 ENI 21 8 DISI 21 8 INT 21 9 IRTC 21 9 IRT 21 9 MLS MLR 21 10 SIMATIC T 405 UserManual Program ConlTol InsITueflons 21 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 390: ...ected In the example ifXl is turnsd on all outputs are disabled X1 vo Y4n 1 AUSE 1 Key Sequence CiIiiJ UiiiU Ci J iii iifi CEl CU CIJ o J c i J iifi iiiiiiiJeuiiiiiiiJCDCIJo JCiiiJ Valid Data Types Y 21 2 Program Control lns1ructlons SIMATIC Tl405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 391: ...input is on This turns off all outputs Xl CSTOP Key Sequence UiiiJ iii Ci J EJ liiiW Ci J o J u J CD jij Valid Data Types none SlMATIC T 405 User Manual Program Control Instrucftons 21 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 392: ...ns may be used Error E412 results when these limits are exceeded X2 1 j uT J I I I I UlL K1 I I X2 X2 K1 j GOTO Y2 1 OuT Key Sequence iii CiiilJ o J iii liiiWCi JCDCDCDlIiiiiiiiCDCiiLl iii liiiiiJ CD iii ffiJ iIi iiiiJ CD iii ijjfi IT IT IT IiiiiiiiICD iii iii l iiiD CD CiiiJ l miiJ liiiiffiJ CD CiiiJ Valid Data Types 21 4 Program Con1rollnstrucl1ons K 1 FFFF S MATIC n405 US9 Manual Artisan Techno...

Page 393: ...hile the FOR NEXT loop is active immediate I O points must be used inside the loop or no I O updates are made It is usually necessary to use a RSTWT instruction inside the loop to reset the watchdog timer and to prevent a software timeont FORINEXT loops may not be nested within other FORINEXT loops Up to 64 FORINEXT pairs may be used in your program Error E413 results when this limit is exceeded X...

Page 394: ...SBR instructions Error E412 results when these limits are exceeded Nesting ofup to 8 levels is supported RT 1 ENOl Rl Cl Kl GTS Xl I SBR Kl X2 I G Key Sequence CiiiJ iiii CD l ii1iJ jjjfiJ ITJCD o J liiSliiio J iii l iilJ ifj J liiiW Ci J Ci J Di J iiiiijjj o J jfiJ CiiiiJ l JiiiiJ u J DiiiJ liiiW Ci J o J u J l iiiJ iWJ Ci J o J CiiiiJ Valid Data Types 21 6 Program Controllnstruot1ons SIMATIC TI4...

Page 395: ...ional Subroutine Return RTC is on subroutine execution stops at that point and a return is made to the program that called the subroutine When the input is off subroutine execution continues past the RTC Valid Data Types none Unconditional Subroutine Return RT is always the last instruction in a subroutine The RT returns program execution to the program that called the subroutine Valid Data Types ...

Page 396: ...iiW r LJ CiLJ D Irsn Valid Data Type none After the input to Disable Interrupts DISI is turned on inputs from the interrupt module are disabled and interrupt routines are not executed Interrupts may be enabled with the ENI instruction J IX11 r I oISIr Key Sequence iii iiiiJ w J CiiD IiiiW Ci JD I Ci J CD jj J Valid Data Types none 21 8 Program Control lnstructtons SIMATIC Tl405 User Manual Artisan...

Page 397: ... and the Conditional Interrupt IRTC is reached execution of the current interrupt routine halts and program execution returns to the main Pl OgJ aID When its input is off interrupt routine execution continues past the IRTC IRT When Interrupt Return IRT is reached execution ofthe current interrupt routine halts and Pl OgJ aID execution returns to the main Pl OgI aID An IRT must he the last mstrueti...

Page 398: ... master line at level 1 the left rail extending down from the point ofthe MLS K1 on the first line in Figure 21 1 An MLR KOalways returns control to the original left power rail Since the line ending in Y16 is below the MLR KOinstruction the state ofY16 is controlled by X16 and is not affected by any ofthe Master Line Set instructions XOcontrols the operation ofYl through Y15 since it determines w...

Page 399: ... I OUT K2 MlR Xl0 Vl0 OUT Kl MLR Xl5 Yl5 oUT KO MLR Xl6 Vl6 OUT Figure 21 1 O on 01 MLS MLR Instrucflons SIMATIC Tl405 User Manual Program Control Instrucftons 21 11 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 400: ...Valid Data Types 21 12 Program Controllnstructlons MLS MLR SIMAnc n405 U erMonual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 401: ...T X4 Y4 jl OUT X j K3 jl Ml S X5 Y5 HI OUT X7 Y7 HI OUT K2 MLR X10 Y10 j OUT K1 MLR X15 Y15 HI OUT KO MLR X16 Y16 HI OUT Figure 21 2 MLS MLR RU Example Program Controllnslrucflorn 21 13 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 402: ... 4 NOP 22 4 END 22 5 LDLBL n435 Only 22 5 MOVMC CTI435 Only 22 6 RD 22 8 WT 22 9 RX 22 10 WX 22 12 FAULT 22 14 RSfWT 22 15 SIMATIC TI405 UserManual Program SUpport Instrucffons 22 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 403: ...ata Types x Y C S and GX RST Reset Image Register Range RST turns off a range of points in the image register If any ofthe reset pointa are used as outputs elsewhere in the program they continue to be controlled by program logic X2 CO C4 1 RSfJ 4 Key Sequence iiBJ I iiiiiJD J liiiJ UiIJ IDiiJ o J IDiiJCLJ Ui iJ Valid Data Types 22 2 Program Support InslnJct10ns x Y C S T CT and ax SIMATIC Tl405 1 ...

Page 404: ...8 0 10 20 30 etc and the chain must span a multiple of 8 contacts This produces ranges such as Co to C37 ClO to Cl7 or C30 to C67 Remember that all control relays are numbered in octal so the numerals 8 and 9 are not used Ifyour application does not require an even multiple of 8 control relays the remainder can simply be ignored f lR L 1 1 FROM C10 TO C17 1 1 D SR C1 I I SP4 I I X3 I I Key Sequenc...

Page 405: ...i QiiiiiJ Ci J rsn iiiliJ CD Cii J iiifi iiiiiiiiI Ci J CiiiJ Valid Data Types x Y and C NOP No Operation NOP represents an empty program location NOPt Key Sequence liiill OLJCii J CD iiji or Valid Data Types none 22 4 Program SUpport Instructions SIMATtC Tt405 User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 406: ...errupt routines are located after the END instruction Key Sequence UiiJcm J Valid Data Types none Load Data Label Address LDLBL loads a DLBL reference number to the accumulator This instruction is used with MaYMe to move data from a data label area ofprogrnm memory to V memory Valid Data Types SIMA71C71405UserManual K l FFFF Program Support Insln lC ons 22 5 Artisan Technology Group Quality Instru...

Page 407: ...e instruction provides the destination address The first example shows moving 12 octal words ofmemory from DLBL K2 to a V memory block beginning at V201O The data is read starting at an offset of2 from the data label and written starting at an offset of 2 into the V memory block The second example shows moving 6 words of memory from a table beginning at location V5100 to DLBL K3 The data is read s...

Page 408: ...instruction provides the destination address The first example shows moving 12 octal words of memory from DLBL K2 to a V memory block beginning at V2010 The data is read starting at an offset of2 from the data label and written starting at an offset of2 into the V memory block The second example shows moving 6 words of memory from a table beginning at location V5100 to DLBL K3 The data is read sta...

Page 409: ...ram MemO 10V memory LDLBL T nsfer K2 MOVMC V2010 I LOA I 06 LOA 014 V mamorylO Program Memory LDA Transfer 05100 MOVMC K I Program l pport Ill trucllons 22 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 410: ... LD K0206 specifies that the module is in base 02 slot 06 LD K4 indicates that four bytes of data are tl lUlsfe ed LD KO indicates that the shared RAM is at address O RD V2120 means that the four bytes of data are stored in V memory locations V2120 and V2121 Xl Key Sequence iii iiiii Ci J CiiiiJ Cii J i1iiiiiiiiI IT ITJIT CD m J o D CD jjj Cii JiiiiICD CiiiiJ jjjfiJD J I ijjf JCi JITJCi JITJo J jj...

Page 411: ...ies that the module is in base 00 slot 02 LD K6 indicates that six bytes of data are transferred to the module LD KOindicates that the shared RAM is at address O WT V3310 means that the six bytes of data are read starting at memory location V331O and then written to the module Xl Key Sequence CiiiiJ CiiiiJCi J CiiJ Cii J IiiiiiiiiI CD CD CD o J UiiJ CID iiiiiiiI CD UilLJ I Ji iiiiiii o J iii jjfiJ...

Page 412: ...n slot 00 is busy LD K0013 indicates that the module in slot 00 is used to communicate with slave station 13 LD K4 specifies that four bytes are read LDA 04140 specifies that incoming data is written to memory starting at address V 4140 RX V3620 means to start reading at memory location V3620 in the slave PLC Key Sequence CiiiiJ iiiiiJ o J CiiiJ l iLl CiiD I6lo J o J o J l ii J OLJ Ii iiiij o J o ...

Page 413: ...40 AX V3620 SIMATIC TI405 UserManual Rec Mng Slave PLC PLC Station 13 I 36O i I 3605 1 0137 0137 Volol 3621 Program SUpport Inslruc om 22 11 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 414: ...slot 02 is busy LD K0211 indicates that the module in slot 02 is used to communicate with slave station 11 LD K6 specifies that six bytes are written LDA 02012 specifies that outgoing data is read from memory starting at address V 2012 WX V5176 means to start writing at memory location V5176 in the slave PLC Key Sequence rnBJ l iiiiJ Ci J CiiLl CiiiiIJ Ii J o J o J CD ifiJ Cii JiiiiiiiiI CD CD Ci ...

Page 415: ...2012 wx VS176 SlavePLC Slation V2012 V2013 V2014 4351 4361 5172 5172 3313 3313 VS176 VS177 V5200 SIMAnc n405 User Manual Program S ppol t Ins1ruoftons 22 13 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 416: ... MIU An error code is also stored at address V7751 Ifa V data type was used the four digit code from that location is stored at V7751 If a K data type was used the K value is stored at V7751 Xl I FAULT I I I Kl I ENO ACON I l I Ol 8L Kl r I TI I ACON I 435 I Key Sequence CiiiiJ GiiiiJ ITJ CiiffJ liiiWo JCA JCLJCDCDIiiiiiiiIITJCiiffJ CiiiiDUiiD IiiiWCLlCDCi JCDI1iSiiiiITJUii iJ ii CA JrrJ I ODl i J...

Page 417: ...iC OR o RS1WT NExT t Key Sequence CiiiJ GiiiiJ CLl CiiiiJ EiiiWcrJCDITJIiiiiiiiICLlw J1 iiiiJ 0ii iJ jjjfiJ u J ITJ iiiiJ liiiW CLJ CO CD ITJ CiiiiJ Valid Data Types none NOTE The RSTWI instruction must follow the FOR instruction SIMATIe Tl405 User Manual Program Support Ins1ruc ons 22 15 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 418: ...Numbers A 2 Binary Numbers A 2 Binary Coded Decimal Numbers A 3 Octal Numbers A 4 Hexadecimal Numbers A 5 A 2 ASCII COde A 6 SIMATle Tt405User Manual NumberSystems and Codes A I Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 419: ... following 2 X 100 9 X 101 5 X 102 2 X 1 9 X 10 5 X 100 2 90 ill 592 BlnClry Numbers In the decimal number system there are ten possible values for each digit ranging from 0 to 9 The binary number system has two possible values 0 or 1 The position of the binary digits also represent raising the value to the corresponding power oftwo However since the value cannot be more than one the result is the...

Page 420: ...een BCD bits the size ofthe CPU word See TableA 1 for a list ofbinary coded decimal values Although a BCD digit is in binary form to the CPU only the values from 0000 0 to 1001 9 are valid BCD numbers The TI405 instruction set contains several instructions for performine arithmetic and logical operations on BCD values Please refer to Chapter 8 for more details Table A I Binary Coded Decimal Value ...

Page 421: ... number system for the addresses of data types For example Time 10 is the eilrhth timer and Stage 11 is the ninth stage Table A 2 D K lmollOctol Eql lIvCllents Decimal Octal Decimal Octal 0 0 10 12 1 1 11 13 2 2 12 14 3 3 13 15 4 4 14 16 5 5 15 17 6 6 16 20 7 7 17 21 6 10 18 22 9 11 19 23 Binary numbers are readily converted to octal numbers by grouping three binary digits as shown in Figul e A 2 ...

Page 422: ...x 162 1 x 256 2fili 295 Table A 3 DecImal Hexadecimal Equivalents Decimal Hesade imal 0 o 1 1 2 2 3 3 4 4 s li 6 6 7 7 8 8 9 9 io A 11 B 12 C 13 D 14 E 1li F Binary numbers are readily converted to hexadecimal numbers by grouping four binary digits as shown in Figure A 3 Hexadecimal numbers are easier for humans to work with than binary numbers I 1110 1001 I v E 9 1 0 0 1 1 T 9 o 1 0 0 4 Figure A ...

Page 423: ...22 B 42 b 62 23 C 48 c 63 24 D 44 d 64 25 E 45 e 65 26 F 46 f 66 27 G 47 g 67 28 H 48 h 68 29 r 49 j 69 2A J 4A j 6A 2B K 4B k 6B 2C L 4C I 6C 2D M 4D m 6D 2E N 4E n 6E 2F 0 4F 0 6F 0 30 P 50 P 70 1 31 Q 51 q 71 2 32 R 52 r 72 3 33 S 53 73 4 34 T 54 t 74 5 35 U 55 u 75 6 36 V 56 v 76 7 37 W 57 w 77 8 38 X 58 78 9 39 Y 59 Y 79 3A Z 5A z 7A 3B 5B 7B 3C 5C I 7C 3D I 5D I 7D 3E 5E 7E 3F 5F A 6 Number ...

Page 424: ...32204661696C7572652A2A in hexadecimal enter the following key sequences Table A 5 ASCII Control Cod8 ASCII H_ ASCn He ASCn He NUL 00 VT OB SYN 16 SOH 01 FF OC ETB 17 STX 02 CR 00 CAN 18 ETX 03 SO OE EM 19 EOT 04 SI OF SUB 1A ENQ 05 OLE 10 ESC 1B ACK 06 OC1 11 FS 1C BEL 07 0C2 12 GS 10 BS 08 DC3 13 RS 1E HT 09 DC4 14 US 1F LF OA NAK 15 DEL 7F SIMAnc T 405 UserManual Number Systems and Codes A 7 Art...

Page 425: ...Set Index B 2 B 2 lnsINctionOperoncb B 3 Discrete Operands fl 3 Word Operands fl 3 B 3 InstNction Summory B 4 SIMARC R405 UserManual Instruol1on set SUmmary 8 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 426: ...T 9 2 10 5 CMP 14 13 MULS 15 4 sTRE 0 2 CMPS 15 5 NOON 19 8 STIU 11 2 CNT 12 6 NIlXT 21 5 STRN 1 2 1 1 6 DOC 16 5 NIMP 20 3 STRNE 1 3 DECB 17 5 NOP 22 4 STRNI 112 DECO 18 4 OR 1 3 1 l S 13 10 STT 1 1 12 DISI 21 8 OR OUT 9 8 SUB 16 3 DIV 16 4 OROun 11 6 SUBII 17 3 DIVII 17 4 ORST 9 6 SUBIID 17 DIVF 14 9 ORD 13 10 SUBD 16 3 DIVS 15 4 ORE 1 2 SUIIF 14 8 DLBL 1 1 7 OR 14 11 SUBS 15 3 ENCO I 3 OR 11 3 ...

Page 427: ...mote 110 T Timer CT Counter The TI405 instruction set uses six word operand types as listed in Table B 2 Each l6 bit word represents a corresponding value or code in the associated number base or ASCII code system Tobie8 2 WordOpercmd Types Symbol D ription Program Memory Addre Octal V Variable Memory Addreos Octal P Pointer Octal K Couetent Decimal or Hexadecimal 0 Octal Constant A ASCII Code SIM...

Page 428: ...T CT SF GX ORN Or not n x Y C S T CT SF GX AND t I f I And n Y C S T CT SF GX ANDN t I f 0 And not x Y C S T CT SF GX ANDSTR r lftbf And store I I f I I J ORsTR tn u Or store OUT o r Out n x Y C GX OR OUT C Out OR type x Y C GX PROUT 8 4 Instrucl10n set Summol SIMATIC TI405 UserManuol Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 429: ... ifgreater or equal STR n_T CT V nn V K 2 parameters OR Or ifgreater or equal n T CT V nn V K 2 parameters AND t I I f And contact ifgreater Or equal n T CT V nng V K 2 parameters nn sTRN f Store if contact iflees than nJOll CT V nn K 2 parameters ORN LT Or if 1000 than 2 parameters n T CT V nn V K t I M ANDN I k f And contact ifl o than n T CT V nn K 2 para etero SIMAnc n405 Us9f Manual Instrucf1...

Page 430: ...I t 1 And not immediately xn 1 iItf OUTI _ o 0 f Out immediately OROUTI Out OR type immediately Yo lROUTI SETI o l srn Set range of bite RSTI 0 00 1 Reset range of bit RSTI LDIF _ q Load bite from module to accumulator TI435 Only OUTIF _ Output bits from accumulator to module TI436 Ouly Instrucffon set Summary SIMATIC Tl405 Use Manual Artisan Technology Group Quality Instrumentation Guaranteed 888...

Page 431: ... et line eNT c p SGCNT Counter reset with RST UDC I Up down counter u uoc o t c AcclUIlnlator Data Manipulation m truetion Symbol Shori De cription LO _ Load word to accumulator n V P K LOO GJ1 Index load word LOX c0i Load octal address word S MATIC 1 405 User Manual Instruction set Summary B 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 432: ...gle word with accumulator ANDD c Ji AND double word with accumulator OR OR eingle word with aceumulatoe ORO c r t OR double word with accumulator XOR GJi XOR singls word witb accumulator XORO c Ji XOR double word with accumulator CMP G Ji Compare Bingle word with accumulator Vn CMPD c Ji Compare double word witb accumulator B e Instruction set Summary SIMATtC T1405 Us Manual Artisan Technology Gro...

Page 433: ...epecffied number of bits to accumulator TI435 only sUBF Subtract value of speeifled number of bits Tl435 only MULF Multiply value of pecified number of bits by accumulator Tl435 only DIVF Divide accumulator by value ofspecified number of bit Tl435 only ANDF AND value of specified number ofbits with accumulator TI435 only ORF _ OR value of epecifled number of bits with accumulator TI435 only SIMAnc...

Page 434: ...o Instruction Symbol Short Description pop C Ji Pop accumulator etaek ADDS c Ji Add top ofatack to accumulator SUBS c Ji Subtract top of tack from accumulator MULS _ Multiply top of stack with accumulator DlVS c s t Divide top ofatack with accumulator CMPS _ c Jt Compare top of stack with accumulator lNV CJt OneJa complement of accumulator BCDCPL L Ji 10 complement of accumulator B IO lns1Tucl1on ...

Page 435: ... 4 digit aubtraetton SUBD c r t BCD 8 digit eubtraction MOL BCD 4 digit multiplication DIY c Ji BCD 4 digit diviston INC BCD increment V memory DEC BCD decrement V memory SIMATIC T 405 User Manual Instrucl10n set Summary B II Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 436: ...n SUBB c r t Binary word subtraction SUBBD Binary double word ubtra tion MULB c rt Binary rnultiplieation DIVB c JI Binary divieion NCB G Ji Binary increment V memory DECB G J i Binary decrement V memory 8 12 InsIruc110n set Summary SIMATIC Tl405 Usar Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 437: ... firot 1 bit in the accumulator DECO c Ji Decode the encoded code into accumulator SEG c JI Accumulator to 7 segment dioplay ATH GJi ASCII to hex TI436 only HTA _ Hex to ASCII TI436 only Vn SIMATlC T 405 User Manual lnstrucfton satSummary 8 13 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 438: ...only ACoN ASCII table TI435 only MOV GJt Move table TI435 only TID GJt Move from table increment pointer TI435 only RFB co t Move from table decrement pointer TI435 only STT c r t Source to table increment pointer TI435 only RFT GJt Remove pop from top of data etaek move to V ATT c r t Add push to top of data stack a V value 8 14 Instruc on set Summary SIMATIC Tl405 Us Manual Artisan Technology Gr...

Page 439: ...puts PAUSE GOTO ro _1 Go to instruCtion following LBL TI435 only LBL Label ofGOTO instructions TI436 only FOR R _1 Run loop X times TI435 only NEXT EXT _1 Signifies end of ForlNext loop TI435 only GTS _1 Go to subroutine TI435 only RTC _1 Conditional subroutine return TI435 only StMATle T 405 User Manual Instruction set Summory B 15 Artisan Technology Group Quality Instrumentation Guaranteed 888 8...

Page 440: ...urn TI435 only EN ENI Enable interrupt DISI _ _ Disable interrupt IRTC RTC Conditional interrupt return INT Interrupt routine label IRT RT Unconditional interrupt return MLS M Ma ter line t MLR M Master line read B 16 Instruction set Summary SIMATIC T 405 Use Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 441: ...LBL LUi Load table label used with MOVMC TI486 only MOVMC c Ji Tranefer V memory tolfrom memory c l8 rtridge RD _ Read block from intelligent module WT Write block to intelligent module RX _ Receive communication n X Y C T CT GX V SP WX _ TransntiteoInInunicaaon nmX Y C T CT GX V Sp FAULT _ Show message on display n K RSTWT lWT 1 Reset watr hdog timer SIMATIC Tl405 Use Manual InstTuc onset Summary...

Page 442: ...ror is detected The specific error code is stored at address V7755 To clear the error cycle the system power and use AUX 21 to check your program s syntax Correct the program where necessary If that does not work clear the memory and reload your program Ifthe problem persists replace the CPU If the CPU battery voltage falls below 3 volts an error message appears in the MIU display SP43 is on when ...

Page 443: ...r is the probable cause ofthis error SP54 is on when this error is detected Use AUX 42 to determine the specific error When the terminal strip on an YO module is loose or missing this error message is displayed SP45 is on when this error is detected The specific error code is stored at address V7756 With the power off install a terminal strip on the indicated module If an YO module is out ofplace ...

Page 444: ...ear the error press CMJ then enter an unassigned I O point number This message appears when a process code error is detected during MIU communication SP46 is on when this error is detected The specific error code is stored at address V7756 Toclear the error first press lJiiJiJ and retry communication Ifthat does not work check the network wiring Ifthe problem persists replace the CPU This message ...

Page 445: ...en this error is detected The specific error code is stored at address V7755 Enter an l iiiJ instruction at the end of the main program This error message appears ifyou USe a GOTO instruction without a corresponding label a GTS instruction without an SBR instruction or an MOYMC or LDLBL instruction without a DLBL instruction SP52 is on when this error is detected The specific error code is stored ...

Page 446: ... number Ifyou use the same number with more than one SBR INT or LBL instruction this error message appears SP52 is on when this errol is detected The specific errol code is stored at address V7755 To clear the errol reprogram so that unique reference numbers are used with each subroutine interrupt routine 01 label When two or more FOR instructions are programmed without a NEXT this message is disp...

Page 447: ...e the IRTC instruction This messaee appears when an lRT instruction is placed in the main program OT in a subroutme SP52 is on when this error is detected The specific error code is stored at address V7755 To clear the error delete the IRT instruction Only ACON OT NCON instructions mlQ follow a DLBL If a non data instruction is placed in a DLBL an error messaee appears SP52 is on when this error i...

Page 448: ...the start of a ladder logic rung this error message is displayed Reprogram the rung to begin with a 8TR instruction This error message indicates that a rung of ladder logic is not terminated properly Add one ofthe terminating instructions to the rung Iftwo or more OUT instructions use the same YO address an error message is displayed To clear the error use a ditferent YO address This error can be ...

Page 449: ...iJ and change to the appropriate mode An error message appears if the attempted operation is not allowed in program mode PressCiliiJ and change to the appropriate mode The keyswitch must be in the term position before you attempt an MIU operation 01 an error message appears Before retrying press gji and move the keyswiteh to the term position When this message appears in the display the MIU is set...

Page 450: ...eceiving cartridge can hold Match the transfer size to the memory cartridge size An error message appears ifyou attempt to write to a memory cartridge that already contains data Use another memory cartridge or check that the data on the present cartridge is not needed and use AUX 75 to erase a RAM OrEEPROM cartride e This message appears when a data transfer to the MIU is attempted with no memory ...

Page 451: ...ata transfer again This message indicates that the volume level ofthe cassette recorder is set improperly Preas and try the tape transfer again If an error is detected while data is being transferred into the MIUs memory cartridge this message appears Press g4 and try the transfer again If the error persists replace the memory cartridge or the MIU This message appears ifan invalid intemal instruct...

Page 452: ...ng a module or system An expression of values that can vary continuously between specified limits Apparatus that measures continuous information e g voltage current The measured analog signal has an infinite number ofpossible values The only limitation on resolution is the accuracy of the measuring device An input circuit that employs an analog to digital converter to convert an analog value measu...

Page 453: ... a BCD device and when connected to a programmable controller each decade requires four wires Decimal 9 1001 BCD 1 Binary Digit the smallest unit of information in the Binary Numbering System represented by the numbers 0 and 1 2 The smallest division of a PLC word Math and or logical relationships ofbinary numbers A sequence of eight binary digits bits usually operated as a unit One symbol of a se...

Page 454: ...ificant right most digit Also called base 10 In relay panel hardware an electromechanical device that can be wired and preset to control other devices according to the total cycles at one ON and OFF function In a PLC a counter is internal to the PLC Le it is controlled by a user programmed instruction A counter instruction has greater capability than any hardware counter Therefore PLC applications...

Page 455: ...ters solenoids lamps ete that perform PLC tasks The mechanical electrical and electronic devices that compose a programmable controller and its application A number system that uses the numerals 0 1 2 3 4 5 6 7 8 9 and the letters A B C D E F to represent numbers and codes Also called base 16 An area in memory where the on or off state of each input and output is stored for use by the program betw...

Page 456: ...ts and control all outputs The YO scan repeats continuously The time required for the PLC to monitor inputs and control outputs The continuous process of revising each and every bit in the YO tables based on the latest results from reading the inputs and processing the outputs according to the control program The time required to update all local and remote YO Also called YO Scan A transition to a...

Page 457: ...chine control program that combines relay ladder logic and the sequential function programming elements called stage A grouping of circuit elements that have data storage and retrieval capability An electronic computer processor section implemented in relatively few IC chips typically LSI that contains arithmetic logie register control and memory functions One thousandth of a second 10 3 or 0 001 ...

Page 458: ...ch was last true 1 A relay contact pair that is closed when the coil of the relay is not activated and opens when the coil is activated 2 A ladder program symbol that allows logic continuity flow if the referenced input is logic 0 when evaluated 1 A relay contact pair that is open when the coil ofthe relay is not activated and closes when the coil is activated 2 A ladder program symbol that allows...

Page 459: ...s or de energizes outputs as a result ofthe logical comparisons made through these instnlctions In the form of an integrated circuit it may be called a microprocessor A sequence of instnlctions to be executed by the PLC CPU to control a machine or process The time required for the PLC CPU to execute all instructiens in the program once The program scan repeats continuously The program monitors inp...

Page 460: ...the ROM address lines are scanned An EIA standard originally introduced by the Bell System for the transmission of data over a twisted wire pair less than 50 feet in Iength It defines pin assignments signal levels etc for receiving and transmitting devices Other RS standards cover the transmission of data over distances in excess of50 feet An EIA standard for the electrical characteristics ofbalan...

Page 461: ...rmation into a controller In relay panel hardware an electromechanical device that can he wired and preset to control the operating interval ofother devices In a PLC a timer is internal to the CPU that is to say it is controlled by a user programmed instmction A timer instruction has greater capability than any hardware timer Therefore PLC applications do not require hardware timers When this cond...

Page 462: ...these are generally only data bits One PLC word equals 16 data bits Wrlte The process of loading information into memory SIMATIC Tl405 UsafManual Glossary II Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 463: ... s complement 15 5 ORing with the image register 14 11 ORing with V memory 13 10 relays 8 10 rotating bits to the left 14 5 rotating bits to the right 14 4 shifting bits to the left 14 3 Index shifting bits to the right 14 2 storing a 16 bit word 13 6 storing a 32 bit double word 13 7 storing to the image register 14 7 subtract top of stack from 15 3 subtracting a BCD image register value 14 8 sub...

Page 464: ...ay 8 9 ASCII character codes A 6 A 7 constants 19 8 converting to hexadeeimal 18 6 defining storage for 19 7 displaying a message 22 14 Assistance telephone xxii Assistance telephone xxii ATH T1435 only 18 6 AT T1435 only 19 14 AUX 4 1O AUX 11 xxxi 6 27 AUX 12 3 9 AUX 13 xxx 6 21 AUX 21 C l C 4 AUX22 4 9 AUX 24 xxx 6 21 AUX42 3 17 3 20 C 2 AUX45 C 3 AUX46 C 3 Ind x 2 AUX51 4 17 AUX53 3 13 AUX54 4 ...

Page 465: ...ot equal to 10 S 10 4 Configuration guidelines bases 2 14 I O modules 2 S0 Constants defining storaee for 19 7 numeric 19 8 Contacts 6 22 arithmetic time out relay 8 9 battery low 8 9 checking power flow 3 5 clock timing 8 7 communication error relay 8 9 connecting two groups in parallel 9 6 connecting two groups in series 9 5 counter 8 14 CPU status 8 8 critical error relay 8 9 external diagnosti...

Page 466: ...TI435 only 19 7 E E541 4 19 EEPROM cartridge erasing the 4 26 write protecting 4 16 Electrical noise definition 2 11 isolation 2 13 suppression 2 12 Enclosures 2 7 ENCO 18 3 END 22 5 End of program scan 22 5 ENI 21 8 Environmental specifications bases 1 10 expansion unit 1 17 machine interface unit 1 23 memory cartridge 1 24 output modules 1 13 Equal to logical comparisons 10 2 10 3 Error messages...

Page 467: ... 2 35 12 24 VDC output negative logic 2 42 positive logic 2 46 16 point 1151230VAC output 2 45 16 point relay output 1 13 2 41 24 VDC output negative logic 1 13 2 43 24 48 VDC input 1 11 2 38 8 point 1151230VAC output 2 44 8 point relay output 1 13 2 40 configuration guidelines 2 30 detecting failed 3 19 hardware interrupt 5 12 installation 2 25 power requirements 1 18 wiring xxviii 2 26 Image reg...

Page 468: ... to 22 9 Interrupt proerammine 5 12 Interrupts conditional return from 21 9 defining a 21 9 disabling 21 8 enabling 21 8 unconditional return from 21 9 INV 15 5 IRT 21 9 IRTC 21 9 ISG 20 2 Indu 6 J JMP 20 3 K Keys instruction 4 3 numeric 4 3 operation 4 3 symbol identification 4 3 L Ladder logic networks complex example 5 7 parallel contacts 5 6 series branches in parallel 5 5 series contacts 54 s...

Page 469: ... memory from cassette 4 24 selftests 3 14 storing a program on casseete 4 22 storing pl ogl ams in EEPROM 4 25 storing Pl Ogl aIDS in UVPROM 4 27 storing system parameters on cassette 4 22 storing V memory on cassette 4 22 Test mode 3 9 MLR 21 10 MU3 21 10 Modes CPU operatmg 2 29 MOV TI435 only 19 9 MOYMC TI435 only 22 6 MUL 16 4 MULB 17 4 MULF TI435 only 14 9 MULS 15 4 N NCON TI435 only 19 8 NEMA...

Page 470: ...ng correcting errors 4 8 deleting instructions 4 8 displaying the contents 4 8 formatting numbers 4 9 guidelines 5 2 inserting instructions 4 8 interrupt 5 12 locating a specific instruction 4 8 naming your programs 4 17 retrieval of program from CPU 4 20 searching and replacing 4 9 storing a program in the CPU 4 21 subroutine 5 11 validating the syntax 3 16 R RD 22 8 Relay Ladder Logic comparison...

Page 471: ...7 7 SG 20 2 SGCNT 12 7 SHFL 14 3 SHFR 14 2 Shift register 6 37 6 41 6 48 6 49 22 3 Shorting bar installing the xxvi Single scan troubleshooting by setting to 3 9 SP4 6 34 SP43 C 1 SP44 C 1 C 2 SP45 C 2 SP46 C 3 SP51 C 1 SP52 C 1 C 4 C 5 C 6 SP53 14 9 15 4 16 4 SP54 C 2 SP55 17 4 SP63 14 8 14 9 14 10 15 3 15 4 16 2 16 3 16 4 16 5 17 2 17 3 17 4 17 5 SP64 14 8 15 3 16 3 17 3 SP65 14 8 15 3 16 3 17 3...

Page 472: ...nly 14 8 Subroutine conditional return from 21 7 defining a 21 7 effects on scan time 5 11 high speed count 7 10 jumping to a 21 6 nesting 5 11 Index to placement in programs 5 11 progratnnoing 5 11 unconditional return from 21 7 SUBS 15 3 SUM 14 13 Supply voltage selection xxvi 2 22 Switches emergency stop 2 5 inch 2 6 jog 2 6 operator safety 2 4 safety 2 5 stop 2 5 thumbwheel A 3 Syntax error re...

Page 473: ...ue 19 3 incrementing the contents 17 5 interpreting contents 4 29 loadinl rfrom an intelligent I O module 22 8 loading through data communications 22 10 monitoring the current contents of 6 59 monitoring with the MnJ 3 6 move data lahel area to 22 6 move table 19 9 multiplyine with the accumulator 17 4 DRing with the accumulator 13 10 pointers 8 15 specifying an address 4 29 subtracting from the a...

Page 474: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Reviews: