Home

LadderWorks PLC User`s Manual

image

Contents

1. cc008 11 1 11 2 11 7 PLC does not work correctly sese 12 1 PLC Edit Data Table Screen ccceeeeeeeeeeeeees 6 8 PLC S 1 1 1 4 2 1 integration within the ServoWorks system 2 1 PLC function calls 12 2 PLC Function Parameters Input BOX sees 8 13 PLC Ladder Compiler Screem ccceeeeeeees 5 3 PLC sequence program See sequence program PLC sequence program execution 2 2 8 25 PLL SPINO moien 12 1 PLC SISMA T 2 1 PLC Table Setting Screen eee eee eee eee 6 3 PLC Table Setting Screen Dialog Box 6 3 PLC Time Chart utility sese 1 1 10 1 PLC won t Start ee ne ee 12 1 Plc_ini_start PLC_setdata sse 12 2 precompilation of sequence programs 06 4 printing the ladder diagram sss sese 8 17 IV LADDERWORKS PLC USER S MANUAL Index problems with R TX 3 2 product documentation sss sss sees 1 6 product OV EL VICW eee 1 1 programmable logic control See PLC p lse SMC AOL se n Honshoinntelcanastindonscnauadadaeeistanes 12 2 R R SI OTIS ocina iaat 8 3 11 3 real time bit pattern display sss sse 1 1 real time subspace eee eee eee 1 4 recommended coding sss esse 8 6 11 6 Refer DUIOM sissies roncednassnsesesswbbacdpsnemnc nuetnncoesbieucaes 5 3 Register Address Map sese 8 19 POISE Tiles a setecemaboussicandtacscnndmediowsnscuntesasonninss 6 3 6 7 Regular Version On Line Version of LadderWorks RONG Oe doe reese sce cee ie eee eeepc
2. iol x File Edit Format View Help A00 Sample alarm message 0 AQ Sample alarm message 1 A02 Sample alarm message 2 A799 Sample alarm message 799 Figure 7 1 Default AlarmMsg dat File A00 indicates the alarm number Sample alarm message 0 indicates the message to be displayed when this alarm is activated There are 100 bytes AOO through A99 in the A address space Each byte holds 8 possible alarms for a total of 800 possible alarms A00 0 through A99 7 7 3 Modifying the PLC Sequence Program to Write to the A Address Space You must modify your customized PLC sequence program to include the line WRT A00 0 or similar for each situation in which you want to display an alarm message in which A00 0 in the sequence program corresponds to alarm message 000 to be displayed The relationship between the alarm numbers used in the AlarmMsg dat text file and the corresponding alarm A addresses that should be used in the PLC sequence program are shown in the following table Soft Servo LADDERWORKS PLC USER S MANUAL sh iin Chapter 7 Setting Up Customized PLC Alarm Messages sequence program AlarmMsg dat file A0 3 A00 3 A0 3 A003 A03 A00 4 A0 4 A004 A04 A00 5 A0 5 A005 A04 A01 0 A1 0 A008 A08 A01 1 A1 1 A009 A09 A99 7 A799 Table 7 1 Address Map for PLC Sequence Program A Addresses and Alarm Numbers in the AlarmMsg dat File A1 A1 NOTE A21
3. Disable device Find Ctrl F w Selection Mode Figure 8 16 Drop Down Menu Available in Ladder Diagram Upon Right Clicking Or when a component is selected cut and copy tools appear in the main toolbar as shown Tools Cut Copy Figure 8 17 Cut and Copy Tools in the Main Toolbar When a component has been cut or copied you can paste that component by clicking at the desired location in the ladder diagram NOTE You don t need to select Paste and no Paste tool exists or is required 8 10 Soft Serve LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 8 Using LadderWorks Console 8 5 1 8 Using the NOT Tool to Create RD NOT or WRT NOT Components To create NOT for relays and coils there must be a selected relay or coil highlighted in yellow You can use the ff tool to select a relay JAF or coil 1 1 Single clicking the tool changes a selected RD Ha component AF to a RD NOT component K 1 and vice versa single clicking the tool changes a selected RD NOT component fk to a RD component AF So in order to create NOT for relays and coils you will have to click multiple symbols on the main toolbar As an example the complete procedure for inserting a RD NOT follows 1 Click the tool then click where you want to insert the relay 2 Type in the address and hit the Enter key The newly created relay element will be highlighted after you hit the Ente
4. SaWS sss sese eee eee eee 6 2 Figure 6 5 P LC Table Sete SOCEM ouers cienie erines aa erkani a ee aE an aa saencadsenendhabassanehendsavteesasanenesas 6 3 Figure 6 4 PLC Table Setting Screen Dialog BOX eee 6 3 Figure 6 5 Edit Keep Relay Window sese 6 4 Figure 6 6 Page Selection Window ccccccccssssssssssscnnnnnnnneccceaaneaaaaeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeeeeess 6 4 Figure 6 7 Edit Timer Window sss 6 5 Figure 6 8 Edit Counter Window eee 6 6 Ficure 0 9 PLC Data Tabie Seine S Cre Cin acrist nET NEEE E NEEE NEEE EIA EENE 6 7 S 0 10 PLE Edit Data Table S Cree i aueren naeia NNER ON EEEE AEON EE EIN EAN 6 8 Figure 7 1 Detault A larm Msg dat ST 7 1 Fig re 7 2 Alarm Message Display L Of 2 sacaineswsis sennsntniowaeatesicattedg ceeded E EEEIEE EEEE EEEE 7 3 Pioure 7 3 Alarm Message Display 2 Of 2 sccconctinssessicwnsietnonaestesicaniiedpceaniedsowaayadevewasues ESAE E EEA EEEE 7 4 Figure 8 1 LadderWorks Console Main Window cccccccccccccccccccceceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 8 2 Figure 8 2 Format for an Address in a Ladder Diagram sss 8 3 Pone sa Cader Daar RON creer eee retreat eet err tee ene eet eee eee ere eee ere 8 5 Figure 8 4 Format for Relay Junction Labeling in Ladder Diagram ccccccccccccccccccceccceceecececeeeeeeeeeeeeeeceeeeeess 8 5 Figure 8 5 Ladder Diagram Format for a Limited Number of Reas sese 8 5 Figure 8 6 Ladd
5. Search fon Enne Direction rc ance t Up Y Down Figure 8 26 Direction Dialog Box for Searching the Ladder Diagram Type the search text in the Search for text box select the direction to search up or down and click the Find Next button The ladder diagram automatically scrolls to display the first instance of matching text for an address or label for a component and that component is highlighted in yellow LadderWorks Console finds the exact whole word that you have typed in only a match for an exact address or label would return a result not partial addresses or labels For instance if you specify 0 0 in the text box LadderWorks Console would not consider X0 0 a match 8 16 Soft Serve LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 8 Using LadderWorks Console 8 7 Printing the Ladder Diagram Select Print Setup from the file menu to set your print settings printer paper size etc Then select Print from the File pull down menu as shown in the following figure Ladder 1 AES Edit View OnLine Help New Ctrl y Open CHAO Close Save CH LE save S Import Mnemonic Code Export Mnemonic Code Generate Binary Code Print Ctrl F Print Setup Exit Figure 8 27 Selecting Print from the File Menu LadderWorks Console will print the entire ladder diagram 8 8 Changing Between the Ladder Diagram View and the Instr
6. SofServo M lad of ServoWorks CNC and SMP products SoftServo_M files peo are provided for ServoWorks MC Quad and the ServoWorks B as anes l S 100M series of products SoftServo_T files are provided oe for ServoWorks S 100T and SoftServo SMP files are D PS provided for the SMP series of products instsrv exe SwPlcDil dll SwPlcDIl lib S C NOTE Customized PLC SwPlcLink exe ese Tae sequence programs can have a ee ee er file name of your choosing and S swoldink_service_install _global bat can reside in any folder on your Pe swolclink_service_remove bat computer The LadderWorks fe swolclink_service_remove _global bat PLC Engine always loads the Utility most recently compiled file BBY swPLC_BIT_PATTERN exe pa saPLC_ CONTROL exe Fa swPLC_DIAGNOSE exe P swPLC_TIME_CHART exe E Readme _SWPLC txt R SwPLC tbl SwPLC_M reg Figure 1 1 LadderWorks PLC File Structure Soft Servo LADDERWORKS PLC USER S MANUAL anan Chapter 1 LadderWorks PLC Product Overview 1 3 Overlapping Functions in Different LadderWorks PLC Components There are some overlapping functions between different LadderWorks PLC components due to the inclusion of some legacy software that has yet to be eliminated 1 3 1 Overlapping Functions of LadderWorks Console and the PLC Control Screen Utility Both LadderWorks Console and the PLC Control Screen utility can compile PLC sequence programs as shown
7. a Figure 8 47 Confirm Closing Sequence Program Dialog Box Click Yes to save and close the ldv file 8 15 Exiting LadderWorks Console By selecting Exit from the File pull down menu you can exit LadderWorks Console as shown in the following figure Ladder 1 mie Edit View OnLine Help New Ctrl h Open Ctrl 0 Close Save Ctrl 5 Save As Import Mnemonic Code Export Mnemonic Code Generate Binary Code Print Ctrl F Print 5etup Exit Figure 8 48 File Pull Down Menu for Closing LadderWorks Console A dialog box may appear similar to Figure 8 47 Click Yes to save the sequence program file before closing the application or click No to exit the application without saving the sequence program file 8 29 Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 8 Using Ladder Works Console 8 16 LadderWorks Console Automatically Shutting Down If LadderWorks Console is running concurrently with another Soft Servo Systems application such as ServoWorks MC Quad ServoWorks S 140M or SMP400 closing that other application will automatically shut down the LadderWorks Console application due to the need to stop the Ardence RTX real time extension to the operating system that 19 interfacing with both LadderWorks Console and the other Soft Servo Systems application If LadderWorks Console didn t shut down when the other Soft Servo Systems application shu
8. BRT i i K 6 7 g 0 10 A SE SP E x00 GEA E Register Address Map 1 2 3 4 NV E Stop ST E 66 0 x 634 yi 298 Figure 8 35 Ladder Diagram Imported From an Existing Sequence Program Code 8 22 Soft Servo LADDERWORKS PLC USER S MANUAL asht Chapter 8 Using LadderWorks Console 8 11 Exporting PLC Sequence Program Code in Instruction List IL Format mod and lad Files To export a PLC sequence program in Instruction List IL format from ladder diagram format select Export Mnemonic Code from the File pull down menu as shown in the following figure Ladder 1 sS Edit View OnLine Help New Ctrl h Open Cirl o Close Save Ctrl 5 Save As Import Mnemonic Code Generate Binary Code Print Ctrl P Print Setup Exit Figure 8 36 File Pull Down Menu for Exporting Mnemonic Code A Save As window will appear as show in the following figure Save As Save in B Ladder S SoftServo_M mod S SoftServo_T mod S SoftServoPLC mod File name SoftServoPLC Save as type PLC Module File mod Cancel Figure 8 37 Save As Window for Saving the mod File With this function LadderWorks Console can export the sequence program code generated according to the ladder diagram created in the editing window The sequence code will be exported as a lad file in the selected directory together with a mod file bearing the same file name as the lad
9. EXPORT jad IMPORT lad mod instruction list tayt format LadderWorks SAVE OPEN Console dv Adv GENERATE ea bin fig lad Ist mod mod amp lad PLC Control COMPILE a Screen Utility bin div fig Ist Figure 1 2 Comparison of LadderWorks Console and the PLC Control Screen Utility 1 3 2 Overlapping Functions of LadderWorks Console and the PLC Diagnose Utility Both LadderWorks Console and the PLC Diagnose utility display sequence code program execution However while LadderWorks Console can be used to create and edit a sequence program in a ladder diagram format as well as compile generate binary code etc the PLC Diagnose utility only displays sequence code program execution You cannot use the PLC Diagnose utility to create edit or compile a sequence program 1 3 Soft Servo LADDERWORKS PLC USER S MANUAL sini cla Chapter 1 LadderWorks PLC Product Overview LadderWorks PLC Diagnose Console Utility Create ladder diagram sequence programs ae Import existing Instruction List text format sequence code programs View instruction list IL version of Sequence programs an a omnes r re H H Display Sequence code program currently being executed by the LadderWorks PLC Engine monitor sequence programs E 2 r e rere A a O ann Table 1 1 Comparison of LadderWorks Console and the PLC Diagnose Utility S S 1 4 The Difference Between the Regular Version On Line Version and the Off Line
10. All rights reserved Any violations of contractual agreements pertaining to the materials herein will be prosecuted to the full extent of the law ii Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Contents Table of Contents WY CAE T HHHH i important NOUCE sirenaren n aana TAEAE AEEA EEA AEAEE il TAINS aa E A E E A A E A A E A Ea iii A E T V Listof l vi Chapter 1 LadderWorks PLC Product Overview sessssssssscscsssrcecsssesececsesececsesesececsesnsecaesesececaesesecarsesesecaesesecaesesesecansesecaraeseseranans 1 1 1 1 Components Included with LadderWorks PLC l 1 l2 LadderW orks PLC File St C6 assis nassnddssconstessesinncansenasinssesionsdnawaneieusaustensaeneanetesasensdesassbgaduedanaseuedabsateeddunceeeests 1 2 1 3 Overlapping Functions in Different LadderWorks PLC Components sss sese eee 1 3 1 3 1 Overlapping Functions of LadderWorks Console and the PLC Control Screen Utility 1 3 1 3 2 Overlapping Functions of LadderWorks Console and the PLC Diagnose Utility eeeeeeeeeees 1 3 1 4 The Difference Between the Regular Version On Line Version and the Off Line Version of LadderWorks ONS ON ag aorae ners cep actte E A E A EE A O A A A N T T 1 4 1 5 Additional Documentation for LadderWorks PLC and ServoWorks CNC or SMP Products 006 1 6 1 5 1 LadderWorks PLC Documentation Suite eee 1 6 1 5 2 Setup Documentation aeriaraertosanaunnennanecanocusecet raan zaa ano anar rana ROOT Oa Raa Oana 1 6 1 5 3 Addi
11. Figure 4 2 Typical lad File SoftServo_0 lad 2 of 3 Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 4 Setting Up A Customized Sequence Program MFIN RD OR OR OR RD AND NOT WRT RD WRT SFIN RD WRT TE TN RD WRT Q MOO Fo Pos Fo F9 RO Pia LOs RO cae RO RO RO RO 3 RO RO M01 M Z By S Strobe 0 E Z By T Strobe EL G5 3 MGS M04 MO5 M30 Figure 4 3 Typical lad File SoftServo_0 lad 3 of 3 Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 4 Setting Up A Customized Sequence Program 4 2 3 mod Files The mod is a text file that you must create or verify with a mod extension that tells LadderWorks PLC which files to reference Specifically the mod file refers to the lad file and tells the compiler to compile the lad file and generate a series of files with the same name as the lad file but with different extensions It is the mod file that is actually compiled when you compile your sequence program The mod file will always be one line The lad and the mod files must reside in the same folder The default mod file is shown as follows SoftServo_0 1 Figure 4 4 Example mod File SoftServo_0 mod In this case the name of the series of files will all be named SoftServo_0O but will have different ext
12. Figure 4 2 Typical lad File SoftServo_O lad 2 of 3 sse 4 3 Figure 4 3 Typical lad File SoftServo_O lad 3 Of 3 sese 4 4 Figure 4 4 Example mod File SoftServo_O M0d eee 4 5 Figure 4 5 Sequence Program Setup Procedure with the LadderWorks Utility Tools and Without LadderWorks OSI TTT 4 7 Figure 4 6 Sequence Program Setup Procedure with LadderWorks Console sss sees 4 8 Figure 4 7 PLC Coding Example Instruction List Format lad sees 4 9 Figure 4 8 PLC Coding Example Ladder Diagram Format Id sss sees 4 11 Figure 4 9 Example 1 of Horizontal Ladder Length Limitation ccccccccccccccceecceceeeeeeeeeseeeeecceeeeeeeeeeeeeeaaaas 4 11 Figure 4 10 Example 2 of Horizontal Ladder Length Limitation sss 4 12 Figure 5 1 Compiling a Sequence Program with the PLC Control Screen Utility sss 5 1 Figure 5 2 PLC Control Screen Window for RUN Status eee 5 2 Figure 5 3 PLC Control Screen Window for STOP Status sese eee eee eee 5 2 Pieute 5 4 PLC Ladder Compiler SCC i sosisini a aiaiai 5 3 Figure 5 5 Select Module Definition Window ccccccccccsccccccccccecccccccccccccaccnccccccccccccccccccccccccccccceccccceccccccccecceecs 5 3 Figure 526 Compile Finish Dialog BOX essccssocicrasasccasanosesccounpadesasanaestersaanasassanensasmeaancardeaoedacenemeadsaeabacaanpaineenneenaCouaaee 5 4 Figure 6 1 PLC Control Screen Window for RUN Status eee 6 1 Figure 6 2 PLC Control Screen Window for STOP
13. IR E a SES gaguanatsasasasaensserocn se nuesaueseueaene ane sneeeneda E oq nceusasaataonaens 11 3 E OT 11 4 RT T 11 4 ey e TTT 11 4 MAN OTRO a 11 5 IR e S Relay Junction Labe lng sce asisesecenananescencsenonen vera EE E O E EEr ea ON Eaa eR 11 6 11 3 8 Hardware Based PLC Programming Compared to Software Based PLC Programming 11 6 11 4 Changing the Display of the PLC Diagnose UY eee 11 7 11 5 Using the Search Function of the PLC Diagnose Utility sese 11 8 11 6 Exiting the PLC Diagnose Utility cc ccc scicweducatasenueadines anddeddwadenievdwsuontudietabantdusduestaogeucwibersanhinagadenebuccauauanraainiaeds 11 8 Chapter 12 Troubles eT isisao aaia aRar A ARADA 12 1 12 1 The PLC won t start or does not work correctly How can I restore IU sese 12 1 12 2 The PLC didn t work How can I check that the PLC service is running sss sese 12 1 12 3 When I started PLC_DIAGNOSE it shows me a black screen What should I dO ee eeeeeeeeeeeeees 12 1 12 4 The TMRC command for PLC didn t work sss 12 2 12 5 How can I disable the pulse generator with the PLC sequence program sss 12 2 12 6 The PLC Diagnose utility cannot load my sequence program sss sees 12 2 12 7 I can t stop PLC with the PLC Control Screen utility What is going OH 12 2 12 8 The PLC didn t start correctly with my customized application What s Wrong 12 2 12 9 I am using LadderWorks Console and the Diagnostic Mode option in the OnLine pull down menu isn t
14. No 2 TEST V 29 2 6 2 7 2 0 xo 2 2 al aT TTT E T x S67 yi 93 sm So Flt HC x ki WE lt B x Function a R100 4 R100 2 E R100 3 TEST w d 2 6 x27 x3 0 no 1 No 2 R100 4 TEST w 25 m d 2 6 x27 X3 0 X3 4 No 2 R100 45 TEST VWV ke m 42 6 Z T 33 0 3 1 X32 R100 6 TEST VWV Erd 32 0 3 71 No 2 RAO RADA R101 1 y Y B MUM E Figure 8 42 LadderWorks Console Diagnostic Mode When a component s signal value changes from 0 to 1 or from 1 to 0 that component flashes 8 13 3 Disabling and Enabling Devices While in Diagnostic Mode you can disable a device component so that device becomes like a comment First select the device to disable then select Disable device from the Edit pull down menu Ladder 1 File ig View OnLine Help Undo Ctrl zZ Insert Row Before Intert Row After Ctrl I Delete Row Ctrl D Copy CH C Cut Disable device Find Ctrl F w Selection Mode Figure 8 43 Edit Pull Down Menu for Disabling a Device A disabled device becomes dashed as shown in the following figure 8 26 Soft Servo LADDERWORKS PLC USER S MANUAL asht Chapter 8 Using LadderWorks Console Disabled device Ladder 1 Sales File Edit Wiew OnLine Help C H s aja a e IB Function T G 9 10 11 1A Ladder iew H ESto ESP G Instruction Li n P r 1 4 4 x00 G84 L Register Add
15. ServovVorks Ee pie Machine Pos Program Pos Relative Pos Servo Lag 0000 00 02 ETE x mm 0000 092 0000 092 0000 092 0000 000 a Yimm 0000 068 0000 068 0000 068 0000 000 fe zimm 0000 020 0000 020 0000 020 0000 001 Sereen OVERRIDE daw MC Quad Alarm eS 100 0 Locks LOCKS 17 3 X Y ge Plot Zs As Unspecified alarm Edit Reset MAIN PLEASE SELECT MODE J 6 t pi F Ponton Handya1ael Homa MDI Auto Configure Figure 7 3 Alarm Message Display 2 of 2 Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 8 Using LadderWorks Console Chapter 8 Using LadderWorks Console 8 1 What You Can Do With LadderWorks Console LadderWorks Console is a Graphical User Interface GUI based software system for developing PLC sequence programs With LadderWorks Console you can e Create and edit PLC sequence programs with ladder diagrams e Insert basic instructions by pointing and clicking on symbols with easy to use GUI e Insert functional commands by selecting functions from a pull down menu and entering parameters if any in pop up text boxes e Meaningfully comment or label components in ladder diagrams e Search for addresses or labels within a ladder diagram e View Ladder Diagram LD or Instruction List IL format e Print a Ladder Diagram sequence program e View I O mapping tables and modify address descriptions with the Register Address map e Import existing Instruction List text
16. file See Section 4 2 Sequence Program File Types You just need to type in a file name for example SoftServoPLC in the Save As window in the above figure for the mod file and save it to the selected directory usually it should be saved in the directory C SwPLC Ladder but you can save these files in any folder you want The corresponding lad file in the case of SoftServoPLC mod it would be SoftServoPLC lad will be saved to the same directory automatically 8 23 Soft Servo LADDERWORKS PLC USER S MANUAL Paneer Chapter 8 Using LadderWorks Console The filename of mod file should not contain any spaces meaning test 01 mod is not allowed Otherwise the compiler won t work properly You can use test_O1 mod instead After saving the mod file to the directory C SwPLC Ladder two files will be created in that directory one of them is mod file such as testO1 mod and the other is lad file with the same file name such as testO1 lad 8 12 Compiling a Ladder Diagram LD Sequence Program Generating Executable Binary Code bin fig lad lst and mod Files To generate the executable binary code according to the ladder diagram select Generate Binary Code from the File pull down menu as shown in the following figure Ladder 1 aS Edit View OnLine Help New Ctrl Open Ctrl 0 Cl
17. from the Display Pull Down Menu The PLC Diagnose utility will terminate 11 8 Soft Servo LADDERWORKS PLC USER S MANUAL ania Chapter 12 Troubleshootin Chapter 12 Troubleshooting 12 1 The PLC wont start or does not work correctly How can I restore it Please use the following steps to recover PLC and put the settings back to the default settings NOTE An uninstall reinstall procedure doesn t help because it doesn t reset parameters 1 Check the PLC service e For Windows 2000 go to Start gt Settings gt Control Panel gt Administrative Tools gt Services gt swplc_link e For Windows XP go to Start gt Settings gt Control Panel gt Administrative Tools gt Services gt swplc_link OR Start gt Control Panel gt Administrative Tools gt Services gt swplc_link 2 If the status is not started run C SwPLC Service swplclink_service_remove bat then run C SwPLC ervice swplclink_service_install bat 3 Run C SwPLC SwPLC reg NOTE You will lose all timer settings keep relay settings etc You can skip this step to keep your settings 4 Recompile run c swPlc Utility swPLC_CONTROL exe and click the Compile button in the PLC Control Screen Click the Refer button in the screen that appears browse to the C SwPLC Ladder folder choose the proper module mod file then click the Open button Click the Compile execute button You wi
18. seas neice Chapter 11 Verifying Sequence Programs Using the LadderWorks PLC Diagnose Utili 2 Click on Module selection from the menu and you will see the window shown in the following figure Module selection l SoftServo M Figure 11 2 Module Selection Window 3 Only the currently executing sequence program module will be available for selection Select that module and click the OK button A ladder diagram window will appear for that module similar to that shown in the following figure PLC diagnose SoftServoPLC E O Figure 11 3 PLC Diagnose Window with Comments for an Example Module Signals shown in bold indicate a value of ON or 1 While the PLC Diagnose utility is running signals flash when they change value from 0 to 1 or from 1 to 0 11 2 Soft Servo LADDERWORKS PLC USER S MANUAL iit Chapter 11 Verifying Sequence Programs Using the LadderWorks PLC Diagnose Utilit 11 3 Ladder Diagram Format Interpreting the Ladder Diagram 11 3 1 Overview The ladder diagram is interpreted by you There is a set of consistent symbols described below The ladder diagram will contain addresses signal names and comments 11 3 2 Addresses An address is composed of an address number and a bit number as described in the following figure R 202 2 Signal letter o i Bit number 0 Address number up to 4 digits follow
19. sss 11 5 Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Contents List of Figures SB DS E Ra e e Works PLC File SUCHTE oer ssc crcet ine ose areenan TR EE EAE EEEE EE 1 2 Figure 1 2 Comparison of LadderWorks Console and the PLC Control Screen Utility sese 1 3 Figure 2 1 Overview of the LadderWorks PLC Engine in the VersioBus Interface System eeeessseeeeeeeeeeees 2 1 Figure 3 1 Welcome to LadderWorks Console Window Off Line Edition cccccccccecceecceceeeeeeeeeeeeceeeeeeees 3 3 Pieure 3 2 Ladder w orks Install Dialog BOX ca inasiennmeraccccncetsaacstsswegeies ENE T AEAT 3 3 SE E Bi hela oO E nt etme AA ner E mr tre Te en ten tn eee eer eter eer rT 3 3 Figure 3 4 Welcome to the DAO Setup WiIndOW ccccccccssssscccccecceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeeeeeeeeeeeeeeess 3 4 Figure 3 5 Select Components Window 1 Of 2 cccccccccccccccceccceeeeeeseeseeeeeeeeeeeeeeeeeeeeesaeaaeseeeseeeeeeeeeeeeeeeseasaageeeenes 3 4 Figure 3 6 Select Components Window 2 Of 2 ccccccccccccccccccceceeeeeessssseeeeeeeeeeeeeeeeeeeesseaesseeseeeeeeeeeeeeeeeeaaaaageesases 3 5 Figure 3 7 Installation Progress Dialog BOX sse 3 5 Figure 3 8 Information Dialog BOX 3 5 Figure 3 9 Welcome to LadderWorks Console Window Regular Edition ee 3 6 Figure 4 1 Typical lad File SoftServo_O 1 Of 3 oo ceeccccsseecccccccceeeeccaeesseseseseeecceeeeeeeeeeessssaaeaesessseeeeeeeeeeeeeeenenaas 4 2
20. will contain addresses signal names and comments Soft Servo LADDERWORKS PLC USER S MANUAL asht Chapter 8 Using LadderWorks Console 8 3 2 Addresses An address is composed of an address number and a bit number as described in the following figure R 202 2 Signal letter B Ba Bit number 0 Address number up to 4 digits following a letter the address ranges vary for each signal Figure 8 2 Format for an Address in a Ladder Diagram There is always a letter of the alphabet in front of the address number to indicate the kind of signal it is See the following table for letters used and their meanings Signal Letter Signal Description Input signal from the machine to the LadderWorks PLC Engine MT PLC Output signal from the LadderWorks PLC Engine to the machine PLC MT Input signal from the ServoWorks CNC Engine SMP Motion Engine NC to the LadderWorks PLC Engine NC PLC Output signal from the LadderWorks PLC Engine to the ServoWorks CNC Engine SMP Motion Engine NC PLC NC Internal Relay Counter Keep Relay Data Table Variable Timer a Requesting Message Display Table 8 1 Signal Letters and Their Meanings 8 3 3 Signal Names All signal names will be at most 8 characters Each character can be a letter a number or a special symbol Soft Servo LADDERWORKS PLC USER S MANUAL anaa Chapter 8 Using LadderWorks Console 8 3 4 Commenting Up to 30 characters may be
21. 1 as show in the following figure 4 4 b g me it 4 Figure 8 12 Entering the Address for a Contact Point Press the Enter key to confirm the input the address will change to a normal display size as shown in the following figure and the corresponding label will appear as follows U 4 TEST 1 madi p 2 Figure 8 13 Normal Display Size of the Input Label Soft Servo LADDERWORKS PLC USER S MANUAL setae Chapter 8 Using LadderWorks Console NOTE If you don t enter an address and press enter you will get an error message Also you must input an address before you can change or add a label If you try to add a label before inputting an address you will get an error message 8 5 1 4 Using the Coil Tool When the tool is selected shown as position the mouse at the point you want to place the output coil and single click A cursor appears enter an address with a label such as G18 0 and press the Enter key to confirm the input the address will change to a normal display size and the corresponding label will appear NOTE If you don t enter an address you will get an error message Also you must input an address before you can change or add a label If you try to add a label before inputting an address you will get an error message 8 5 1 5 Using the Comment Tool Comments MUST be placed only on empty rows You may need to insert a row see Sec
22. E E EE EEE EE EE E 4 5 4 2 4 Creating lad and mod Files From a Ladder Diagram Format Sequence Program sss 4 5 42 53 Din Files div Files ie Piles and ASU Piles socrii a e RE E RE 4 6 k NEG A E T E ANAE E E EEN EE E 4 6 4 2 7 What is the Difference Between the lad and dv bilesST sss 4 6 LE RT OTE 1Ugi old ho are een nee eRe E nr Serre net eet eer eer ee errr rere Tne 4 6 ANU C ONY TOI ps cerns tessa tate cu st oe ga notes atest dv gpd ona eee E E E E 4 9 4 5 Coding Limitation Horizontal Ladder Length of a PLC Sequence Program sss sss sss sese 4 1 Chapter 5 Compiling an Instruction List IL Sequence Program with the PLC Control Screen Utility sss 5 1 KER 5 1 5 2 Compiling an Instruction List IL Sequence Program with the PLC Control Screen Utility sss sese sese 5 1 Chapter 6 Using the PLC Control Screen Utility to Set Up Tables for PLC sssini 6 1 6 1 Starting the PLC Control Screen Utility sese 6 1 6 2 PLC Tables for Input Output Declaration 6 2 6 3 Editing Your Keep Relay for PLC ciiveciccsiencasoessecassnensesancsrsbenansasmensseenaranicnsnsttnnncnnsdncestuaatenenwonseessavinnndanaasaeede 6 4 0 4 Editing the Timer for E 6 5 6 3 Editing th Counters for N e 6 6 6 6 Setting Up and Editing Data Table Addresses sss sese 6 7 ed Sy o E A A A E E E E AA A 6 7 6 6 2 Using the PLC Control Screen to Enter Data in the Data Table 6 7 0 06 2 Adding orf Deleting R 6 7 iii Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Cont
23. ENE 1 4 VAC Ol T 11 6 VS TRR 8 5 11 6 relays infinite number ot 8 5 11 6 Reload button 6 4 6 5 6 6 6 8 requesting message display cccccceeeeees 8 3 11 3 requirements for LadderWorks Console off line GOIO eee eer ee cre eer eee rere errs rrr ety 3 2 restarting Diagnostic Mode ccccceeceeeeeeeeeees 8 28 rows in a ladder diagram sss sss 8 5 11 5 I re re eran eee er eee eer 1 4 NS a 5 1 6 1 rungs in a ladder diagram sss sese 8 5 11 5 S saving a ladder diagram sss 8 6 sean IE eisie riri EE EREET 1 1 2 2 lt 1 S72 17 E DA E S E 2 2 Search address sese 11 8 Search downward asses sse 11 8 search function PLC Diagnose utility 11 8 Search upward sse eee 11 8 searching the ladder diagram for an address or label8 16 Select Module Definition Window sese 5 3 Sale e COO TT 8 10 separate LadderWorks Console installer 3 1 sequence programs COSTING aps r E 8 29 COD aerar eE E 4 9 COMPIE aRar 1 1 4 1 4 5 creating in text IL format sese ees 4 T eT corneas sca eee tee yada een reetendounes 4 2 11 1 elan atear E NEAN 1 2 4 2 5 3 n TTT i E t 2 2 4 1 GUI G E ectuaede eet eancuens 1 1 execution senses vs nvnsicsievatedenucessewsslueevensvesaeeses 2 2 8 25 op Co 1010 OT ee eee 2 2 ADS e 4 ELELE i EEES AEA E 4 1 4 2 Soft Servo SYSTEMS INC precompilation sese eee ee 4 setting UD sees eee eee 4 1 4 7 4 8 setup procedure with LadderWorks Console
24. PLC diagnose SoftServo_M p 7 m T Taal Display M fon Search Figure 11 9 Changing the Comment Display This will hide the comments descriptions and make the display more condensed as shown in the following window PLC diagnose SoftServoPLC Figure 11 10 PLC Diagnose Window Without Comments for an Example Sequence Program 11 7 Soft Servo LADDERWORKS PLC USER S MANUAL ias Chapter 11 Verifying Sequence Programs Using the LadderWorks PLC Diagnose Utili 11 5 Using the Search Function of the PLC Diagnose Utility Click on Search from the menu in the PLC Diagnose window and you will see the window shown in the following figure PLC diagnose Search E X search upward search address 1 1 W Search a contact point search downward IZ Search a coil Cancel Figure 11 11 PLC Diagnose Search Window To scan for an address in the PLC Diagnose Window type the address you want to find in the Search address text box You can search for a contact point or a coil or both Click on either Search upward or Search downward buttons if the address exists the first instance of it will be highlighted in the PLC Diagnose window 11 6 Exiting the PLC Diagnose Utility Select Exit from the Display pull down menu as shown PLC diagnose SoftServo_M Bhatia Module selection Search Comment display Exit m Figure 11 12 Selecting Exit
25. Pull Down Menu 2 Position the mouse at the point you want to place the component and click 8 12 Soft Servo LADDERWORKS PLC USER S MANUAL asht Chapter 8 Using LadderWorks Console 3 Enter the parameters for the function block component For function block components with multiple parameters a Parameter Edit Dialog box will appear as shown in the following example PLC Function Parameters Input Pull down menu for multiple parameters Enter values for parameters in this text box Figure 8 19 PLC Function Parameters Input Box Entering Parameter Values 4 For function blocks with multiple parameters a pull down menu will appear where you can select each parameter Input the parameter values one by one in the parameter value box right next to the parameter name box as shown in the following figure PLC Function Parameters Input Timer Humber Timer Humber Time Length Figure 8 20 PLC Function Parameters Input Box Selecting Parameter Name NOTE If the format of the parameter you input is incorrect in the wrong form or in an unacceptable range you will get an error message similar to the following Signal Address Error Error 007 Input 7 for Signal Address is incorrect Address for this parameter are RDO KX YF G Figure 8 21 Parameter Setting Error Message 8 13 Soft Servo LADDERWORKS PLC USER S MANUAL anns Chapter 8 Using LadderWorks Console 8 5 3 Modifying Basic In
26. SMP system and the machine As such it functions as the central headquarters for all decision making regarding the motion and the machine It controls the sequencing of everything that happens with the machine the servo motors etc The relationships between the ServoWorks CNC or SMP application software the ServoWorks CNC Engine or SMP Motion Engine the LadderWorks PLC Engine and the machine in the VersioBus interface system are shown as follows other servo interface systems are similar User application HMI i e SMP450 ServoWorks S 100M customized GUI etc GUI Interface LadderWorks PLC Engine ServoWorks CNC Engine or PLC SMP Motion Engine NC X l l l l l l l l l l r These are integrated in the ServoWorks CNC and SMP systems VersioBus Adapter Board FP 80 FP 95 FP 104 Y Signals X Signals DC 150 Servo Interface Module or IM 300 I O Interface Module Y Signals L X Signals Machine or Machine Tool MT Figure 2 1 Overview of the LadderWorks PLC Engine in the VersioBus Interface System 2 1 Soft Servo LADDERWORKS PLC USER S MANUAL aian Chapter 2 Overview of PLC In the ServoWorks CNC or SMP System The LadderWorks PLC Engine executes a sequence program in a cyclical fashion The LadderWorks PLC Engine has a timer and uses it to run the following PLC cycle every scan time by default the scan time is 5 msec for all SMP and ServoWorks CNC products except
27. The F G X and Y addresses in the register address map can be viewed and the descriptions can be edited by selecting Register Address Map at the left of the screen as shown in Figure 8 28 The display changes to something similar to the following window Fie Edit View Online Help toe a L a amp g JL lt H C x K Pi Ea RI Function 2 Ladder View bee Description T K Instruction List View Suto Mode d Register Address Ma S Za TESTING 2 Added for testing kk Positive Limit switch Axis 3 Negative Limit switch Asis B Home Switch Axis 8 Positive Limit switch Asis 7 Negative Limit switch Asis 7 Home Switch Asis 7 Positive Limit switch Axis 6 Negative Limit switch Asis B Home Switch Axis b Positive Limit switch Asis 5 Negative Limit switch Asis 5 Home Switch Asis 5 Positie Limit switch Asis 4 Negative Limit switch Asis 4 Home Switch Asis 4 Pasihna rnt siankch desis 7 gt Figure 8 30 Register Address Map View A sample address table is provided You can set user defined descriptions on any desired existing PLC I O component by double clicking on an address label or description highlighting the text and typing the new text To insert a new address right click within the table and a drop down menu will appear as shown in the following figure 8 19 Soft Servo SYSTEMS INC LADDERWORKS PLC USER S MANUAL Chapter 8 Using LadderWorks Console Ladder 1 File Edit View OnLi
28. and all personnel involved in the installation maintenance or use of these products to thoroughly read this pamphlet and related manuals and understand their contents Soft Servo Systems Inc stands ready to answer any questions or clarify any confusion related to these products in as timely a manner as possible The selection and application of Soft Servo Systems Inc s products remain the responsibility of the equipment designer or end user Soft Servo Systems Inc accepts no responsibility for the way its controls are incorporated into a machine tool or factory automation setting Any documentation and warnings provided by Soft Servo Systems Inc must be promptly provided to any end users This document is based on information that was available at the time of publication All efforts have been made to ensure that this document is accurate and complete However due to the widely varying uses of this product and the variety of software and hardware configurations possible in connection with these uses the information contained in this manual does not purport to cover every possible situation contingency or variation in hardware or software configuration that could possibly arise in connection with the installation maintenance and use of the products described herein Soft Servo Systems Inc assumes no obligations of notice to holders of this document with respect to changes subsequently made Under no circumstances will Soft Servo Systems I
29. code E Stop using HandWheel E Stop input RD X0 0 lt Change this line to become RD NOT X0 0 2 Save the file and start C SwPLC Utility swPLC_CONTROL exe 3 Click the Compile button and make sure the Module definite file name is C SwPLC Ladder SoftServo_O mod and click Compile execute you will see a Compile success message 4 Click Cancel to close the PLC control screen 12 6 The PLC Diagnose utility cannot load my sequence program This phenomenon occurs when neither the PLC service nor other processing is being correctly done Check that the PLC service is running correctly or put the settings back to the default settings as explained in previous sections 12 7 can t stop PLC with the PLC Control Screen utility What is going on This phenomenon occurs when neither the PLC service nor other processing is being correctly done Check that the PLC service is running correctly or put the settings back to the default settings as explained in previous questions 12 8 The PLC didn t start correctly with my customized application what s wrong The PLC function calls must be in the following order e sssStartInterrupt HD e Plc_ini_start PLC_setdata e sssPLC_Start HD PLC_setdata 12 2 Soft Servo LADDERWORKS PLC USER S MANUAL ania Chapter 12 Troubleshootin 12 9 l am using LadderWorks Console and the Diagnostic Mode option in the OnLine pull down menu isn t available it appears
30. first page of timers while clicking on the Last button displays the last page of timers If you click on the Page button a Page Selection Window will appear similar to Figure 6 6 and you can scroll through all pages of timers and select one by clicking on the OK button When you have finished setting up your timers click on the OK button to save the settings Soft Servo LADDERWORKS PLC USER S MANUAL iit Chapter 6 Using the PLC Control Screen Utility to Set Up Tables 6 5 Editing the Counters for PLC These counter values are used by the CTR counter functional command SUB5 and the CTRC counter functional command SUBS55 Each counter has 4 bytes 2 bytes for a preset value and 2 bytes for a count up value To edit the default settings of the counters for PLC click the C edit button in the PLC Control Screen utility and the following window will appear Edit Counter Page01 Counter C000 C018 Ed OK Reload First Last Page DE Back Forward cooo Counter PresetBinar H He Countert Total Binary OH Counter _Preset Binary H Op Counter Total Binar H Og Counters Preset Binary IH C010 Counters Total Binary C012 Counterd_Preset Binary H C014 rannen Total pins Cp Counters PresetBinary o VTR Counters Total Binary hN Figure 6 8 Edit Counter Window If the C edit button is disabled you need to compile the SwPLC table see Section 6 2 PLC Tables for Input O
31. for ServoWorks S 100T which has a default scan time of 8 msec 1 The LadderWorks PLC Engine performs a full scan of inputs from both the ServoWorks CNC Engine SMP Motion Engine and inputs from the machine tool which go through the ServoWorks CNC Engine SMP Motion Engine In other words it checks the status of each bit O or 1 for each F and each X input signal which will be discussed later 2 The LadderWorks PLC Engine runs the executable sequence program based on these new input values It executes the program by reading and executing each command sequentially at high speed The command may specify reading or writing inputs or outputs or performing logical operations such as AND or OR arithmetic processing 3 The LadderWorks PLC Engine sends any outputs or commands generated by the sequence program to the ServoWorks CNC Engine SMP Motion Engine or to the machine using the G and Y output signals via the ServoWorks CNC Engine SMP Motion Engine This cycle of scan execute sequence program and generate outputs or commands is repeated every 5 or 8 ms Every time the sequence program finishes executing it starts again almost immediately This means that the LadderWorks PLC Engine is very responsive to any inputs or commands For example if a lathe operator gives a command using the ServoWorks S 100T program to start the spindle on a lathe that command gets relayed through the S 100T CNC Engine to the LadderWorks PLC
32. information You will need to create a customized sequence program for your machine and generate binary code for execution as explained in the rest of this manual NOTE The LadderWorks base components are always installed in C SwPLC A separate off line version of LadderWorks Console is available and can be installed on a different computer than the PC that is controlling the motion and the machine This second PC doesn t require Ardence s RTX Real Time extension See Section 1 4 The Difference Between the Regular Version On Line Version and the Off Line Version of LadderWorks Console for more information about the off line version of LadderWorks Console The off line version needs to be installed separately on a separate computer than the computer on which the entire LadderWorks PLC product is installed The installation procedure for this separate application is explained in Section 3 4 LadderWorks Console Off Line Version Installation Procedure Some customers who are using older versions of ServoWorks CNC or SMP products that were purchased before the LadderWorks Console component was included in their ServoWorks CNC or SMP product may need to install LadderWorks Console separately See Section 3 5 LadderWorks Console Regular Version Installation Procedure 3 2 LadderWorks PLC Installation as Part of a ServoWorks CNC or SMP Product Installation As previously noted LadderWorks PLC is included with and automatically installed as
33. instance Rated Velocity is 3000 RPM and Distance Per Encoder Revolution is 8 192 mm RPM the maximum speed would be 24 576 mm min in this case 3000 x 8 192 As an actual speed calculation if G10 7 is set to 0 which corresponds to a weight of 128 and Jog Feedrate is set to 10 000 the calculated speed is 10 000 x 1 28 12 800 mm min If you use an incremental motor whose maximum rated velocity Rated Velocity is 3000 RPM and set Distance Per Encoder Revolution to 16 384 mm RPM in this case the Jog override value will be 49 152 mm min 3000 x 16 384 Therefore please check to see whether or not these parameters restrict the velocity of Jog Feedrate Override 12 3 Soft Servo LADDERWORKS PLC USER S MANUAL anri Chapter 12 Troubleshootin Please refer to Table 4 4 on page 4 6 of the LadderWorks PLC I O Mapping for ServoWorks MC Quad and the ServoWorks S 100M Series 12 12 We created a customized PLC sequence program for our ServoWorks CNC system but there are some input bits that are not stable After much checking we have changed to other inputs and now it works Please advise There are certain I O points X Y and internal relay R addresses that are already used in the default LadderWorks PLC sequence program provided with your ServoWorks CNC or SMP product Please read and fully understand the default PLC sequence program If certain I O addresses are already used please modify the default sequence progr
34. ny rr tree ett acer ten eer eet ee 8 8 oo ed ioe RIT EE rOn ele Deere eee e rear E mre nn ty rr nen te mer aren tr rr mer ett Te 8 8 R D RI TN ole Reeeere een meer tce ee cern eee emer rene tment E E teen mer errr emer ren te 8 9 8 3 1 5 Using the Comment TOO ssvesstcsavaseccesrestdeusessvecide eines i araia a Eaa Sa AEE NEn a a EE aia Eaa asians 8 9 8 5 1 6 Using the Delete Tool to Delete Components sss sese 8 10 8 5 1 7 Using the Select Tool to Select Components and Cut and Paste Components esse sees ee 8 10 8 5 1 8 Using the NOT Tool to Create RD NOT or WRT NOT Components sese sese sees eee 8 11 OO RIR the OR Tool rinisin a iE e aE A EENE T NEN Trai 8 11 8 5 2 Inserting Function Block Components sss eee eee eee 8 12 8 5 3 Modifying Basic Instruction and Function Block Components sss sees 8 14 8 5 4 Deleting Basic Instruction and Function Block Components sese esse e eee eee eee eee 8 14 ee IS E RON gece crest R E E Gnu tlnart tus ueatiat aa since E E E E E 8 15 BD Sle i IR OW S oe e E E ese adencsecenaeanstedeenseeeteseatnnteeceseess 8 16 8 6 Searching the Ladder Diagram for an Address or Label 8 16 8 7 Printing he Ladder Diagram sss sese sese 8 17 8 8 Changing Between the Ladder Diagram View and the Instruction List View sss 8 17 8 9 Viewing the Register Address Map sss 8 19 8 10 Importing a PLC Sequence Program File in Instruction List IL Formats sese sss sese 8 21 8 11 Exporting PLC Sequence Program Code in Instruction List IL F
35. program are explained in Chapter 7 Using LadderWorks Console The file types of sequence programs are explained in this chapter 4 2 Sequence Program File Types 4 2 1 Overview The actual sequence program the lad or ldv file is one of a series of files with the same name but different file extensions located by default in the folder C SwPLC Ladder Some of these files are automatically generated when you compile your sequence program If you are creating a sequence program in IL format you must create lad and mod files and compile them to create the rest of the required files The lad and the mod files must reside in the same folder If you are creating a sequence program with LadderWorks Console you should create and save an Idv file and compile it to create the rest of the required files NOTE LadderWorks PLC includes default lad and mod sequence program files that are precompiled during your LadderWorks PLC installation to create the executable binary format and all the other required files so that you can turn on start your ServoWorks CNC or SMP product even before you create and compile your customized sequence program 4 2 2 Creating lad Files in Text IL Format A sequence program the lad or ldv file is a way of expressing sequential logic to control a machine The PLC Control Screen utility takes a representation of the system requirem
36. 0 and A021 0 will be interpreted the same in the PLC sequence program as will A0 0 and A00 0 and A000 0 in the PLC sequence program For the default AlarmMsg dat file shown in Figure 7 1 the WRT A00 0 line would cause the following alarm to be displayed Soft Servo LADDERWORKS PLC USER S MANUAL sie iii Chapter 7 Setting Up Customized PLC Alarm Messages Keg Machine Pos Program Pos Relative Pos Servo Lag RUNTIME X mm 0000 000 0000 000 0000 000 0000 000 0000 00 02 _ Y mm 0000 000 0000 000 0000 000 0000 000 SPINDLE z mm 0000 000 0000 000 0000 000 0000 000 rpm A mm 0000 000 0000 000 0000 000 0000 000 0 000 mr nann ann nann nnn nnn nnn nann ann I pA AL S 140M Alarm FEEDRATE mm min T E OVERRIDE 100 0 LOCKS Sample alarm message 0 STAS Stopped MAIN PLEASE SELECT MODE X Ye Z 2 A C HOME X YTL Z 2 A S C GO feror E x E Ej oP ade JOG CONT JOG INCR RAPID HNDWHL HOME AUTO CONFIG Figure 7 2 Alarm Message Display 1 of 2 UH H H H SETTINGS SCREEN EDIT R S SPINDLE 24 HELP MSG EXIT Soft Servo LADDERWORKS PLC USER S MANUAL sich la Chapter 7 Setting Up Customized PLC Alarm Messages 7 4 Unspecified PLC Alarms When an alarm is unspecified it displays as Unspecified alarm as shown in the following screen shot
37. 0 1 using the select tool to select components 8 10 N variable mer 8 3 11 3 verifying PLC in Diagnostic Mode 4 8 25 verifying sequence programs 5 1 1 4 2 11 1 versions of LadderWorks Console sese 1 4 viewing the Register Address Map 8 19 W warning about stopping PLC execution 5 2 X X input Signals 2 2 8 3 11 3 Y Y output SgS 2 2 8 3 11 3 a e NE P A 8 25
38. 4 8 setup procedure with the LadderWorks utility tools and without LadderWorks Console 4 7 Very E oeren porerne E E 1 1 11 1 ServoWorks CNC Engine 1 1 1 4 2 1 ServoWorks CNC products sse 1 1 1 4 setting up a sequence program esse eee eee eee 4 1 4 7 4 8 GODE een eae eT 6 6 data table addresses 6 7 data tables for PLC 6 1 keep LOLA S csperas aea 6 4 E E PERTE EAEE TAN 6 2 ET oine OE 6 5 setup and Integration sese eee e eee 1 6 shutting down LadderWorks Console automatically 8 30 signal arlene en ren de TRT Eae Treo 11 6 signal descriptions eceeseseeeeeeeeeeeeeeeeees 8 3 11 3 SUM ALEC el E A E APA EE A 8 3 11 3 signal names in a ladder diagram 8 3 11 4 SMP general motion control products 0 1 1 SMP Motion Engine sss sese eee 1 1 1 4 2 1 SOM SCI OM rsen TEAN 1 2 5 3 SoftServo SMD 1 2 5 3 SOULS CIV OW V 1 2 5 3 software MSTA ANON seis ccc sess ceevivas ncanvessdinsssnsverbadeaes 3 1 for LadderWorks Console off line edition 3 2 for LadderWorks Console regular edition 3 6 BOOTING aenean l 7 sssPLC_Start HD PLC_setdata 000 a 12 2 sssStartInterrupt HD cccccececceeeeeeeeeeeeeeaes 12 2 starting LadderWorks Console sss sese 8 2 starting the PLC Control Screen utility 6 1 STOP status e 5 2 6 1 W PECADO re a a A E 6 2 AM na E DE a arenes ures A N N A 12 1 swPLC_CONTROL Ex vcs cccssourssacvenci
39. 5 Compiling an Instruction List Sequence Program with the PLC Control Screen Utili Chapter 5 Compiling an Instruction List IL Sequence Program with the PLC Control Screen Utility 5 1 Overview In order to finish your machine setup you must create and compile a sequence program for your machine machine tool In order for you to use your ServoWorks CNC or SMP product immediately and start setting up your parameters and tuning default lad and mod sequence program files were copied over and precompiled automatically during the software installation for all SerevoWorks CNC and SMP products Of course before you use your ServoWorks CNC or SMP product to correctly operate your machine tool or machine you will need to create a customized sequence program specifically for your machine tool or machine setup rather than just using the default sequence program There are two ways to create a sequence program 1 You can create a sequence program in text IL format using the Notepad application or any word processing application 2 You can create a sequence program in ladder diagram LD format with LadderWorks Console as explained in Chapter 7 Using LadderWorks Console NOTE You can then use LadderWorks Console to create a text format from this ladder diagram format if you want This chapter explains how to compile a text format sequence program lad file and mod file using the PLC Control Screen Utility Compiling a ladder diagram f
40. 8 5 5 Inserting Rows Position the mouse cursor on a basic instruction symbol function block component or relay coil in a row adjacent to where you want to insert a new row Then select either Insert Row Before or Insert Row After from the Edit pull down menu as shown in the following figure depending on where you want the new row to be located Ladder 1 File faig View OnLine Help Undo Ctrl zZ L Insert Row Before Intert Row After Cri Delete Row Ctrl D K Disable device Find Ctrl F Selection Mode Figure 8 24 Edit Pull Down Menu for Inserting Deleting Rows 8 15 Soft Servo LADDERWORKS PLC USER S MANUAL asht Chapter 8 Using LadderWorks Console 8 5 6 Deleting Rows Position the mouse cursor on a basic instruction symbol function block component or relay coil in the row you want to delete Then select either Delete Row from the Edit pull down menu as shown in the previous figure 8 6 Searching the Ladder Diagram for an Address or Label Select Find from the Edit pull down menu as shown in the following figure Ladder 1 File Baeias View E Undo Ctrl Insert Row Before IntertRow After CA Delete Row Ctrl D OnLine Help Copy CH LC Cut Enable device Find CHAPE w Selection Mode Figure 8 25 Edit Pull Down Menu for Exporting Mnemonic Code A Direction window will appear as show in the following figure Direction
41. ADDERWORKS PLC USER S MANUAL sich pi laa Chapter 1 LadderWorks PLC Product Overview The off line version of LadderWorks Console does not require a VersioBus Panasonic Realtime Express RTEX MECHATROLINK or SSCNET adapter board to be plugged in to the host CPU The off line version needs to be installed separately on a separate computer than the computer on which the entire LadderWorks PLC product is installed See Section 3 4 LadderWorks Console Off Line Version Installation Procedure A comparison of available functions in each version follows LadderWorks LadderWorks Console Regular Ed Console ON LINE Version OFF LINE Version Create and edit PLC sequence programs with ladder diagrams Insert basic instructions by pointing and clicking on symbols with easy to use GUI Insert functional commands by selecting functions from a pull down menu and entering parameters if any in pop up text boxes Meaningfully comment or label components in ladder diagrams Search for addresses labels or comments within a ladder diagram WI View Ladder Diagrams LD or Instruction List IL format Print a Ladder Diagram sequence program View I O mapping tables and modify descriptions lt a Se E a Import existing Instruction List text format sequence program codes Export PLC sequence program codes in Instruction List text format according to the ladder diagram Generate compile executable binary code according the ladde
42. Diagram LD Table 4 1 Comparison of lad and ldv Files The same PLC sequence logic program can exist in both IL and LD formats 4 3 Overview of File Structure In order to control the machine using PLC the sequence program files will be automatically set up according to one of the following two figures depending upon whether or not you are using LadderWorks Console Soft Servo LADDERWORKS PLC USER S MANUAL si iii Chapter 4 Setting Up A Customized Sequence Program Text Editor Address Table Module Instruction List C SwPLC SwPLC tbl included Definition File IL Sequence with LadderWorks PLC mod le File lad PLC Control Screen Utility PLC Table Trees cv Setting Screen Table Setting Button O oF ss J O E i O O O D O O Cc O E Declares the A formats symbols IN and comments for N N N S each address a O a Figure Data Compile Data oau Table Ladder File fig File Ist div Execution File bin PLC we Utility Read on MAR zrg Start up e l LadderWorks nd PC System T lan PLC Engine Registry Information Figure 4 5 Sequence Program Setup Procedure with the LadderWorks Utility Tools and Without LadderWorks Console Soft Servo LADDERWORKS PLC USER S MANUAL sie iii Chapter 4 Setting Up A Customized Sequence Program LadderWorks Console N OPEN SAVE Address Table swplc97 mdb included with _ Ladder LadderWorks Diagram LD F
43. E E E TTT 12 3 Generate Binary Code sss 8 24 generating executable binary code bin fig lad Ast and mod FGS ee 8 24 praphical file ty PO caznscecascandscasanecenznanatesnaennaeadacowusage 4 6 I gt EEA E r E E TT 8 25 H HandWheel E STOP 4 2 hardware based PLC programming 8 5 11 6 history of bit signals se l 1 horizontal ladder length of a PLC sequence program APAE E T A I A A IT 4 11 horizontal line connection sese ee eee eee 8 8 I UO declaration sse 6 2 UO SignalS eee 2 1 6 2 IL Torna 1 1 4 1 Import Mnemonic Cod sese esse 8 21 importing a PLC sequence program file in Instruction List IL Tomat cane icrahwasansaninnhases 8 21 infinite number of elas esse sees eee 8 5 11 6 Soft Servo SYSTEMS INC input bits that are not Stable esse 12 4 input SIOMAL H 8 3 11 3 inserting a comment in LadderWorks Console 8 9 inserting basic instruction symbols cccccee 8 7 inserting function block components 8 12 inserting LOWS cseeeseesssseseccececeeeeeeaeaeeeesesseesees 8 15 installing LadderWorks Console off line edition 3 1 3 2 LadderWorks Console regular edition 3 6 LadderWorks PLC 3 1 Instruction List IL format c ee 4 1 8 21 Instruction List format eee 1 1 4 1 Instruction List View eee 8 17 TINGS OT ALOU AA N E E 1 6 interface settings sse 6 2 interface ET T 6 2 internal TCL AY 2 crt sacuctoutiasgontuscacona
44. Engine The command is picked up by the LadderWorks PLC Engine in the form of an F signal which will be discussed later the next time it scans all the inputs from the S 100T CNC Engine and the machine tool The LadderWorks PLC Engine then executes the sequence program which will check that the door is closed on the machine tool the collet 1s in position etc It checks these by looking at the status of X signals from the machine tool If all the conditions for starting the spindle are met the LadderWorks PLC Engine will issue a command to the S 100T CNC Engine which is sent to the machine tool in the form of a Y signal to start the spindle on the lathe 2 2 Soft Servo LADDERWORKS PLC USER S MANUAL sh iia Chapter 3 Installing LadderWorks PLC and the LadderWorks Console Off Line Edition Chapter 3 Installing LadderWorks PLC and the LadderWorks Console Off Line Edition 3 1 Overview LadderWorks PLC is included with and installed as part of the product installation of all ServoWorks CNC products and SMP general motion control products In most cases you will have installed LadderWorks PLC as part of a package installation of a ServoWorks CNC product or an SMP product If you have already installed LadderWorks PLC as part of a ServoWorks CNC or SMP product you don t need to separately install anything for LadderWorks PLC See Section 3 2 LadderWorks PLC Installation as Part of a ServoWorks CNC or SMP Product Installation for more
45. Engine which operates in the real time subspace created by Ardence RTX The LadderWorks PLC Engine is completely integrated with either the ServoWorks CNC Engine or the SMP Motion Engine depending upon whether you are using a ServoWorks CNC product or an SMP general motion control product The LadderWorks PLC Engine and the ServoWorks CNC Engine SMP Motion Engine perform the critical functions necessary for motion control and are given the highest priority by the computer s CPU 8 13 2 Using Diagnostic Mode On Line Mode To start Diagnostic Mode select Diagnostic Mode from the OnLine pull down menu as shown in the following figure Ladder 1 File Edit View lei Help Restart a L Lar Diagnostic Mode ELE US aen Figure 8 41 OnLine Pull Down Menu for Starting Diagnostic Mode In Diagnostic Mode components whose value is ON or 1 are shown as green Components whose value is OFF or 0 are shown as blue A selected component is shown as highlighted in yellow See the following figure 8 25 Soft Servo SYSTEMS INC LADDERWORKS PLC USER S MANUAL Chapter 8 Using LadderWorks Console Ladder 1 File Edit D W wiew OnLine Help eat Ladder View TEST yyy z1 ae Instruction List view X26 42 7 42 0 2 1 HS l TEST yuh AD Register Address Map bo W26 WZT 30 34 Ho TEST VWV 73 42 6 Ht 43 0 3 1 HZ 27 m HZ 6 2 7 TEST VW 28 12 6 2 7 2 0 xo
46. L Soft Servo SYSTEMS INC LadderWorks PLC User s Manual Revision 1 5 2008 Soft Servo Systems Inc Soft Servo LADDERWORKS PLC USER S MANUAL sitio ts Warning Important Notice Warning The product described herein has the potential through misuse inattention or lack of understanding to create conditions that could result in personal injury damage to equipment or damage to the product s described herein Machinery in motion and high power high current servo drives can be dangerous potentially hazardous situations such as runaway motors could result in death burning or other serious personal injury to personnel damage to equipment or machinery or economic loss if procedures aren t followed properly Soft Servo Systems Inc assumes no liability for any personal injury property damage losses or claims arising from misapplication of its products In no event shall Soft Servo Systems Inc or its suppliers be liable to you or any other person for any incidental collateral special or consequential damages to machines or products including without limitation property damage damages for loss of profits loss of customers loss of goodwill work stoppage data loss computer failure or malfunction claims by any party other than you or any and all similar damages or loss even if Soft Servo Systems Inc its suppliers or its agent has been advised of the possibility of such damages It is therefore necessary for any
47. LC USER S MANUAL sic la Chapter 4 Setting Up A Customized Sequence Program Emergency Stop HandWheel Interrupt Axis Selection J2 HandWheel Axis Selection G18 0 HS11B m 4 HandWheel Interrupt Axis Selection H g HandWheel Axis Selection J5 C HandWheel Interrupt Axis Selection X04 G41 2 HSic HR 7 HandWheel Axis Selection Figure 4 8 PLC Coding Example Ladder Diagram Format ldv 4 5 Coding Limitation Horizontal Ladder Length of a PLC Sequence Program There is a limitation to the horizontal ladder length in a PLC sequence program the ladder length cannot exceed 8 addresses This problem can occur when a series of AND type operations are repeated eight or more times on a single coil or when a certain number of AND type operations are combined with certain functions Two examples follow L 2 a 4 iS 6 sd sU Oo nNOS WN FE THIS COMPILES THIS DOES NOT COMPILE Figure 4 9 Example 1 of Horizontal Ladder Length Limitation 4 11 Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 4 Setting Up A Customized Sequence Program THIS COMPILES THIS DOES NOT COMPILE Figure 4 10 Example 2 of Horizontal Ladder Length Limitation YOU MUST BE AWARE OF THIS CODING LIMITATION IF YOU EXCEED THE LIMITATION OF 8 HORIZONTAL ADDRESSES YOUR PLC SEQUENCE PROGRAM WILL EITHER NOT COMPILE OR WILL NOT LOAD CORRECTLY 4 12 Soft Servo LADDERWORKS PLC USER S MANUAL oe Chapter
48. STOP Status The first time you run the PLC Control Screen utility the K edit T edit and C edit buttons may be disabled If these three buttons are ever disabled you can enable them by compiling the SwPLC table see Section 6 2 PLC Tables for Input Output Declaration and follow the procedure described in this section To exit the PLC Control Screen utility at any time click on the XJ button in the upper right hand corner 6 2 PLC Tables for Input Output Declaration One of the steps necessary to convert a sequence program into machine language is I O declaration After you define the specifications commands for the sequence program you need to create the interface settings In the I O interface setup table you assign each I O signal a name under six characters depending on the signal type LadderWorks PLC includes a default Sw_PLC tbl file with all the default I O mapping of X Y F and G addresses which upon installation sets up an initial set of default X Y F G K T and C address settings into the registry files of your computer See Chapter 2 Memory Addresses in the LadderWorks PLC Reference Manual for more information If you modify the Sw_PLC tbl file or the K edit T edit and C edit buttons in the PLC Control Screen utility are disabled you will need to compile your tables for PLC again as explained in the following steps 1 Click the Table setting button on the PLC Cont
49. Version of LadderWorks Console The regular version of LadderWorks Console can be thought of as an on line version that is tightly integrated with the ServoWorks CNC and SMP products offered by Soft Servo Systems Inc The regular version of LadderWorks Console has a Diagnostic Mode that displays the execution of a PLC sequence program by the LadderWorks PLC Engine The LadderWorks PLC Engine operates in the real time subspace created by Ardence s RTX and is completely integrated with either the ServoWorks CNC Engine or the SMP Motion Engine depending upon whether you are using a ServoWorks CNC product or an SMP general motion control product The LadderWorks PLC Engine and the ServoWorks CNC Engine SMP Motion Engine perform the critical functions necessary for motion control and are given the highest priority by the computer s CPU The off line version of LadderWorks Console can be thought of as strictly an editing application This version doesn t support the Ardence RTX Real Time Extension or any real time functions therefore the on line functions displaying real time PLC sequence code execution are disabled The PLC sequence program is displayed statically However this version can be very useful for creating and editing PLC sequence code programs on another computer a laptop for instance rather than the PC that will be controlling the motion and the machine using either a ServoWorks CNC or an SMP application 1 4 Soft Servo L
50. am WARNING This program it protected by copyright law and International treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and Will be prosecuted to the masimum extent possible under law Back Cancel Figure 3 4 Welcome to the DAO Setup Window 7 Click the Next button and the following window will appear select Components DAD can be installed with Jet andor ODBC rect components Select the components that you d like to install M Jet 3 5 W ODBCDirect Figure 3 5 Select Components Window 1 of 2 8 Click the Next button without changing any settings leave both Jet 3 5 and ODBC Direct checked and the following window will appear 3 4 Soft Servo LADDERWORKS PLC USER S MANUAL sien Chapter 3 Installing LadderWorks PLC and the LadderWorks Console Off Line Edition select Components Jet contains optional components for accessing additional data formats Select the optional formats that you d like to install I Excel Ie Paradox If Base I Lotus I Text and HTML M Exchange lt Back Cancel Figure 3 6 Select Components Window 2 of 2 9 Click the Next button without changing any settings select all the optional formats and the DAO software will automatically start installing The following dialog box will be displayed to show the progress of DAO installation Co
51. am and reuse the code or avoid those used addresses completely 12 4 Soft Serve SYSTEMS INC Ur DS T 4 Aak l een ET 4 6 E Ran i coc AE E E EEE A E 4 6 BET l E E E E 4 6 NAN TASS E EE 4 1 8 21 8 23 ATED IC e E aneveiGeanseareanmtens 4 2 4 4 61 a ne er 4 RTE onc aee E EEE EE EE 4 6 be E AE E E EA E E 4 6 od files opiidvccisisunicdaratwvciniaessdderalnraeeeaunentved s 4 5 8 23 EXAMPlE iver coat at anran a E 4 5 A Aadress SAC Cokes tears rat serce den E 7 1 DR STOMA T 8 3 11 3 address map for PLC sequence program A addresses and alarm numbers in the AlarmMsg dat file 7 2 address MUI DEL serrie RN 8 3 11 3 address of the Signal 11 6 addresses format in a ladder diagram 00000000000 8 3 11 3 signal letters in a ladder diagram 8 3 11 3 alarm message ecenscractvancsvectnecussdeactiendtuncreeawbocteecnene 7 1 alarm leE T 7 1 alarm number eee 7 1 AlarmMsg dat csscsececccccccceeceeeeessssseeeeeeeeees 7 1 alarms unspecified sss sese 7 4 Ardence s R TN 1 4 Compatibility 1SSUCS cseseeseeeeeeeeeeeeeeeeeeees 3 2 assembly code Omar sse esse 4 6 LN E O 1 6 automated tool changes see eee 1 6 automatic closing of LadderWorks Console 8 30 axis CON KO areren eee NEAN KENARA 1 1 1 6 B basic instruction SYMDOIS esssssseeeeeeeeeeeees 8 7 Gl BD Breer ee ene ie er en ener een ee AN 6 3 BINARY esaedee te adoceneesatice
52. available it appears grayed out What is going OT 12 3 12 10 Using G100 I am trying to move Axis 4 but cannot move However if I try to move Axis 5 I could move PASTS oe VY TA NO T 12 3 12 11 Through PLC using G10 and G11 I could only set up the value of the Jog Feedrate Override Manual Feedrate Override up to 24 576 mm min WhWY 12 3 12 12 We created a customized PLC sequence program for our ServoWorks CNC system but there are some input bits that are not stable After much checking we have changed to other inputs and now it works Please 15 1S ETT 12 4 List of Tables Table 1 1 Comparison of LadderWorks Console and the PLC Diagnose Utility esse sese 1 4 Table 1 2 Comparison of LadderWorks Console Off Line and On Line Versions ccccccccsseceeeeeeeeeeeeeeeeeeeeeees 1 5 Table 4 1 Comparison of lad and dv Fes sse 4 6 Table 4 2 PLC Coding Example Program Breakdown ccccccsssssssssseeseeeeeeceeeeeeeeeaaaeaaeeseeeseeeeeeeeeeeeeaaaaaaeanenes 4 10 Table 7 1 Address Map for PLC Sequence Program A Addresses and Alarm Numbers in the AlarmMsg dat File 7 2 Table 8 1 Signal Letters and Their Meanings sees eee eee 8 3 Table 8 2 Ladder Diagram Symbols for LadderWorks Console sss sese 8 4 Table 11 1 Signal Letters and Their Meanings sse eee eee eee 11 3 Table 11 2 Ladder Diagram Symbols for the PLC Diagnose Utility 1 Of 21 11 4 Table 11 3 Ladder Diagram Symbols for the PLC Diagnose Utility 2 Of 21
53. beling The relay junction will contain the name of the relay coil and either the line number or the address of the signal Symbol Name X Double click here to edit label X Double click here to edit address Symbol Address Figure 8 4 Format for Relay Junction Labeling in Ladder Diagrams 8 3 8 Hardware Based PLC Programming Compared to Software Based PLC Programming In a usual hardware based relay sequence circuit the number of relay junctions is limited so in order to minimize the number of relays relays are reused within the circuit G l Q Figure 8 5 Ladder Diagram Format for a Limited Number of Relays Soft Servo LADDERWORKS PLC USER S MANUAL asht Chapter 8 Using LadderWorks Console In the LadderWorks PLC Engine the number of relay junctions is not subject to the same hardware based limits so the ladder diagram 19 written with separate circuits separate lines of code separate rungs of the ladder diagram as shown in the following figure The logic expressed is the same as above but the ladder diagram PLC coding format is different i Rt A B Figure 8 6 Ladder Diagram Format for LadderWorks Console Software Based PLC 8 4 Opening Creating and Saving Ladder Diagrams To open a ladder diagram select Open from the File pull down menu as shown in the following figure Ladder 1 AES Edit View OnLine Help New Ctrl n Open Ctrl 0 Close Save CH LE save S Import Mn
54. cccccccccccccccccccccccccccccccccccccccccccccccccccescesesees 8 23 Figure 8 38 File Pull Down Menu for Generating Executable Binary Code sss esse 8 24 Figure 8 39 Save As Window for Saving the Binary Code FG 8 24 Figure 8 40 Message Window Showing a Successful Binary Generation eee eee 8 25 Figure 8 41 OnLine Pull Down Menu for Starting Diagnostic ModG ss sese 8 25 Figure 8 42 LadderWorks Console Diagnostic Mode sss sese 8 26 Figure 8 43 Edit Pull Down Menu for Disabling a Device sss 8 26 Figure 8 44 LadderWorks Console Disabled Device in Diagnostic Mod sese 8 27 Figure 8 45 OnLine Pull Down Menu for Overwriting a Component s Value sees eee eee eee 8 28 Figure 8 46 Online Overwrite Window eee eee eee 8 28 Figure 8 47 Confirm Closing Sequence Program Dialog BOX ee 8 29 Figure 8 48 File Pull Down Menu for Closing LadderWorks Console sss 8 29 Figure 8 49 LadderWorks Console Automatic Closing Dialog BOX 8 30 Figure 9 1 Bi Pattern W MINOW cucccccnatienscieaanecenenatenstloaaneas seat EEE EEOAE ESEE TORES EER ESE ENEE AA 9 1 Figure 9 2 Bi Paien Epl ingo einne noan EEEE EEOAE NOAE N E REEE EIEEE E VA 9 1 Figure 10 Time Chart Window sicce tensncceneccncaatenssicaanecemesatlemanioaaneonnesateistioaateisunstennieansdtcunnnanasanbaatdaundamesatemsnecaneonnesateane 10 1 Figure 11 1 PLC Diagnose Window sss 11 1 Figure 11 2 Module Selection Window sss sss sese 11 2 Figure 11 3 PLC Diagnose Window with Comments for an Exampl
55. cccccccccseccccccsscecessssseeeeeeeeececccacsuccecssseeeseseeceseeceaesneeceaasees 8 13 Figure 8 22 Modify Parameters by Double Clicking the Input Lines sss esse 8 14 Figure 8 23 Example Deleting a Component 8 15 Figure 8 24 Edit Pull Down Menu for Inserting Deleting ROWS eee 8 15 Figure 8 25 Edit Pull Down Menu for Exporting Mnemonic Code sss sese sese 8 16 Figure 8 26 Direction Dialog Box for Searching the Ladder Diagram c cc ececsssneeeeecececeeeeeeeeececeeeeeeeeeeeeeees 8 16 Figure 8 27 Selecting Print from the File Le 8 17 Figure 8 28 Selecting Ladder View Instruction List View or Register Address Map sss 8 17 Pisuire T Tnsruciion T LL 8 18 Figure 8 30 Register Address Map View ccccccsscccsssssssssssnnnnsscccccceceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeeeess 8 19 Figure 8 31 Insert Delete Drop Down Menu in Register Address Map View sss sese esse eee eee 8 20 Figure 8 32 New Address Pop Up Window for Inserting Addresses in the Registry sss sese 8 20 Figure 8 33 File Pull Down Menu for Importing the Existing Sequence Program Code cccccccceeeeeeeeeeseeeeeees 8 21 Figure 8 34 Open Window Selecting the Sequence Program File to Import sse 8 21 Figure 8 35 Ladder Diagram Imported From an Existing Sequence Program COdG sss eee eee eee 8 22 Figure 8 36 File Pull Down Menu for Exporting Mnemonic Code sss sese eee 8 23 Figure 8 37 Save As Window for Saving the mod File cccccccc
56. click on the Reload button You can use the Back and Forward buttons to scroll through the data Clicking on the First button displays the first page of data while clicking on the Last button displays the last page of data If you click on the Page button a Page Selection Window will appear similar to Figure 6 6 and you can scroll through all pages of data and select one by clicking on the OK button When you have finished setting up your data click on the OK button to save the settings Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 7 Setting Up Customized PLC Alarm Messages Chapter 7 Setting Up Customized PLC Alarm Messages 7 1 Overview You can customize PLC alarm messages to be displayed in the GUI of ServoWorks CNC and SMP general motion control applications There are two steps to customizing PLC alarm messages for your PLC sequence program 1 Modify the AlarmMsg dat file 2 Modify the PLC sequence program 7 2 Modifying the AlarmMsg dat file There is a default AlarmMsg dat file automatically installed in the directory C Program Files SoftServo application in1 where application varies depending upon the Soft Servo Systems application you are running SMP850 MC Quad S 140M etc You can double click to edit this file in Notepad The contents of the default unmodified file are shown in the following figure
57. contact signals SMP Motion Engine Input signal from the machine tool Relay coil used only inside the LadderWorks PLC Engine for an internal variable Relay coil that is output to the ServoWorks CNC Engine coils SMP Motion Engine Relay coil that is output to the machine tool Table 11 2 Ladder Diagram Symbols for the PLC Diagnose Utility 1 of 2 11 4 Soft Servo LADDERWORKS PLC USER S MANUAL EIEN Chapter 11 Verifying Sequence Programs Using the LadderWorks PLC Diagnose Utili Functional command of the LadderWorks PLC language Symbols differ slightly depending on the kind of functional command Left vertical power rail Right vertical power rail Horizontal line connection Vertical line connection Table 11 3 Ladder Diagram Symbols for the PLC Diagnose Utility 2 of 2 11 3 6 Rungs Rows The ladder diagram is composed of rows or rungs NOTE Refer to Section 4 5 Coding Limitation Horizontal Ladder Length of a PLC Sequence Program for limitations on horizontal ladder length m m m m m l e Rung or row 7 e e m er er ef eX eM eM eM MX PF Power line Coll Contact point signal junction or relay Figure 11 5 Ladder Diagram Rows 11 5 Soft Servo LADDERWORKS PLC USER S MANUAL SIE HE Chapter 11 Verifying Sequence Programs Using the LadderWorks PLC Diagnose Utili 11 3 7 Relay Junction Labeling Th
58. d PLC Diagnose utility 1 3 1 4 regular and off line versions of LadderWorks CONSOLE ican a Ne 1 5 compatibility issues of Ardence RTX 3 2 Compile button esse eee eee 5 3 Compile execute button eee 5 3 compiling a Ladder Diagram LD sequence program 8 24 a sequence program two methods 5 1 an Instruction List IL sequence program with the PLC Control Screen un sss sese eee 5 1 SEQUENCE PFOPTAMS cceeeeees 1 1 1 3 4 1 4 5 your tables TOP PLC scianie iiinis 6 2 components included with LadderWorks PLC 1 1 contact point OO 8 8 GOUIE eeo 6 1 8 3 11 3 BE STET 6 6 creating lad and mod files from ladder diagram TOW EAU cose cercttosnetaceaacscacetea E 4 5 creating lad files in text IL Tomat 4 creating ladder diagrams cccccccsesseeeeeeees 8 6 8 7 Soft Servo SYSTEMS INC CTR counter functional command eee 6 6 CTRC counter functional command 0 6 6 Customized application sse eee 12 2 customized PLC alarm messages sss 7 1 customized PLC sequence program eee 4 Customized sequence programs ssseeeseeeeeeees 1 2 Cut and Copy tools in LadderWorks Console 8 10 cutting and pasting components 0eeeeees 8 10 OCS E O TE TE E E 2 2 D D address settings ocassassccancednensdinasowsdeonessadeeenaieonces 6 7 Doa e O anciwesneetaeas 8 3 11 3 Pibe DUO en aseenee asecnee cance ee ecco 6 7 DAO softwar
59. dderWorks PLC will populate the data table 6 6 2 Using the PLC Control Screen to Enter Data in the Data Table 6 6 2 1 Adding or Deleting Data To create a default data table click the D table button in the PLC Control Screen utility and the following window will appear PLC data table setting screen Table list Edit table to be added First address D o Number of making 1 Data type BINARY DOOOO BIN BYTE t BCD Data size Y ibyte length BYTE oe C Zbyte length WORD OF f 4byte length D WORD Comment Max 20 letters Cancel Figure 6 9 PLC Data Table Setting Screen Enter the address data type data size and comment in the Edit table to be added frame and use the lt Add button to add data Or select data from the Table list box and use the Delete gt button to delete data 6 6 2 2 Editing Data To edit the data table without adding or deleting data items click the D edit button in the PLC Control Screen utility Figure 6 2 and the following window will appear LADDERWORKS PLC USER S MANUAL SEATER AN Chapter 6 Using the PLC Control Screen Utility to Set Up Tables for PLC Edit Data Table Page01 fx OK Reload First Last Page DE Back Forward G poeeINeYTE T DOUSBINBYIE T DoUbBINOYTE T porewevte T DoOUeBINBYTE T poseNeYTE T porone T Figure 6 10 PLC Edit Data Table Screen To set all data back to 0
60. ddress F G X or Y data o PLC Time Chart Utility for showing the history of specified bit signals in any signal address to aid in debugging PLC sequence programs NOTES 1 The LadderWorks PLC software includes the LadderWorks PLC Engine You must run LadderWorks PLC in conjunction with a ServoWorks CNC product or an SMP product in order to run the LadderWorks PLC Engine However you can use LadderWorks Console by itself to create and edit sequence programs without running executing a ServoWorks CNC product or an SMP product 2 PLC axes are available for ServoWorks S 120M ServoWorks S 140M ServoWorks S 200M and SMP products only Refer to Chapter 4 LadderWorks PLC Axis Control in the LadderWorks PLC Reference Manual for more information l 1 Soft Serve LADDERWORKS PLC USER S MANUAL 1 2 LadderWorks PLC File Structure The LadderWorks PLC files are installed in the following folders E Desktop My Documents E 4 My Computer ER a C 2 3 Program Files 2 C1 SoftServo O LadderVu ors L LadderWorksConsole exe Swill EF swpl397 mdb SwPlcDIl dll S C3 SwPie Tes Document Z pic X Table txt 2 pic Y Table txt SYSTEMS INC Chapter 1 LadderWorks PLC Product Overview Ladder R SoftServo_M bin Default sequence programs the lad and mod files are R SoftServo_M div copied during the installation of LadderWorks PLC The S SoftServo_M fig bin div fig and lst files are created during the installation
61. displayed to comment each relay coil and signal in the sequence program 8 3 5 Symbols The ladder diagram utilizes the following symbols RD for an internal variable an input signal from the ServoWorks CNC Engine SMP Motion Engine or an input signal from the machine tool RD NOT for an internal variable an input signal from the SservoWorks CNC Engine SMP Motion Engine or an input signal from the machine tool WRT for a relay coil for an internal variable for a relay coil that is output to the ServoWorks CNC Engine SMP Motion Engine or a relay coil that is output to the machine tool WRT NOT for a relay coil for an internal variable for a relay coil that is output to the ServoWorks CNC Engine SMP Motion Engine or a relay coil that is output to the machine tool AND Functional command of the LadderWorks PLC language Symbols differ slightly depending on the kind of functional command Left vertical power rail Right vertical power rail Horizontal line connection Vertical line connection Table 8 2 Ladder Diagram Symbols for LadderWorks Console LADDERWORKS PLC USER S MANUAL Soft Servo Chapter 8 Using LadderWorks Console SYSTEMS INC 8 3 6 Rungs Rows The ladder diagram is composed of rows or rungs i e Rung or row 7 m e M Power line Coil Contact point signal junction or relay Figure 8 3 Ladder Diagram Rows 8 3 7 Relay Junction La
62. e Module sss 11 2 Figure 11 4 Format for an Address in a Ladder Diagram sss 11 3 Figure 11 5 Ladder Diagrami ROW Sersicisirisiioneriiorinnaa nn a aaiae 11 5 Figure 11 6 Format for Relay Junction Labeling in Ladder DIagramS s sss 11 6 Figure 11 7 Ladder Diagram Format for a Limited Number of Reas 11 6 Figure 11 8 Ladder Diagram Format for the Software Based PLC Diagnose Utility sss sese 11 6 Figure 11 9 Changing the Comment Display sss esse 11 7 Figure 11 10 PLC Diagnose Window Without Comments for an Example Sequence Programes sees eee 11 7 Figure 11 11 PLC Diagnose Search Window sese 11 8 Figure 11 12 Selecting Exit from the Display Pull Down Menu sss eee eee eee eee eee eee 11 8 VI Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 1 LadderWorks PLC Product Overview Chapter 1 LadderWorks PLC Product Overview 1 1 Components Included with LadderWorks PLC LadderWorks PLC is an independent programmable logic control PLC package that is included with and integrated with all of Soft Servo Systems SMP general motion control products and all ServoWorks CNC products LadderWorks PLC includes e The LadderWorks PLC Engine a real time soft PLC module that executes PLC sequence programs in binary format NOTE the LadderWorks PLC Engine only executes in conjunction with the soft Motion Engine of a ServoWorks CNC product or an SMP product because the LadderWorks PLC Engine is seamlessl
63. e installation sss sese 3 3 CS IC E 8 26 data TOD eE 8 3 11 3 data table addresses sse 6 7 data table setting Screen eee eee eee 6 7 debugging sequence DORRAS esse eee eee e 4 2 11 1 default AlarmMsg dat HIG sss sese 7 1 default I O mapping of X Y F and G addresses 6 2 default sequence programs c00 1 2 4 2 5 3 default Settings eee eee 12 1 delte TOON anan Za Sanaa EAAS 8 10 deleting basic instruction and function block components in LadderWorks Console 8 14 deleting components ccccceceeeceeeeeeeeseeeeeeees 8 10 deleting TOWS eee eee eee eee 8 16 description Of PLC 2 1 description of the sequence program 0066 4 diagnosing problems sss eee eee eee 8 27 Diagnostic Mode sss 1 4 8 25 Diagnostic Mode option isn t available it appears prayed OU Cas cas tapeccrcatieNncuanidastelcantinceackeanpeoseetenwaut 12 3 difference between the lad and ldv file types 4 6 Direction Dialog BOX 8 16 disable the pulse generator 12 2 disabling devices esse sese 8 26 display size of an address sese 8 8 documentation sss sese eee 1 6 drawing a line rail esse eee eee eee 8 8 E Edit Counter WindowW cccccccssscsssssssseseeeeeeeeeees 6 6 Edit Data Table Screen sese 6 8 Edit Keep Relay Window sss sese 6 4 Edit table to be added frame sss sese sees 6 7 Edit Timer W1mdOW sees 6 5 editing data table addresses sese 6 7 editing ladder diagra
64. e relay junction will contain the name of the relay coil and either the line number or the address of the signal Symbol Name Symbol Address Figure 11 6 Format for Relay Junction Labeling in Ladder Diagrams 11 3 8 Hardware Based PLC Programming Compared to Software Based PLC Programming In a usual hardware based relay sequence circuit the number of relay junctions is limited so in order to minimize the number of relays relays are reused within the circuit as Figure 11 7 Ladder Diagram Format for a Limited Number of Relays In the LadderWorks PLC Engine the number of relay junctions is not subject to the same hardware based limits so the ladder diagram is written with separate circuits separate lines of code separate rungs of the ladder diagram as shown in the following figure The logic expressed is the same as above but the ladder diagram PLC coding format is different i Rt A B Figure 11 8 Ladder Diagram Format for the Software Based PLC Diagnose Utility 11 6 LADDERWORKS PLC USER S MANUAL Chapter 11 Verifying Sequence Programs Using the LadderWorks PLC Diagnose Utili 11 4 Changing the Display of the PLC Diagnose Utility You can click on the BI symbol in the upper right hand corner of the window to maximize the window or use the scroll bar to scroll through the complete display You can also click on Display from the menu and uncheck the Comment display as shown in the following figure
65. ecessenaecuianeaeeanaesbessianeaseneness 6 3 binary execution leS sss eee eee eee 1 1 4 6 binary format esse sese eee eee 4 bit number 8 3 11 3 bit pattern display sese 1 1 Bit Pattern Window sese 9 1 DIE PACTS ecrans E ERE 9 1 DIa Ke or eira E E ee ceenteee 12 1 LADDERWORKS PLC USER S MANUAL Index C C edit DUON eens seca cue A E 6 2 6 6 ETT sesser ieie neiden a eneen 8 3 11 3 can t stop PLC with the PLC Control Screen utility ETE E T AET A A 12 2 changing between the Ladder Diagram View and the Instruction List View eee 8 17 changing component values while monitoring sequence programs esse cc e eee eee 8 27 changing the display of the PLC Diagnose utility 11 7 CVG AE DUMON sas cnt aa an ET a Too ETS na 10 1 closing a SEQUENCE DYORTam eee eee eee eee eee eee 8 29 closing LadderWorks Console automatically 8 30 CNC ENDING ct e TRER 1 1 1 4 2 1 CACO IUC ks eee nee ene eee creer rer ene eee 1 1 coding CONV CHUON iri sosesaiiis downpioasdasidacmesseticentinOtonns 4 9 coding limitation horizontal ladder length of a PLC SEQUENCES DEO STAM asirar ren e inr 4 11 Col a E E E E 8 9 COMIMENE d Cs a erse 8 26 COMMIS EC OC esate ses acters ences core teeee acters 4 Comment display asserena 11 7 CODED TOO lerine E TEE 8 9 comments in a ladder diagram sss sese eee 8 4 11 4 comparison between lad and ldv file types 0000008 4 6 LadderWorks Console and PLC Control Screen S e 1 3 LadderWorks Console an
66. eet the necessary PC hardware and operating system requirements and have installed the necessary operating system patches for your OS NOTE The Microsoft Windows 2000 operating system requires Service Pack 1 for Ardence s real time extension to function properly No service pack is required for Windows XP The previously listed setup manuals will guide you through this Also there are two known compatibility issues with Ardence s RTX Physical Address Extension enabled and incompatible HAL type each of which can be easily resolved by changing the settings on your computer You should read the setup and installation manual for the ServoWorks CNC product or SMP product and the appropriate servo interface platform to see if either issue applies to you and take the steps outlined to resolve the issue if necessary 3 3 Finishing Your LadderWorks PLC Setup Compiling a PLC Sequence Program In order to finish your setup for your ServoWorks CNC or SMP product you must compile a customized sequence program specifically for your machine This is explained in Chapter 5 Compiling an Instruction List IL Sequence Program with the PLC Control Screen Utility and Section 7 12 Compiling a Ladder Diagram LD Sequence Program Generating Executable Binary Code bin fig lad lst and mod Files for LadderWorks Console 3 4 LadderWorks Console Off Line Version Installation Procedure The off line version needs to be installed separately on a s
67. emonic Code Export Mnemonic Code Generate Binary Code Print Ctrl F Print Setup Exit Figure 8 7 File Pull Down Menu for Opening The following Open window will appear locate the desired ldv file and click the Open button in the dialog window to open the ladder diagram file Look in C3 Ladder ka File name Files of type LadderView Files dv Cancel Figure 8 8 Open the Ladder Diagram ldv File Soft Serve LADDERWORKS PLC USER S MANUAL SYSTEMS INC SYSTEMS Chapter 8 Using LadderWorks Console To create a new ladder diagram sequence program at any time select New from the File pull down menu shown in Figure 8 7 The ladder diagram display area will clear You should then save this empty file with a new name before you create your new sequence program To save a ladder diagram follow a similar procedure to opening a ladder diagram Select Save or Save as from the File pull down menu shown in Figure 8 7 A Save As window will appear similar to the window shown in Figure 8 8 type in a file name for your sequence program The ladder diagram should be saved in the selected directory with the file extension ldv for example test01 ldv Click the Save button in the dialog window to save the ladder diagram file 8 5 Creating and Editing Ladder Diagrams NOTE Refer to Section 4 5 Coding Limitation Horizontal Ladder Length of a PLC Se
68. ence program code that exists in Instruction List IL format select Import Mnemonic Code from the File pull down menu as shown in the following figure Ladder 1 a8 Edit View Mew CHAN OnLine Help Open Cirl o Close Save Ctrl s Save As Import Mnemonic Code Export Mnemonic Code Generate Binary Code Print Ctrl P Print Setup Exit Figure 8 33 File Pull Down Menu for Importing the Existing Sequence Program Code An Open window will appear as shown below locate and select the desired lad file containing the PLC sequence program code and click the Open button Look in C3 Ladder E Soft5ervo_M bin E Soft5ervo_T bin E Soft5ervo_M div Ej SoftServo_T div E Soft5ervo_M fig SoftServoa_T fig IS SoftServo_M lad S SoftServo_T lad E Soft5ervo_M lst Soft5ervo_T lst D SoftServa_M mod S SoftServo_T mod t im gt File name SottServa_MJad Files of type Mnemonic Code 7 Cancel Open as read only Figure 8 34 Open Window Selecting the Sequence Program File to Import The ladder diagram corresponding to the selected sequence program code will appear in LadderWorks Console Ladder View if the importing is successful as shown in the following figure 8 21 Soft Servo SYSTEMS INC LADDERWORKS PLC USER S MANUAL Chapter 8 Using LadderWorks Console Ladder 1 File Edit View OnLine Help DER osm 2 Z JL C Xk 7 WR paian map
69. ensions SoftServo_O lad SoftServo_O bin SoftServo_0 div SoftServo_0 fig and SoftServo_0 Ist 4 2 4 Creating lad and mod Files From a Ladder Diagram Format Sequence Program You can create lad and mod sequence program files in Instruction List text format from ladder diagram format sequence programs with LadderWorks Console See Section 7 11 Exporting PLC Sequence Program Code in Instruction List IL Format mod and lad Files for more information Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 4 Setting Up A Customized Sequence Program 4 2 5 bin Files div Files fig Files and lst Files These files are automatically generated in the same folder as the lad and mod files when you compile the mod file The bin file is the binary file for execution The div file contains the module divide table The fig table is the file used for real time ladder diagram display for LadderWorks Console or the PLC Diagnose utility The Ist file has the assembly code format and machine codes 4 2 6 ldv Files The ldv file type is a graphical file type containing ladder diagram format graphical information that is used by LadderWorks Console This is the main format used by LadderWorks Console 4 2 7 What is the Difference Between the lad and Idv Files The lad and Idv file types are inter compatible formats summarized as follows File Type Data Type PLC Format instruction List 1L graphical Ladder
70. ensiveversnatanen 12 1 SwPLC_Diagnose_Color reg ccccccccecceeeseeenees 12 1 Sw P k oeie 12 1 swplclink_service_install bat eee 12 1 swplclink_service_remove bat 12 1 symbol address sese eee 8 5 11 6 symbol nanmG sse eee 8 5 11 6 symbols in a ladder diagram 8 4 11 4 11 5 symbols in LadderWorks Console 00006 8 4 symbols in the PLC Diagnose utility 11 4 LADDERWORKS PLC USER S MANUAL Index T 9 C2 9 DUO T 6 2 6 5 t NTT E E E 8 3 11 3 Table file text DOR eniyrirenn e 6 3 Table setting button sese eee eee 6 2 tables setting up esse eee eee eee 6 2 UALS RE RT nseepeeteaeecuseeseone 4 2 ET 4 Time Chart WindoW sese 10 1 time Charts cccceceeeeceecceccecceccescccescesceeees 1 1 10 1 Ske E A E 2 2 6 1 SCO U E 6 5 TMRC command for PLC didn t work 122 troubleshooting sss sees eee eee 12 1 U unique PLC sequence program cssseeeeeeees 4 1 unspecified PLC alarms c cscseeeeeeeeeeeeeeeees 7 4 using the Coil OO 8 9 using the comment OOs eee 8 9 using the contact point oO 8 8 using the delete tool to delete components 8 10 using the LadderWorks PLC Diagnose utility 11 1 using the line drawing tOO 8 8 Using the NOT olcen 8 11 using the OR ool 8 11 using the PLC Bit Pattern utility 9 1 using the PLC Control Screen Utility to set up tables a o E 6 1 using the PLC Time Chart utility 1
71. ents 0022 Se sA R 6 7 Chapter 7 Setting Up Customized PLC Alarm Messages sssssisssisrosrosrosnosnnsnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnannnnnnnnnnnnnnnnnnnnnnnnnnnnnana 7 1 Tl SOR VC Wa E anbatiqsiaeqsastinensiasaccapaacadustaqscaseoin H H E E 7 1 7 2 Modifying the AlarmMsg dat lG 7 1 7 3 Modifying the PLC Sequence Program to Write to the A Address Space eee 7 1 T4 Unspecined NE e IS eerren e a E esa laine a agent E a a Ena EEA E AEAEE 7 4 Chapter 8 Using LadderWorks CONSO liisi 8 1 8 1 What You Can Do With LadderWorks COonSOl eee 8 1 8 2 Starting Ladder W OrkS Console wus cscsiasinnseddacduccue sda midbus tabateaesadinibesebescubsosevtbacsanhdnecddeteducdauidenlidanthacduatdnusdbemedotans 8 2 8 3 The Ladder Diagram Format Interpreting the Ladder Diagram sese 8 2 Sil VEE VIEW E E A E E E A E EA E E A TT 8 2 S A S a E E E 8 3 a N E e E E E E E 8 3 RRR ST 8 4 pM TT 8 4 ss Oa US T 8 5 Oe ee ey A lO Earn 8 5 8 3 8 Hardware Based PLC Programming Compared to Software Based PLC Programming sss sese 8 5 8 4 Opening Creating and Saving Ladder DiagranmS sss sese sss 8 6 8 5 Creating and Editing Ladder Diagrams ccsssssssseeeeeccecceeeceeeeecaasessssseeeeeeceeeeeeeeeeaaaaasssssseeeeeeeeeeeeeeeaqags 8 7 3 3 1 Jigen eB asic ns OC le AT R asiria E n ates EEE emcee aan ae ape E dence 8 7 oe DM IO hice kis Pere te eer eee ee eer een ern er ner E rT H er ere 8 7 R eg Ucimo he kne Drawno 0 0 nee ne mee nee emer EE
72. ents the PLC sequence program in Instruction List Format and converts it to an executable binary format so that it can be executed by the LadderWorks PLC Engine Because you will most likely be creating sequence programs with LadderWorks Console it will probably be more convenient to compile your sequence program with LadderWorks Console One way to create a sequence program is to write PLC code in Instruction List IL Format using a text editor Any text editor or word processor can be used to create a sequence program That text file should then be saved as a lad file the sequence program must be a text file with a lad extension The default lad file that comes with LadderWorks PLC needs to be modified or replaced with a sequence program that is customized for your machine A lad file must have 3 for the first line and for the last line Comments can be included in sequence programs by beginning a line with or Comments must be on separate lines Each command should be on a separate line Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 4 Setting Up A Customized Sequence Program NOTE Any lines starting with tabs in a sequence program are ignored You can view the PLC code of your sequence program that you wrote in IL text format in a ladder diagram format to verify and debug your sequence program using LadderWorks Console described in Chapter 7 Using LadderWorks Conso
73. epad file with installation information We recommend that you print out this file for reference during the installation procedure and for future reference Exit the Notepad application to continue 4 Inthe Welcome to LadderWorks Console window Figure 3 1 click on the LadderWorks Console Off Line Edition button the LadderWorks Console off line edition will install automatically then the following window will appear LadderWorks Install LadderWorks has been installed successfully Please Click OK to install DAO package Figure 3 2 LadderWorks Install Dialog Box 5 You must install the DAO package for LadderWorks Console Click the OK button to start the installation and the following dialog box will appear i Setup i preparing the InstallShield Wizard which will guide wou through the application setup process Please wait 100 26 Figure 3 3 Setup Dialog Box 3 3 LADDERWORKS PLC USER S MANUAL PREN Chapter 3 Installing LadderWorks PLC and the LadderWorks Console Off Line Edition 6 When the InstallShield Wizard has been set up which happens automatically the following window will appear Welcome to the DAO Setup program This program will install DADO on your computer lk is strongly recommended that you exit all Windows programs before running this Setup program Click Cancel to quit Setup and then close any programs you have running Click Nest to continue with the Setup progr
74. eparate computer than the computer on which the entire LadderWorks PLC product is installed The following steps will guide you through installing your LadderWorks Console Off Line application 1 Close all running applications 2 Place the Soft Servo Systems Inc CD ROM in the CD ROM drive The installation software will start automatically and the Welcome to LadderWorks Console window will appear as shown in the following figure NOTE If the Welcome to LadderWorks Console window doesn t appear automatically click on LadderWorks_Install exe and a window similar to the following will appear 3 2 Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 3 Installing LadderWorks PLC and the LadderWorks Console Off Line Edition Welcome to Ladder orks Console CHi Line LadderWorks Console Edition Welcome to Laddervforks Console Off Line Edition This program allows you to install Laddervorks Console Off Line Edition on your computer 5 x l Please check the ReadMe document before Soft Servo Installation which provides you with briet and l SYSTEMS INC necessary instructions Brief information about Read Me installation Install L ader orks Console Off Line Edition Exit Evit this program Figure 3 1 Welcome to LadderWorks Console Window Off Line Edition 3 Inthe Welcome to LadderWorks Console window above click on the Read Me button This will open up a Not
75. er Diagram Format for LadderWorks Console Software Based PLC 8 6 Prone 8 7 File Pull Down Men fort Cpt Os sadtpss sea diseased vaashasten oanien a nard E eaa aaea 8 6 Figure 8 8 Open the Ladder Diagram dv File seene 8 6 Figure 8 9 symbols tor Creatine PLC Components aoset 5x ziaza yz 29s ZOE 29T tncdennenoniaedibacectadona tones TYRE 8 7 Figure 8 10 Beginning Point of Horizontal Line Connection sese esse eee eee e eee eee eee 8 8 Figure 8 11 Completed Horizontal Line Connection esse esse eee eee eee 8 8 VI Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Contents Figure 8 12 Entering the Address for a Contact Pont e 8 8 Figure 8 13 Normal Display Size of the Input Label sss esse eee 8 8 Fig re 8 14 Entering a Comment x soxstocavecaccencocadnesacnaceancanedesbaentaeagaanaboosaanascsnnaneoeseeenaeeanacnbbosdeatsnaeseadonaanaatsanesaenesaanans 8 9 Fig re 8 15 Completed COmMent T 8 9 Figure 8 16 Drop Down Menu Available in Ladder Diagram Upon Right Clicking cccceeeeeeeeeeeees 8 10 Figure 8 17 Cut and Copy Tools in the Main Toolbar sss sss 8 10 Figure 8 18 Function Block Components Pull Down Menu sss eee ee eee 8 12 Figure 8 19 PLC Function Parameters Input Box Entering Parameter Values cccccccccccccccceceeeeeeeeeeeeeeeeees 8 13 Figure 8 20 PLC Function Parameters Input Box Selecting Parameter Name sese eee eee eee eee eee eee 8 13 Figure 8 21 Parameter Setting Error Message c
76. es 1 1 documentation sss sese eee 1 6 MLS NTT ove sciceonenantnantcenasadoceuavatenocsannaearesedine 1 2 integration in VersioBus interface system 2 1 LadderWorks PLC Diagnose utility 11 1 LadderWorks PLC Engine sese eee 1 1 1 4 2 1 integration within the ServoWorks system 2 1 LadderWorks PLC installation sss sss eee eee 3 1 LadderWorks PLC Reference Manual 6 2 6 7 LD ree 4 legacy software products cc eee 1 1 1 3 11 1 limitation horizontal ladder length of a PLC SEQUENCE programi sisiran ineca 4 11 limited number of relay junctions 8 5 11 6 line drawing TOO seaascceancvsssccensrcdaantesecsensnraccersiesmarves 8 8 Mie ATCT O 11 6 M machine es T 4 6 machine inputs and outputs sss ee eee 2 1 main toolbar of LadderWorks Console 8 7 manual feedrate override restrictions 0 12 3 TDAH GIS osaan naar ENA SEESE 1 6 maximum horizontal ladder length of a PLC sequence program eee ee eee 4 1 maximum number of characters for comments 8 4 11 4 TTT 7 1 modifying basic instruction and function block components in LadderWorks Console 8 14 Module definite file name sese 5 3 module divide able 4 6 module Tes evenin En EEEN ENR 4 5 Module selection cccceecceeccssccsscesescessceessees 11 2 Module Selection Window sese 11 2 monitoring PLC in Diagnostic Mode 8 25 Motion Engine
77. format sequence programs e Export PLC sequence programs in Instruction List text format according to the ladder diagram e Generate compile executable binary code according to the ladder diagram sequence code e Verify and monitor PLC by viewing the execution of sequence programs in Diagnostic Mode signal values are shown with different colors e Force component values while monitoring sequence programs helpful in diagnosing problems during machine setup and integration All of these functions are explained in this chapter All the screen shots in this chapter are taken on a Windows XP computer the operating procedure in Windows 2000 is very similar LADDERWORKS PLC USER S MANUAL SETEM INE Chapter 8 Using LadderWorks Console Soft Servo 8 2 Starting LadderWorks Console d Start LadderWorks Console by double clicking the Mke Et icon on the desktop or by double clicking LadderWorksConsole exe in the directory C Program Files SoftServo LadderWorks LadderWorksConsole exe The application window will appear as shown in the following figure Main toolbar Ladder 1 Fie Edit View OnLine Help D W o m a4 Instruction List View cD Register Address Map Figure 8 1 LadderWorks Console Main Window 8 3 The Ladder Diagram Format Interpreting the Ladder Diagram 8 3 1 Overview The ladder diagram is interpreted by you There is a set of consistent symbols described below The ladder diagram
78. grayed out What is going on It could be one of three things 1 Are you using the On Line version of LadderWorks Console on a PC on which Ardence RTX is not installed Ardence RTX must be properly installed before the LadderWorks Console On Line version 19 installed 2 Are you using the On Line version of LadderWorks Console on a PC that has no adapter card installed An adapter board for VersioBus Panasonic Realtime Express RTEX MECHATROLINK or SSCNET must be installed 3 Is your ServoWorks CNC or SMP software compatible with LadderWorks Console See page 1 2 for compatibility requirements 12 10 Using G100 am trying to move Axis 4 but cannot move However if I try to move Axis 5 could move Axis 4 What s going on Please refer to Table 4 10 on page 4 6 of the LadderWorks PLC I O Mapping for ServoWorks MC Quad and the ServoWorks S 100M Series 12 11 Through PLC using G10 and G11 could only set up the value of the Jog Feedrate Override Manual Feedrate Override up to 24 576 mm min Why The value of Jog Override faces restrictions on Feedrate according to the following parameters 1 Jog Feedrate Override mm min or deg min under Spindle Tab in Config 2 Rapid Override mm min or deg min under Spindle Tab in Config 3 Rated Velocity RPM Motor Drive Tab in Config 4 Peak Velocity RPM Motor Drive Tab in Config 5 Distance Per Encoder Revolution mm or deg Axis Control Tab in Config Suppose for
79. hapter 11 Verifying Sequence Programs Using the LadderWorks PLC Diagnose Utili Chapter 11 Verifying Sequence Programs Using the LadderWorks PLC Diagnose Utility 11 1 Overview of the PLC Diagnose Utility This utility shows the status of an executing PLC sequence program as a ladder diagram circuit in real time By monitoring the real time status of contacts you can verify that you have properly set up your PLC sequence program for your machine The PLC Diagnose utility only displays the currently executing sequence program You cannot choose which sequence program to display in ladder diagram format NOTE The PLC Diagnose utility is legacy software Its use is explained here for completeness since it is still included in LadderWorks PLC However we recommend using the more functional LadderWorks Console explained in Chapter 7 Using LadderWorks Console which not only allows you to monitor real time execution of your PLC sequence program but also to create import edit compile and print sequence programs 11 2 Using the PLC Diagnose Utility The following steps will guide you in using the LadderWorks PLC Diagnose utility 1 Start the PLC Diagnose utility by double clicking on the FF swPLC_DIAGNOSE exe file in C SwPLC You will see the PLC Diagnose window shown in the following figure PLC diagnose Display Module selection Search Figure 11 1 PLC Diagnose Window 11 1 Soft Servo LADDERWORKS PLC USER S MANUAL
80. he bit pattern 11101110 as shown In this case the data is showing from the left side 11110 x12 7 x12 6 x12 5 x12 4 x12 3 x12 2 x12 1 x12 0 Figure 9 2 Bit Pattern Explanation Therefore the ON bits are the following six values x12 7 x12 6 x12 5 x12 3 x12 2 and x12 1 Soft Servo LADDERWORKS PLC USER S MANUAL anaa Chapter 10 Using the PLC Time Chart Utili Chapter 10 Using the PLC Time Chart Utility The PLC Time Chart Utility can show PLC internal data as a time chart Start the PLC Time Chart utility by double clicking on the Fe swPLC_TIME_CHART exe file in C SwPLC You will see the PLC Time Chart window shown in the following figure TimeChart F370 4 mes G 20ms C 40ms E one Cc 200ms 500ms C 1000ms _Start_ a Figure 10 1 Time Chart Window The following steps will guide you in using the PLC Time Chart Utility 1 Input the address es for which you need to see the status 2 At the right side of the window set up the sampling interval by selecting the time in milliseconds 3 Click on the Start button and you will see the ON OFF status in the center of the screen During the sampling you can change the sampling intervals by changing interval time 4 Click on the Stop button to stop the sampling At any time you can click on the Clear button to clear the window and delete the graph s 10 1 Soft Servo LADDERWORKS PLC USER S MANUAL daia C
81. i L n Pi 4L E PL l GEU 2 am Roo Gito H3 4 4 4 E 4 1301 RL 4 4 4 4 4 SBS 4 GiFh 15 a Giths hG E 4 Gi3h4 ti 4 4 13 IF 4 4 4 fos 4 Glin 1 Bata Gish x 17 0 FP 10 0 Fii 4 x 17 1 R10 1 Rti i l I 205 y 261 NUN dN Figure 8 44 LadderWorks Console Disabled Device in Diagnostic Mode You can select and enable a disabled device in the same way 8 13 4 Forcing Component Values While Monitoring Sequence Programs LadderWorks Console allows you to force component values while monitoring sequence programs This is helpful in diagnosing problems during machine setup and integration When you overwrite a value for an F R or D address the LadderWorks PLC Engine stops reading the real value and substitutes the overwritten value NOTE This feature is only available for F R and D addresses To force a value for a component and see its effect on PLC sequence program execution select Overwrite from the OnLine pull down menu as shown in the following figure 8 27 Soft Servo LADDERWORKS PLC USER S MANUAL aii Chapter 8 Using LadderWorks Console Ladder 1 File Edit View fei Help Restart Oo TRS T agg I Figure 8 45 OnLine Pull Down Menu for Overwriting a Component s Value An Online Overwrite window ap
82. ile Idv Export mnemonic code PLC Control Generate binary code Screen Utility SEI Ie Ie Ie PLC Table Setting Screen Ladder Module Instruction List Figure Data Compile Data a 1 Execution File Definition File IL Sequence File fig File Ist bin mod Program File lad Declares the Bit formats symbols Information Read on i start up and comments for each address PC System LadderWorks Registry PLC Engine Figure 4 6 Sequence Program Setup Procedure with LadderWorks Console Soft Servo LADDERWORKS PLC USER S MANUAL se ii ain Chapter 4 Setting Up A Customized Sequence Program 4 4 Coding Convention PLC commands make up your sequence program and represent the specifications of your machine Writing PLC commands in Instruction List IL format or creating PLC commands in Ladder Diagram LD format is called coding An example of PLC code and the corresponding ladder diagram is shown in Figures 4 7 and 4 8 and Table 4 1 E Stop using HandWheel E Stop input RD X0 0 WRT G8 4 Handwheel axis selection RD X1 OR X03 G41 0 G18 0 X0 2 Kan G41 1 G18 1 X0 4 G41 2 EE Figure 4 7 PLC Coding Example Instruction List Format lad Soft Servo LADDERWORKS PLC USER S MANUAL Chapter 4 Setting Up A Customized Sequence Program Address Bit ee SYSTEMS INC O Table 4 2 PLC Coding Example Program Breakdown 4 10 Soft Servo LADDERWORKS P
83. ing a letter the address ranges vary for each signal Figure 11 4 Format for an Address in a Ladder Diagram There is always a letter of the alphabet in front of the address number to indicate the kind of signal it is See the following table for letters used and their meanings Signal Letter Signal Description Input signal from the machine to the LadderWorks PLC Engine MT PLC Output signal from the LadderWorks PLC Engine to the machine PLC MT Input signal from the ServoWorks CNC Engine SMP Motion Engine NC to the LadderWorks PLC Engine NC PLC Output signal from the LadderWorks PLC Engine to the ServoWorks CNC Engine SMP Motion Engine NC PLC NC Internal Relay Table 11 1 Signal Letters and Their Meanings EE Requesting Message Display 11 3 Soft Servo irc Chapter 11 Veri 11 3 3 Signal Names LADDERWORKS PLC USER S MANUAL ing Sequence Programs Using the LadderWorks PLC Diagnose Utili All signal names will be at most 8 characters Each character can be a letter a number or a special symbol 11 3 4 Commenting Up to 30 characters may be displayed to comment each relay coil and signal in the sequence program 11 3 5 Symbols The ladder diagram utilizes the following symbols Ajunction Bjunction Ajunction Bjunction Ajunction Bjunction Relay for an internal variable inside of the LadderWorks PLC Engine Input signal from the ServoWorks CNC Engine
84. lation and Setup Manual for the VersioBus Interface System e SMP Installation and Setup Manual for the Panasonic Realtime Express RTEX Interface System e SMP Installation and Setup Manual for the MECHATROLINK Interface System e Quick Start Setup Guide for the Mitsubishi Interface System 1 5 3 Additional Documentation References for PLC Axes ATC and Inverter Spindles 1 5 3 1 PLC Axes Refer to Chapter 4 LadderWorks PLC Axis Control in the LadderWorks PLC Reference Manual for information on setting up PLC axes 1 5 3 2 ATC For an example of using PLC to set up automated tool changes ATC see Section 8 5 ATC Example 3 ATC for a Rotary Tool Changer Using PLC Standard G Codes and a Customized T Code in the ServoWorks CNC Macro Programming Manual 1 6 Soft Servo LADDERWORKS PLC USER S MANUAL sini la Chapter 1 LadderWorks PLC Product Overview 1 5 3 3 Inverter Spindles For information on setting up an inverter spindle in an all digital interface system by using an analog inverter having S codes generate F data and writing a PLC sequence program to generate output signals Y data to control the spindle refer to one of the following e Fora MECHATROLINK interface system see Section 7 6 Including an Inverter Spindle in a ServoWorks CNC System with a MECHATROLINK Interface System in the ServoWorks CNC Setup and Integration Manual for the MECHATROLINK Interface System e Foran RTEX interface system see Section 5 9 I
85. le or using the PLC Diagnose utility described in Chapter 10 Verifying Sequence Programs Using the LadderWorks PLC Diagnose Utility We strongly recommend that you begin with our default sequence program included in LadderWorks PLC A typical lad file which demonstrates how to correctly handle the HandWheel E STOP is shown as follows and continues on the next 2 pages E Stop using HandWheel E Stop input RD X0 0 WRI G8 4 Handwheel axis selection RD xO 1 OR X03 G41 0 G18 0 AU Z U 3 GILa CLS lt 1 RD X0 4 WRT G41 2 WRT G18 2 Handwheel multiple RD XLU WRT G19 4 RD Ke d WRT ER Figure 4 1 Typical lad File SoftServo_0 1 of 3 Soft Servo LADDERWORKS PLC USER S MANUAL gann Chapter 4 Setting Up A Customized Sequence Program L E T EIT IAT II TIT ITI I Pa The following three sections work for M30 program restart after rewind If you would like to have this function Please enable these three sections by removing the comment signals and re compile STEIVIT ETT L TTI ITE OT IIT IIT IIIT ITPA PITTI II T Cycle Start Rising Edge Relay RD I 5 AND NOT R1 5 WRT R1 6 RD FO WRT Rl wo M30 Falling Edge Relay RD NOT F9 AND Ros RD TK Ris AND NOT R1 OR eo LK WRT Ri RD F9 4 WRT RIU Cycle start RD R1 4 TMR 1 With Timer delay AND NOT FO 5 WRI G7 2 Feed hold MOO MO1 RD F9 6 AND F29 WRT R2 0 RD FO 7 F7 0 OR R20 C340
86. ll see the Compile Success message Click Cancel and close the PLC Control Screen 12 2 The PLC didn t work How can check that the PLC service is running You can check as follows 1 Check the PLC service e For Windows 2000 go to Start gt Settings gt Control Panel gt Administrative Tools gt Services gt swplc_link e For Windows XP go to Start gt Settings gt Control Panel gt Administrative Tools gt Services gt swplc_link OR Start gt Control Panel gt Administrative Tools gt Services gt swplc_link 2 If the status is not started run C SwPLC Service swplclink_service_remove bat then run C SwPLC Service swplclink_service_install bat 12 3 When I started PLC_DIAGNOSE it shows me a black screen What should I do Please run C SwPLC SwPLC_Diagnose_Color reg The SwPLC_Diagnose_Color reg file is to set PLC_DIAGNOSE to its default settings when it doesn t operate correctly 12 1 Soft Servo LADDERWORKS PLC USER S MANUAL ania Chapter 12 Troubleshootin 12 4 The TMRC command for PLC didn t work When the TMRC timer command is used in a PLC sequence program you must set the table with the D Table button of swPLC_CONTROL See Section 6 6 Setting Up and Editing Data Table Addresses 12 5 How can I disable the pulse generator with the PLC sequence program 1 Open C SwPLC Ladder SoftServo_O lad file with any text editor Replace one line of
87. ms sss 8 7 editing sequence programs esse eee e e e e eee 1 1 1 4 MAD NG COVICES eeni de dondendnauden 8 26 Engine LadderWorks PLC csssseseeeeeeeeees 1 1 Engine ServoWorks CNC 1 1 IT LADDERWORKS PLC USER S MANUAL Index Engine SMP Motion sees eee 1 1 entering data in the data table two methods os strcoarecnaesacieandenuedsceaatesnceaeeasechotessaes 6 7 E STOP HandWheel cece cece cecceeceeceeceeceees 4 2 example lad TG staen Tanaya 4 2 4 4 example mod file cccceeeeecceeeeeceeeeeeaeeeeeeeees 4 5 executable binary files 0 0 0 0 eee 1 1 executable binary format sees eee e eee eee 4 execution of PLC sequence programs 8 25 exiting LadderWorks Console sss sese 8 29 Export Mnemonic Code ccsssssssssesseseeeeeeees 8 23 exporting PLC sequence program code in Instruction List IL format mod and lad files 8 23 F F input SIONS ii sss 2 2 8 3 11 3 Fanuc compatible ladder logic sss sese 4 E ele o e E enrages erate ror ie eres 2 file format b coca va E annette N A EE A 4 1 ING EP O E OT E NE 4 6 Ist an E cepennecs 1 2 IS 6 E E E E A E 4 1 forcing component values while monitoring sequence YAS T 8 27 function block Components sees eee eee ee eee 8 12 FUNCTION calls oo eee ceeccccccccceecceceeceeeeeeeeeeeeeeeeeeees 12 2 G G output signals eee eee 2 2 8 3 11 3 Cale riick G eereretrrerrrererer rt eee errr ert en ter 12 3 OO EE
88. nc be liable for any damages or injuries resulting from any defect or omission in this manual Soft Servo Systems Inc makes no representation or warranty expressed implied or statutory with respect to and assumes no responsibility for the accuracy completeness sufficiency or usefulness of the information contained herein NO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS OF PURPOSE SHALL APPLY Soft Servo LADDERWORKS PLC USER S MANUAL sitio ts Warning Important Notice Important Notice The information contained in this manual is intended to be used only for the purposes agreed upon in the related contract with Soft Servo Systems Inc All material contained herein is subject to restricted rights and restrictions set forth in the contract between the parties These manuals contain confidential and proprietary information that is not to be shared with nor distributed to third parties by any means without the prior express written permission of Soft Servo Systems Inc No materials contained herein are to be duplicated or reproduced in whole or in part without the express written permission of Soft Servo Systems Inc Although every effort and precaution has been taken in preparing this manual the information contained herein is subject to change without notice This is because Soft Servo Systems Inc is constantly striving to improve its products Soft Servo Systems Inc assumes no responsibility for errors or omissions
89. ncluding an Inverter Spindle in an RTEX Interface System in the ServoWorks CNC Setup and Integration Manual for the Panasonic Realtime Express RTEX Interface System 1 7 Soft Servo LADDERWORKS PLC USER S MANUAL aian Chapter 2 Overview of PLC In the ServoWorks CNC or SMP System Chapter 2 Overview of PLC in the ServoWorks CNC or SMP System Programmable logic control PLC is the process of automating the monitoring and sequence control of machines or machine tools In the ServoWorks CNC or SMP system this process is performed by the LadderWorks PLC Engine which 19 included as part of LadderWorks PLC The ServoWorks CNC Engine or SMP Motion Engine controls the high performance multi axis servo loops the motion of the machine Based on its feedback loops for motion control it may want to send a command to the machine to slow down speed up etc But let s imagine that there is a door open on the machine tool The ServoWorks CNC Engine and SMP Motion Engine don t have access to the signal that would tell it about the open door This is why the LadderWorks PLC Engine for machine control as opposed to motion control is required The LadderWorks PLC Engine has access to all the information about not only the ServoWorks CNC or SMP system hardware and software but also the machine or machine tool inputs and outputs The LadderWorks PLC Engine is the one element that has access to everything there is to know about the ServoWorks CNC or
90. ne Help D a D LS Ladder View ir K Instruction Lis L Register Adare CEARCH Wala TEST PL5_8 HL5_8 H5_8 PLS_ NLS_ HLS 6 NLS_6 HS b PLS_4 NLS b HS D T renee TEST PLS_4 NLS_4 H5_4 PLS Auto Mode kk Fositiwe Limit switch Asis 2 Negative Lirit switch Asis 6 Home Switch Asis 8 Positive Limit switch Asis 7 Negative Limit switch Axis 7 Positive Limit switch Asis 6 Negative Limit switch Asis 6 Home Switch Asis 6 Positive Limit switch Asis 5 Negative Limit switch Axis 5 Home Switch Asis 5 Insert Positive Delete Negative Limit switch Ariz 4 Home Switch Asis 4 Positive Limit Switch Asis 3 Bl Function MLS 3 Negative Limit switch Asis 3 HS 4 Hame Siniteh dais 7 gt Figure 8 31 Insert Delete Drop Down Menu in Register Address Map View If you select Insert the following pop up window will appear New Address Address Pretix Bit Offset Label Description Figure 8 32 New Address Pop Up Window for Inserting Addresses in the Registry Fill in the text boxes and click OK to add a new I O address To delete an address click on that address right click within the table and select Delete from the drop down menu shown in Figure 8 31 8 20 Soft Serve LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 8 Using LadderWorks Console 8 10 Importing a PLC Sequence Program File in Instruction List IL Format To import an existing PLC sequ
91. od for ServoWorks S 100T or SoftServo_SMP mod for the SMP series of products in the C SwPLC Ladder folder 5 To select a different mod file click the Refer button You will see the Select Module Definition File window appear as shown Select module definition file EE Look in E Ladder ce 21 SoftServo_O mod File name Files of type Module definition iel mod 9 Cancel T Open as read only Figure 5 5 Select Module Definition Window 6 Browse to the folder where the mod file you have created for your customized sequence program resides The default sequence program SoftServo_M mod SoftServo_T mod or SoftServo_SMP mod file resides in the C SwPLC Ladder folder C SwPLC Ladder SoftServo_M mod Click the Open button once you have selected the correct file You will see the PLC Ladder Compiler Screen again 7 Click on the Compile button to start the compiling process When it is finished successfully you will see the following dialog box Soft Servo LADDERWORKS PLC USER S MANUAL Chapter 5 Compiling an Instruction List Sequence Program with the PLC Control Screen Utili SYSTEMS INC Figure 5 6 Compile Finish Dialog Box 8 Click the OK button and the compilation of your sequence program will be complete 9 To exit the PLC Control Screen utility click the Cancel button in the PLC Ladder Compiler Screen and then click the exit but
92. oll through all pages of keep relays and select one by clicking on the OK button Page selection Pagel Keep Relay K000 PageO0 Keep Relay K001 PageO3 Keep Relay K002 Pagel4 Keep Relay K003 PageO05 Keep Relay K00 4 PageO06 Keep Relay K005 Pagel Keep Relay K006 PageO06 Keep Relay K00 Panel9 Keen Relavikninal cancel Figure 6 6 Page Selection Window When you have finished setting up your keep relays click on the OK button to save the settings LADDERWORKS PLC USER S MANUAL iit Chapter 6 Using the PLC Control Screen Utility to Set Up Tables for PLC 6 4 Editing the Timer for PLC To edit the default settings of the timer for PLC click the T edit button in the PLC Control Screen utility and the following window will appear Edit Timer Page01 Timer T000 T036 Ed OK Reload First Last Page 1710 Back Forward C e i manas i mzn R mga R mnan R ma naie R manana R UL 7 H T To Timem R Figure 6 7 Edit Timer Window If the T edit button is disabled you need to compile the SwPLC table see Section 6 2 PLC Tables for Input Output Declaration and follow the procedure described in this section For each timer you can specify the time in milliseconds To set all the timers back to 0 click on the Reload button You can use the Back and Forward buttons to scroll through the timers Clicking on the First button displays the
93. ome to LadderWorks Console vi i0 Welcome to Ladder orks Console LadderWorks Console Welcome to Ladderforks Console T his program allows you to install Laddervyorks Console on your computer Please check the ReadMe document before Soft Servo installation which provides you with brief and SYSTEMS INC Necessary instructions Brief information about installation Install Laddervorks Console Est this program Figure 3 9 Welcome to LadderWorks Console Window Regular Edition 3 6 Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 4 Setting Up A Customized Sequence Program Chapter 4 Setting Up a Customized Sequence Program 4 1 Description of the Sequence Program and Other PLC Files A sequence program is a program that is written in PLC code in Instruction List IL text format or in Ladder Diagram LD format This sequence program tells the LadderWorks PLC Engine how to control the machine or machine tool and how to control the computer numerical control ServoWorks CNC Engine SMP Motion Engine The PLC language used by LadderWorks PLC and described in this manual is compatible with Fanuc s PLC ladder logic Because each machine is different you will need to write a unique PLC sequence program for each machine setup although sequence programs can be reused for machines that are the exact same make and model The specifics of using LadderWorks Console to create a unique PLC sequence
94. ormat mod and lad Files 8 23 8 12 Compiling a Ladder Diagram LD Sequence Program Generating Executable Binary Code bin fig lad FES EEA VOC TIES T 8 24 8 13 Verifying and Monitoring PLC in Diagnostic Mode sss 8 25 SALOSEN I N A H T E E E 8 25 8 13 2 Using Diagnostic Mode On Line Mode sss 8 25 8 13 3 Disabling and Enabling Devices sscvaszszaezsz nosso ooi 2 iaaeao ORSR ARTH 02T OAR 8 26 8 13 4 Forcing Component Values While Monitoring Sequence Programs sese eee eee eee eee 8 27 8 13 5 Restarting Diagnostic MOde cccccccccccecccccceceeeeeeesseesseeeeeeeeeeeeeeeeeaaaesseeseeeeeeeeeeeeeeeesaaeeaauaasseeeeeeeeess 8 28 8 14 Closing a Sequence Program sese ee eee eee eee 8 29 8 15 Exiting Ladder Works Console sese 8 29 8 16 LadderWorks Console Automatically Shutting Down sese esse 8 30 Chapter 9 Using the PLC Bit Pattern UH zssrarasera strana rares satres stres sattas NNN 9 1 Chapter 10 Using the PLC Time C hart UGLY aiiis 10 1 Chapter 11 Verifying Sequence Programs Using the LadderWorks PLC Diagnose Utility sssrinin 11 1 11 1 Overview of the PLC Diagnose UW sse eee eee 11 1 iv Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Contents 11 2 Using the PLC Diagnose Utility sacsccscncnccosssssaveaneneanceneectunssepogasasieatslatnuenenssabenadunsraueasadsanddesedanedcsasiocadeenraneantd 11 1 11 3 Ladder Diagram Format Interpreting the Ladder Diagram sss sss 11 3 Dill MV Ct 16 TT 11 3
95. ormat sequence program using LadderWorks Console is explained in Section 7 12 Compiling a Ladder Diagram LD Sequence Program Generating Executable Binary Code bin fig lad lst and mod Files Either method of compiling a sequence program is acceptable 5 2 Compiling an Instruction List IL Sequence Program with the PLC Control Screen Utility PSE ee S nra PLE ein nidder edit mod file bai ingie Message table ee _ ser 1 tnbbe labke setting bin file div file fig file Ast file Figure 5 1 Compiling a Sequence Program with the PLC Control Screen Utility To use the PLC Control Screen utility to compile a sequence program your sequence program must be in lad format and you must also have a mod file The lad and mod files must reside in the same folder See Section 4 2 Sequence Program File Types for more information The following steps will guide you through compiling your sequence program 1 Start the PLC Control Screen utility by double clicking on the fjeaqsvv PLC_CONTROL exe file in the C SwPLC Utility folder If the status of ladder logic is RUN you will see the PLC Control Screen window shown in the following figure Soft Servo LADDERWORKS PLC USER S MANUAL omen Chapter 5 Compiling an Instruction List Sequence Program with the PLC Control Screen Utili PLC control screen aie X 9 la ga ra L ra gea Ta a Ta BR an Figure 5 2 PLC Con
96. ose Save Ctrl 5 Save As Import Mnemonic Code Export Mnemonic Code Generate Binary Code Print Ctrl F Print 5etup Exit Figure 8 38 File Pull Down Menu for Generating Executable Binary Code A Save As window will appear as shown in the following figure type in the desired file name with the extension bin such as SoftServoPLC bin and then click the Save button Save As Save in C3 Ladder S SoftServo_M bin E Soft5ervo_T bin Filename E Save as type PLC Module File bin Cancel Figure 8 39 Save As Window for Saving the Binary Code File 8 24 Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 8 Using LadderWorks Console Five files will be created with the same file name but with different file extensions in the same folder bin fig lad lst and mod files See Section 4 2 Sequence Program File Types You can save these files in any folder you want The LadderWorks PLC Engine stores the location of the most recently created bin file If the generation of binary code is successful and a message window will appear as shown in the following figure SUCCESS Eg a Binary Generation Success Figure 8 40 Message Window Showing a Successful Binary Generation 8 13 Verifying and Monitoring PLC in Diagnostic Mode 8 13 1 Overview In Diagnostic Mode LadderWorks Console displays the execution of PLC sequence programs by the LadderWorks PLC
97. part of the product installation of all the latest ServoWorks CNC products and SMP general motion control products If you have already installed LadderWorks PLC as part of a ServoWorks CNC or SMP product you don t need to separately install LadderWorks PLC See one of the following documents for instructions on installing ServoWorks CNC products or SMP products and LadderWorks PLC e ServoWorks CNC Setup and Integration Manual for the VersioBus Interface System e ServoWorks CNC Setup and Integration Manual for the Panasonic Realtime Express RTEX Interface System e ServoWorks CNC Setup and Integration Manual for the MECHATROLINK Interface System e SMP Installation and Setup Manual for the VersioBus Interface System e SMP Installation and Setup Manual for the Panasonic Realtime Express RTEX Interface System e SMP Installation and Setup Manual for the MECHATROLINK Interface System e Quick Start Setup Guide for the Mitsubishi Interface System 3 1 Soft Servo LADDERWORKS PLC USER S MANUAL sha iia Chapter 3 Installing LadderWorks PLC and the LadderWorks Console Off Line Edition You must have installed Ardence RTX prior to installing LadderWorks PLC or installation of LadderWorks PLC will not be possible You must check for known compatibility issues with Ardence RTX and resolve before installing RTX Before you begin installing the LadderWorks PLC software with ServoWorks CNC or SMP software you must make sure that you m
98. pears as shown in the following figure Online Overwrite Address Letter Address Bit Offset Data Type Value Figure 8 46 Online Overwrite Window Select the address letter the data type and fill in the address bit offset and new value then click the OK button 8 13 5 Restarting Diagnostic Mode When you make changes to a sequence program during Diagnostic Mode you must generate a new binary code see Section 8 12 Compiling a Ladder Diagram LD Sequence Program Generating Executable Binary Code bin fig lad lst and mod Files then you must restart Diagnostic Mode in order to see the execution of the newest PLC sequence code If you make changes to a sequence program during Diagnostic Mode and you DON T restart Diagnostic Mode the display of sequence code execution is misleading LadderWorks Console is not executing the ladder diagram you see on the screen it is executing the ladder diagram as it was the last time you generated a new binary code and restarted CHANGES YOU MAKE IN THE LADDER DIAGRAM WILL NOT BE REFLECTED IN DIAGNOSTIC MODE UNTIL YOU GENERATE A NEW BINARY CODE AND RESTART ONLINE MODE 8 28 Soft Servo LADDERWORKS PLC USER S MANUAL setae Chapter 8 Using LadderWorks Console 8 14 Closing a Sequence Program Select Close from the File pull down menu A pop up window will appear as shown in the following figure LadderView A Save changes to Ladder
99. pying Jettiles msxbses5 all Figure 3 7 Installation Progress Dialog Box 10 When the DAO software has been successfully installed the following dialog box will appear Information bad N 1 1 Data Access Objects DAO successfully installed OK Figure 3 8 Information Dialog Box 11 Click the OK button to finish the LadderWorks Console and DAO package installation 12 Click the Exit button in the Welcome to LadderWorks Console window Figure 3 1 to close that window 3 5 Soft Servo LADDERWORKS PLC USER S MANUAL she iia Chapter 3 Installing LadderWorks PLC and the LadderWorks Console Off Line Edition 3 5 LadderWorks Console Regular Version Installation Procedure If you are using a ServoWorks CNC or SMP product that you purchased before the LadderWorks Console component was included in that product you will need to install LadderWorks Console separately The procedure for the separate installation of the regular version of LadderWorks Console is the same as the procedure for installing the off line version of LadderWorks Console except for the text in the Welcome to LadderWorks Console screen and the label on the LadderWorks Console button See Section 3 4 LadderWorks Console Off Line Version Installation Procedure The Welcome to LadderWorks Console screen for the separate installer for the regular version of LadderWorks Console is shown in the following figure P Welc
100. quence Program for limitations on horizontal ladder length 8 5 1 Inserting Basic Instruction Symbols 8 5 1 1 Overview The main toolbar is shown in the following figure o toc x 7 wT Line ms Contact point Coil Comment Delete Select NOT OR OR Figure 8 9 Symbols for Creating PLC Components To insert basic instruction symbols such as read RD read not RD NOT write WRT and write not WRT NOT click the icon that corresponds to the desired basic instruction on the main toolbar shown above position the mouse at the point you want to place the symbol and click Enter an address with a label such as X2 1 then press the Enter key Specific information for each tool follows Soft Servo LADDERWORKS PLC USER S MANUAL annet Chapter 8 Using LadderWorks Console 8 5 1 2 Using the Line Drawing Tool Use the tool to draw a horizontal or vertical line connection When the tool is selected shown as the first place you click will be the beginning of a line and appears as follows C7 Figure 8 10 Beginning Point of Horizontal Line Connection The second place you click becomes the end point of the line as shown Figure 8 11 Completed Horizontal Line Connection 8 5 1 3 Using the Contact Point Tool When the tool is selected shown as position the mouse at the point you want to place the symbol and single click A cursor appears enter an address with a label such as X2
101. r key lB Ha 3 Click the symbol The A element changes to hE a Use a similar procedure to create a element the X element the tool creates the element 8 5 1 9 Using the OR Tool To create OR constructions for relays you must first use the tool to select a relay AF The selected relay will be highlighted in yellow Single clicking the tool changes a selected relay component AF to an OR component and allows you to enter the address for this new relay in the OR component NOTE Clicking the tool subsequent times adds more relay elements to the OR component 8 1 Soft Servo LADDERWORKS PLC USER S MANUAL aana Chapter 8 Using LadderWorks Console To create OR constructions for coils you must first use the tool to select a coil The selected coil Ts will be highlighted in yellow Single clicking the tool changes a selected coil component to an OR component and allows you to enter the address for this new coil in the OR component NOTE Clicking the 5 tool subsequent times adds more coil elements to the OR component 8 5 2 Inserting Function Block Components Insert function block components such as TMR TMRC MOVE and DEC with the following steps 1 Select the desired function block component from the Function pull down menu in the upper right corner of the screen as shown in the following figure Function Figure 8 18 Function Block Components
102. r diagram or the sequence code Verify and monitor PLC by viewing the execution of a sequence program in Diagnostic Mode signal values are shown in different colors Force component values while monitoring a sequence program helpful in diagnosing problems during machine setup and integration ee Table 1 2 Comparison of LadderWorks Console Off Line and On Line Versions 1 5 Soft Servo LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 1 LadderWorks PLC Product Overview 1 5 Additional Documentation for LadderWorks PLC and ServoWorks CNC or SMP Products 1 5 1 LadderWorks PLC Documentation Suite This manual will explain how to use LadderWorks PLC You should also refer to the other documents accompanying LadderWorks PLC e LadderWorks PLC Programming Language Basic Commands and Function Blocks e LadderWorks PLC I O Mapping for SMP Products e LadderWorks PLC I O Mapping for ServoWorks MC Quad and the ServoWorks S 100M Series e LadderWorks PLC I O Mapping for ServoWorks S 100T e LadderWorks PLC Reference Manual 1 5 2 Setup Documentation To install and set up your ServoWorks CNC or SMP system refer to one of the following manuals e ServoWorks CNC Setup and Integration Manual for the VersioBus Interface System e ServoWorks CNC Setup and Integration Manual for the Panasonic Realtime Express RTEX Interface System e ServoWorks CNC Setup and Integration Manual for the MECHATROLINK Interface System e SMP Instal
103. rol Screen and the following window will appear Soft Servo LADDERWORKS PLC USER S MANUAL Chapter 6 Using the PLC Control Screen Utility to Set Up Tables SYSTEMS INC PLC table setting screen This program ia for setting the table based on the address table In case of no address table file Only K isa set Simultaneously C and T is get Select either BINARY or BCD as for After selecting a language press Execute Table file C SwPLC SwPLC tbl Refer Language C L Japanese c English f BINARY f BCD Cancel Figure 6 3 PLC Table Setting Screen 2 Make sure the I O interface setup table file shown in the Table file text box is the file you want If you want to use a different file for your table click on the Refer button and browse to the file you do want to use as the comment setup table file for the PLC Diagnose utility 3 Select either BINARY or BCD in the C frame to select whether the data in the counter addresses should be stored in binary or BCD See Section 3 8 Numerical Data Examples in the LadderWorks PLC Programming Language Basic Commands and Function Blocks manual for more information 4 Click on the Execute button The setup process of putting I O mapping information and default keep relay timer and counter addresses into your PC s registry will start automatically When the process has finished successfully you will see the following dialog box PLC table set
104. sneccwpscemeonadeds 8 3 11 3 interpreting the ladder diagram 8 2 11 3 inverter spindle T l 7 J NSU Di E E E E E E E 3 4 K Keli DELON seinnt a 6 2 6 4 KSA lS eii 8 3 11 3 EE e Ay E A E E E 11 3 aE ee 8 3 BUEN UD EEA E TT 6 4 L MDE AN peasair a E 8 5 11 6 Ladder Diagram View sss eee eee 8 17 ladder CIA c 1 1 4 6 address Tornar 8 3 11 3 address signal letters sss sese 8 3 11 3 COME MIS cs stout EE 8 4 11 4 Cie T 8 6 8 7 S RET 8 7 TOn nT 4 1 4 2 4 5 8 2 11 3 O ee E E EE RR 8 6 relay ONCOS esanen inaa a 8 5 11 6 E E E E 8 5 11 5 BAIN E E E E A 8 6 sianal NAME Safe w Sosc cats inani 8 3 11 4 Sym DOl uena 8 4 11 4 11 5 ladder length limitation for a PLC sequence program A E E EEE E E EE E TET 4 11 ladder logic Fanuc compatible sse sees ee 4 LadderWorks Console e 1 1 1 3 1 4 automatically closing sss sese 8 30 comparision of regular and off line versions 1 5 SAO EN O E E E E EE O 8 29 Te c E E A E E E 8 2 II LADDERWORKS PLC USER S MANUAL Index Sis T 6 1 main COOL DEI aad ga anal agan aaya anas 8 7 off line edition sss sese 1 4 off line edition requirements 3 2 overview Of FUNCTIONS ccceceeeeeeeeeeeeeeeeeeaes 8 1 Separate installer cc cccsssssseesseeeeeseeeeeeeees 3 1 SETUD L e EE A T 8 2 SOO a E 1 4 LadderWorks PLC 2 1 components overlapping functions 1 3 GE SOP DU OM sticsiaceccansancnrcdd deleaperecdsaeagaceanetonetoena
105. sss sese 1 1 1 4 2 1 N New Address pop up window for inserting addresses IN the LEGISCrY orinni ie 8 20 NOT OOE T 8 11 NUME constant declaration sss sss eee 6 7 N UMED binary constant declaration 6 7 Soft Servo SYSTEMS INC O ODBC DGC CE erson n 3 4 Off Line Version of LadderWorks Console 1 4 On Line Mode ssseeseseeeeeececeeeeeeeeaeaeeeeeeees 8 25 Online Overwrite Window sese eee 8 28 On Line Version of LadderWorks Console 1 5 opening a ladder diagram sss sees sese 8 6 ET 8 11 output signal eee 8 3 11 3 overlapping functions eee eee 1 3 E Ve AE E A A 8 27 overwriting component values while monitoring sequence programs esse ee ee e eee 8 27 P Page Selection W1IndOW eee eee eee 6 4 PC TEUENT ERE 3 2 PLC OY Ce PETE TS A TAA EOE T 2 2 ESOL TOHO OT aaeanoa 2 1 SS LIN TTT 2 2 BC AIM WMG aa Tahan Es 2 2 PLC alarn TERRES a ince RESTEZ a 5 7 1 PLC alarms T EC MC 2c carat E 7 4 PLC axis control ce cece cecceecceccecceccescecceecees 1 1 1 6 PLC Bit Pattern utility sss eee eee eee eee 1 1 9 1 PLC Control Screen utility 1 1 1 3 5 1 5 2 6 1 6 2 PLC data table setting SCreeM 0cceeeeeeeeees 6 7 PLC Diagnose Search Window 000eeeee 11 8 PLC Diagnose GUliiy serres 1 1 1 4 changing the display sss sese 11 7 Search function eee 11 8 PLC Diagnose utility cannot load my sequence YS KT 12 2 PLC Diagnose Window
106. struction and Function Block Components To modify a basic instruction or function block component position the mouse cursor on the desired basic instruction or function block component and double click the input line as shown in the following figure Double click this line pl TMRB TO 4 4 5000 Figure 8 22 Modify Parameters by Double Clicking the Input Line For basic instruction components a cursor will appear and the user will be able to edit the address For function block components the Parameter Edit Dialog box will appear and you will be able to modify the parameters of the function block in the same manner that you entered the parameters originally 8 5 4 Deleting Basic Instruction and Function Block Components You can delete basic instruction and function block components with the following steps 1 Click the a icon on the main toolbar shown in Figure 8 9 2 Position the mouse at the desired basic instruction symbol or function block component 3 Double click the line symbol or component to be deleted 8 14 Soft Servo LADDERWORKS PLC USER S MANUAL asht Chapter 8 Using LadderWorks Console To delete the TMRB function shown click here first Ladder 1 Seles Fie Edit View OnLine Help C ae S N EG Function TMAB 9 Bel adder view 9 10 A i oh Instruction List View lnn z A E Register Address Map then click this line Figure 8 23 Example Deleting a Component
107. t down there would be errors with Ardence RTX upon trying to restart the other Soft Servo Systems application LadderWorks Console provides a dialog box that allows you to save your PLC sequence program before it closes You will see a dialog box similar to the following 5 140Mv224 has dosed LadderWorks Console must be closed Do you want to save the changes Yes No Figure 8 49 LadderWorks Console Automatic Closing Dialog Box This affords you the opportunity to save any changes to your PLC sequence program before the LadderWorks Console shuts down NOTE When LadderWorks Console is the only Soft Servo Systems application running it will not close down automatically 8 30 Soft Serve LADDERWORKS PLC USER S MANUAL SYSTEMS INC Chapter 9 Using the Bit Pattern Utili Chapter 9 Using the PLC Bit Pattern Utility The PLC Bit Pattern utility shows the PLC byte data in binary format You can see the 8 bit address in a byte address that you specify Start the PLC Bit Pattern utility by double clicking on the GBH swPLC_BIT_PATTERN exe file in C SwWPLC You will see the Bit Pattern window shown in the following figure BitPattern RR R D R D H SR S D a 9 SR S D S SR S D S H Figure 9 1 Bit Pattern Window Type in a byte address click the Start button and you will see the current bit pattern For example let s say you type in the address x12 click on the Start button and see t
108. ting screen Ed SUCCESS Figure 6 4 PLC Table Setting Screen Dialog Box Your tables are now successfully set up incorporated into the PLC environment in the registry files of your computer Click Cancel to close the PLC Table Setting Screen LADDERWORKS PLC USER S MANUAL SYSTEMS NG Chapter 6 Using the PLC Control Screen Utility to Set Up Tables for PLC 6 3 Editing Your Keep Relay for PLC To edit the default settings of the keep relay for PLC click the K edit button in the PLC Control Screen utility and the following window will appear Edit Keep Relay Page01 Keep Relay K000 EW OK Reload First Last Page 17100 Back Forward Figure 6 5 Edit Keep Relay Window If the K edit button is disabled you need to compile the SwPLC table Section 6 2 PLC Tables for Input Output Declaration and follow the procedure described in this section For each keep relay address you can select ON or OFF for the status of the keep relay To set all the keep relays back to OFF click on the Reload button You can use the Back and Forward buttons to scroll through the keep relays Clicking on the First button displays the first page of keep relays while clicking on the Last button displays the last page of keep relays If you click on the Page button a Page Selection Window will appear as shown in the following figure and you can scr
109. tion 8 5 5 Inserting Rows When the tool is selected shown as position the mouse at the point you want to place the comment and single click A cursor appears type in your comment text as shown in the following figure Figure 8 14 Entering a Comment Press the Enter key to confirm the input the text will change to blue as shown in the following figure AOS This is a comment Figure 8 15 Completed Comment Soft Servo LADDERWORKS PLC USER S MANUAL E Chapter 8 Using LadderWorks Console 8 5 1 6 Using the Delete Tool to Delete Components ba EA When the tool is selected shown as any component you click in the ladder diagram will be deleted So be careful If you do make a mistake though you can select Undo from the Edit pull down menu OR press CTRL 2Z See Section 8 5 4 Deleting Basic Instruction and Function Block Components for more information 8 5 1 7 Using the Select Tool to Select Components and Cut and Paste Components When the tool is selected shown as you can select any contact point or coil component The Select tool doesn t select horizontal or vertical lines or comments Once a component is selected you can right click anywhere in the ladder diagram and select Copy or Cut from the drop down menu that appears as shown Undo CHIZ Insert Row Before E Intert Row After Ci K Delete Row Ctrl D Copy CH EC 4 Paste Ctrl P Cut
110. tional Documentation References for PLC Axes ATC and Inverter Spindles eee 1 6 je APE Co ren rt er ee ee eee te rere oer 1 6 IE K etna sea a gage hasemtua ea teasm anes anna aco anne ony A E E geaseasa T A ET AAT T 1 6 Le eo MVC le Ta TT l 7 Chapter 2 Overview of PLC in the ServoWorks CNC or SMP System ssssssssssssisissossnnnnnosnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnannnnanna 2 1 Chapter 3 Installing LadderWorks PLC and the LadderWorks Console Off Line Edition sisisi 3 1 NEO CLV CW E E setecenparoecereaseeo ese A N T E E E E E O serrecene esees 3 1 3 2 LadderWorks PLC Installation as Part of a ServoWorks CNC or SMP Product Installation sss 3 1 3 3 Finishing Your LadderWorks PLC Setup Compiling a PLC Sequence Programi eee eee 3 2 3 4 LadderWorks Console Off Line Version Installation Procedure esse 3 2 3 5 LadderWorks Console Regular Version Installation Procedure sse eee 3 6 Chapter 4 Setting Up a Customized Sequence Program sssssssssssssssssseccrsssssrsecececrsesesesesececavoesesesececavavaesesesesecavavansesesesecaranas 4 1 4 1 Description of the Sequence Program and Other PLC leS 4 4 2 Sequence Program File Types cccccssscecceccecceceeeanaeseessssssesseeeeeeeeeeeeeeeeeaaaeeessseseeeeeeeeeeeeeeeeaaaaasasassseeeeeeeeees 4 c E H TTT 4 4 2 2 Creating Jad Files in Text ILY asn sutc swsssicouseswatceansadncuntowsdsundinGscsnnctadcenbsodsceubineiovadsnbnevnes dncnseisemebinases 4 1 Bh OE E oE E E O E E
111. ton in the upper right hand corner of the PLC Control Screen Soft Servo LADDERWORKS PLC USER S MANUAL iit Chapter 6 Using the PLC Control Screen Utility to Set Up Tables for PLC Chapter 6 Using the PLC Control Screen Utility to Set Up Tables for PLC 6 1 Starting the PLC Control Screen Utility The PLC Control Screen utility enables you to set up the timer the counters and table setup data as well as to start stop and compile ladder logic Setting up tables for your PLC is necessary for using LadderWorks PLC for your machine NOTE Setting up tables for your PLC cannot be done with LadderWorks Console YOU MUST USE THE PLC CONTROL SCREEN UTILITY explained in this chapter Start the PLC Control Screen utility by double clicking on the fjeqswPLC_CONTROL exe file in C SwPLC Utility If the status of ladder logic 1s RUN you will see the PLC Control Screen window shown in the following figure PLC control screen Ee led Es oe Eo a Ee rs e a ees an Figure 6 1 PLC Control Screen Window for RUN Status If the status of ladder logic is STOP you will see the PLC Control Screen window shown in the following figure Soft Servo LADDERWORKS PLC USER S MANUAL iii Chapter 6 Using the PLC Control Screen Utility to Set Up Tables PLC control screen aie Eg Compile D table Table setting D edit K edit T edit C edit Figure 6 2 PLC Control Screen Window for
112. trol Screen Window for RUN Status If the status of ladder logic 1s STOP you will see the PLC Control Screen window shown in the following figure PLC control screen Compile D table Table setting D edit K edit T edit C edit Figure 5 3 PLC Control Screen Window for STOP Status 2 The PLC status must be STOP If the status is RUN you must click on the PLC stop button and the ladder logic process will stop immediately THE EMERGENCY STOP FOR YOUR MACHINE MUST BE ACTIVATED BEFORE YOU STOP THE PLC LADDER LOGIC PROCESS BY CLICKING ON THE PLC STOP BUTTON Soft Servo LADDERWORKS PLC USER S MANUAL omen Chapter 5 Compiling an Instruction List Sequence Program with the PLC Control Screen Utili 3 Click on the Compile button and you will see the following window PLC ladder compilier screen x Module definite file name C ASwPLC Ladder SoftServa_O mo Refer Executive type binary file making Managing file name Figure arrangement file making 0 100 Managing file name Division executive table making 0 100 Cancel Figure 5 4 PLC Ladder Compiler Screen 4 Inthe above window the mod file you want to compile should be listed in the Module definite file name text box NOTE The default sequence program is named SoftServo_M mod for ServoWorks MC Quad and the ServoWorks S 100M series of products SoftServo_T m
113. uction List View The same sequence code program can be viewed in both Ladder Diagram LD graphical view and Instruction List IL text view However the sequence code program cannot be edited in Instruction List format in LadderWorks Console Click on either Ladder View or Instruction List View at the left of the screen to change the PLC sequence code format as shown Ladder 1 File Edit View OnLine Help Select the view Sequence code O cop W format you want Ladder View or Instruction List View Ladder view ch Instruction List View Select this to view F G X and Y I O mapping L Register Address Map Figure 8 28 Selecting Ladder View Instruction List View or Register Address Map The Instruction List view looks similar to the following window 8 17 LADDERWORKS PLC USER S MANUAL Chapter 8 Using LadderWorks Console Soft Servo SYSTEMS INC Ladder 1 E x Fie Edit View Online Help E a i y Bs E E J AIC x k Fi AL ST Function B Ladder view PLC Sequence Code Generated by Ladder orks 1 0 0 0 1 Copy Right Ic 2004 by SoftServo System Inc Register Address Map 137 Main Street 761 891 3853 lwww softservo com e mailtinfo softservo com For Help press Fl Figure 8 29 Instruction List View 8 18 Soft Servo LADDERWORKS PLC USER S MANUAL asht Chapter 8 Using LadderWorks Console 8 9 Viewing the Register Address Map
114. utput Declaration and follow the procedure described in this section For each counter you can specify the number of counts To set all the counters back to 0 click on the Reload button You can use the Back and Forward buttons to scroll through the counters Clicking on the First button displays the first page of counters while clicking on the Last button displays the last page of counters If you click on the Page button a Page Selection Window will appear similar to Figure 6 6 and you can scroll through all pages of counters and select one by clicking on the OK button When you have finished setting up your counters click on the OK button to save the settings Soft Servo LADDERWORKS PLC USER S MANUAL iit Chapter 6 Using the PLC Control Screen Utility to Set Up Tables 6 6 Setting Up and Editing Data Table Addresses 6 6 1 Overview D data in the D address settings are stored in the registry files of the computer See Section 2 9 Data Addresses D in the LadderWorks PLC Reference Manual for more information There are two ways to enter data in the data table 1 Use the PLC Control Screen utility to enter data manually 2 Read and write into the data table using a sequence program Create a sequence program file to define data using the NUME constant declaration or NUMEB binary constant declaration functional commands When the sequence program is compiled La
115. y integrated with the ServoWorks CNC Engine SMP Motion Engine into a single motion machine control application This PLC for machines and machine tools reads and executes the binary PLC sequence program file every 5 ms or every 8 ms for ServoWorks S 100T or some other user defined scan time decides if it needs to take any action based on these inputs or changes in these inputs and issues commands to the ServoWorks CNC Engine SMP Motion Engine or the machine if necessary e LadderWorks Console a Win32 application for creating editing monitoring debugging and compiling PLC ladder diagram LD sequence programs see Note 3 on page 1 2 for compatibility requirements e Four separate utility programs o PLC Control Screen Utility a stand alone application that you can use to edit and compile your sequence programs in PLC Instruction List IL format into executable binary files which can then be understood and executed by the LadderWorks PLC Engine o PLC Diagnose Utility for verifying sequence programs with ladder diagrams viewing ladder diagrams only you cannot edit in the ladder diagram format with this utility NOTE This is a LadderWorks PLC legacy product that will be discontinued in the future you shouldn t need to use this as LadderWorks Console has all of these functions and more However its use is explained here for completeness o PLC Bit Pattern Utility real time bit pattern display for any signal a

Download Pdf Manuals

image

Related Search

Related Contents

TomTom XL Classic Regional  CLEAR-COM CONCERT V2.5.0  

Copyright © All rights reserved.
Failed to retrieve file