Home

View / the Complete Manual

image

Contents

1. continued y t l PER LD Load the number of data locations which is 16 words E 4 K10 10 hex or 32 characters need a msg10 prj eames g LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K2 Move data into V memory starting at V2120 MOVMC 7 A 3 V2120 corresponding to the bottom two lines on the display LDD Load the accumulator with ASCII codes for null KO characters zeros to unmask numeric display positions OUTD Unmask text display positions 14 and 15 V2114 oyTD Unmask text display positions 24 and 25 OUTD Unmask text display positions 34 and 35 Load Screen 2 Data into Text Data Block C1 LD Load the number of data locations which is 16 words K10 10 hex or 32 characters SPO XO LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K3 Move data into V memory starting at V2100 MOVMC E 5 V2100 corresponding to the top two lines on the display LD Load the number of data locations which is 16 words K10 hex or 32 characters LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use
2. Ladder Program V Memory Space User Data STE TE TE MESSAGE aa aa ag d 88 DATA aram a 4 E A Koyo oj Je 29 WRITE Ne Ne READ Ne repeatedly NS L C E PS L Setup Parameters p READ at powerup CHG MSG Direct 1000 hid STAT OPT D MESSAGE gt 2 7e54521076849210 HA UU 000 bata Acces Urt y ROYO pon ENT J o D F y i D The DV 1000 applies the same basic procedure to all modes which require setup o parameters e Read the setup parameters at powerup e Read or write the associated data for each mode during normal operation Setup Parameter Most operational modes of the Setup Parameters Ladder Rung DV 1000 require setup parameters Sie I You ll first need to decide which modes are required in your application You Message Display can even develop and test the ladder program for each mode separately However all the setup parameter instructions may be combined into a Change Preset single rung as shown to the right After the setup parameter rung the main program begins Bit Control 4 3 4 DV 1000 Setup Parameters Parameter Definitions The setup parameters consist of a total of eleven V memory locations Together they contain several pointers
3. Original Status Mode Display Exit to Message Mode v 2100 4D41 PRESS MACHINE STATUS PRESS V 2101 4348 Fault Bin Empty MSG f STAT V 2102 494E Time 11 32 57AM vV 2103 4520 amp Date 07 05 95 j 76543210765 43210 76543210765 43210 Enter Status Mode Again Return to Bookmark x 00 BEE BB PRESS V 2100 4D41 X 10 H v 2101 4348 STAT x 20 A EE V 2102 494E x 30 EBE EEE gt V 2103 4520 76543210765 43210 76543210765 43210 The bookmark serves as a pointer to the previously viewed data type and address in Status Mode as depicted below The bookmark is set when you exit Status Display Mode and it can reference any of the data types along with valid addresses P Bookmark PRESS stat gt first time default Note The bookmark is reset during a power loss to the DV 1000 Status Display Mode NES Chapter Summary Now we have covered how to use Status Display Mode to view V memory contents Summary of We may summarize some of the key points we have learned about setup Key Points parameters in this chapter Status Mode requires no setup parameters For discrete bit displays you can select byte or word format by toggling the Enter Key The cursor remains on the top line at all times The addresses of the three rows below the top line are consecu
4. Keypad bits PRE Notice that C 00 B CO and C 10 corresponding bit Toggled bits C20 both turn on c 20 M MEN U a 2 Release 0 and notice that CO turns off e 30 but C20 stays on 76 5 e DD 0 E O 3 Press 0 again to turn C20 off The keypad must be in Bit Control Mode to toggle the bits as shown above Press the Options Key select Bit Control and the status display will return automatically Setup Parameters for Bit Control areg a bitctrl4 prj Dv 1000 el SPO LDA Load the octal address for V40600 into the 040600 accumulator CO through C17 maps to V40600 First scan only OUT Output the address into V7625 the location of the bit control register The bit control keys control CO to C7 V7625 LD Load the constant K3 into the accumulator K3 is the K3 code for the powerup default mode Status Display Mode OUT Output our powerup default code to V7626 the location of the powerup default setup parameter Main Program V7626 V40600 KO C30 Activate control relay C30 for 1 scan when any key is A la PD pressed on the keypad l N C30 LD Load the contents of V40601 into the V40601 accumulator C20 to C37 This is used as the toggle image register in this program XOR Do an exclusive OR function on the accumulator V40600 contents and
5. SPO Setup Parameter rung here a msg9 prj Empleo Load Values Into Numeric Data Block SP1 LD Load the number 1234 into the accumulator Your K1234 program would read in data from an analog input module for this step etc Always On OUT Place 1234 in the numeric data block location V2010 corresponding to numeric display position 10 LD Load the number 57 into the accumulator K57 OUT Place 57 in the numeric data block location V2014 corresponding to numeric display position 14 Move ACON Data Into Text Data Block SPO LD Load the number of data locations which is 16 K10 words 10 hex or 32 characters First Scan LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K1 K1 Move data into V memory starting at V2100 MONS corresponding to the top two lines on the display LD Load the number of data locations which is 16 K10 words 10 hex or 32 characters LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K2 K2 MOVMC Move the data into V memory starting at V2120 2120 corresponding to the bottom two lines on the display Unmask Numeric Locations SPO LDD Load the constant zero ASCII null character into KO the accumulator First Scan OUTD Place zeros in text
6. SPO LD Load the value 999 in the accumulator K999 First Scan Output the data to memory location V2000 The actual cae contents of V2000 are 0999 However the next instruction 2000 will leave the leading O masked and unmask the 999 LDD Use a Load Double LDD to place the ASCII codes for a K2000 space character followed by three null characters into the accumulator remember the swap effect for LDD box Output the data to memory locations V2106 and V2107 ener The Out Double instruction updates two text positions at a time two data words Numeric Display Positions Text Display Positions 3 2 1 0 0 1 2 3 4 5 6 7 7 6 5 4 10 11 12 13 14 15 16 17 13 12 11 10 20 21 22 23 24 25 26 27 17 16 15 14 30 31 32 33 34 35 36 37 76543210765 43 2 1 76543210765 43 2 a Numeric Data Text Data Position V Memory Number Position V Memory Data Text Position V Memory Data Text 0 2000 0999 0 2100 2020 20 2120 2020 1 2001 0000 1 2101 2020 21 2121 2020 2 2002 0000 2 2102 2020 22 2122 2020 3 2003 0000 3 2103 2020 23 2123 2020 4 2004 0000 4 2104 2020 24 2124 2020 5 2005 0000 5 2105 2020 25 2125 2020 6 2006 0000 6 2106 2000 26 2126 2020 7 2007 0000 7 2107 0000 27 2127 2020 10 2010 0000 10 2110 2020 30 2130 2020 11 2011 0000 11 2111 2020 31 2131 2020 12 2012 0000 12 2112 2020 32 2132 2020 13 2013 0000 13 2113 2020 33 2133 2020 14 2014 0000 1
7. DO YOU WANT BIT CONTROL MODE YES PUSH ENT KEY NO PUSH CLR KEY 765 43 210765 43 2 1 0 At the moment we will decline actually entering Bit Control mode by pressing the Clear key The message Exit Bit Control Mode confirms our choice and then the display automatically returns to Status Display Mode after a 1 second delay PRESS cer lt gt EXIT BIT CONTROL MODE TLE E EE So TE AIND 1 sec delay Go x 00 MEN EH E X 10 xX 20 EE EE x 30 EEEE Tre FAE Bloods A E a hee 32 gt Ty 0 Now that you are familiar with the keypad and display responses you re ready to learn the secret to successful DV 1000 programming O Getting Started 173 Setup Parameters the Key to DV 1000 Success Purpose of Most DV 1000 modes require setup parameters Refer to the figure below These Setup Parameters are V memory locations in the CPU reserved for DV 1000 use Their purpose is Setup parameters simply tell the DV 1000 where to find its display data Accordingly the DV 1000 is completely lost without its setup parameters
8. 150 160 EE EE x 170 E EEE E 765 43 210765 43 2 140 x K PRESS El lt gt NOTE Since the bit patterns display at least 8 bits on each row the units digit of the address is always 0 Therefore the cursor cannot be moved to the units position in the address for editing Status Display Mode Ba Selecting the Data Type You can view various V memory data types by using the Plus and Minus Keys on the keypad Beginning from the default display verify that the cursor is over the X Then press the Plus Key to view the status of Y output bits as shown below Y 00 E E EE Y 10 PRESS G a ae a E Y 30 MN El 765 43 210765 43 2 1 50 Data types X Y GX C SP T CT S V and P are accessible in a circular list as shown to the right However you may see one or two fewer data types based on your PLC type Pressing the Plus Key displays the next data type in the clockwise direction Pressing the Minus Key displays the PRESS PRESS next data type in the counter clockwise direction Data types V and P are displayed in hexadecimal format rather than as discrete bits As an example lets view V type data now Increment the display from Y type to
9. location V7642 not V7722 a Change Preset Mode continued DV 1000 Examples a preset6 prj Move ACON Data Into Text Data Block Load zeros as ASCII codes for Titles 3 4 1 LD K8 LD KO LDLBL K1 MOVMC V2200 LDD KO OUTD V2210 OUTD V2212 OUTD V2214 OUTD V2216 DLBL K1 END Data for Titles 1 2 ACON SetPointActual spaces 2 Load the number of data locations which is 8 words two titles for a total of 16 characters Load the address offset For nearly every MOVMC used for ACON data there will be zero offset use KO Read from the ACON following Data Label K1 Move data into V memory starting at V2200 corresponding to the top two lines on the display Load zeros into the accumulator Place the zeros into the text space for title 3 Remember to use only even addresses in OUTD instructions Place the zeros into the text space for title 3 Place the zeros into the text space for title 4 Place the zeros into the text space for title 4 The end coil terminates the main program section The Data Label box marks the beginning of a data area contraining ACON or NCON boxes The reference number for this area is K1 Use the ASCII Constant ACON box to enter text characters directly fr
10. S gt x 00 MEN MN E ojo X 10 a C 10 XxX 20 EE UN c 20 x 30 WEEE c 3 0 76 54 3210765432150 7 65 43 210765 43 2140 NOTE when using some CPUs the plus only needs to be pressed once With Status Mode set up now use the Options Menu to select Bit Control Mode PRESS opt gt PRESS ent gt OPTION DO YOU WANT BIT 1 BIT CONTROL CONTROL MODE 2 PASSWORD YES PUSH ENT KEY 3 SHOW ERR MSG NO PUSH CLR KEY 76 54321076543210 7654 321076543210 NOTE Line 3 SHOW ERR MESG does not apply to some CPUs with setup program PRESS ent gt Automatic gt C 00 YOU ARE IN Cc 10 BIT CONTROL MODE C 20 C 30 765 43 210765 43 2 i140 765 43 210765 43 2 1 0 After selecting Bit Control the Status Mode display automatically returns The keypad is now in Bit Control Mode and the display is in Status Mode This permits us to observe changes in CO to C7 in real time for Bit Control key actions Note that the display cursor is absent now because the keypad function has changed Bit Control Mode mad Keypad Bit Now we can have a closer look atthe status of the bits in V40600 during bit control In Mapping the figure below the keypad maps to bits 0 through 7 as shown
11. Feature V7627 Contents Password Disabled 0000 Password Enabled 0001 to 9999 password 0001 to 9999 To unlock access to change presets go to the password utility under the Options Menu Just press the Options Key and the menu on the display below will appear Then press the Plus Key to cursor from item 1 to item 2 password utility OPTION 1 BIT CONTROL PRESS i 2 PASSWORD 3 SHOW ERR MSG 76 54321076543210 Then press the Enter Key and the password display below will appear The cursor will be over the right most digit of the password PASSWORD PRESS ENT gt 0000 76 54321076543210 Suppose the password is 1234 V7627 1234 Now use the Plus Key to increment the digits and the arrow keys to move the cursor from digit to digit After incrementing to 1234 press the Enter Key to submit the password PRESS amp gt PASSWORD 1234 765 43 210765 43 2 1 40 O 0 Change Preset Mode 6 29 Ifthe password submitted matches the one stored in V memory V7627 the display on the left will appear Ifthe password entry was incorrect the display on the right will appear PASSWORD MATCH WRONG PASSWORD 1234 1223 765 43 210765 43 2 140 765 43 210765 43 2 140 When you submit the correct password the DV 1000 automatic
12. Setpoint 0000 Actual 0000 EAST aero 0000 Lo Alarm 0000 TIMER 1 0000 COUNTER 1 0000 SoakTime 0000 Temp 1 0000 Temp 2 0000 CAMA 0000 7654321076543210 PS 5 43 ZO 7 6 8 453 21 0 0 0 22 Change Preset Mode Individual Default User Titles The User titled presets also provides an option that lets you have custom titles and the default Vxxx titles The setup for this is just as if all the titles are custom However if all the ASCII codes 4 word locations for any title s is all zeros then the DV 1000 substitutes the default title instead Desired Display SetPoint Actual V 2302 V 2303 0000 0000 0000 0000 7 6 5 4 3 2 1 07 6 5 4 3 2 10 To select an individual default title just enter 0000 0000 for its text data The title selections are summarized in the following table Note the inclusion of one timer and counter because all three preset types must have at least one entry Finally we select the password disabled and the powerup mode We arbitrarily choose Change Preset as the Powerup Default Mode User Presets Timer Presets Counter Presets Text Titles Text Data Titles Data Counter Data Locations Locations Locations Titles Locations Setpoint V2200 V2300 Timer 1 V2304 Counter 1 V2305 Actual V2204 V2301 V2302 V2210 V2302 V2303 V2214 V2303 Password Password Value Powerup Mode Powerup Value Enable Disabl
13. 765 43 210765 43 2 1 40 Numeric Display Positions Numeric Data 3 2 1 0 Position V Memory Number 7 6 5 4 i 13 12 11 10 2 17 16 15 14 3 4 7 65 43 2 10 765 43 2 2 0 5 6 7 X 10 a Text Display Positions 11 lt o if2 3 4 5 6 7 10 11 12 13 14 15 16 17 14 20 21 22 23 24 25 26 27 15 30 31 32 33 34 35 36 37 gt i D 768452207 65 4 2 i D n Text Data Text Data Position V Memory Data _ Text Position V Memory Data Text 0 20 1 21 2 22 3 23 4 24 5 25 6 26 7 27 10 30 11 31 12 32 13 33 14 34 15 35 16 36 17 37 4 S 47 DV 1000 Worksheets Display Output Grids Numeric Output Text Output L D Kan cp x e ng Numeric A Output Text Output Numeric Data Starting Address V The following display grids are for general purpose message display planning 3 2 1 0 7 6 5 4 13 12 11 10 17 16 15 14 Text Data Starting Address V 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 20 21 22 23 24 25 26 27 30 31 32 33 34 35 36 37 Numeric Data Starting Address V 3 2 1 0 7 6 5 4 13 12 11 10 17 16 15 14 Text D
14. Change Preset Message Display gt Status Display gt Enter 04 _ o g E _ o o 3 o 09 Enter Enter Change Preset Mode Message Display Mode Status Display Mode Select the value to place in V7626 according to the desired default powerup mode e Previous Mode at power down Power down in either Change Preset Message Display or Status Display modes The DV 1000 will power up in the previous mode e Change Preset Mode the operator uses the keypad to change data values at selected memory locations shown on the display e Message Display Mode display messages text and numbers This can be with or without Bit Control Mode because the two modes are independent Message Display Mode once entered utilizes only the display while Bit Control Mode once entered utilizes only the keypad e Status Display Mode to monitor values of V memory locations selected from the keypad NOTE If you use Message Mode with Bit Control enabled as the power up default we recommend using your ladder program to write a message to the DV 1000 display indicating bit control mode See the chapter on Bit Control Mode for more details including an example program Powerup Default Example Program DV 1000 Setup Parameters 11 Now we give an example ladder program to enter the Power up Default Operational Mode you have selected in V7626 The program uses Message Mo
15. LD V7766 SHFL K8 OUT V2010 Month LD V7773 OUT V2016 Day LD V7772 SHFL K4 OUT V2015 Year LD V7774 SHFL K8 OUT V2014 Eory Message Display Mode Load the hours value from the real time clock source in V memory into the accumulator Place the hours digits in the proper numeric position on the third row Load the hours value from the real time clock source in V memory into the accumulator Subtract 12 from the hours value This converts 24 hour time to 12 hour time convention Place the hours digits in the proper numeric position on the third row Load the minutes value from the real time clock source in V memory into the accumulator Shift the minutes digits one digit 4 bits to the left in the accumulator Place the minutes digits in the proper numeric position on the third row Load the seconds value from the real time clock source in V memory into the accumulator Shift the seconds digits two digits 8 bits to the left in the accumulator Place the seconds digits in the proper numeric position on the third row Load the month value from the real time clock source in V memory into the accumulator Place the month digits in the proper numeric position on the fourth row Load the day value from the real time clock source in V memory into the accumulator Shif
16. LDLBL K3 MOVMC v2110 LDD K3d20 OUTD V2122 LDD K3a3a00 OUT V2124 LDD K3d20 OUTD V2132 LDD K2f2f00 OUTD V2134 LDD K20200000 OUTD V2136 o Hours AM and PM LDD K414d0000 I 1 S C2 V7770 K12 OUTD V2126 LDD less I K504d0000 OUTD V2126 Load the number of data locations which is 8 words 16 characters Load the address offset For nearly every MOVMC used for ACON data there will be zero offset use KO Read from the ACON following Data Label K3 Move data into V memory starting at V2110 corresponding to the second line of the display This writes the fault type to the display Load the ASCII codes two null characters 0000 followed by the ASCII codes for Place the characters to the right of Time on the third row of the display and unmask the two character positions for the hours digits Load the ASCII codes for a colon two null characters and another colon Place the colons on the third line of the display for the time output and place the null characters so they unmask the minutes digits Load the ASCII codes for two null characters 0000 followed by the ASCII codes for Place the characters
17. Then all the main ladder program has to do is write text where desired and unmask numerical positions where numbers are desired Perhaps the best character to use is the space character ASCII code 20 hex The display has 64 character positions requiring 32 words of 2020 hex For the DL405 CPUs use the FILL instruction For the DL105 DL205 and DL350 CPUs you can use a single LDD instruction followed by sixteen OUTD instructions NOTE You may recall seeing the display filled with zero 0 characters when you first powered up the DV 1000 Since the text data unmasked all the numeric locations the numeric output all zeros was displayed 4 4 22 Message Display Mode Parameter Setup Program 2 Parameter Setup Numeric and Text Data SPO Load octal address 2000 into the accumulator This LDA instruction automatically converts the address into its 02000 hexadecimal equivalent First Scan Only OUT Output this address to V7623 the location of the setup V7623 parameter which is the numeric message pointer Load octal address 2100 into the accumulator This LDA instruction automatically converts the address into its 02100 hexadecimal equivalent OUT Output this address to V7624 the location of the setup V7624 parameter which is the text message pointer LD Load the constant K2 BCD into the accumulator The K2 value 2 corresponds to Message Mode as the Powe
18. X7 X17 X37 Y17 Y37 Y57 D exe V40500 The I O address of YO to Y17 is at V40500 The following program example sets up Bit Control Mode for YO to Y7 It shows YO being normally controlled by XO However ladder logic will overwrite the DV 1000 s requested on state of YO at the end of every scan because YO is also referenced as an output coil in the program See the next example for the proper method to do this WRONG Parameter Setup Bit Control Load octal address 40500 into the accumulator V40500 is ae the location of YO to Y17 OUT Output this address to V7625 the location of the setup V7625 parameter for bit control Main Progr XO YO a le YO is normally controlled by X0 in the application It is also N requested on during Bit Control when the Change Preset 7 Key is pressed o gt SHG mse lt _ 2 STAT OPT 4 6 Nx oO 0 CLR ENT 0 7 10 Bit Control Mode Instead of trying to bit control YO directly we use a control relay and do a logical OR with the normal control logic for YO Then we set up Bit Control Mode for CO to C7 Now the conflict is eliminated because CO is only referenced as an input in the program CORRECT Paramete
19. e Timer titles and Counter titles are located in the DV 1000 and cannot be changed Therefore no programming is required for these The maximum number of User titled Presets is 16 for DL130 DL230 and DL240 CPUs and 32 for DL250 DL350 and all DL405 CPUs A maximum of 99 Timer titled presets and 99 Counter titled presets are available on all systems The lists which reside in PLC V memory require setup parameters as well as ladder programming The location of setup parameters is listed in the table on the following page Setup parameters for Change Preset Mode lists are a subset of the DV 1000 setup parameters They include both pointer and block size types Pointers specify the beginning addresses of each list Block sizes are a constant that specify the length of each list pair e The length of the titles list and data list for each title type is always the same so the block size specifies both e The lengths of the three types of lists may be equal or different NOTE Each list must have at least one entry You cannot use zero for any of the three block size list length parameters PLC USER PRESET V Memory V Memory Titles Data ESS a e M E m E DS e S aj EE z DV 1000 TIMER Titles Firmware
20. the first item The information to be displayed will V Memory Space obviously not fit in the standard numeric vo000 and text data blocks Consequently we have to choose a method of moving the User Data data into the standard data blocks Refer v2000 i N Data Block to the memory map to the right v2017 o N TA Setup Parameters define the standard v2040 Numeric List ez numeric block at V2000 and text data block at V2100 as in the other examples v2100 Text Data Block in this chapter However a separate y2137 AMS numeric list at V2040 and text list at 2200 contains the all information to be V2200 Text List Z scrolled through the display Therefore the main program moves a different portion of the lists into the corresponding data blocks every two seconds Since the DV 1000 constantly re reads the data blocks pointed to by the setup parameters it completes the scrolling effect Setup Parameters V7623 Numeric Pointer 2000 V7624 Text Pointer 2100 To scroll the display message the ladder program on the next page creates and uses the following variables to manage the data in the scrolling process Variable Location Range of values List Item Pointer V4000 O to X Item Pointer During Scroll V4001 X to X 3 Text List Address Offset V4002 O to 40 hex Text List Address Pointer V4003 2200 to 3010 octal
21. 0 0e cee e eee e eee 4 32 Multiple Message Displays es coria eddie AS i ee ee ee ee ee 4 32 DYNAMIC Texcoco db dd 4 36 Blinking VOX oo A A At 4 38 Polarity Sign for Numeric Output 0 ccc cece cee net eee eee nee neenaes 4 41 Embedded Time and Date DL240 DL250 DL350 DL440 and DL450 Only 4 44 Bar Graph Example DL240 DL250 DL350 DL440 and DL450 Only 4 49 Bar Graph Example DL240 Analog Potentiometers 000 0 cee eee eee eee 4 53 Automatic Scrolling Display DL240 DL250 DL350 DL440 and DL450 Only 4 57 Embedded Decimal Poit sesers kesan ear EE EE eee Sie ICS gn 4 62 Chapter SUMMA o Asante kta eat 4 65 S mmary OF KEY PONS sara 4 65 Chapter 5 Status Display Mode OVvenvieW cui 5 2 Status Display Format tit use onto Bade SU a tl eo HE ar ad da Sia dat Dan a Maat 5 2 Selecting Byte or Word Displays acct dca a a Seca aS oe Rn Ghee Saeed fare ee Sele ct 5 3 Selecting the Address sacara rare AR AAA ax 5 4 selecting the Data Type wis views se cn eee a eee eee eee 5 5 Using the Bookmark scouts ok oes see Aa a 5 6 Chapter Summary 2 A chee sia irae A RA wae remands 5 7 Summary of Key Points 222552 es er beads hiba beca bbs prada chat beeen 5 7 Table of Contents Chapter 6 Change Preset Mode OVEIVIGW stars ara idas ada ee ani asias 6 2 Change Preset Defined iii rd id Mies dd 6 2 How Change Preset Works sectorial 6 2 Titleand D ta Fields ys ii e
22. Combine the contents of the accumulator lower nibble with the saved contents of V2215 upper nibble We have a word now ready to write Write the bargraph word 2 characters to the proper text position s address pointed to by V2214 Increment the character pointer in order to make the next compare Increment the text data pointer in order to write to the next text position on the display Message Display Mode continued acpirect Dv 1000 Examples a msg16 prj Y End of Row V2210 K10 End of Display v2211 K4 LD KO OUT V2210 INCB V2211 LD P2212 BIN OUT P2213 INCB P2213 INCB V2212 INCB V2213 LDA 03774 OUT V2212 LDA 02204 OUT V2213 LDA 02100 OUT V2214 LD KO OUT V2210 OUT V2211 END Load 0 into the accumulator Reset the character pointer at V2210 to zero Increment the row pointer at V2211 Load the next raw analog value into the accumulator for processing Convert the accumulator contents to binary Write the processed analog value to the proper address pointed to by V2213 Increment the processed analog value pointer Increment the raw analog value pointer Add one to the processed analog value to scale it fro
23. Convert the number in the accumulator to BCD format Increment the accumulator contents by 8 This adds eight to the text data pointer Convert the BCD number in the accumulator to binary format Update the text data pointer with the newly calculated value This is a source address Load the current numeric data block pointer into the accumulator Convert the number in the accumulator to BCD format Ee Message Display Mode continued FuDirect Dv 1000 Examples a msg17 prj ADDD K4 BIN OUT V4004 INCB V4001 4001 V4006 I LD 51 KO OUT V4001 Check if Display Update is Complete Increment the accumulator contents by 4 This adds four to the numeric data block pointer Convert the BCD number in the accumulator to binary format Update the numeric data block pointer with the newly calculated value This is a destination address Increment the list item pointer during a scroll by one If the list item pointer during a scroll at V4001 is equal to the list length at V4006 load the constant zero into the accumulator Set the list item number during a scroll to zero CO V4003 K460 CO If a scroll is in progress CO is on and the text _ RST destination address at
24. Data types X Y GX C SP T CT S V and P are accessible in a circular list as shown to the right Cursor keys let you select the data type for viewing Note that some CPUs feature slightly fewer data types This mode features a bookmark which records the data type and address of the V memory location being viewed when you exit Status Display It can be recalled during a later use of Status Display Mode later with only an extra key stroke Data types V and P are shown as 4 digit hexadecimal numbers Cursor keys allow you to randomly access various address locations If you need to change the data value s refer to the section on Change Preset Mode lt lt lt V 2100 2101 2102 2103 4D41 4348 494E 4520 765 43 210765 43 2 1 0 Message Display Mode see Chapter 4 Getting Started Be Fault Messsage In Message Display Mode display output can be from one of three different sources System Messages includes Fault PART JAM ZONE 1 Messages and Error Messages and User Messages as shown Fault Messages are generated by using the Fault Message Box in ladder logic F042 NO CPU BAT T System Error Messages are automatically generated by the CPU upon an error Error Message event Fault Messages and System Error User Message Messages have display priority over User Messages CONVEYOR SPEEDS User Messages let you create numeric Line 1 123 fpm and text
25. PRESS TIMERI4 0000 TIMER11 0000 TIMER15 0000 TIMER12 0000 a a TIMER99 1000 0 765 43 210765 43 2 1 0 With the cursor in the data position use the Cursor Right and Cursor Left keys to move it among the four digit positions PRESS OR gt Digit Positions Press the Plus Key to increment a digit and the Minus Key to decrement V2300 112314 it The range of input change is from 0000 to 9999 BCD Incrementing past 9 or PRESS decrementing past O carries to or borrows from respectively the digit s to the left of the cursor position 0000 9999 To enter a password press the Options Key to view PRESS opt the Options menu Press the Plus Key to move the cursor to the password option Then press the OPTION Enter Key Use the Plus Key and Cursor Keys A SARA to increment the password code to the correct value Then press Enter SHOW ERR MSG 654321076543210 1 2 PASSWORD 3 7 PRESS ENT PRESS and PRESS ent as needed PASSWORD PASSWORD PASSWORD MATCH 0000 1234 1234 7654321076543210 7654321076543210 7654321076543210 For correct password entries the message PASSWORD MATCH is briefly displayed The DV 1000 returns to the previous Change Preset Mode Incorrect passwords
26. Numeric Data Block Address Pointer V4004 2000 to 2014 octal Numeric List Address Pointer V4005 2040 to 2040 X octal List Length called X V4006 1 to 20 hex Examples Message Display Mode a msg17 prj fs Initialize Variables SPO SPO Setup Parameter rung here First scan only Move text data Unmask numeric positions Set Up Scroll Timer LD Kb OUT V4006 LD K58 LD KO LDLBL K1 MOVMC V2200 LDD KO OUT V4000 OUTD V2206 OUTD V2216 OUTD V2226 OUTD V2236 OUTD V2246 OUTD V2256 OUTD V2266 OUTD V2276 OUTD V2306 OUTD V2316 TO LY TMR TO K20 Load the constant Kb hex or 11 decimal into the accumulator Set the list length at V4006 to 11 items Load the constant K58 hex into the accumulator This is the number of words 88 decimal we need to move to create the text data list Counting the words in the ACON boxes we have 20 20 20 20 8 88 Load the constant KO into the accumulaor This is the offset for MOVMC and is usually zero Load the data label K1 into he accumulator The data is after the label K1 Move the data to the V memory area starting at V2200 This instruction uses the three numbers from
27. OUT V2203 Initialize Variables SPO Sa LD KO First st scan only OUT V2210 OUT V2211 LDA 02200 OUT V2212 LDA 02204 OUT V2213 LDA 02100 OUT V2214 Load the contents of V40400 X0 to X17 into the accumulator Channel 1 data is being sent when X15 and X14 are off The Out instruction places the data in V2200 storing the raw data for channel 1 Channel 2 data is being sent when X15 is off and X14 is on The Out instruction places the data in V2201 storing the raw data for channel 2 Channel 3 data is being sent when X15 is on and X14 is off The Out instruction places the data in V2202 storing the raw data for channel 3 Channel 4 data is being sent when X15 and and X14 are off The Out instruction places the data in V2203 storing the raw data for channel 4 Load the constant KO into the accumulator Initialize the character pointer to zero This points to one of 16 characters on the current row Initialize the row pointer to zero This points to one of 4 rows of characters on the display Load the octal address 2200 into the accumulator V2200 is the location of the raw analog data Initialize the raw analog value pointer at V2212 to point to the first analog value at V2200 Load the octal address 2204 into the accumulator V2204 is the location of the processed analog data Initialize the raw analog value pointer at V2213 to point to the first analog value at V2204 Load
28. OUT V7622 LD K2 OUT V7626 LD K1234 OUT V7627 LDA 02310 OUT V7720 LDA 02330 OUT V7721 LD K508 OUT V7722 Load octal address 2300 into the accumulator V2300 is the beginning location of the user preset values Output this address to V7620 the location of the setup parameter for the beginning address of user preset values Load the octal address 2200 into the accumulator Output the address to V7621 the location of setup parameter for the starting address of the title text block Load the constant K8 BCD into the accumulator Output the constant K8 to V7622 the location of the setup parameter for the User titled label block size Load the constant K2 into the accumulator Output the constant K2 to V7626 the location of the Powerup Default Mode setup parameter The value of 0002 selects Message Display Mode Load the constant K1234 into the accumulator Output the constant K1234 to V7627 the location of the Change Preset Password The password will be 1234 Load the octal address 2310 into the accumulator Output the octal address 2310 to V7720 the location of the setup parameter for the starting address of the Timer Presets NOTE DL130 and DL230 CPUs use memory location V7640 not V7720 Load the octal address 2330 into the accumulator Output the octal address 2330 to V
29. The table above gives the address of these as V40600 which we enter at V7625 Finally we select Message Mode with Bit Control by entering 0012 in V7626 The following program does the parameter setup for these choices TT Parameter Setup Bit Control ncpreg a bitctrl1 prj Bao p SPO LDA Load octal address 40600 into the accumulator V40600 is 040600 the location of CO to C17 First Scan Only OUT Output this address to V7625 the location of the setup V7625 parameter for Bit Control Load the BCD constant K12 into the accumulator It is the re code to select Bit Control and Message Mode This is optional as you may select a different powerup mode OUT Output this constant to V7626 the location of setup V7626 parameter for the default powerup mode e 1 6 Bit Control Mode Using the Keypad To Do Bit Control Selecting This section requires the parameter setup program of the previous section to be Bit Control and loaded in your CPU If you have done so we re ready to see first hand how bit control Status Modes works from the keypad The setup parameter you have loaded for V7625 points to control relays CO to C7 located at V40600 Now enter Status Display Mode to see bit control work Then select variable type C PRESS stat gt PRESS
30. User title There are four display positions per title to the left of each row The DV 1000 reserves Text Display Positions the right side of each row for displaying the preset data so these do not map into title 0 1 2 3 text positions Each text display position 4 5 61 7 corresponds to one V memory location which contains two 8 bit ASCII codes Sal The display positions are numbered in 14 15 16 17 octal to help you reference them to 7654321076543210 corresponding V memory addresses NOTE The complete ASCII table for the DV 1000 is in Appendix B Now we consider the arbitrary title abcdefgh on the top line of the display a bc def gh We have to program V memory with the 41 42 43 44 45 46 47 48 text data in the proper location Here are the steps ASCII codes e We choose the User titled Preset Text Display Positions titles starting address Our example arbitrarily uses V2200 O A 209 es e We choose a block size of one one 4 5 6 7 title This means we reserve and to 111 12 1 113 program four V memory locations for a single title 14 15 16 17 e We use the text display position map LON oda eg Sane Le we Ng here to program the proper four V memory locations with ASCII Text Data codes Position V Memory Data_ Text 4142 ab 7 1 2201 4344 cd NOTE This list may
31. _ aii 2 Q 02 Overview Purpose of Setup Parameters Location of Setup Parameters Types of Setup Parameters Some of the operational modes of the DV 1000 have user selectable features which require some user programming before those modes may be used In the Display and Keypad Basics exercise of Chapter 1 we saw some Setup Error messages occur These were normal because there were no setup parameters entered for the mode requested by our keypad entry The goal of this chapter is to define the setup parameter requirements for all DV 1000 modes and then show how easy it is to program these parameters All setup parameters reside in the CPU s V memory space not in the DV 1000 This is the most fundamental concept in understanding setup parameters The DV 1000 has no user memory of its own Instead a block of V memory locations is reserved in the CPU specifically for these setup parameters At powerup the DV 1000 reads the setup V Memory Space parameters from the CPU s V memory V0000 Refer to the image of V memory to the right The memory map starts at the top at V0000 and its width is one data word Setup parameters occupy V memory locations from V7620 to V7627 on all CPUs and from V7720 to V7722 on all CPUs except DL130 and DL230 CPUs which use locations V7640 to V7642 V7620 tO Setup Parameters Although they are technically separated V7627 into two blocks this ma
32. the stack which we loaded above Load the constant KO into all 32 bits of the accumulator Initialize the item number Unmask the numeric position for item 1 Unmask the numeric position for item 2 Unmask the numeric position for item 3 Unmask the numeric position for item 4 Unmask the numeric position for item 5 Unmask the numeric position for item 6 Unmask the numeric position for item 7 Unmask the numeric position for item 8 Unmask the numeric position for item 9 Unmask the numeric position for item 10 Configure Timer O as a two second self resetting timer Mis Message Display Mode continued Y Initialize Variables for New Display TO Co Set CO every 2 seconds CO is active for four scans and is then reset Contact SPO ensures we update a msg1 7 pr SET the display starting with the first scan Examples SPO LDA Load the octal address for V2100 into the 02100 accumulator OUT Set the text data pointer at V4003 to point to V2100 V4003 LDA Load the octal address for V2000 into the 02000 accumulator OUT Set the numeric data pointer at V4004 to point to LD Load the current item pointer into the accumulator V4000 OUT Copy the list item pointer into V4001 the item pointer VA00
33. to the right of Date on the fourth row of the display and unmask the two character positions for the years digits Load the ASCII codes for a two null characters and another Place the characters on the fourth line of the display for the date output and place the null characters so they unmask the month digits Load the ASCII codes for two spaces followed by two null characters Place these characters on the fourth line The null characters unmask the year digits and the spaces mask the last two character positions Use control relay contact C2 to extend the logic of this rung to more rungs to AND with relational contacts If the hours value is less than 12 then load the ASCII codes for AM The null characters 0000 unmasks the minutes digits Place the AM characters to the right of the time display on the third row If the hours value is 12 or greater then load the ASCII codes for PM The null characters 0000 unmasks the minutes digits Place the PM characters to the right of the time display on the third row continued Examples a msg14 prj 24 hr to 12 hr Clock C2 V7770 K13 I LD V7770 OUTD V2012 C2 V7770 K13 I Z LD V7770 SUBD K12 OUTD V2012 LD V7767 Minutes SHFL K4 OUT V2011 Seconds
34. up to 15 feet The noise immunity of the DV 1000 communications may decrease with cables longer than 15 feet DL105 DL205 DL350 DL430 DL440 DL450 Connection DL450 Connection 15 Pin D shell RJ12 RJ12 i RJ12 la 4 5 3 4 ra 7 1 2 7 5 8 2 1 t 6 11 UI 6 Shield 12 gt I 13 14 Shield 15 Shield Pin Information RJ12 Connector Pin out Common 5VDC RX TX 5VDC Common o lo a joo N gt 123456 ca Installation Guide Step 6 Connecting the DV 1000 to the CPU In the first five steps we have selected the number of DV 1000s PLC type decided where to mount the PLC and DV 1000 and selected the proper cable to connect them Now we re ready to connect the DV 1000 to the CPU After doing so turn on the PLC by applying electrical power If properly connected the DV 1000 will turn on whenever the PLC is on the CPU PWR LED is illuminated The back light is always on whenever the DV 1000 is powered After the DV 1000 is powered you can adjust the display contrast An adjustment screw is accessible at the bottom of the Direct 1000 unit through a small hole Use a small Philips screwdrive
35. we add a Data Label box It announces the data box which EnD follows and allows the main program to reference the data box by the label Data Label The ACON ASCII Constant box follows as the last program element ASCII Constant Setup Parameters The main program section receives a new instruction too The MOVMC Move Memory Cartridge instruction reads the ACON data the text data into V memory space so the main ladder program can use it Note that the MOVMC requires supporting data to be loaded onto the stack before its use The following example shows how this process works Ma Message Display Mode ACON Example Now we create a program example to use Desired Display Program 1 the ACON instruction The example A lline olf age display to the right shows A line of text as the message on the first line Even though this is 15 characters the ACON box must contain an even number of characters we ll use 16 And this example still uses a blank display as a 165 432 1 0 7 6 58 403 22008 0 starting point setup program 2 0 SPO Setup Parameter rung here nadie a msg8 prj DV 1000 Examples SPO Load the number of data locations This will be the LD number of character pairs so we use 8 because there K8 are 16 characters total NOTE T
36. which connects to the PLC inside the control cabinet In turn the PLC connects to the machine or factory process through wiring to sensors relays solenoids motors and so on Monitor and The DV 1000 features several operating modes that may be used in a variety of Control ways But at a basic level it provides two types of accesses to data monitor and control Refer to the drawing below Monitor Display OPERATOR DV 1000 Control Keypad Outputs Monitor product quality or process performance The drawing shows the flow of information between the operator and the machine or process Purposes of The control panel communicates the status of the machine or process to the Monitoring operator Some of the kinds of information it conveys are e Production totals e Machine setup and process status information e Quality control statistics e 1 0 point status for troubleshooting Use Message Display Mode see Chapter 4 for these types of messages For example a diagnostic message that says Part Jam Zone 3 gives an operator a good idea of the nature of the problem and its location Use Status Display Mode see Chapter 5 to view the PLC s I O bit status for troubleshooting Purposes of The control panel enables an operator to change the process instructions or Control setpoints Some of the goals accomplished by control inputs are e Change a process variable setpoint during runtime such a
37. ASCII codes Below is a portion of the ASCII table which lists capital letters see Appendix B for the complete table of characters and symbols with their ASCII codes ASCII Char ASCII Char ASCII Char ASCII Char Code Code Code Code 41 A 48 H 4F O 56 V 42 B 49 l 50 P 57 W 43 C 4A J 51 Q 58 X 44 D 4B K 52 R 59 Y 45 E 4C L 53 S 5A Z 46 F 4D M 54 T 47 G 4E N 55 U An ASCII code is an 8 bit binary number byte representing a single text character or symbol Therefore each V memory location 16 bit data word in our text table can contain two ASCII codes representing two characters The example to the right uses the capital V2100 letters A and Z The ASCII codes for MSB LSB these are 41 and 5A in hexadecimal Olo olof ol o 1 of 4 4 0 1 ofi lo respectively Memory location V2100 is 18 14 13121110 98768543210 the first text data location shown containing the codes for the letters A and Z First Second Char Code Char Code 41 A 5A SZ a 10 Message Display Mode Use the following ladder rung as the main program to load the ASCII codes for A and Z into the first text data location keep the Setup Parameter rung in the a areg a msg5 prj DV 1000 Examples program a Setup Parameter rung here First Te
38. DL240 Analog modify the previous bar graph program to HE Potentiometers read these four inputs The DL240 O potentiometers are accessible on the front a bezel with a small screwdriver These H potentiometers map directly into system Analog Pots V memory as 8 bit numbers having a resolution of 1 part in 256 The ladder logic program takes the range of 0 to 255 and re scales it to Oto 15 In this way the number of segments on each row can vary from 0 to 15 in proportion to the potentiometer adjustment Potentiometer Adjust Display Output Turn clockwise to Jl ue Q increase value 1 O cui 0 Max 2 Os TEE o CH3 Ses SSSR 765 43 210765 43 2140 To see this program work just load the file from disk and place the PLC in Run Mode Message Display Mode SPO Setup Parameter rung here a msg16 prj Examples Set Up Analog Potentiometer Scalings aa LD Load the constant KO into the accumulator KO First scan only OUT Set the bottom of Channel 1 range to zero V7640 OUT Set the bottom of Channel 2 range to zero V7642 LDA Set the bottom of Channel 3 range to zero V7644 OUT Set the bottom of Channel 4 range to zero V
39. JAM will appear in the text field and blink at a 1 Hz rate X0 Off X1 Off X0 On X1 On MACHINE STATUS MODE MAN ALARMS MACHINE STATUS MODE AUTO ALARMS JAM 765 43 210765 43 21 0 Now we can decide how to write the blinking text ladder program We ll use the ACON text entry method for the basic form of the screen which will include MACHINE STATUS MODE and ALARMS The blinking text will occupy text positions 25 and 26 765 43 210765 43 2 1 40 Blinking Text Display Positions 0 1 2 3 4 5 6 7 10 1 1 12 13 1 4 15 16 17 2 0 2 1 2 2 2 3 2 4 Eo 27 30 3 1 3 2 333 34 35 36 3 7 765 43 210765 43 2 1 40 The following program builds on the dynamic text example It uses special relay SP4 which alternates between On and Off ata 1 Hz rate to create the blinking effect Load Form Text Data LD K10 LD KO LDLBL K1 MOVMC V2100 Top 2 Lines LD K10 LD KO LDLBL K2 Bottom 2 Lines MOVMC V2120 i Setup Parameter rung here Note If using DL105 be sure CPU is initialized to make inputs XO and X1 operational Load the number of data locations which is 16 words 10 hex or 32 characters Load the address offset For nearly every MOVMC used for ACON data there will b
40. K ff 2 LD K20 v2210 lt P2213 SHFL K8 OUT V2215 INCB V2210 V2210 P2213 LD K ff IV LD K20 OR V2215 OUT P2214 INCB V2210 INCB V2214 4 Message Display Mode 4 99 Load the ASCII constant for 1 into the accumulator We will modify this with an offset to create numbers 1 through 4 Use the row data as an offset for the ASCII codes This will number the display as rows 1 through 4 If the processed analog value is less than the character pointer load the ASCII code for the solid block character bar graph component into the accumulator If the processed analog value is equal to or greater than the character pointer load the ASCII code for the space character blanks bar graph into the accumulator Move the ff or 20 into the second nibble of the accumulator Save the accumulator contents at V2215 while we calculate the lower nibble Increment the character pointer in order to make the next compare If the processed analog value is less than the character pointer load the ASCII code for the solid block character bar graph component into the accumulator If the processed ananlog value is equal to or greater than the character pointer load the ASCII code for the space character blanks bar graph into the accumulator
41. KO LDLBL Read from the ACON following Data Label K4 4 MOVMC Move data into V memory starting at V2120 V2120 corresponding to the bottom two lines on the display LDD Load the accumulator with ASCII codes for null KO characters zeros to unmask numeric display positions OUTD Unmask text display positions 14 and 15 V2114 PAKP DUTO Unmask text display positions 16 and 17 4 Message Display Mode 4 39 continued t t 0 i areg a msg10 prj Examples OUTD Unmask text display positions 24 and 25 V2124 OUTD Unmask text display positions 26 and 27 V2126 OUTD Unmask text display positions 34 and 35 V2134 OUTD Unmask text display positions 36 and 37 V2136 END Place an END coil here to mark the end of the main program Following this are the ACON boxes containing screen data The Data Label box referenced by K1 preceeds ra ie Screen 1 Top 2 Lines the following ACON box ACON This ACON box contains 32 characters Be sure CONVEYOR SPEEDS Line 1 fom to carefully count the spaces to match the j t t t p display spaces 1 2 1 poet Bottom 2 Lines ACON 2 SAME ee eee em spaces 1 1 5 1 1 5 aa Screen 2 Top 2 Lines ACON TOTAL PRODUCTION Line y Vo Po spaces 1 1 1 8 PPB Bottom 2 Lines ACON Line
42. Message Display Mode at any time from the keypad by pressing the Message Mode Message Key unless the keypad is in Bit Control Mode User messages require setup parameters to tell the DV 1000 where to find its message data in V memory If the parameters are not set and V memory contains all zeros the display below will appear 0000000000000000 0000000000000000 0000000000000000 0000000000000000 765 43 210765 43 2 1 40 PRESS mse The next section shows how to program the setup parameters and generate your own message However we first discuss the higher priority system messages System Errors and the Fault Message instruction box in ladder logic generates messages for the outside world They can be viewed using DirectSOFT a Hand held Programmer or the DV 1000 The DL240 DL250 DL350 DL440 and DL450 CPUs retain a log of up to 16 system error messages and a log of up to 16 fault messages which may also be viewed Fault Instruction The following ladder program example will send a Fault Message to the display as Message long as contact X0 is on When X0 goes off the display returns to the user generated message Although the FAULT instruction can display 23 characters on a Hand Held Programmer limit the number of characters to 15 for the DV 1000 top line Fault Message a a msg1 prj XO Output a Fault Message when XO is active Constant ct FAULT K1 references the Data Label
43. Preset Block Size high byte BCD 0101 one timer Counter Preset Block Size low byte onekenuniar DL130 and DL230 CPUs use different memory locations here V7640 instead of V7720 V7641 instead of V7721 and V7642 instead of V7722 ail Change Preset Mode Inthis step we use the information in the setup parameter table to write the program The first portion programs the setup parameters The second portion writes the User Titled text data using MOVEMC and ACON boxes See the Message Display Mode chapter for information on how these instructions work if necessary 0 Parameter Setup Change Preset areg a preset5 prj DV 1000 Examples First Scan Only LDA 02300 OUT V7620 LDA 02200 OUT V7621 LD K8 OUT V7622 LD K1 OUT V7626 LD KO OUT V7627 LDA 02310 OUT V7720 LDA 02311 OUT V7721 LD K101 OUT V7722 Load octal address 2300 into the accumulator V2300 is the beginning location of the user preset values Output this address to V7620 the location of the setup parameter for the beginning address of user preset values Load octal address 2200 into the accumulator V2200 is the beginning address of the User titled text data Output this constant to V7621 the location of setup par
44. Setup Parameter 000 cece cece eee ees P werup Sequentes Sciacca ts dit a A TES Asa Powerup Default Example Program 0 0 cece eect tenets Chapter SUMMARY si622 eesti eects nenn iA stares ner ease Riese chee eee S mmary f Key POINTS oo i656 hee ot tadas Table of Contents M Chapter 4 Message Display Mode OVEIVIGW siii dia ia aia 4 2 Feature List easy auaa a a E A it dia ida ai Seas ee 4 2 Message Priority coronario tara bla da 4 2 System Requirements for Example Programs oocccccccccocc 4 3 DL405 Requirements csccavccessectds eres re a e e iaa 4 3 DL350 Requirements suturas la nen 4 3 DL20S Requirements eseronisricca berrea pereira 4 4 DENS Requirements s spjorcaidioa is aaa 4 4 System Messages siiniiaiditodd 4 5 Selecting Message Mode scout rien ene 4 5 Fault Instruction Message sido Sreciceenvedwide Seegdusetyeceuda SyeGhnsaSredertaee yee 4 5 Syst m Error DISGAY rc densas aliadas ops ide iia da ptes 4 6 Viewing Message Logs DL240 DL250 DL350 DL440 and DL450 Only 4 6 Fault Message Log DL240 DL250 DL350 DL440 and DL450 Only 4 7 System Error Log DL240 DL250 DL350 DL440 and DL450 Only 4 8 Us r MESSAGES sucia a AA AAA RARAS 4 9 Setup Parameters for User Messages ooooccconcconnn ee ee eee eee eens 4 10 Message Data Parameters 2 3 ccecceiavdes arica 4 10 Choosing Data Block Locations oo cirocirercro debe deka eee
45. T Ss zj COUNTER Titles E as ae 7 N a j A E e m a A a USER Titles USER Presets V Memory Vaaaa GS VXxxx GE it i e E EEF A K1 AAA e gt F E A TIMER Data Vyyyy i r a K2 z lt E Cf COUNTER Data Vzzzz y e r a z n E Setup Parameters V7600 Pointers Vaaaa to V7622 VZZZZ V7720 Block K1 K2 K3 V7722 L sizes Change Preset Setup Program 0 Change Preset Mode 6 9 The ladder program required to set up the DV 1000 for Change Preset Mode is very simple In fact the setup program needs only to execute on the first scan use contact SPO The Ladder Program Setup Program things that it must do are The first three of these items are part of the setup parameter location data Later in this chapter we Specify the location of the titles and data Specify the length of title and data lists Create a password or disable it Load text data into the area for user titles if User titled Presets are used include several example ladder programs Main Program The following table lists the subset of the DV 1000 setup parameters which pertain only to Change Preset Mode V Memory Location Setup Parameter Description V7620 User Preset Data Pointer V7621 User Preset Titles Pointer V7622
46. V4003 equals hex K460 I NE 2140 octal the display update is done So reset CO LDA Load the octal address for V2000 into the 02000 accumulator OUT Set the numeric data block pointer at V4004 to V4004 the base destination address value for V2000 n Place an END coil to mark the end of the main END program DLBL The data label K1 marks the beginning of K1 Data for Variable List the ACON ASCII constant boxes which follow ACON The next four ACON boxes hold 40 characters 20 words The text they Lot Number A Setpoint A Actual T contain are the list contents Be sure to carefully count the spaces spaces 1 6 8 1 ACON emp High Alarm Low Alarm i a spaces 5 1 6 1 7 ACON SAME Tank al wl i Tank 2 Lvl i Flow Rat I i spaces 1 1 6 11 6 1 ACON e pra Temp f spaces 7 1 10 1 10 Here we include some spaces at the AGON end of the list so that the blank line at the end of the list has 16 spaces Y spaces 16 requires 8 words o 92 Message Display Mode Embedded Some process variables will include a Decimal Point fractional part that you may want to display by using a decimal point The example screen to the right displays an oven temperature with a resolution of tenths of a degree Fahrenheit OvenTemp 6553 5F 765 43 210765 43 2 1 40 The decimal point occupies a character position in the middle of the number because separate decimal point segments are not built in to each cha
47. V7641 instead of V7721 and V7642 instead of V7722 0 6 6 DV 1000 Worksheets Use the table below as a continuation worksheet User Presets Timer Presets Counter Presets Text Titles Text Locations Data Locations Titles Data Locations Counter Titles Data Locations 2 pe 0 0 E 7 x _ z O O e MT gt a Timer and Counter Timer and Counter label numbering on the DV 1000 is from 1 to 99 decimal This Numbering allows the machine operator the convenience of using decimal numbers However Conversion Chart timers and counter numbers in the CPUs are numbered in octal starting with O If you decide to associate the first timer and or counter labels with the first timer and counter boxes in the CPU the following table provides the required conversion D Oct D Oct D Oct D Oct D Oct D Oct D Oct D Oct D Oct 1 O 12 13 23 26 34 41 45 54 56 67 67 102 78 115 89 130 2 1 13 14 24 27 35 42 46 55 57 70 68 103 79 116 90 131 3 2 14 15 25 30 36 43 47 56 58 71 69 104 80 117 91 132 4 3 15 16 26 31 37 44 48 57 59 72 70 105 81 120 92 133 5 4 16 17 27 32 38 45 49 60 60 73 71 106 82 121 93 134 6 5 17 20 28 33 39 46 50 61 61 74 72 107 83 122
48. and off do so and watch the display response Across the bottom of the screen faceplate is the bit numbering from LSB to MSB NOTE The binary bit patterns or 4 digit word values in these displays are arbitrary examples The bit patterns or values on your DV 1000 depends on the state of your CPU program and process Data types such as P or V are displayed as 4 digit BCD or hexadecimal numbers Step to the V data type by pressing the Minus Key twice Datatype Address BCD or Hex Value 2100 4D41 2101 4348 2102 494E V 2103 4520 765 43 2107 65 43 2 1 0 PRESS lt gt lt a aad MSD LSD Now return to the X data type by pressing the Plus key twice oo MEN MN E 10 ff 20 i NN x 30 NEEE 765 43 2107 65 43 2 1 0 x MOM PRESS gt The default display above shows four bytes or 32 bits of data You can view eight bytes or 64 bits by pressing the Enter Key In the example display below the top line shows X00 through X07 and X10 through X17 directly below To return to 32 bit display format just press the Enter Key again x oo 83838828 x 20 BRSSBSSE PRESS ENT gt a 10 POSADAS ADOOS selects four data words X 60 SAIZ 7 65 43 2310765 43 2 i140 x 0
49. area that contains the ln 1 text message NOTE If using DL105 be sure CPU is initialized to make XO operational END The end coil terminates the main program section The Data Label box marks the beginning of a data area DEBLE containing ACON or NCON boxes The reference number for this area is 1 specified by K1 ACON Use the ASCII Constant ACON box to type the text BIN EMPTY for the Fault Message Limit this line to 15 characters maximum ba Message Display Mode Load the program above and test it by Fault Instruction Messsage turning on X0 While XO is on the fault message will be displayed When itis BIN EMPTY turned off the fault message is removed and the original message display returns 765 43 210765 43 2 1 40 NOTE The ladder program above generates fault messages which immediately appear on the display However note that the fault instruction makes an entry into the fault message log on each scan the fault box is active Therefore this approach fills up the message log in 16 CPU scans with duplicate entries To make only one entry in the log per fault event use the next ladder example with the PD coil System Error System error messages create their own System Error Message Display text when the error event occurs When the DV 1000 is in Message Mode the E042 NO CPU BATT error code and message are displayed as long as the error pers
50. block sizes and data The following table shows the setup parameters as one group Following the description of each parameter the DV 1000 mode which uses that parameter is listed The remaining column references other chapters for more information on how to use specific setup parameters This table applies to all CPUs Pea DV 1000 Parameter Description Operational See Chapter Locations Mode Number V7620 Change Preset Values Pointer CHG PRE 6 V7621 Change Preset Titles Pointer CHG PRE 6 V7622 Change Preset Block Size CHG PRE 6 V7623 Numeric Message Pointer MSG 4 V7624 Text Messages Pointer MSG 4 V7625 Bit Control Pointer BIT CNTRL 7 5 V7626 Powerup Operational Mode Power up 3 Default E V7627 Change Preset Value Password CHG PRE 6 ES V7720 Titled Timer Preset Value Pointer CHG PRE 6 Ss V7721 Titled Counter Preset Value Pointer CHG PRE 6 D V7722 Titled Timer Preset Block Size CHG PRE 6 High byte Low byte Titled Counter Preset Block Size CHG PRE 6 DL130 and DL230 CPUs use different memory locations here V7640 instead of V7720 V7641 instead of V7721 and V7642 instead of V7722 The table on the following page gives further details about the setup parameters Following each parameter description the next column gives the proper data type for each parameter In general pointers are address locations which are in octal Block sizes are simply the number of V memory locat
51. cecccccccccccccccdddddddddddddddd DLBL KS Row 3 ACON ccccccccccccccce DLBL Ka Row 4 ACON dddddddddddddddd ACON Example Program 2 This example shows the true power of the ACON method of text entry in creating display to the right It shows the machine number and status followed by a part count and production rate in parts per hour Remember the numeric locations of 1234 and 57 must be unmasked in the text data Mint Message Display Mode Desired Display MACHINE NO 5 STATUS RUN Part count 1234 Parts hour 57 765 43 210765 43 2 140 Also because the ACON text covers the entire display there is no need to write spaces to all character positions to create a blank starting display Therefore we can use the simpler Setup Program 1 that just sets up the numeric and text data blocks ACON boxes can contain a maximum of 40 characters The DV 1000 display contains 64 characters so we arbitrarily use two equally sized ACON boxes at 32 characters each Insert spaces for blank display locations counting them precisely e Data for the first ACON box contains the top two lines of display text and begins at V2100 e Data for the second ACON box contains the bottom two lines of display text and begins at V2120 Numeric Display Positions ACON MACHINE NO 5 STATUS RUN i spaces 1 4 11 4 ACON Part count Parts hour space
52. character message Assigns 8 contiguous points to the display is available message must DV 1000 keypad be in CPU program Eight keys on the keypad operate Displays text and embedded as momentary normally open numeric values which update with pushbutton switches the application program Bit data types which can be Displays PLC System Error assigned are X Y GX and C Messages and Fault Message Outputs Environmental Operating Temperature 32 to 122 F 0 to 50 C Storage Temperature 4 to 158 F 20 to 70 C Humidity adn 30 to 95 non condensing Environmental Air o o No corrosive gases Vibration oooocoocococoooooo MIL STD 810C 514 2 Shock Resistance o ocoooo o o MIL STD 810C 516 2 Noise Immunity 000 NEMA ICS3 304 Regulatory Agency Approvals UL Listed NO O 150 mA O 5VDC obtained through PLC port Dimensions oooccccccc 5 12 W x 2 83 H x 1 03 D 130mm W x 72mm H x 26mm D A ogo Gre 2d a a e s 5 80Z 165 7 g Installation Guide In This Chapter Introduction Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 6 Step 8 Choosing Single or Dual DV 1000s PLC Selection Selecting a Mounting Location Panel Mounting Cable Selection Connecting the DV 1000 to the CPU Installing the Example Programs Starting DirectSOFT CON Installation Guide Introduction T
53. constant to V7621 the location of setup OUT V7621 parameter for the starting address of the title text block LD Load the constant K1 BCD into the accumulator K1 Output the constant K1 to V7622 the location of the setup OUT h V7622 parameter for the User titled label block size LD Load the constant K1 into the accumulator K1 Output the constant K1 to V7626 the location of the OUT Powerup Default Mode setup parameter The value of 0001 V7626 selects Change Preset Mode LD Load the constant KO into the accumulator KO Output the constant KO to V7627 the location of the OUT q V7627 Change Preset password The value of 0000 disables it LDA Load the octal address 2300 into the accumulator 02300 Output the octal address 2300 to V7720 the location of the OUT setup parameter for the starting address of the Timer V7720 Presets NOTE DL130 and DL230 CPUs use memory location V7640 not V7720 TA Load the octal address 2320 into the accumulator 2320 Output the octal address 2320 to V7721 the location of the OUT 7721 setup parameter for the starting address of the Counter Presets NOTE DL130 and DL230 CPUs use memory location V7641 not V7721 leds Load the constant K1607 into the accumulator Output the constant K1607 to V7722 the location of the OUT block size bytes for Timer and Counter titled data This V7722 selects sixteen timers and seven counters NOTE DL130 and DL230 CPUs use memory location V7642 not
54. corresponding to the first four titles Load the number of data locations which is 8 words 16 characters Load the address offset For nearly every MOVMC used for ACON data there will be zero offset use KO Read from the ACON following Data Label K2 Move the data into V memory starting at V2230 corresponding to titles 7 and 8 Load a double word constant zero into the accumulator Place zeros in the text title location for the fifth text title Place zeros in the text title location for the fifth text title Place zeros in the text title location for the sixth text title Place zeros in the text title location for the sixth text title The end coil terminates the main program section The Data Label box marks the beginning of a data area containing ACON or NCON boxes The reference number for this area is specified by K1 Use the ASCII Constant ACON box to enter text characters directly from the keyboard Use the ASCII Constant ACON box to enter text characters directly from the keyboard Change Preset Mode Change Preset Password Unlocking Access to Change Presets If the setup parameters are valid you will be able to enter Change Preset Mode And if the password is disabled V7627 0000 you may change presets However ifa password exists in V7627 access will be locked When this occurs pressing the Enter Key will not move the cursor to the data field for editing
55. covers the keypad procedure for changing presets Bit Control Mode discusses how to enter and exit Bit Control Mode and how to use it in machine debug applications Troubleshooting Guide Appendix A provides a list of typical problems you may encounter along with the most likely causes and solutions Reference Data Appendix B provides the setup parameter tables and a table of ASCII characters and their hex ASCII codes DV 1000 Worksheets and DL405 CPUs and to DL305 models having Y aE a D3 350 CPU it is not compatible with the other DL305 CPUs lts main purpose is to pc provide access for monitoring and controlling _ data in the CPU and is usually permanently installed in an operator interface but it can also Appendix C provides worksheets that you may copy and use to plan your application program sra resis2to DirectVIEW DV 1000 be used portably as a debugging tool Direct VIEW Getting Acquainted 1000 Features The DirectVIEW 1000 DV 1000 has several different modes which are accessible from its keypad Most modes require some ladder logic in the PLC and setup parameters in V memory which are essential for the DV 1000 to function This manual contains many program examples to acquaint you with all the capabilities of the DV 1000 and help you with
56. dedicates 8 of the 10 keys on the keypad for single bit control These operate as eight momentary normally off pushbuttons Is there password protection for modes that allow the operator to change PLC data Yes there is for Change Preset Mode See Chapter 6 for more on this topic How many DV 1000s can be connected to the PLC A maximum of two DV 1000s may be directly connected to the DL240 and DL450 CPUs See Chapter 2 for other options and general information on this topic Can the PLC cause the DV 1000 to always power up in a certain mode Yes The powerup default mode may be selected by using a particular entry in the parameter setup table See Chapter 3 for more on this topic Is there a way to cause the DV 1000 to stay in Bit Control Mode or any mode that choose You can set up the DV 1000 to power up in particular modes However if the operator presses certain keys on the keypad this takes the DV 1000 out of its original powerup mode Can the PLC cause the DV 1000 to change modes during normal operation PLC run mode No After establishing the powerup mode further DV 1000 mode changes only occur upon keypad entry When does the DV 1000 read its setup parameters from the PLC These are read one time just after powerup and any time a mode change is requested from the keypad What s the best way to enter setup parameters We recommend imbedding the setup as a part of the ladder program Using a SPO contact onthe
57. fault message the fault message log will fill up with duplicate DL450 Only messages in just 16 scans After that more fault messages just overwrite existing log entries Therefore we add a PD coil positive differential which activates for one scan when the off to on transition of XO occurs Fault Message One Scan Only reg a msg2 prj ae x0 co a PD Turn on CO for one scan when XO makes an o OFF to ON transition Co FAULT Output a fault message whenever CO is active K1 U Because of the PD coil only one error log entry occurs for each event END The end coil terminates the main program section The Data Label box marks the beginning of a data area DLBL containing ACON or NCON boxes The reference K1 number for this area is 1 specified by K1 ACON Use the ASCII Constant ACON box to type the text BIN EMPTY es Fault Message Limit this line to 15 characters Enter the program above or load it from the example disk into your CPU After going to RUN Mode turn XO on and off once to cause one fault message entry in the message log The message logs are accessible using the Options Menu Press the Options Key to reach the menu shown below Then use the Plus Key to move the cursor over the third menu selection SHOW ERR MSG PRESS opr gt PRESS ent a gt OPTION SHOW ERR MS
58. in this manual we will confine DV 1000 related data to a memory area common to all CPU types Therefore the examples will use a block of memory starting at V2000 This allows specific example ladder programs to work for all CPU types The only exception to this is that DL130 and DL230 CPUs do not have memory locations V7720 V7722 and use V7640 V7642 instead DL250 DL130 DL350 DL230 DL240 DL430 DL440 DL450 V Memory V Memory V Memory V Memory V Memory V1400 V1400 V1400 V2000 V2000 V2377 V4000 V4177 V4377 V7377 V7377 V7377 V7620 Si V7620 V7620 V7620 V7620 V7647 V7722 7722 V7722 V7722 V10000 V10000 User Data Space DV 1000 Setup Parameters The V memory addresses listed are V17777 the octal memory starting and ending references for the shaded areas Y37777 DV 1000 Setup Parameters MEA Entering Setup Parameters Methods for Entering the Setup Parameters Parameter Setup By Ladder Program Three main techniques are available for setting the values of the DV 1000 setup parameters Using your RLL RLL US program the recommended approach Ladder logic initializes any required setup parameters during the first scan use contact SPO The DV 1000 reads these at powerup or when a keypad entry requests a mode change This method has the advantage of imbedding the setup parameter v
59. is CHG 7 Change Preset PRE MSG Display messages color coded based on key functions The blue keys are dedicated for changing the Monitor Status STAT OPT Optional Modes operational modes The gray keys are cursor Left a multi purpose used for cursor arte el gt didas movements and incrementing or Decrementvalue lt Increment Value decrementing values in the display Cissi cn TI Enter This manual uses some keypad press gap Jen lt gt conventions When keypad entries are required key symbol s will be shown Example 1 preceded by the word Press Example 1 asks you to press the Status Key followed by the Enter key Example 2 asks you to CHG lt gt press the Change Preset key followed by PRESS sae gt gt pressing the Cursor Right Key twice The graphic arrow points to the resulting Example 2 display beside or below the key sequence NOTE When pressing multiple keys or pressing a key repetitively in a key sequence please pause for asecond between keystrokes This allows the DV 1000 time to process each keystroke before the next keypad entry occurs Getting Started MZA CHG PRE Key Press the Change Preset Key when you chs gt Change Preset need to change V memory data This PRESS EE mode requires setup parameters in V memory Because V memory is cleared at this point you will see the error message
60. open switches When ladder logic uses these bit control I O points as inputs keypad entries can request I O bits to turn on as long as keys are pressed V Memory Space User V memory oo 0000 D0000 D000 oo Dl a a3 READ 3 Setup Parameters 3 7 CHG 9 MSG A System I O ERE ES x CATCAT STAT OPT Y Ac gt Gx While the keypad is in Bit Control Mode the display may be in either Message Display Status Display or Change Preset Mode WARNING Bit Control Mode is designed for debug purposes only There is no automatic indication that normal keypad functionality has been suspended With a simple parameter setup and ladder program you can use Bit Control Mode to cole ies cx turn on an output module s output points czele e cs In the example system to the right the ca S cs eight keys shown from the keypad have ce O lO cz been configured to turn on control relays CO through C7 Then the main ladder program uses these to turn on outputs YO through Y7 DoD 0000 gol 00 LOGIC au Directos a 3 0 o spt sp Hr Input Output i o EEE O
61. presets 6 10 to 6 13 Unmasking numeric positions 4 23 User titled presets 6 14 to 6 24 Operator Interface Setup parameters Design Basics 1 14 to 1 15 Bit control mode 7 4 Role of DV 1000 1 2 Change preset mode 6 4 to 6 7 Using single or dual DV 1000s 2 2 to 2 3 Definitions 3 4 to 3 5 Operator s Guide to Change Preset Mode 6 32 to 6 33 General 1 9 How to enter 3 7 OUTD instruction Used for text output 4 17 to 4 18 Loading address pointers 3 8 Message display mode 4 10 to 4 12 4 22 to 4 24 Overview 3 2 to 3 3 Powerup default mode 3 9 to 3 11 Specifications 1 18 Status Display Mode Address selection 5 4 Bookmark 5 6 Data type selection 5 5 Monitoring a process 1 15 Overview 5 2 Quick Tour 1 10 T Timer and counter presets 6 10 to 6 13 6 30
62. pressing the Options Key Bit Control Control is the first of three items you may select so the cursor will already be positioned over item one OPTION PRESS OPT gt 1 BIT CONTR 2 PASSWORD 3 SHOW ERR OL MSG 765 43 2107 6 5 43 21 0 Press Enter to select Bit Control The display message will then ask for a confirmation of your choice by asking Do you want Bit Control Mode At this point when you press Enter the setup error message will be displayed as shown below In the next section we show how easy it is to choose proper setup parameters PRESS ENT gt YES NO DO YOU WANT BIT CONTROL MODE PUSH PUSH CLR KEY ENT KEY 765 43 210765 43 2 1 40 PRESS ent gt without setup program CHECK VALUE V 7625 SET UP ERROR IN 765 43 2107 6 5 43 210 MA I A Bit Control Mode Setup Parameters for Bit Control The following table lists the subset of the DV 1000 setup parameters which pertain to Change Preset Mode The parameter at V7625 selects the address of the bit controlled word in system I O space The parameter at V7626 selects the powerup default mode V Memory Location V7625 Bit Control I O Pointer V7626 Powerup Default Mode Setup Parameter Description Now we have to choose the I O address of the bits we want to control Refer to the columns in the following tables w
63. scratchpad or some example programs will not work inputs XO and X1 will be inactive From PLC menu choose Setup then Initialize Scratchpad LJ YO ICOM Y1 Y2 Y3 Y4 ICOMCOMI Y5 Y6 Y7 PULSE OUTPUT CURRENT SINKING OUTPUT 5 30VDC 25A 5 30VDC 5A Ulscecececsssssscst CA ES 50 60Hz 30VA V N LOGIC H YO Y1 Y2 Y3 Y4 Y5 Y6 Y7 Direct 105 T 3 Koyo X1 X2 XO XK X4 X5 X6 X7 X10 X11 PWR RI 5A OUT 5KHz HSC INT INP 12 24VDC INPUT SINK SRC D 24VDC py del X4 X11 xo X1 X2 X3 X5 COM X6 X7 X10 COM HSE Be Be Be 9 6989 Ko UU U O Input Simulator U U MSB LSB te 880 818 Bit 15 14 13 12 1110 98 7 65 4 3 21 O s oF X 4 X X Xx Xx 17 X0 Switch X1 Switch 7 0 tg LZ 4 Message Display Mode ad System Messages Selecting You may select
64. the ASCII codes for one K2000 space masks leading 0 and three null characters unmasks 123 OUTD Output the data to memory locations V2114 and V2115 V2114 The Out Double instruction updates two text positions at a time two data words Numeric Display Positions Text Display Positions 3 2 1 0 0 1 2 3 4 5 6 7 7 6 5 4 10 11 12 13 14 15 16 17 13 12 11 10 20 21 22 23 24 25 26 27 17 16 15 14 30 31 32 33 34 35 36 37 765435210765 amp 3 2 a 76543210765 3 2 a Numeric Data Text Data Position V Memory Number Position V Memory Data Text Position V Memory Data_Text 0 2000 0000 0 2100 2020 20 2120 2020 2001 0000 1 2101 2020 21 2121 2020 2 2002 0000 2 2102 2020 22 2122 2020 3 2003 0000 3 2103 2020 23 2123 2020 4 2004 0000 4 2104 2020 24 2124 2020 5 2005 0123 5 2105 2020 25 2125 2020 6 2006 0000 6 2106 2000 26 2126 2020 7 2007 0000 7 2107 0000 27 2127 2020 10 2010 0000 10 2110 2020 30 2130 2020 11 2011 0000 11 2111 2020 31 2131 2020 12 2012 0000 12 Zie 5053 32 2132 2020 13 2013 0000 13 2113 493d 33 2133 2020 14 2014 0000 14 2114 2000 34 2134 2020 15 2015 0000 15 alis 0000 35 2135 2020 16 2016 0000 16 2116 2020 36 2136 2020 17 2017 0000 17 2117 2020 37 2137 2020 4 Message Display Mode 4 29 Using the ASCII Constant ACON Instruction The examples so far in this chapter have covered DV 1000 display basics The Load Double LDD instruction loads ASCII values into memory for only four characters t
65. the accumulator Place the accumulator contents algebraic sign in ASCII code into the text display position 15 for channel 2 Channel 3 data is being sent when X15 is on and X14 is off The Out instruction moves the data from the accumulator to V2010 numeric display position 10 Move the ASCII data for the algebraic sign from the stack into the accumulator Place the accumulator contents algebraic sign in ASCII code into the text display position 5 for channel 3 Channel 4 data is being sent when X15 and X14 are on The Out instruction moves the data from the accumulator to V2014 numeric display position 14 Move the ASCII data for the algebraic sign from the stack into the accumulator Place the accumulator contents algebraic sign in ASCII code into the text display position 35 for channel 4 Place an END coil marking the end of the main program The Data Label box referenced by K1 preceeds the following ACON box This ACON box contains 32 characters Be sure to carefully count the spaces to match the display The Data Label box referenced by K1 preceeds the following ACON box This ACON box contains 32 characters Be sure to carefully count the spaces to match the display Message Display Mode Embedded Time and Date DL240 DL250 DL350 DL440 and DL450 CPUs Only In some applications you may want to embed time and date information in a message display output The DL240 DL250 DL3
66. the octal address 2100 into the accumulator V2100 is the beginning of display text data Initialize the display text pointer at V2214 to point to the first text display location at V2100 continued nadrect a msg15 prj Dv 1000 Examples y Write Channel Labels v2210 KO V2210 KO V2210 P2213 LD K31 ADD V2211 Write Bar Graph Components Z lt V2210 KO V2210 P2213 LD Kff Z gt LD K20 V2210 KO V2210 P2213 SHFL K8 OUT V2215 INCB V2210 Z lt V2210 KO V2210 P2213 LD Kff Z gt LD K20 OR V2215 OUT P2214 INCB V2210 INCB V2214 4 Message Display Mode 4 91 Load the ASCII constant for 1 into the accumulator We will modify this with an offset to create numbers 1 through 4 Use the row data as an offset for the ASCII codes This will number the display as rows 1 through 4 If the processed analog value is less than the character pointer load the ASCII code for the solid block character bar graph component into the accumulator If the processed analog value is equal to or greater than the character pointer load the ASCII code for the space character blanks bar graph into the accumulator Move the ff or 20 into the second nibble of the accumul
67. to the right which is normal CHECK VALUE IN Note the absence of a cursor in this display indicating the cursor keys are MET Oe EMO a SET UP ERROR disabled T s 4 93 59 20 7 6 5 43 2 0 MSG Key Press the MSG key to view messages Message from the CPU This mode requires setup PRESS MES gt parameters in V memory However since V memory is presently cleared the display 0000000000000000 shows a valid default message O000000000000000 consisting of all zeros 0000000000000000 0000000000000000 Te 6375 4 3028 A 07 6 Sa 32 E Y STAT Key Press the Status Key to view the current lt gt Status status of various CPU memory locations PRESS E This mode does not require setup parameters in V memory The default x 00 MEM MMM memory type displayed upon entry to X 10 Monitor Status Mode is the X input type starting with X0 The right half of the eee EN EE display shows eight discrete points one X 30 g E E K byte per line The particular binary pattern 7654321076543210 shown to the right is an example only Your specific display depends on the current binary O E binary 1 status of your system CURSOR and The Cursor Right and Left Keys move press gt Keys the cursor on the top line and the Plus gt and
68. yield the message WRONG PASSWORD If your DV 1000 setup requires a password you can PRESS ent ENT lock access again after changing presets Just follow the instructions above for entering a password but enter 0000 for the password The message PASSWORD LOCKED confirms your action Now access to changing presets is locked esas Le Sas io PASSWORD LOCKED 0000 sta Change Preset Mode Chapter Summary Summary of Key Points Now we have covered Change Preset title types and how to edit data using the keypad We may summarize some of the key points we have learned about Change Preset Mode in this chapter Change Preset simply means Change V memory data Changing data on the display immediately changes the value in the PLC There is no prompt for confirmation of the change In order for the change of a preset V memory data to change the behavior of your process some instruction s in the ladder main program has to read the V memory data and use it Three types of preset titles are available in Change Preset Mode If you use Change Preset Mode in your application all three title types must be set up for at least one title This means the three block size setup parameters must be equal to one or greater Access to changing presets can be password protected with password codes 0001 9999 If you do not wish to use a password program the code 0000 into the password locat
69. you locate it in the base as the closest input module to the CPU it will log in as XO through X7 as shown in the following diagram Input Simulator E a ee _ _ Input DL350 XO CPU MSB LSB Bt 15 14131211109 8 765 4 3 2 1 0 x XX X 1 17 0 7 0 A Message Display Mode DL205 If you are using a DL205 system we recommend using the input simulator If you Requirements locate itin the base as the closest input module to the CPU it will log in as XO through X7 as shown in the following diagram Input Simulator MSB LSB Bit 15 14 13 121110 9 8 7 65 43 21 0 X XX X 1 17 0 7 0 DL105 If you are using a DL105 system with DC inputs we recommend using the input Requirements simulator shown below which provides four input switches for inputs XO through X3 DC powered versions need two wires from the power input to the two left most terminals on the simulator The input simulator will not work in DL105s with AC type inputs See the DL105 User Manual D2 USER M for more information on the input simulator NOTE When starting Direct SOFT be sure to initialize the CPU
70. 0 7 065 4 3 2 1 000 oF 0605 4 3 2 1 0 Access to Counter presets works just like COUNTER DATA timer preset labels Press the Cursor TITLES Right Key to move to the counter titles COUNTER 1 0000 H COUNTER 2 10000 display You can then scroll through all seven counter titles by using the Plus TERR EE Key to scroll downward and the Minus COUNTER 5 0000 Key to scroll upward COUNTER 6 0000 COUNTER 7 0000 NOTE Appendix C of this manual contains a worksheet for Change Preset applications It also includes a decimal to octal conversion table to help correlate timer label numbers with the numbering of actual timers and counters in the CPU Using Presets With As mentioned at the beginning of this Timer Box Instructions chapter Timer and Counter Preset Labels serve only to label data on the DV 1000 display These labels treat all user V memory equally and do not directly 0 Change Preset Mode 6 13 TIMER 1 Timer Preset at V2300 0000 adjust ladder logic timer or counter Timer Box instruction box presets Instead you use a common V memory reference TMR Taaa B bbb NOTE The timer preset in the timer box must not be a constant Kx if you want the Change Preset mode to adjust the timer preset Timer Preset Timer number Suppose we locate Pre labeled Timer 1 preset to be at V2300 as in the previous example Now we can associate it with an actual timer in a
71. 0 MEN MN PRESS lt gt 21110 UM ENT x 20 EE EE selects four bytes X 30 EEE E 765 43 210765 43 2 1 40 4 ati Status Display Mode Selecting the Address The default address of the top line status is OO The DV 1000 automatically displays consecutive addresses on the remaining three lines Addresses for the entire display is selected from the top line only Therefore the cursor remains on the top line To change the address move the cursor to the right by pressing the Cursor Right key once The cursor moves to the 10 s place oo MEN EN E 10 20 ME MN x 30 765 43 210765 43 2 140 PRESS gt x K With the cursor over the 10 s place press the Plus Key four times Each time the address increments by 10 octal until the display shows the status for X40 through X77 o MEN EE E so E so ME EE x 70 EEEE 765 43 210765 43 2 140 PRESS x O XK To increment the 100 s place press the Cursor Left key and then the Plus Key Now the top line address changes from 40 to 140 and consecutive addresses follow Using this technique you can select high numbered addresses quickly 140 TE EN E
72. 1 used during the scroll Increment the list item pointer at V4000 INCB P V4000 V4000 V4006 LD If the list item pointer at V4000 equals the list length KO at V4006 load zero into the accumulator OUT Set the list item pointer at V4000 to zero Move Data for Nth Item V4000 CO LD If CO is on a scroll is in progress Load the item V4001 number during a scroll into the accumulator Move Text Data SHFL Multiply the item number by eight by shifting its binary K3 form to the left three digits This creates an address offset BCD Convert the number in the accumulator to BCD format OUT Place the address offset equal to eight times the item pointer into the text data address offset pointer V4002 location at V4002 LD Load the constant K8 into the accumulator since we K8 need to move 8 words 16 characters per row LDA Load the octal address for V2200 into the 02200 accumulator This is the base address of the source data for the text ASCII codes BCD Convert the number in the accumulator to BCD format ADD Add the base address in the acumulator with the offset in V4002 to get the complete source address V4002 of the text data BIN Convert the BCD number in the accumulator to binary format MOV Move eight words 16 characters from the source P4003 address to the destination address Message Display Mode continued Examples a msg17 prj v Move Numeric Data Increment T
73. 2 07 27 47 G 67 9 87 EE A7 C7 E7 q 08 28 48 H 68 h 88 A8 c8 E8 09 29 49 l 69 i 89 A9 SS c9 E9 0A 2a 4A J 6A j 8A EN AA Sa CA EA 0B EX 2B 4B K 6B k 8B ES AB CB EB x oc ae 2c 4C L 6C l 8C AC cc EC oD 2D E 4D M 6D m 8D Se AD cD ED 0E 2E 4E N 6E n 8E AE E CE Er EE a OF 2F 4F O 6F o 8F AF CF EF 10 30 0 50 P 70 p 90 Bo Do FO p 11 31 1 51 Q 71 q 91 Zo B1 D1 F1 q 12 32 2 52 R 72 r 92 B2 a D2 EL F2 2 13 EL 33 3 53 S 73 s 93 B3 D3 F3 14 34 4 54 T 74 t 94 a B4 I D4 ES F4 D 15 35 5 55 U 75 u 95 Za B5 D5 F5 16 36 6 56 V 76 v 96 B6 es D6 F6 0 17 37 7 57 Ww 77 w 97 B7 D7 F7 18 a 38 8 58 x 78 x 98 B8 D8 F8 y 19 39 9 59 Y 79 y 99 B9 D9 F9 u 1A aa 3A 5A Z 7A z 9A EN BA DA a FA 1B 3B 5B 7B 9B ES BB DB FB ic 3c lt 5C 7C 9C BC DC FC 1D 3D 5D 7D 9D Se BD DD FD 1E 3E gt 5E x 7E 9E BE z2 DE Es FE 1F Ex 3F 2 5F B 7F 9F m BF DF a FF a NOTE If any of the non useable characters noted as are used for the messages or titles in the DV 1000 the character will not display DV 1000 Worksheets In This Appendix Message Display Worksheets Change Preset Worksheets Gl DV 1000 Worksheets Message Display Work
74. 2 i Line 3 A l Pea spaces 1 1 8 1 8 4 36 Message Display Mode Dynamic Text reg a msg11 prj Examples In some display screens it s desirable to change only a key word or two upon certain events leaving most of the text intact We might call this a forms type screen The unchanging text is the form and the dynamic text occupies blanks within the form In this example the display screen reports the status of a machine The operational Manual and Automatic modes appear as MAN and AUTO as in these displays X0 Off X0 On MACHINE STATUS MACHINE STATUS MODE MAN MODE AUTO 76543210765 43210 7654321076543210 Dynamic Text Display Positions Now we can decide how to write the olil2l13l4151617 dynamic text ladder program We ll use the ACON text entry method for the basic 10 11 12 13 14 15 16 17 form of the screen which will include 20 21 22 23 24 25 26 27 MACHINE STATUS MODE The 30 31 32 33 34 35 36 3i7 dynamic text will occupy text positions 14 and 15 7 6 5432 10 76543210 The dynamic text will follow the state of the input switch contact XO When XO Off MAN will be displayed When XO On AUTO will be displayed The following ladder logic outputs these screens SPO Setup Parameter rung here Note If using DL105 be
75. 2200 V7621 User Preset Titles Pointer Octal FFFF default titles V7622 User Preset Block Size BCD 1 1 title V7626 Powerup Mode BCD 0001 Change Preset V7627 Change Preset Password BCD 0000 Disabled V7720 Timer Data Pointer Octal 2300 start at V2300 V7721 Counter Data Pointer Octal 2320 start at V2320 V7722 Timer Preset Block Size high byte BCD 1607 16 timers Counter Preset Block Size low byte EAS DL130 and DL230 CPUs use different memory locations here V7640 instead of V7720 V7641 instead of V7721 and V7642 instead of V7722 0 Change Preset Mode 6 11 Inthis step we use the information in the setup parameter table to write the program Be sure to pay attention to the data type octal or BCD of each instruction that loads to the accumulator Load this program into your CPU and use Preset Mode to see how it performs the worksheet choices 0 Parameter Setup Change Preset nsdiet a preset2 prj Examples i SPO LDA Load octal address 2200 into the accumulator V2200 is the 02200 beginning location of the user preset values First Scan Only Output this address to V7620 the location of the setup OUT inni V7620 parameter for the beginning address of user preset values LD Load the hex constant KFFFF into the accumulator K ffff Output this
76. 3 Mode V7627 Change BCD 0000to 0000to 0000to 0000to 0000 to Preset 9999 9999 9999 9999 9999 Value Password V7720 Titled Timer Octal V2000 to V1400 to V1400 to V1400 to Preset V4377 V7377 V7377 V7377 Value V10000 V10000 Pointer V17777 V37777 V7721 Titled Octal V2000 to V1400 to V1400 to V1400 to Counter V4377 V7377 V7377 V7377 Preset Value V10000 V10000 Pointer V17777 V37777 V7722 Titled Timer BCD 1 to 99 1 to 99 1 to 99 1 to 99 High byte Preset Block Size V7722 Titled BCD 1 to 99 1 to 99 1 to 99 1 to 99 Low byte Counter DL130 and DL230 CPUs use memory locations V7640 thru V7642 here po D D D J Q 0 O v w Reference Data Reference Data ASCII Table There are several versions of the ASCII character codes for various computer platforms and output devices The following table lists the ASCII characters supported by the DirectVIEW 1000 HEX ascu Hex ascu HEX ascu HEX asc Hex ascu Hex ascu Hex ascu HEX ASCII 00 20 40 60 80 AO co E0 0 01 EZ 21 41 A 61 a 81 E Al 5 C1 E1 a 02 22 42 B 62 b 82 a A2 c2 E2 0 03 23 43 C 63 c 83 ES A3 c3 E3 0 04 ES 24 44 D 64 d 84 ER A4 c4 z E4 0 05 25 45 E 65 e 85 A5 n c5 E5 0 06 26 amp 46 F 66 f 86 AG C6 E6
77. 3 seconds This confirms the DV 1000 read the constant K2 default selection at V7626 and entered the Message Display Mode which we had chosen 0000000000000000 NO KEY PRESS 0000000000000000 P EEOUIRED 0000000000000000 0000000000000000 765 43 210765 43 2 1 0 9 12 DV 1000 Setup Parameters Chapter Summary Summary of Key Points 04 _ o g E _ o o 3 o 09 Now we have covered the various types of setup parameters and their locations in V memory The Powerup Default parameter and LDA instruction have been covered in detail The remainder of the setup parameters are discussed in each chapter on the corresponding modes Now we may summarize some of the key points we have learned about setup parameters in this chapter Setup parameters occupy V memory in the CPU not DV 1000 memory The DV 1000 only reads the setup parameters at powerup or when a key on the keypad is pressed It s a good idea to program the powerup default parameter regardless of which DV 1000 mode s you intend to use Parameters belong to one of three types Pointers Block Sizes or Data Enter pointers as octal address numbers while block sizes and data are always BCD numbers You can program setup parameters using your RLL program or by editing V memory directly However it is generally more desirable to use the RLL program You only need to program the setup parameters once in a ladder program Use t
78. 4 2114 2020 34 2134 2020 15 2015 0000 15 2115 2020 35 2135 2020 16 2016 0000 16 2116 0000 36 2136 2020 17 2017 0000 17 2117 0000 37 2137 2020 4 4 4 24 Message Display Mode Placing Numbers Still using a blank display as a starting and Text Together point let s create a display featuring both text and numbers Since there is more PSI 123 flexibility in text placement we plan the display layout around using numeric position 5 for the content 123 The following program writes text and numeric 76543210765 43210 mask characters in the same way LO 7 oFi SP1 LD Load the value 123 in the accumulator aaDire t A pr me peers A nies Always On Output the data to memory location V2005 The actual OUT contents of V2005 are 0123 However the last instruction V2005 will leave the leading O masked and unmask the 999 LDD Use a Load Double LDD to place the ASCII codes for the K493d5053 characters PSI into the accumulator Remember the LDD instruction swaps the text output positions Output the data to memory locations V2112 and V2113 eee The Out Double instruction updates two text positions at a time two data words LDD Use a Load Double LDD to place
79. 50 DL440 and DL450 CPUs have built in real time clocks In a typical application the time and date are displayed when a system fault occurs along with the fault type The example program in this section shows you how to create the display output below On the left the display shows a basic text form without the fault condition When the particular fault Bin Empty occurs the display fills in the fault time and date fields in the form shown on the right Normal Display X0 Off Fault Display XO On MACHINE STATUS MACHINE STATUS Fault Fault Bin Empty Time Time 11 32 57AM Date Date 07 05 95 765 43 210765 43 2 1 40 765 43 210765 43 2 1 40 The program uses a combination of ACON boxes LD OUT and LDD OUTD instructions to create the text portion of the display The six numeric display positions contain both numbers and text formatting characters such as or In some cases the numbers have to be shifted to align them with the formatting characters Numeric Display Positions Text Display Positions 3 2 1 0 O 2s 4S e 7 7 6 5 4 10 11 12 13 14 15 16 17 13 12 11 10 20 21 22 23 24 25 26 27 17 16 15 14 301 Sal SZ SS 34 S5 36 S7 765 43 210765 43 2 1 40 765 43 210765 43 2 1 40 The following diagram shows the state of the fault input signal and the resulting display actions Our example lad
80. 6553 5 decimal as the KE oven temp for demo purposes In actual applications 1 this number will come from an analog input module OUT Output the data to V2200 where the program will read V2200 and convert this number SPO LD Load the number of data locations which is 16 words K10 10 hex or 32 characters Write Text LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K1 1 E Move data into V memory starting at V2100 Top 2 Lines on corresponding to the top two lines on the display Msi Message Display Mode continued y ij E LD Load the number of data locations which is 16 words a msg18 prj K10 10 hex or 32 characters Examples LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K2 K2 Bottom 2 Move data into V memory starting at V2120 Lines Mome corresponding to the bottom two lines on the display Load ASCII codes for two null characters 0000 LDD followed by and a null character Remember the K3d00 two pairs of character positions swap for LDD instructions OUTD Place the characters to the right of OvenTemp on the V2104 top row Remember that null characters unmask their corresp
81. 72 Minutes V7767 Month V7773 Seconds V7766 Year V7774 The following program reports the time and date when the error input XO turns on The display clears the information when XO turns off SPO Setup Parameter rung here Write Basic Message Form SPO LD Load the number of data locations which is 16 words K10 10 hex or 32 characters LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K1 1 gt Move data into V memory starting at V2100 Top Line Momo corresponding to the top line on the display LD Load the number of data locations which is 16 words K10 10 hex or 32 characters LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K2 2 Move data into V memory starting at V2120 Bottom 2 Lines Momo corresponding to the bottom two lines on the display XO Co C PD Activate control relay CO for 1 scan when XO goes from Off to On XO C1 C PD Activate control relay C1 for 1 scan when XO goes from On to Off Message Display Mode continued Examples a msg14 prj Co Y Write Fault Message LD SPO XO K8 LD Y C2 V7770 K12 KO
82. 7646 LD Load the constant K15 into the accumulator K15 OUT Set the top of Channel 1 range to 15 V7641 LDA Set the top of Channel 2 range to 15 V7643 OUT Set the top of Channel 3 range to 15 V7645 Initialize Variables OUT Set the top of Channel 4 range to 15 V7647 LD Load the constant KO into the accumulator Pas if KO First scan only OUT Initialize the character pointer to zero This points to V2210 one of 16 characters on the current row OUT Initialize the row pointer to zero This points to one of V2211 4 rows of characters on the display LDA Load the octal address 3774 into the accumulator 03774 V3774 is the location of the analog data OUT Initialize the raw analog value pointer at V2212 to V2212 point to the first analog value at V2200 LDA Load the octal address 2204 into the accumulator 02204 V2204 is the location of the processed analog data OUT Initialize the raw analog value pointer at V2213 to V2213 point to the first analog value at V2204 LDA Load the octal address 2100 into the accumulator 02100 V2100 is the beginning of display text data OUT Initialize the display text pointer at V2214 to point to y V2214 the first text display location at V2100 continued Examples a msg16 prj y Write Channel Labels V2210 KO V2210 KO 2210 P2213 LD K31 ADD V2211 Write Bar Graph Components lt V2210 KO 2210 lt P2213 LD
83. 7721 the location of the setup parameter for the starting address of the Counter Presets NOTE DL130 and DL230 CPUs use memory location V7641 not V7721 Load the constant K508 into the accumulator Output the constant K508 to V7722 the location of the block size bytes for Timer and Counter titled data This selects five timers and eight counters NOTE DL130 and DL230 CPUs use memory location V7642 not V7722 continued Dv 1000 Examples a preset7 prj Move ACON Data Into Text Data Block Use Default Titles for Titles 5 and 6 LD K10 LD KO LDLBL K1 MOVMC V2200 LD K8 LD KO LDLBL K2 MOVMC V2230 LDD KO OUTD V2220 OUTD V2222 OUTD V2224 OUTD V2226 DLBL K1 Text for Title END s1 4 ACON SetPointActual Hi AlarmLo Alarm spaces 2 DLBL K2 1 1 Text for Titles 7 and 8 ACON MixSpeedSoakTime spaces 0 Change Preset Mode O ef Load the number of data locations which is 16 10 hex words four titles for a total of 32 characters Load the address offset For nearly every MOVMC used for ACON data there will be zero offset use KO Read from the ACON following Data Label K1 Move data into V memory starting at V2200
84. 94 135 7 6 18 21 29 34 40 47 51 62 62 75 73 110 84 123 95 136 8 7 19 22 30 35 41 50 52 63 63 76 74 111 85 124 96 137 9 10 20 23 31 36 42 51 53 64 64 77 75 112 86 125 97 140 10 11 21 24 32 37 43 52 54 65 65 100 76 113 87 126 98 141 11 12 22 25 33 40 44 53 55 66 66 101 77 114 88 127 99 142 Index ACON Instruction 4 25 to 4 31 Display 1 5 1 6 to 1 8 ASCII Table Appendix B B Error message 4 4 to 4 7 Overview 4 2 Bit Control Mode Example programs See Program examples Debugging applications 1 15 7 9 to 7 10 Message display coordination 7 11 to 7 14 Multiplexed bit control 7 15 F Overview 7 2 to 7 3 Quick Tour 1 13 Fault message 4 4 to 4 7 Setup parameters 7 4 Overview 4 2 Toggle function 7 17 Frequently Asked Questions 1 16 to 1 17 C I Change Preset Mode Installation Accessing preset variables 6 8 Mounting Location 2 5 Buffered preset values 6 31 Panel Mounting 2 6 Combination titles 6 25 to 6 27 PLC Selection 2 4 Controlling a process 1 15 Individual default user titles 6 22 to 6 24 Operator s Guide 6 32 to 6 33 K Overview 6 2 to 6 4 Password 6 28 to 6 29 Keypad 1 5 1 6 to 1 8 Preset title lists 6 6 to 6 7 Bit control function 7 3 7 6 to 7 7 Quick Tour 1 12 Setup parame
85. C orC orC orC V mem V mem V mem V mem V mem locations locations locations locations locations V7626 Power up BCD 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 Operational 12 3 12 3 12 3 12 3 12 3 Mode V7627 Change BCD 0000to 0000to 0000to 0000to 0000 to Preset 9999 9999 9999 9999 9999 Value Password V7720 Titled Timer Octal V2000 to V1400 to V1400 to V1400 to Preset V4377 V7377 V7377 V7377 Value V10000 V10000 Pointer V17777 V37777 V7721 Titled Octal V2000 to V1400 to V1400 to V1400 to Counter V4377 V7377 V7377 V7377 Preset Value V10000 V10000 Pointer V17777 V37777 V7722 Titled Timer BCD 1 to 99 1 to 99 1 to 99 1 to 99 High byte Preset Block Size V7722 Titled BCD 1 to 99 1 to 99 1 to 99 1 to 99 Low byte Counter DL130 and DL230 CPUs use memory locations V7640 thru V7642 here D D a Lo y y o 3 D D D m n 0 3 6 DV 1000 Setup Parameters V Memory Maps N _ o g D E _ aii 2 Q 0 The following figure summarizes the V memory map information forthe eight CPUs listed in the previous table These memory graphs show the identical location of the setup parameters for all CPU types The amount of user data memory space increases with each CPU type from leftto right For each CPU the setup parameters which are pointers must point to space within the user data space shown In order to simplify examples
86. CPU DV 1000 lt L D a Pa Phone jack style Universal 15 pin Std phone jack connector RJ12 D sub connector NOTE The DV 1000 uses K sequence protocol to communicate to the PLC Some T1435 CPUs could reliably connect to only one device at a time using K sequence protocol K sequence protocol is available on all ports on DL105 DL205 DL405 and DL350 CPUs 8 Installation Guide The first method the preferred method uses a special shielded cable with a modular phone jack style connector on one end and a 15 pin D shell connector on the other The connectors plug directly into the DV 1000 and CPU port The second method uses a non shielded cable and an adapter plug from the cable kit The cable same as DL105 DL205 DL350 DL450 cable has a modular phone jack style connector at both ends so either end will connect to the DV 1000 The other end connects to an adapter to go from a 6 conductor modular to a 15 conductor D shell to connect to the CPU port Custom Cables In some applications the length of the standard PLCDirect cable may not be quite long enough You may make your own cable but observe the following guidelines e Use a shielded type cable Be sure to connect its shield at both ends to the appropriate connector pins e Do not exceed 15 feet in length NOTE The standard cables are approximately 6 feet long If you have determined the need for a cable longer than 6 feet you may use a slightly longer one
87. Counter labels are canned or fixed However they are convenient to use when you need generic timer or counter labels 1 User Titled V Memory Presets create your own text titles My Tiijt le 0 0 00 2 Pre Titled Timer Presets use canned Timer 1 to Timer 99 list ds E ales OE A 3 Pre Titled Counter Presets use canned Counter 1 to Counter 99 list ls esa les ER E E E NOTE The Pre titled Timer and Counter Presets only label V memory data on the DV 1000 display They do not directly control Timer and Counter box parameters Also the timer and counter preset numbering is in decimal not in octal The availability and number of title types varies with the CPU type connected to the DV 1000 Refer to table below for the availability of features for your particular CPU Feature DL130 DL230 DL250 DL350 DL240 DL430 DL440 DL450 Available User titled Presets 16 32 Available Pre labeled Timer Preset Labels 99 99 Available Pre labeled Counter Preset Labels 99 99 Lona Change Preset Mode Setup Parameters for Change Preset Mode Location of Preset At this point we do a bit of orientation by Variable Lists Pointer and Block Sizes discussing where the lists reside e PLC V memory contains all the data value lists along with User Preset titles in ASCII code form These lists require ladder programming and we provide example programs in this chapter to help you do this
88. DV 1000 DirectVIEW Manual Number D 24VIEW M Manual Revisions MSN If you contact us in reference to this manual be sure and include the revision number Title DV 1000 DirectVIEW Manual Number D 24VIEW M issues Date Effective Pages BSSETPRON of Changes aR Reve ECN dT TCS Third 7 97 Cover Copyright Complete revision Edition Survey Downsize format Contents Manual History Added support for DL130 DL250 DL350 4 1 1 18 and DL450 CPUs 2 11 3 12 4 65 5 7 6 34 7 18 A 3 B 4 C 6 RevA 12 97 Contents Revised Chapter 1 Introduction entries Manual History Added Rev A changes 1 2 1 3 Updated both pages to newer format 2 2 2 3 Deleted use of dual DV 1000s with DL430 4 58 4 61 Added six instructions to Move Numeric Data section of program revised this on the example program disk made Rel 2 1 Reworded Note near top of page Rev B 5 98 Manual Revisions Added Rev B changes 2 4 2 10 4 39 4 46 Made minor corrections before reprinting 4 47 4 61 6 19 Examples diskette Rel Revised example programs so they will 2 2 work with all DirectSOFT versions Rev A NOREEN aM ge a 1 A B C Table of Contents Chapter 1 Getting Started Introduction iia dk peace a ha pi eee ee ahaa eee ERA ea eR 1 2 The Purpose of this Manual si ec bev weg naw ees Bev ae a ree Peel eee eee 1 2 Supplemental Manuals saicisectaroitancnieins a cyanea be kee di e daa 1 2 Technical Support e5 Poach A A e
89. DV 1000 display at the same time The two V memory data blocks certainly coexist but the DV 1000 gives display priority to the text data Each text character s data masks the corresponding numerical digit if the text s ASCII code is 20 hex or greater It is convenient to think of the text 00000000 output as a control mask for numeric 0000000 output Refer to the figure to the Numeric Output right If the numeric data block in 000000 V memory is all zeros the matching 0000 numeric output is also zeros as shown Now suppose the text data is a also all zeros null characters except for four random locations as shown Text data ASCII codes 41 A through 44 hex produces the letters B A B C and D Now we come to the Text Output actual display output It is a combination of the numeric and text E D output characters The DV 1000 uses a simple principle to determine what to display in each character location 00A00000 Any text character which has an 000B000 f ASCII code equal to 20 hex or dlololclolo Actual Display Output greater masks blocks the 000D numeric digit in the same display position That s it This works ona 3210 character by character basis 32150 One of the first things you may want to do in your setup program is fully mask all numerical output so we begin with a blank display unless you use ACON boxes to fill the entire display This is analogous to starting with a clean slate
90. Display Mode 4 18 Displaying Numbers Values in the numeric data block are V2000 organized as 16 bit numbers These may MSB LSB be BCD or hex numbers In either case ddai1d1110d11dd1d1 they contain four digits The example to Bit 15 14 13 1211109876543210 the right shows memory location V 2000 which contains the number 3765 Digit 4 Digit 3 Digit 2 Digit 1 The DV 1000 interprets the numeric data block directly and displays them as numbers The value 3765 automatically appears on the display in the Numeric Output corresponding numeric display position when the same number exists in 3765 V memory and is referenced by the setup parameters 32 150 The following example shows how easy it is to display a number from your ladder logic program All you need is the setup program in the previous section followed by a rung that places the number 1234 as the first numeric data block entry The DV 1000 then displays the number atthe corresponding first numeric position on the display SPO Setup Parameter rung here a msg3 prj First Numeric Data Location Programmed SPO LD Load the arbitrary constant 1234 into the accumulator K1234 This is the number we will display We only need to do this once on the first scan OUT Output the constant 1234 to location V2000 the first V2000 numeric data location This value will ap
91. Do Bit Control oooooocccnccconc eee eee eee eens 7 6 Selecting Bit Control and Status Modes ooocccccccccccc tenes 7 6 Keypad Bit NR OMA G rescatistas da kth at Me raed ts acd Sate th de nth deb 7 7 Exiting Br Control Moderens oo ee A sated Cain ib 7 8 Bit Control Applications A Se ee We ee er 7 9 ODE A aca Rot ng ae nnd naar ease waa 7 9 Bit Control With Message Display Mode 0 6 cece cette eee eens 7 11 Multiplexed Bit GOnTIOD 2 es citere one ens E be eS eee 7 15 Bit Control Toggle Function surco re pea eset ba eet de o i 7 17 Chapter SUMMA ented adem there A meee wees 7 18 Summary of Key Points 2 apa estnles 5 04 n805 ese bat oS bien ea a SORES cede Sees eed 7 18 Appendix A Troubleshooting Guide Troubleshooting Guide sc 20 0 0 2 cots cesses ara tess oes ese wie fea dee 8 A 2 Appendix B Reference Data Setup Parameter Tables 0d ae eee Aa Bee B 2 ASGCW Tables sii a Sons Baer hae ee ee eae ee ha kd Se ee ee eee at ee B 4 Appendix C DV 1000 Worksheets Message Display Worksheets o oooooocccccconccn eee eee eee eee eae C 2 Eau Messages cies a rege Saeed O A we teh Go Se AE A RA Sark ey OY AAA C 2 Message Display Output Maps ot cda ala Kee Md kote Mae Glee Male Sie lol WS C 3 Display 1610 a ioe S aia AE ir pee Re Ree rere EIA eer wer eee wr en C 4 Change Preset Worksheet 22 cee ccc e eect eee eee eee e eee eee e eee eeeeeee C 5 Create Title ESE ct id E ach dG ee Seah ah A A ede
92. G BIT CONTROL PASSWORD 1 ERROR LIST 3 SHOW ERR MSG 2 MESSAGE LIST 7 6 5 43 21076 5 4 3 2 21 0 7 6 5 43 210765 4 32 140 Finally select the message list using the PRESS ent Plus Key and press Enter Here is the last entry inthe message log and it should show the results of your running the program above Use the Minus Key to move upward through the log when 07 25 95 multiple entries exist and the Plus Key 15 57 24 86 to move downward Bin Empty 765 43 2107 65 43 2 1 0 NOTE Fault Message time stamps include hundredths of a second Message Display Mode System Error Log DL240 DL250 DL350 DL440 and DL450 Only The System Error Log feature in the CPU records a new entry whenever each error first occurs No ladder logic is required to create the log Log entries consist of an error code text description and a time date stamp The log records up to 16 error events Each error event may last a few milliseconds or many hours but only one log entry is made per event Subsequent system errors create new entries in the log To view the System Error Log use the same Options Menu as the Fault Message Log by pressing the Options Key Then use the Plus Key to move the cursor over the third menu selection SHOW ERR MSG PRESS opt gt PRESS ext Ge OPTION 1 BIT CONTROL 2 PASSWORD 3 SHOW ERR M
93. I have entered the correct password or the password is disabled What s wrong See if the number s you are trying to edit are hex numbers Remember Change Preset Mode only works for BCD numbers 0000 to 9999 Also make sure the switch on the front of your CPU is not in the Run position use Term The ACON ASCII Constant instruction box will only accept two characters while the examples in the manual show many more characters What s the problem You are probably using a Hand held Programmer to enter ladder logic This is ok but the extended ACON box functionality you are expecting is provided by the PC based DirectSOFT programming software The Hand held Programmer accesses the CPU s standard ACON box function which accepts two characters This is described in Chapter 4 The keypad seems to be locked up When press keys the display does not change Why is that There can be two different causes of this problem e t may be that the DV 1000 is in Bit Control Mode This temporarily changes the keypad functionality Press the Clear Key followed by the Enter Key to exit Bit Control Mode e The DV 1000 setup parameters may be invalid thereby confusing DV 1000 firmware This is most likely if your CPU is new and its setup parameter locations for the DV 1000 have never been programmed Follow the instructions in Chapter 2 to initialize the CPU scratchpad memory which places zeros in all these setup parameter location
94. K1 Screen Text Data ACON OvenTemp DLBL K2 spaces 24 ACON spaces 32 Shift the bits to the right 4 places representing one BCD digit This moves the least significant digit back one digit to the right leaving room for F at the end This forces all digits to the left of the least significant digit to zero Now we combine the isolated least significant digit back with the other digit However it has been shifted to the right to make room for the decimal point Output the two LSDs to numeric output position 0 They are spaced apart one digit to make room for the decimal point and have been moved to the left to make room for the F Place an END coil marking the end of the main program The Data Label box referenced by K1 preceeds the following ACON box This ACON box contains 32 characters Be sure to carefully count the spaces to match the display The Data Label box referenced by K2 preceeds the following ACON box This ACON box contains 32 spaces These fill the bottom two lines of the display NOTE The resulting BCD number in V2000 and V2001 is useful only for display purposes The actual numerical value is not valid for use in further computations refer to the original value in V2200 Bas Message Display Mode Chapter Summary Summary of Key Points Now we have covered how to use Message Display Mode to commun
95. LES DATA STAT OPT el e A 765432107654 oy1000 pata Acces uni oy MOYO cir enr 0 Change Preset Mode M4 Title and Data Fields Preset Title Types Available Change Preset Mode presents data that you can view on the display and TITLE FIELD DATA edit with the keypad The display FIELD format is relatively fixed Shown to the right the title field on each line 2Pbcdefgh 0 0 0 0 occupies the first eight or nine abcdefgh 0000 clam as Tas P is abcdefgh 0000 presented in the right column as 4 digit BCD numbers representing a sles E h Elo 2 16 bit word 7654321076543210 You may skip creating your own titles and use default titles as shown to the right With the setup parameter value the DV 1000 will automatically use the V memory address for the titles Vi 2 3 O70 3586 Titles labels accompany the data giving them meaning for your application The title and data lists SetPoint SoakTime 0352 0020 may be longer than the display can show at one Hi Alarm 0375 time but the lengths are programmable and are aA ee al a equal TO QS4 amp 42Z2ALOT eS amp 3e 210 Three types of titles are available in Change Preset Mode as shown below User titled Presets allow you to create your own text label of up to eight characters in length The remaining Pre titled Timer and
96. LL and choose Change Preset as the SEREA BIDLI Powerup Default Mode Temp 2 0000 Gal Min 0000 The following table lists our choices The ASCII codes for the text of the User titled Presets begins at V2200 Each title s text occupies four V memory locations One timer and counter are listed just to meet the required minimum User Presets Timer Presets Counter Presets Text Titles Text Data Titles Data Counter Data Locations Locations Locations Titles Locations SetPoint V2200 V2300 Timer 1 V2310 Counter 1 V2311 Value V2204 V2301 Hi Alarm V2210 V2302 Lo alarm V2214 V2303 SoakTime V2220 V2304 Temp 1 V2224 V2305 Temp 2 V2230 V2306 Gal Min V2234 V2307 Password Password Value Powerup Mode Powerup Value Enable Disable Disable 0000 Change Preset 0001 Using the worksheet above we can determine the setup parameters The numbers are in bold text in the following table V Memory Setup Parameter Description Format Value Notes Location V7620 User Preset Data Pointer Octal 2300 start at V2300 V7621 User Preset Titles Pointer Octal 2200 start at V2200 V7622 User Preset Block Size BCD 8 8 titles V7626 Powerup Mode BCD 0001 Change Preset V7627 Change Preset Password BCD 0000 Disabled V7720 Timer Data Pointer Octal 2310 start at V2310 V7721 Counter Data Pointer Octal 2311 start at V2311 V7722 Timer
97. Ladder Program V Memory Space User Data 117512 MESSAGE aa aa 83 Es DATA a a oo 20 a F WRITE y READ E A gt repeatedly ua ka Setup Parameters Fa READ at powerup EIN Direct 1000 pre MESSAGE 5 s J Typically the ladder program writes the setup parameters to V memory on the first CPU scan These point to the locations of blocks of data also written by the ladder program which the DV 1000 needs to generate messages preset lists etc By reading setup parameters after powerup the DV 1000 is able to locate and read its operational data from the data blocks elsewhere in V memory The DV 1000 re reads these data blocks continuously during operation Programming To the right is a typical program outline Setup Parameters to support the DV 1000 On the first Setup Parameters ae scan the first rung places setup parameters in their reserved V memory locations The main program follows which moves data to or from the data blocks referenced by the setup parameters as required Main Program Chapter 3 covers setup parameters in general Then each chapter on an operational mode includes several END setup examples for that mode We highly recommend reading Chapter 3 on Setup Parameters thoroughly before attempting to use any mode that requires setup parameters 0 Quick Tour of DV 1000 Operation Stat
98. MS V40600 LSB Bit 15 14131211109 8 7 65 43 2 1 0 C17 C10 C7 Bits 8 to 15 reserved Do not use Bits O to 7 mapped to keypad NOTE Since the DV 1000 does word write operations it writes zeros to bits 8 through 15 C10 to C17 Therefore avoid using these eight I O points in your ladder program in order to avoid a conflict This holds true for any X Y C and GX I O point word address pointed to by V7625 To observe Bit Control in action follow the keystrokes in the following diagram Notice the relative binary weighting of each key and the normally off momentary nature of each key switch No Key Pressed PRESS PRESS PRESS PRESS PRESS PRESS PRESS PRESS CHG PRE MSG STAT VOCE o ET MSB LSB 00 Lea Bit Control Mode Exiting Bit Control Mode While the keypad is in Bit Control Mode PRESS aun G gt the display may be in either Status Display Message Display or Change DO YOU WANT BIT Preset Modes When you wantthe keypad CONTROL MODE to resume normal function press the C
99. Minus Keys scroll the display addresses If the display is in Status Mode X 20 EE EE as above press the Cursor Right Key to X 30 EEEE move the cursor over to the adjacent 0 XxX 40 tala With the cursor over the address press the Plus Key twice to increment X00 to xX 50 MEEN become X20 PGA 3402 10 77 96 52 O Now press the Minus Key twice to PRESS lt gt decrement the top display line back to X00 The Plus and Minus keys are also used to select data types as well First Y 00 EN EE press the Cursor Left key to move the Y 10 EEEE cursor over the top line X Now press the Y 20 TEDA Plus Key once and the X s in the Y 30 ARBA display will change to Y s TE Grt A O S 3 2 1 70 o O OPT Key Optional Modes CLEAR and ENTER Keys Press the Optional Modes key to gain access to three utilities which do not have dedicated keys The display will list three items Bit Control Password and Show Err Msg Later we ll use the Plus and Minus keys to select the item number Next we select Bit Control mode by pressing the Enter key The display below appears asking us to confirm our choice PRESS ort gt OPTION 1 BIT CONTROL PASSWORD 3 SHOW ERR MSG Y A E O Tes 5 076543210 PRESS ENT
100. ON Data LD Load the number of data locations which is 16 10 q a preset5 prj Into Text Data K10 hex words four titles for a total of 32 characters Sample Block LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K1 K1 MOVMC Move data into V memory starting at V2200 V2200 LD Load the number of data locations which is 16 10 K10 hex words 32 characters LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K2 K2 MOVMC Move the data into V memory starting at V2220 V2220 END The end coil terminates the main program section DLBL The Data Label box marks the beginning of a data Ki Data for Titles 1 4 area containing ACON or NCON boxes The reference number for this area is K1 ACON Use the ASCII Constant ACON box to enter text SetPointActual Hi AlarmLo Alarm characters directly from the keyboard A A A spaces 2 1 1 DLEE Data for Titles 5 8 The reference number for this area is K2 ACON Use the ASCII Constant ACON box to enter text SoakTimeTemp 1 Temp spaces 12 2 2 Gal Min characters directly from the keyboard A A A 12 The following diagram shows the resulting displays from the program above
101. SG SHOW ERR MSG 1 ERROR LIST 2 MESSAGE LIST 76 54321076543210 Finally select the error list using the Enter Key The display to the right shows a low battery voltage event as the last entry in the message log Use the Minus Key to review upward through the log whenever multiple entries exist and the Plus Key to move downward 76 54321076543210 PRESS ent gt E041 CPU BATTER Y LOW 07 25 95 21 25 10 765 43 2107 65 43 2 1 40 es Message Display Mode User Messages User Messages rely on data stored in V memory to actually create the message The process is shown in the following figure After powerup the DV 1000 reads the setup parameters Certain parameters can be programmed to point to other blocks of information in V memory The DV 1000 reads the text and numeric data pointed to by the setup parameters Then it combines text and numeric data following simple rules to create the display output Then it reads the V memory message data again and repeats the process over and over V Memory Space User V memory Sa ay Be MESSAGE as 88 38 ae READ A repeatedly N Setup Parameters READ at powerup CHG msa h irec
102. User Preset Block Size V7627 Change Preset Password V7720 DL130 and DL230 CPUs use V7640 Titled Timer Data Pointer V7721 DL130 and DL230 CPUs use V7641 Titled Counter Data Pointer V7722 high byte DL130 and DL230 CPUs use Location V7642 Titled Timer Preset Block Size V7722 low byte DL130 and DL230 CPUs use Location V7642 Titled Counter Preset Block Size The result of programming these setup parameters is shown below The list lengths are independently programmable as shown The User titles text is also selectable USER Titles V Memory TIMER Titles V Memory COUNTER V Memory Data Data Titles Data OR OR N TITLE DATA FIELD FIELD abcdefgh abcdefgh abcdefgh abcdefgh 0000 0000 0000 0000 76543210765 43210 ee Change Preset Mode Establishing the Lists As a beginning example let s program the setup parameters for the minimum list sizes and types acceptable to the the DV 1000 The minimum length for each title list is one title each USER DATA TIMER DATA COUNTER DATA TITLES TITLES TITLES My Title 0000 TIMER 1 0000 COUNTER 1 0000 76543210765 43210 7654321076543 210 7654321076543210 Also we can select default user ti
103. V type by pressing the Minus Key three times V 0 0000 V 1 0000 PRESS G V 2 0000 select V type V 3 0000 765 43 210765 43 2 1 40 By default the display begins with VO through V3 Now we can change the address to the location of data we wish to view The example selects the data at V2100 2100 4D41 2101 4348 2102 494E V 2103 4520 765 43 210765 43 2 1 0 PRESS gt lt lt lt PRESS gt change address to 2100 0 9 0 Status Display Mode Using the Bookmark As aconvenience the Status Display Mode features a bookmark or a memory of the data type and address last selected in Status Mode This permits you to later return to Status Display Mode and use the bookmark to easily recall the last data type and address location you were viewing To demonstrate how this works suppose you are viewing the memory contents at V2100 as you were at the end of the previous section select V2100 at this time if you have not already done so Now suppose you need to check for messages using Message Mode Press the Message Key After viewing any message we want to return to Status Mode displaying V2100 contents To do this press STAT once to view the default XOO data Then press STAT a second time to return to the bookmark and the data at V2100 immediately appears on the display
104. V2211 END Load 0 into the accumulator Reset the character pointer at V2210 to zero Increment the row pointer at V2211 Load the next raw analog value into the accumulator for processing Mask off any bits above the lower 12 bits such as channel select numbers etc This asumes 12 bit analog values Discard the lower 8 bits and use the upper 4 bits to scale the value from 0 to 15 0 to f hex Write the processed analog value to the proper address pointed to by V2213 Increment the processed analog value pointer Increment the raw analog value pointer Add one to the processed analog value to scale it from 1 to 16 1 to 10 hex Load the beginning address of the raw analog values into the accumulator Reset the raw analog value pointer at V2212 to point to V2200 Load the beginning address of the processed analog values into the accumulator Reset the processed analog value pointer at V2213 to point to V2204 Load the beginning address of the text data block into the accumulator Reset the text data pointer at V2214 to point to V2100 Load the constant zero into the accumulator Reset the character pointer to zero Reset the row pointer to zero Place an END coil marking the end of the program 4 Message Display Mode 4 989 Bar Graph The DL240 CPU features four built in gt Example analog potentiometers Inthis example we ova EE aun
105. V7627 LDA 02301 OUT V7720 LDA 02302 OUT V7721 LD K101 OUT V7722 LDD K63646162 OUTD V2200 LDD K67686566 OUTD V2202 Load the constant K1 BCD into the accumulator Output the constant 1 to V7622 the location of the setup parameter for the User titled label block size Load the constant K1 into the accumulator Output the constant K1 to V7626 the location of the Powerup Default Mode setup parameter The value of 0001 selects Change Preset Mode Load the constant KO into the accumulator Output the constant KO to V7627 the location of the Change Preset password The value of 0000 disables it Load the octal address 2301 into the accumulator Output the octal address 2300 to V7720 the location of the setup parameter for the starting address of the Timer Presets NOTE DL130 and DL230 CPUs use memory location V7640 not V7720 Load the octal address 2302 into the accumulator Output the octal address 2305 to V7720 the location of the setup parameter for the starting address of the Counter Presets NOTE DL130 and DL230 CPUs use memory location V7641 not V7721 Load the constant K101 into the accumulator Output the constant 101 to V7722 the location of the block size bytes for Timer and Counter titled data This selects one timer and one counter NOTE DL130 and DL230 CPUs use memory lo
106. V7722 0 6 12 Change Preset Mode Scrolling Through Change Preset Lists Ifyou have loaded the Timer Counter example program on the previous page we re ready to see how it will perform for an operator First enter Change Preset Mode by pressing Change Preset on the keypad Then press the Right Arrow Key to move to the timer titles list PRESS SHS gt PRESS gt a gt V 2200 0000 TIMER 1 0000 TIMER 2 0000 TIMER 3 0000 TIMER 4 0000 765 43 210765 43 2 1 40 765 43 210765 43 2 140 NOTE In order for the new setup parameters to take effect you must either press a key preferably Change Preset or power cycle the PLC Either event causes the DV 1000 to re read its setup parameters from V memory With Timer Preset Titles selected leave TIMER TITLES DATA the cursor over the titles field Then use a OREO the Plus Key to scroll downward By TIMER 2 0000 repeating this you can access all sixteen es timers Then use the Minus Key to PRESS TIMER 5 0000 scroll upward through the list TIMER 6 0000 o gt TIMER 7 0000 Cursor Position TIMER 8 0000 N TIMER 9 0000 TIMER 1 0 0000 TIMER 9 0000 TIMER11 0000 TIMER10 0000 PRESS eens KUERE TIMER11 0000 A TIMER12 0000 e TIMER16 000
107. a great debugging tool for machine startups or for troubleshooting in the field V Memory Space User V memory cono 0000 nonl gagh ooog 0000 oo oof jm E READ fy CHG Direct 1000 il TITLES DATA STAT OPT ele I 34392107654 3210 gi cose unt oy Koyo CLR ENT J AY Status Display Mode is accessible at any time by pressing the Status Key unless the keypad is in Bit Control Mode It does not require setup parameters but you may select it as the default mode at powerup see Chapter 3 The default display upon Status Display Mode entry is shown below Datatype Address X07 a x o0 _ E X 10 PRESS stat gt xX 20 EE x 30 HEEE E Legend binary 0 ee RE BM binary 1 ae os The left column lists the data type X in the example The next column lists the octal address and the data bits are on the right So the top row shows the status of the eight discrete inputs X00 through X07 in real time Recall that there are 8 bits in a byte and two bytes 16 bits in a data word Selecting Byte or Word Displays Status Display Mode Sno If you can switch the input at XO on
108. a is restricted to the range of 0000 to 9999 in Change Preset Mode If the data you are viewing already has one or more digits in the hexadecimal range A through F you may only view it The DV 1000 classifies the entire number as hexadecimal and will not allow keypad entries to edit its value Changing the Once the cursor is in the data position use Preset Value the Right and Left Arrow keys to move PRESS OR gt the cursor among the four digit positions e n This works in circular fashion so moving T j i j past the end of the data jumps the cursor to the opposite end of the data value V 2300 1234 To increment a digit press the Plus Key To decrement a digit press the Minus Key The range of input change is from 0000 to 9999 BCD Incrementing a digit past 9 or decrementing it past O automatically carries to or borrows from PRESS respectively the digit s to the left of the 0000 9999 cursor position 765 43 210765 43 2 1 0 WARNING Changing the preset value on the display as above immediately changes the value in PLC V memory the display is not buffered Equipment damage or personnel injury may occur from improper use of this mode Be sure to pause a moment after each keystroke to allow for the DV 1000 display update so that you are viewing current values of Change Preset variables The data fields in the timer and counter TIMER 1 0000 di
109. achine operator forgets the password and has no other record of it you can Password use the DV 1000 s Status Display Mode to view the contents of V7627 Then go back to the Options Menu and enter the password Note that the Operator s Guide to Change Preset Mode later in this chapter intentionally does not include this tip al Change Preset Mode Special Topics for Change Presets Timer and Counter Presets with Custom Titles nsdiet a preset8 prj DV 1000 Examples If your application program requires timer and counter presets remember that the pre labeled Timer and Counter Preset titles in the DV 1000 are there just for your convenience Instead of using the generic titles such as Timer 1 you may prefer more meaningful titles for your application such as those shown to the upper right Counter preset titles can also be custom titles if you prefer Some examples are listed in the display to the lower right StopTime 0210 Delay 1399 RunTime 2847 Dwell 0053 765 43 2107 6 uo A w N m o Part CNT 0575 Length 1 1330 TotalRun 0575 QC PASS 0543 76 00 302 De 08 E BA 2010 The following example creates two timers using StopTime and Delay for timer titles The title text is loaded with the ACON and MOVEMC instructions Setup Program ai de LDA 02300 OUT V7620 Move ACON Data Into Text Data 7 Bl
110. ally returns to the Change Preset Mode And you will have access to change presets Incorrect password entries are noted in the display and the display continues to prompt you for the correct password To abort a password entry attempt just press one of the keys for the other DV 1000 modes Locking Access to After making the desired changes to presets you may want to lock access again to Change Presets Change Preset Mode This is typical when the DV 1000 is accessible to multiple personnel on the factory floor To lock access return to the password utility again by pressing the Options Key selecting Password and pressing Enter The following display will appear PRESS opt ENT G PAS WO RE 0000 765 43 210765 43 2 1 40 Without incrementing the password value just press the Enter Key again The display below will appear indicating that access to change presets has been locked note that the 0000 does not indicate that the password has been changed to that number PRESS EE gt PASSWORD LOCKED 0000 7654 321076543210 After the display indicates PASSWORD LOCKED for a moment it automatically returns to Change Preset Mode Access to changing presets will be locked so the Enter Key will no longer move the cursor over to the data field Unlocking access again only requires entering the valid password as shown on the previous page Forgot the If the m
111. alues in the main ladder program which relies on them also enabling you to add comments to the setup parameters Using the DirectSOFT memory editor or DV 1000 setup utility You can use the memory editor or DV 1000 setup utility in DirectSOFT to enter the proper setup parameter values in specific V memory locations Both methods provide tools to allow you to quickly enter values as different data types BCD HEX Octal Text The disadvantage to using these methods is the setup parameters are susceptible to change or loss with no indication given to the user Some scenarios are e The battery which supports retentive V memory locations can become weak or may be removed causing a loss of setup parameters in the CPU V memory during a power failure e Someone else may inadvertently edit parameter values overwriting the original settings e If someone swaps the CPU for another and copies the ladder program from the old to the new CPU it is easy to forget about copying the setup parameters as well Because of these scenarios and their resulting confusion we recommend the first method above initializing the setup parameters in the application ladder program To initialize setup parameters the ladder program must load the desired constants into specific V memory locations The DV 1000 reads its setup parameters from V memory at each powerup and after a mode change from the keypad The ladder program needs only to initialize setup parameter
112. ameter Setup Program 1 4 Message Display Mode Da Now that we have chosen locations for numeric and text data we can create the setup portion ofthe ladder logic program The following ladder program locates the data blocks according to the memory map on the previous page Also we include instructions which make Message Mode the DV 1000 power up default mode For the ladder examples in this chapter the DV 1000 will automatically power up in Message Display Mode All ladder examples in this chapter will use the following program as the first rung to program the setup parameters Parameter Setup Numeric and Text Data LDA 02000 First Scan Only OUT V7623 Optional LD After entering the setup program above you can test it by powering up the PLC and DV 1000 Note that the V memory data areas must be cleared all zeros The display to the right will appear without your having to use the keypad Load octal address 2000 into the accumulator This instruction automatically converts the address into its hexadecimal equivalent Output this address to V7623 the location of the setup parameter which is the numeric message block pointer Load octal address 2100 into the accumulator This instruction automatically converts the address into its hexadecimal equivalent Output this address to V7624 the location of the setup parameter which is the text mes
113. ameter for the starting address of the title text block Load the constant K8 BCD into the accumulator Output the constant K8 to V7622 the location of the setup parameter for the User titled label block size Load the constant K1 into the accumulator Output the constant K1 to V7626 the location of the Powerup Default Mode setup parameter The value of 0001 selects Change Preset Mode Load the constant KO into the accumulator Output the constant KO to V7627 the location of the Change Preset Password The value of 0000 disables it Load the octal address 2310 into the accumulator Output the octal address 2310 to V7720 the location of the setup parameter for the starting address of the Timer Presets NOTE DL130 and DL230 CPUs use memory location V7640 not V7720 Load the octal address 2311 into the accumulator Output the octal address 2311 to to V7721 the location of the setup parameter for the starting address of the Counter Presets NOTE DL130 and DL230 CPUs use memory location V7641 not V7721 Load the constant K101 into the accumulator Output the constant K101 to V7722 the location of the block size bytes for Titled Timer and Counter data This selects one each NOTE DL130 and DL230 CPUs use memory location V7642 not V7722 0 Change Preset Mode 6 21 continued Y Y Move AC
114. arameter rung here Demonstration of Changing Values P4 1 Sec Timer S LD For the first half of each second load the arbitrary constant K1234 1234 into the accumulator Special contact SP4 is on 1 2 second and off 1 2 second SP4 LD For the second half of each second load the arbitrary 1 K5678 constant 5678 into the accumulator Special contact SP4 is on 1 2 second and off 1 2 second Always On SP1 OUT Output whatever value is in the accumulator to location V2000 V2000 Half of the time it will be 1234 and the other half of the time it will be 5678 00001234 Alternates 00005678 0000000 eee fa 0000000 000000 000000 0000 0000 3 2 1 0 3210 The point is Your ladder program needs to write the Setup Parameters only on the first scan but it must update the numeric and text data in V memory as often as their content changes The DV 1000 reads the numeric and text data repeatedly during operation If the text or numeric data changes the display then automatically follows 4 Message Display Mode 4 19 Displaying Text ASCII Codes Next we discuss how to display text in message displays The text data block is located at V2100 in these examples only because that is where our setup parameter has defined it to be However we cannot place alphabetical characters directly in V memory Instead we use a numeric code which represents text characters called
115. arts Turn on XO within 30 seconds to update V2300 to match the new V2200 value If XO is not turned on within 30 seconds of entering the new value the program automatically changes V2200 back to match the original V2300 value Note that changing Timer 1 s preset value changes the amount of time allowed to turn on XO Setup Program SPO P 9 Place normal Change Preset setup rung here Note that we configure the temporary preset at V2200 as I the Change Preset area LD Load the preset value at V2300 into the accumulator Copy Preset to V2300 Temp Value Update the temporary preset value to match the OUT permanent preset value at every powerup so they V2200 begin as equivalents Remember the operator only Main Program sees the temporary variable in V2200 xO Pas Turn on CO for one scan when XO makes an C PD OFF to ON transition Note If using DL105 be sure CPU is initialized to make XO operational CO LD Load the temporary preset value which has been V2200 edited into the accumulator OUT Change the actual preset at V2300 to match the 2300 temporary preset value when XO triggers on V2200 2300 TR Ti Turn on Timer 1 when V2200 and V2300 are not A K300 equal This means the operator began editing V2200 but has not made the change final by using XO T1 LD Load the preset at V2300 into the accumulator when V2300 the 30 seconds of Timer 1 has expire
116. at you may want to factor into your decision The table below outlines the feature differences DV 1000 FEATURES DL105 DL240 DL250 DL350 DL230 DL430 DL440 DL450 Selectable Power up Mode Yes Yes Yes Text and Numeric Messages Yes Yes Yes Status Available of V Memory Data Types X Y C X Y C X Y GX C SP SP T CT SP T CT T CT S V P S V P S V P Change Preset Locations 16 16 32 Change Preset Password Yes Yes Yes Titled Timer Preset Values Number 16 99 99 Available Titled Counter Preset Values Number 16 99 99 Available Bit Control Yes Yes Yes Number of DV 1000s Connectable Directly 1 2 1 2 for DL450 to CPU Also consider the availability of certain features in each CPU type that supports programming for the DV 1000 given in the following table CPU Features That Support DL130 DL430 DL240 DL250 DL350 DV 1000 Programming DL230 DL440 DL450 ACON Instruction ASCII Const Yes No Yes MOVMC Instruction Yes No Yes Can Connect CPU simultaneously No Yes Yes to DV 1000 and DirectSOFT Overall the DL240 DL250 DL350 DL440 or DL450 CPUs are the best choices for DV 1000 applications The main inconvenience with the DL430 is its lack of ACON and MOVMC instructions that help in Message Display Mode Use of the DL130 or DL230 requires switching its single communications port between the DV 1000 and DirectSOFT programming while you are de
117. ata Starting Address V 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 20 21 22 23 24 25 26 27 30 31 32 33 34 35 36 37 DV 1000 Worksheets Ea Change Preset Worksheet Choose the text titles for the User titled presets and the number of timer and counter preset titles Remember to use at least one of each title type in all cases User Presets Timer Presets Counter Presets Text Titles Text Data Titles Data Counter Data Locations Locations Locations Titles Locations Timer 1 Counter 1 g lt Q al no D D ao Password Password Value Powerup Mode Powerup Value Enable Disable Use the worksheet above to determine the setup parameter values below V Memory Setup Parameter Description Format Value Notes Location V7620 User Preset Data Pointer Octal starting at V V7621 User Preset Titles Pointer Octal starting at V V7622 User Preset Block Size BCD of titles V7626 Powerup Mode BCD V7627 Change Preset Password BCD V7720 Titled Timer Data Pointer Octal starting at V V7721 Titled Counter Data Pointer Octal starting at V V7722 Timer Preset Block Size high byte BCD xx timers Counter Preset Block Size low byte yy counters DL130 and DL230 CPUs use different memory locations here V7640 instead of V7720
118. ations with one instruction QUTD Output the data to memory locations V2102 and V2103 2102 Insert OUTD box instructions here for memory locations _ __ V2104 to V2134 Remember only use even numbered memory locations OUTD Output the data to memory locations V2136 and V2137 V2136 This is the last of 32 OUTD box instructions in this group which programs all 64 display characters to be spaces Unmasking Numeric Positions maDirect DV 1000 Examples a msg6 prj 4 Message Display Mode 4 23 The setup program on the previous page masks all numeric positions as a starting point Now we add the main ladder program It loads the number and then unmasks the corresponding specific numeric display positions As an example let s place a number in the first numeric position that varies from 0 to 999 999 However the V memory contents will vary from 0000 to 0999 We can leave the leading O masked and only unmask the three digits we want to display as shown to the right 765 43 210765 43 2 1 0 Now we re ready to write the main ladder program which follows It places 0999 in the first numeric data location and then unmasks the three display positions of interest We use the null character ASCII code 00 to unmask the numeric output
119. ator Save the accumulator contents at V2215 while we calculate the lower nibble Increment the character pointer in order to make the next compare If the processed analog value is less than the character pointer load the ASCII code for the solid block character bar graph component into the accumulator If the processed analog value is equal to or greater than the character pointer load the ASCII code for the space character blanks bar graph into the accumulator Combine the contents of the accumulator lower nibble with the saved contents of V2215 upper nibble We have a word now ready to write Write the bargraph word 2 characters to the proper text position s address pointed to by V2214 Increment the character pointer in order to make the next compare Increment the text data pointer in order to write to the next text position on the display Message Display Mode continued Examples a msg15 prj Y End of Row V2210 K10 End of Display V2211 K4 LD KO OUT V2210 INCB V2211 LD P2212 ANDD k fff SHFR K8 OUT P2213 INCB P2213 INCB V2212 INCB V2213 LDA 02200 OUT V2212 LDA 02204 OUT V2213 LDA 02100 OUT V2214 LD KO OUT V2210 OUT
120. ator V2200 is the 02200 beginning address of the User titled text data OUT Output this constant to V7621 the location of setup V7621 parameter for the starting address of the title text block LD Load the constant K4 BCD into the accumulator K4 OUT Output the constant 4 to V7622 the location of the setup V7622 parameter for the User titled label block size te Load the constant K1 into the accumulator OUT Output the constant K1 to V7626 the location of the V7626 Powerup Default Mode setup parameter The value of 0001 selects Change Preset Mode ie Load the constant KO into the accumulator 0 OUT Output the constant KO to V7627 the location of the V7627 Change Preset Password The value of 0000 disables it TAN Load the octal address 2304 into the accumulator Output the octal address 2304 to V7720 the location of the OUT setup parameter for the starting address of the Timer V7720 Presets NOTE DL130 and DL230 CPUs use memory location V7640 not V7720 LDA Load the octal address 2305 into the accumulator 02305 Output the octal address 2305 to V7721 the location of the OUT setup parameter for the starting address of the Counter V7721 Presets NOTE DL130 and DL230 CPUs use memory location V7641 not V7721 raat Load the constant K101 into the accumulator Output the constant 101 to V7722 the location of the block OUT size bytes for Timer and Counter titled data This selects V7722 one each NOTE DL130 and DL230 CPUs use memory
121. be up to 16 or 32 titles 5 2202 4546 long maximum determined by CPU type 3 2203 4748 gh To calculate the number of V memory 4 2204 0000 locations required just multiply the 3 ooog number of titles by four 7 2907 0000 10 2210 0000 11 2211 0000 12 2212 0000 13 2213 0000 14 2214 0000 15 2215 0000 16 2216 0000 17 2217 0000 0 Change Preset Mode 6 13 After choosing the titles and data to preset we can fill out the following application worksheet The four User Presets Data Locations are listed and the text titles are left blank Note that we have one timer and counter listed because allthree presettypes must have at least one entry Finally we select the password disabled and the powerup mode We arbitrarily choose Change Presetas the Powerup Default Mode User Presets Timer Presets Counter Presets Text Titles Text Data Titles Data Counter Data Locations Locations Locations Titles Locations abcdefg V2200 V2300 Timer 1 V2304 Counter 1 V2305 Password Password Value Powerup Mode Powerup Value Enable Disable Disable 0000 Change Preset 0001 Using the worksheet above we can determine the setup parameters The numbers are in bold text in the following table V Memory Setup Parameter Description Format Value Notes Location V7620 User Preset Data Pointer Octal 2300 start at V2300 V7621 User Preset Titl
122. ber of data locations which is 16 words K10 10 hex or 32 characters LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K1 1 Top 2 Lines MOVMC Move data into V memory starting at V2100 V2100 corresponding to the top two lines on the display LD Load the number of data locations which is 16 words K10 10 hex or 32 characters LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K2 2 Bottom 2 Lines MOVMC Move data into V memory starting at V2120 V2120 corresponding to the bottom two lines on the display Unmask LDD Load zeros for the null ASCII character for Numeric Output KO unmasking numeric output on the display OUTD Unmask text positions 6 and 7 corresponding to V2106 numeric output position 0 OUTD Unmask text positions 16 and 17 corresponding to V2116 numeric output position 4 OUTD Unmask text positions 26 and 27 corresponding to V2126 numeric output position 10 Ch 1 OUTD Unmask text positions 36 and 37 corresponding to V2136 numeric output position 14 Read Sign Bit Create Sign X17 Load the ASCII codes for a space and a plus sign WA Pee when the sign bit is not set X17 Load the ASCII codes for a space and a minus sign Road when the sign bit is set Load Analog Input Word SP1 Load the in
123. ble to connect the DV 1000 to your CPU Cables come in two versions which differ in the connector type at one end One version is for connection to all DL105 DL205 and DL350 CPUs The other is for DL430 and DL440 CPUs DL450 CPUs can use either version DL105 DL205 The DV 1000 connects to the single phone jack style communications port on a DL350 DL450 DL130 or DL230 the top port on a DL250 DL350 or DL450 or to either port ona Phone Jack Style DL240 The standard cable and its part number are listed in the following figure Sonneenen Use Part No DV 1000CBL k 6 6ft 2m Se Phone Jack style Pa connector RJ12 6 conductor DL430 DL440 The DV 1000 connects to the 15 pin top port on DL430 and DL440 CPUs and the DL450 15 Pin middle port on DL450 CPUs The bottom port on these CPUs do not provide the Connection needed 5V There are two methods for making these connections shown below Method 1 preferred Use Part No D4 1000CBL 6 0ft 1 85m Shielded Cable Connects 3 e US to Dv 1000 Connects to CPU lt Phone Jack style 15 pin D sub connector RJ12 a a connector male Method 2 Use Part No FA CABKIT 7 0ft 2 15m Connects to Non shielded Cable Connects to
124. boxes 4 Message Display Mode 4 2 Choosing ACON After using the ACON instruction to place a line of text on the first display row we re Box Text Length ready to create a full display message covering all four rows The previous example used one 16 character ACON box If we extend this method to generate a message for the entire display we ll need four ACON boxes in separate data label areas The organization of ACON boxes to display text is as follows ACON aaaaaaaaaaaaaaaa E aaaaaaaaaaaaaaaa ACON bbbbbbbbbb bDbbbbbbbbbbbbbbb ACON gt CCCCCCCCCCCCCCCC pe dddddddddddddddd O A EE ACON dddddddddddddddd You may recall that the ACON instruction box using DirectSOFT can accept up to 40 characters Although there are many possible combinations at least two ACON boxes are required to fill the DV 1000 s 64 character display To take maximum advantage of the ACON box capacity let s create a display using just two ACON instructions Using equally sized ACON boxes each one contains 32 characters which will fill two rows as shown below z aaaaaaaaaaaaaaaa ACON aaaaaaaaaaaaaaaabbbbbbbbbbbbbbbb eae bbbbbbbbbbbbbbbb ACON lt A Eee eee sess cecccccccccccccccdddddddddddddddd ddddddddddddddda 765 43 210765 43 2 140 The text in the 32 character ACON Boxes wraps around from one row to a second row on the display This makes very efficient us
125. cation V7642 not V7722 Load ASCII constants for abcd in the accumulator Remember to swap positions between the first and second pair of ASCII codes Place the ASCII codes in the User titled text data block Remember to use only even numbered addresses with LDD OUTD instructions Load ASCII constants for efgh in the accumulator Remember to swap positions between the first and second pair of ASCII codes Place the ASCII codes in the User titled text data block Remember to use only even numbered addresses The following diagram shows the resulting displays from the program example above abcdefgh 0000 TIMER 1 0000 COUNTER 1 0000 76543210765 43210 76543210765 43210 76543210765 43210 0 Change Preset Mode 6 14 Desired Display Default User Perhaps the simplest application of Title List Change Preset titles is the default user titled presets Suppose we are V 2300 0000 debugging a machine and just want to V 2301 0000 preset four V memory locations V2300 V2303 We select the default titles Vxxxx bl gt Da pone addresses as shown to the right This is a V 303 0000 handy short cut whenever it s 76543210765 43210 unnecessary to invest the time in programming fancy text titles To select the default titles just enter FFFF in V7621 the setup parameter for the User titled Preset Pointer The title selections are summarized in
126. ccumulator Overwrite the saved bit pattern at V2000 which is one scan old This prepares for the comparison again on the next scan The next several rungs with C20 contact execute for 1 scan when the keypad bit pattern changes Load the constant K8 into the accmulator Load the address offset For nearly every MOVMC used for ACON data there will be zero offset use KO Read from the ACON following Data Label K3 if the CHG PRE Key is pressed Read from the ACON following Data Label K4 if the MSG Key is pressed Read from the ACON following Data Label K5 if the STAT Key is pressed Read from the ACON following Data Label K6 if the OPT Key is pressed Read from the ACON following Data Label K7 if the Arrow lt Key is pressed Bit Control Mode MAS continued asoregr a bitctrl2 prj Read from the ACON following Data Label K8 if the Arrow gt Key is pressed Read from the ACON following Data Label K9 if the Minus Key is pressed Read from the ACON following Data Label K10 if the Plus Key is pressed Read from the ACON following Data Label K11 if no key is pressed Move data into V memory starting at V21300 Mark the end of the main program with an End Coil The Data Label boxes mark the beginning of a data area containing ACON boxes The constant in each box is the reference number for th
127. cter spaces while each text position occupies 2 character spaces The example programs in this manual begins numeric data block at V2000 and text block data at V2100 The figure below shows how numeric and text data locations map to physical locations on the DV 1000 display Because of the octal numbering the display position numbers are equal to the address offsets Display Maps Numeric Display Map 3 2 1 0 V2003 V2002 V2001 V2000 7 6 5 4 V2007 V2006 V2005 V2004 13 12 11 10 V2013 V2012 V2011 V2010 17 16 15 14 V2017 V2016 V2015 V2014 Text V2100 V2101 V2102 V2103 V2104 V2105 V2106 V2107 10 11 12 13 14 15 16 17 V2110 V2111 V2112 V2113 V2114 V2115 V2116 V2117 20 21 22 23 24 25 26 27 V2120 V2121 V2122 V2123 V2124 V2125 V2126 V2127 30 31 32 33 34 35 36 37 V2130 V2131 V2132 V2133 V2134 V2135 V2136 V2137 4 20 Message Display Mode How Message Data The figure below shows the numeric and text data in V memory From there follow Gets to the Display the arrows to detailed numeric and text tables which show the V memory contents for the examples thus far in this chapter Notice how the offset from the base address V2000 and V2100 for each data block corresponds to actual display position numbering Follow the arrows to the bottom of the page where the DV 1000 combines numeric and text information into
128. cts for dust etc or change cables e If you have made a custom cable it may be that the cable pinouts are reversed the RJ12 connector on one end is installed upside down Pin 1 of one end should connect to pin 6 of the opposite end Refer to the custom cable drawing in Chapter 2 le fa gt D 2 gt Q a 5 O E rol o Reference Data In This Appendix Setup Parameter Tables ASCII Table 2e Reference Data Setup Parameter Tables The following table includes all the setup parameters for the various modes of the DV 1000 a DV 1000 Parameter Description Operational See Chapter Locations Mode Number V7620 Change Preset Values Pointer CHG PRE 6 V7621 Change Preset Titles Pointer CHG PRE 6 g V7622 Change Preset Block Size CHG PRE 6 V7623 Numeric Message Pointer MSG 4 E V7624 Text Messages Pointer MSG 4 z V7625 Bit Control Pointer BIT CNTRL 7 A V7626 Powerup Operational Mode Power up 3 Default V7627 Change Preset Value Password CHG PRE 6 V7720 Titled Timer Preset Value Pointer CHG PRE 6 V7721 Titled Counter Preset Value Pointer CHG PRE 6 V7722 Titled Timer Preset Block Size CHG PRE 6 High byte Low byte Titled Counter Preset Block Size CHG PRE 6 DL130 and DL230 CPUs use different memory locations here V7640 instead of V7720 V7641 instead of V7721 and V7642 instead of V7722 The next table repeats the setup pa
129. cursor is in the data field you are ready to Title uges Data edit the data Position S Position NOTE If pressing the Enter Key does not g agtpoint 0000 move the cursor to the data position access to change presets is locked You AC tual 0000 must first enter the correct password see vi 2302 0000 next page V 2303 0000 765 43 210765 43 2 1 40 WARNING Changing the preset value on the display immediately changes the value in PLC V memory the display is not buffered Equipment damage or personnel injury may occur from improper use of this mode Be sure to pause a moment after each keystroke to allow for the DV 1000 display update so that you are viewing current values of Change Preset variables Scrolling Through Change Preset Lists Changing the Preset Value Entering a Password Locking Access to Change Presets 0 Change Preset Mode 6 33 To scroll the display window downward or upward through a selected list position e cna the cursor overthetitle use the Enter Key TIMER 3 Mood to toggle its position between the title or PRESS TIMER 4 0000 data Then use the Plus and Minus Sa Keys to scroll the display TIMER J Dooa TIMER 8 1000 0 Cursor Position Janae Mar N T IMER 1 0 0000 TIMER 9 0000 TIMER12 0000 TIMER13 0000 TIMER10 0000
130. d The operator edited V2200 but did not finalize the change with XO OUT Overwrite the temporary value that was changed by V2200 the operator Now V2300 and V2200 are equal and Timer 1 is turned off on the next scan 0 6 32 Change Preset Mode Operator s Guide to Change Preset Mode This 2 page guide contains condensed CHG instructions for machine operators on how PRESS RE gt to use Change Preset Mode lt assumes the DV 1000 installation and SetPoint 0425 programming are complete Actual 0432 To enter Change Preset Mode just press Hi Alarm 0450 the Change Preset Key on the keypad The User titled Presets will appear la Mill 222 7654321076543210 05 Selecting the Three change preset lists are accessible in a circular list Refer to the figure below List to Display Upon entry to Change Preset Mode the first display is automatically the User titled list From there use the Right Arrow and Left Arrow Keys to move to the timer titles and counter titles displays Cursor Position PRESS PRESS USER DATA gt TITLES V2300 0000 76543210765 43210 COUNTER DATA TIMER DATA TITLES TITLES COUNTER 1 0000 TIMER 1 0000 Ns 7654321076543210 7654321076543210 Cursor Positioning Press the Enter Key to toggle the cursor On Title or Data between the title and data fields When the PRESS ent
131. de without Bit Control just for example An END coil on the last rung makes this a complete but simple example program Load Setup Parameters SPO Load the constant K2 into the accumulator to select ra Message mode without Bit Control First Scan Only OUT Place the value in memory location V7626 the location of V7626 the Power up Default Operation Mode selection END After the parameter setup rung s above we begin the normal ladder program Insert your actual program before the end coil To test the program and confirm our understanding of the Powerup Default mode enter the program above into your CPU Then put the CPU in run mode which will place the constant K2 in memory location V7626 on the first scan Now follow the steps below to test the Powerup Default feature oo MER Ei i 10 2 0 i EE x 30 MENA 765 43 210765 43 2 1 40 x MOM PRESS stat gt D D Z D D Pr y 3 D D D n The goal is just to have the DV 1000 in some mode other than the powerup default which we have selected in the program above It is nowin Status Display Mode Now power cycle the DV 1000 by unplugging it or removing power to the CPU Then restore power and do not press any key on the DV 1000 keypad at this point The display below or perhaps a setup error message should appear after 2 or
132. dea to get the basic display screen working first and then carefully add portions of these techniques to fine tune your application program The special display applications we will cover are e Multiple message displays e Blinking text e Dynamic text e Embedding the time and date in a message e Polarity sign for numbers e Bar Graph Displays e Automatic Scrolling Displays Multiple Message In Message Mode the DV 1000 continuously scans the numeric and text data in Displays V memory to combine their information and create a single display screen To change the display message we must update the numeric and or text data blocks in V memory accordingly It s possible to alternate between two or more display screens based on some arbitrary event For example suppose we want either of the following display screens to appear based on an operator input Display Screen 1 Display Screen 2 CONVEYOR SPEEDS TOTAL PRODUCTION Line 1 123 fpm Line 1 11111111 Line 2 456 fpm Line 2 22222222 Line 3 7 89 fpm Line 3 33333333 76 54321076543210 E69 5 BUS 200d Ol e E 3 a 0 In order to choose a programming strategy we must do the following e Choose number of display screens e Create the message numeric and text data e Decide what event triggers display screen changes In this example we have 2 display screens the contents are as shown and the display will change based on the state of XO OFF Display 1 ON Dis
133. der program monitors the state of the fault signal through discrete input XO In the Off to On transition the ladder program writes Bin Empty and fills in the time and date data When input XO makes the On to Off transition the program erases the Bin Empty message and the time and date information Future transitions of the XO signal cause the same display updates ON Fault OFF Y Y Y Y Display WRITE Bin Empty ERASE Bin Empty WRITE ERASE Updates WRITE time and date ERASE time and date same same At each display update the ladder program needs only to write the new text output data to the text data block one time So the program uses a PD positive differential coil to sense both Off to On and On to Off transitions of XO The control relays CO and C1 are on for just one scan respectively In this way the ladder program only has to display updates when the fault signal XO makes a transition greatly minimizing any impact to the PLC scan time reg a msg14 prj Examples Message Display Mode Real time clock data is available in system V memory DL240 DL250 DL350 DL440 and DL450 CPUs atthe addresses in the table below If the current time and date in your PLC requires setting use DirectSOFT s menu PLC then Settings then Calendar Time Data Location Date Data Location Hours V7770 Day V77
134. display exercise in Chapter 1 demonstrated that several operational modes are available by using the keypad In an actual factory installation it is unlikely that an operator will be present to use the keypad at each system powerup Therefore it is important to provide a method to determine beforehand the mode the DV 1000 automatically enters at powerup It s a good idea to program the powerup default parameter regardless of which DV 1000 mode s you intend to use The available selections are Enter previous mode at power down Enter Change Preset Mode Enter Message Display Mode without Bit Control Enter Message Display Mode with Bit Control Enter Status Display Mode In order to select the proper power up default mode for your application you need to know something about how the DV 1000 will be used in the finished machine or factory process In some situations a single operator will frequently use the keypad and change DV 1000 modes from one to another They may expect the DV 1000 to remain in the mode they were last using even after a power cycle The first choice on the list above will do this In other situations multiple personnel will use the keypad Or the application may use the DV 1000 s display mainly for monitoring purposes In these cases you may want to set up the DV 1000 to enter a specific operational mode at every powerup which the remaining selections in the list will do A single parameter selects the powerup defau
135. e Enable Disable Enable 1234 Change Preset 0001 Using the worksheet above we can determine the setup parameters bold text V Memory Setup Parameter Description Format Value Notes Location V7620 User Preset Data Pointer Octal 2300 start at V2300 V7621 User Preset Titles Pointer Octal 2200 start at V2200 V7622 User Preset Block Size BCD 8 8 titles V7626 Powerup Mode BCD 0002 Message Mode V7627 Change Preset Password BCD 1234 code 1234 V7720 Titled Timer Data Pointer Octal 2300 start at V2300 V7721 Titled Counter Data Pointer Octal 2320 start at V2320 V7722 Timer Preset Block Size high byte BCD 0508 5 timers Counter Preset Block Size low byte 8 counters DL130 and DL230 CPUs use different memory locations here V7640 instead of V7720 V7641 instead of V7721 and V7642 instead of V7722 aii Change Preset Mode In this step we use the information in the setup parameter table and worksheet to write the program The setup parameter portion is first followed by the MOVMC for the ACON boxes One portion of the program loads zeros in for the ASCII codes of the text titles so the default Vxxxx labels appear for those titles 0 Parameter Setup Change Preset areg a preset7 prj DV 1000 Examples First Scan Only LDA 02300 OUT V7620 LDA 02200 OUT V7621 LD K8
136. e Disable 0000 Change Preset 0001 Using the worksheet above we can determine the setup parameters The numbers are in bold text in the following table V Memory Setup Parameter Description Format Value Notes Location V7620 User Preset Data Pointer Octal 2300 start at V2300 V7621 User Preset Titles Pointer Octal 2200 use default title V7622 User Preset Block Size BCD 4 4 titles V7626 Powerup Mode BCD 0001 Change Preset V7627 Change Preset Password BCD 0000 Disabled V7720 Timer Data Pointer Octal 2304 start at V2304 V7721 Counter Data Pointer Octal 2305 start at V2305 V7722 Timer Preset Block Size high byte BCD 0101 one timer Counter Preset Block Size low byte one Counter DL130 and DL230 CPUs use different memory locations here V7640 instead of V7720 V7641 instead of V7721 and V7642 instead of V7722 0 Change Preset Mode 6 23 Parameter Setup Change Preset a preset6 prj Examples SPO LDA Load octal address 2300 into the accumulator V2300 is the 02300 beginning location of the user preset values First Scan Only OUT Output this address to V7620 the location of the setup V7620 parameter for the beginning address of user preset values LDA Load octal address 2200 into the accumul
137. e address locations of blocks of data in the user data space of V memory The relative sizes of the shaded blocks indicate that the text data block 32 words V7623 Numeric Pointer Xxxx is twice the size of the numeric data 16 V7624 Text Pointer yyyy words We explain why this is true a bit later in this chapter These block sizes are fixed there is no block size setup Setup Parameters End of V parameter for these Memory Choosing Data Now we decide where to place our V Memory Space Block Locations numeric and text data blocks for use in the vo0000 example programs in this chapter As described in Chapter 2 we will use an User Data available memory area common to all V200 N Dat CPU types starting at V2000 Therefore v2017 SS PP numeric data occupies 16 word locations V2100 Text Data from V2000 to V2017 We ll arbitrarily V2137 place the text table starting at V2100 It occupies 32 word locations extending down to V2137 Note that either text or numeric data may be placed first in V memory However the blocks must not overlap each other but one may v7623 Numeric Pointer 2000 immediately follow the other v7624 Text Pointer 2100 The locations we have chosen here for numeric and text data are examples only The location you choose for your E cr nd of V application may be different Memory Ladder Example for Message Setup Parameters Par
138. e adjusts product quality and machine performance by making a series of typically careful and incremental changes to control parameters The DV 1000 Change Preset Mode emulates the thumb wheel access to adjust PLC control parameters However the term preset really includes all of User V memory not just timers and counters This concept is so important we emphasize it here Change Preset means Change V Memory Data How Change Change Preset Mode allows you to monitor and change V memory data from the Preset Works DV 1000 keypad Refer to the figure below The ladder program writes the setup parameters in V memory usually on the first scan These contain pointers to titles text labels for the data and to the data itself The DV 1000 reads these and provides access to edit the data When the operator uses Change Preset Mode the DV 1000 writes new values to the selected data in V memory Then the ladder program reads the data usually on every scan and uses it as a control parameter for the process V Memory Space Ladder Program Setup Parameters User V memory gs Ba A TITLES 8s 88 2 A DATA A READ Main Program gl WRITE _ Setup Parameters CHG msa Direct 1000 TIT
139. e of the ACON instruction However you have to carefully count characters and spaces so the display output does what you want it to do When writing your own programs use the length of ACON text that best fits your application and is the easiest for you to use In the interest of conserving space most of the examples in this chapter which use ACONs use the 32 character version However the programs could have used twice as many 16 character ACON boxes instead Message Display Mode The following ladder program outlines show equivalent 16 character and 32 character ACON box methods to generate the same display output It assumes the text data block begins at V2100 but your memory map may differ 16 Character ACONs 32 Character ACONs MOVMC for DLBL 1 MOVMC for DLBL 1 LD LD K10 hex K8 K10 16 decimal LD LD KO KO LDLBL LDLBL K1 K1 MOVMC MOVMC V2100 V2100 MOVMC for DLBL 2 MOVMC for DLBL 2 moves row 2 data to V2110 moves row 3 data to V2120 MOVMC for DLBL 3 moves row 3 data to V2120 MOVMC for DLBL 4 moves row 4 data to V2130 e DLBL Row 1 RRE Row 1 and 2 ACON ACON aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaabbbbbbbbbbbbbbbb DLBL DLBL Ko Row 2 Ko Row 3 and 4 ACON ACON bbbbbbbbbbbbbbbb
140. e text data which follows Use ASCII Constant ACON boxes to enter text characters directly from the keyboard Use ASCII Constant ACON boxes to enter text characters directly from the keyboard same v 2 eds LDLBL K8 2 as LDLBL K9 2 aaa er LDLBL K10 C20 VCO KO _ LDLBL I K11 2 aan MOVMC V2130 po CEND acia Data for Top 2 Display Lines ACON BIT CONTROL MODE amp MESSAGE MODE spaces 1 1 1 1 2 S Data for 3rd Display Line ACON Press Keys gt spaces 1 1 DLBL K3 Data for Bottom Display for each key ACON one PRE ey spaces 1 1 5 DLBL K4 ACON MSG Key R spaces 1 9 DLBL K5 ACON STAT Key i spaces 1 8 A f 14 Bit Control Mode continued Y 100 asoregr a bitctrl2 prj n Data for Bottom Display for each key cont d ACON Use ASCII Constant ACON boxes to enter text OPT Key characters directly from the keyboard spaces 1 9 DLBL K7 ACON 5 Arrow E ey i spaces 1 1 4 same DLBL K8 a ACON Arow ey spaces 1 1 4 DLBL K9 ACON ma Key spaces 1 1 3 DLBL K10 ACON a pe spaces 1 1 4 DLBL K11 ACON Y
141. e zero offset use KO Read from the ACON following Data Label K1 Move data into V memory starting at V2100 corresponding to the top two lines on the display Load the number of data locations which is 16 words 10 hex or 32 characters Load the address offset For nearly every MOVMC used for ACON data there will be zero offset use KO Read from the ACON following Data Label K2 Move data into V memory starting at V2120 corresponding to the bottom two lines on the display anes Message Display Mode continued t 1 XO Co areg a msg12 prj PD Activate control relay CO for 1 scan when XO Samples eee a goes from On to Off Xo C1 C PD Activate control relay C1 for 1 scan when XO goes from Off to On co Manual iD Load the ASCII codes for MA K4D41 SPO XO OUT Place the ASCII codes in the text data block 1 1 2114 location corresponding to text display position 14 LD Load the ASCII codes for N K4E20 OUT Place the ASCII codes in the text data block V2115 ranon corresponding to text display position Aut ct uto LD Load the ASCII codes for AU K4155 SPO XO OUT Place the ASCII codes in the text data block 2114 location corresponding to text display posi
142. edit the timer or counter box to instead reference a V memory location for the preset The Change Preset function cannot change an instruction box s constant Please see the examples in Chapter 6 can t get the numeric data in Message Display mode to put numbers on the screen Potential sources of this problem are The numeric setup parameter at V7623 may not be pointing to the area of V memory where the value resides e The text data may be masking the number s if its ASCII codes are 20 hex or greater in text positions corresponding to numeric positions where you want the numbers to appear e The display is not in Message Display Mode Why does Change Preset keypad entries take so long to respond and update the display The delay you are seeing is due to communication time between the DV 1000 and the CPU If screen updates lag behind it can cause you to overshoot the desired value For best results pause a second between key strokes In ladder logic change the text or numeric pointer to point to a second block of data However the DV 1000 only reads the original data block Why is that The DV 1000 only reads the setup parameter table just after powerup If you want to change the display data you ll need to move new data into the original text and or numeric data blocks An example in Chapter 4 shows the ladder logic required to do this A Troubleshooting Guide Ans l am not able to change preset values even though
143. eeeeseees 1 10 Status Display M d scort i 1 10 Message Display Mode g2 cc a c2e24 se chie tes o a Peeks li eed es 1 11 Change Preset Mode ssi Hawa Musou cud nly ates tensor boat aaatecmny cee end Ss ate etve 1 12 PAE CONTO WIGS xs ee itt ca crete tak eases e tara Ne a Le ON cet tat 1 13 Operator Interface Design Basics nic 5 it a aed Soa ae enw aac Soa ee es 1 14 Man Machine Interface ic cuca ties Bet aaa E Satara 1 14 Monto and CONMIGO rata o sae We ny aan wind adie eine Aveda ad 1 15 Purposes f Monitoring aa AD ta atts oe 1 15 PUrDOSES Of Control s pendones Seles 1 15 Frequently Asked Questions 000 cc as ee a da io 1 16 Specifications 0 A ee eee ee AA AA ee ee 1 18 AL Table of Contents Chapter 2 Installation Guide Introduction 2 A A e acta eas Step 1 Choosing Single or Dual DV 10008 0 ccc cee cece ee eee eee eens Dual DV 1000 Operating Characteristics 0 cece DL 130 DIL230 COAMECON cia ii ORS NA ERAS SAE O annette a hea weds See DL240 GONNECHON a a a pend ae yea a Sora gan cia DL250 DL350 DL430 DL440 DL450 Connection 0 earannan ee eee Step 2 PLC Selections vie vccoe nee io ee Oe ead eid Se ee A eee wae Step 3 Selecting a Mounting Location 000 cc cece eee teen eee eee Step 4 Panel Mounting tt a cs ee See rd A re es ee es Step 5 Gable Selection ita doi nicl Dette Oa ewan DL105 DL205 DL350 DL450 Connection 0 0 0 ccc teens DL430 DIL440 Con
144. eft On the right are examples using the LDD and OUTD instructions without the swap wrong and with the swap correct Using Using LD and OUT Instructions LDD and OUTD Instructions K4142 Wrong V2100 K4344 LDD Correct K43444142 OUT V2101 OUTD V2100 dd Be Message Display Mode Turning Data into Messages Numbering of Now we have displayed a number and some text using single entries one V memory Display Positions location in the numeric and text tables You have probably noticed that the first locations are in opposite corners of the display Refer to the figure below Numeric positions increment from right to left like LSB to MSB orientation Text positions increment from left to right just as we read from a book We number the positions in octal and start with zero First numeric position First text position Numeric Display Positions J Text Display Positions 3 2 1 0 0 1 2 3 4 5 6 7 7 6 5 4 10 11 12 13 14 15 16 17 13 12 11 10 20 21 22 23 24 25 26 27 17 16 15 14 30 3 1 3 2 33 3 4 3 5 3 6 3 7 765 43 210765 43 2 140 765 43 210765 43 2 i140 Octal numbering of positions The display contains a total of 16 numeric and 32 text positions Each position corresponds to one V memory location 16 bit word Each numeric position occupies 4 chara
145. emory First Keypad Keypad Conventions Used in this Manual This section will familiarize you with how to use the keypad along with the display response for each key you press Its purpose is not to demonstrate all of the modes or display screens The remaining chapters in this manual contain that information NOTE These exercises must be done in a safe learning environment DO NOT use a CPU that is actually controlling a process in order to avoid accidentally changing V memory data needed by the ladder program The following exercises assume the DV 1000 is online with the PLC and the CPU program V memory and system parameters are clear If your CPU has random data in these locations then your displays will likely not match the examples 1 Connect the communications cable from your personal computer communications port to your PLC s programming port on the CPU Start DirectSOFT on your personal computer Select a link to go online with the CPU Save your program to a project file if you have a program not yet saved Verify the CPU is in program mode From the menu bar select PLC then PLC Modes then Program Then select OK or press Return 6 From the menu bar select PLC then Clear PLC memory then All Then select OK or press Return 7 From PLC menu choose Setup then Initialize Scratchpad This ensures the DV 1000 setup parameters are initialized to zeros ae VN You may recall that the keypad
146. emp 2 0000 Gal Min 0000 Change Preset operation is depicted below Setup parameters point to the location of title and data lists in V memory also defining the list length The DV 1000 presents these as matched lists so that a title and its corresponding data are together on the same display line Keypad entries can request data changes which immediately updates the data on the display and the data in V memory Finally the ladder logic program uses the new data to update the machine control process Change data V Memory Space TITLES DATA from keypad My Title 0000 els User V memory A 6 My Title 0000 EDE 1 TITLES my ried 000 m a 8 as aa Sa a 7 7321076543210 DATA 3 Ladder Program o Sil Setup Parameters Bit Control Mode see Chapter 7 Getting Started AS Bit Control Mode temporarily reassigns eight keys on the keypad for dedicated control of eight I O bits A Setup Parameter is required In the drawing below the setup parameter points to a system I O location for either X Y C or GX type I O points This example s setup parameter points to a control relay location controlling the first eight relays The keypad switches operate as momentary normally
147. er Data Pointer Octal 2301 Start at V2301 V7721 Counter Data Pointer Octal 2302 Start at V2302 V7722 Timer Preset Block Size high byte BCD 0101 one timer Counter Preset Block Size low byte ou DL130 and DL230 CPUs use different memory locations here V7640 instead of V7720 V7641 instead of V7721 and V7642 instead of V7722 0 Change Preset Mode A Now we use the information in the setup parameter table to write the program Be sure to pay attention to the data type octal or BCD of each instruction that loads to the accumulator This example only requires parameter setup no main program required Load this program into your CPU and follow the discussion on the next page to see how it performs the worksheet choices Parameter Setup Change Preset nadie a preset prj Dv 1000 sur SPO LDA Load octal address 2300 into the accumulator V2300 is the 02300 beginning location of the user preset values First Scan Only OUT Output this address to V7620 the location of the setup V7620 parameter for the beginning address of user preset values LD Load the hex constant FFFF into the accumulator Kffff OUT Output this constant to V7621 the location of setup V7621 parameter for the starting address of the title text block LD Load t
148. es Bly a hie eee 1 2 Chapters ste ch ck altea ad ke utente Rac ant et qe none a a id id tre travesti 1 3 DirectVIEW 1000 Data Access Unit Overview 0 00 ccc 1 3 DirectVIEW 1000 Features 200 da wh 1 4 Getting Acquainted i c f 6 nto a pee A Be i a eee RS eee 1 4 Display inten arse een ce tnt ate Saag ai dae actors e ta sei a Ses ai ante seen variate dh Rie ae Rie 1 5 REPASA a aM al i aaa 1 5 A NN 1 5 Software Examples on Disk ws cud ctw ae enc is eee eee eRe ee aK eS 1 5 DIFECTSOFT SUDDON essa rte see Owe SERA eye gee Sees 1 5 Display and Keypad Basics iii A tie ewe a ieee ig ee 1 6 Clear V Memory First sra es cee abet 6 Plena ee sae eee ey E REAR EE mess 1 6 Keypad stay chee ewe taeda ia not Mase ee SRG Res Se HEN ee Slee 1 6 Keypad Conventions Used in this Manual 0 00 eee 1 6 CHG PRE Key Change Preset 20 ies said a giao Soy a Gee He 1 7 MSG Key Message dada dis Gee Satan EASTER T A la Sera Gea Bhat 1 7 STAT Key Stats psa a oi a AA 1 7 CURSOR and 4 KEYS vic arca Sis a a os 1 7 OPT Key Optional Modes 5 2t ectyen ee obntenieebdes pel ble tie ite bed bad pad 1 8 CLEAR and ENTER Keys cocotero aaa 1 8 Setup Parameters the Key to DV 1000 Success 2 cece ee cette eee eee eeees 1 9 Purpose of Setup Parameters oococooccccoccn eee teens 1 9 Programming Setup Parameters 2 c cece eee eee eee ees 1 9 Quick Tour of DV 1000 Operation cece cece erence eee eee eenee
149. es Pointer Octal 2200 start at V2200 V7622 User Preset Block Size BCD 0001 1 title V7626 Powerup Mode BCD 0001 Change Preset V7627 Change Preset Password BCD 0000 Disable pass word V7720 Timer Data Pointer Octal 2301 start at V2304 V7721 Counter Data Pointer Octal 2302 start at V2305 V7722 Timer Preset Block Size high byte BCD 0101 one timer Counter Preset Block Size low byte one counter DL130 and DL230 CPUs use different memory locations here V7640 instead of V7720 V7641 instead of V7721 and V7642 instead of V7722 0 Parameter Setup Change Preset acdieg a preset3 prj Samples SPO LDA Load octal address 2300 into the accumulator V2300 is the 02300 beginning location of the user preset values First Scan Only OUT Output this address to V7620 the location of the setup parameter for the beginning address of user preset values V7620 LDA Load octal address 2200 into the accumulator V2200 is the beginning location of the user preset titles 02200 gong P OUT Output this constant to V7621 the location of setup parameter for the starting address of the title text block 7 V7621 am Change Preset Mode continued y Dv 1000 a preset3 prj Examples Load abcdefgh LD K1 OUT V7622 LD K1 OUT V7626 LD KO OUT
150. ese manuals are not absolutely necessary to use the DV 1000 but might come in handy for an occasional reference We realize that even though we strive to be the best we may have arranged our information in such a way you cannot find what you are looking for First check these resources for help in locating the information e Table of Contents chapter and section listing of contents in the front of this manual e Quick Guide to Contents chapter summary listing on the next page e Appendices reference material for key topics e Index alphabetical listing of key words at the end of this manual You can also check our online resources for the latest product support information e Internet the address of our Web site is http www plcdirect com e Bulletin Board Service BBS call 770 844 4209 If you still need assistance please call us at 800 633 0405 Our technical support group is glad to work with you in answering your questions They are available Monday through Friday from 9 00 A M to 6 00 P M Eastern Standard Time If you have a comment or question about any of our products services or manuals please fill out and return the Suggestions card that was shipped with this manual Chapters The main contents of this manual are organized into the following seven chapters and DirectVIEW 1000 The DV 1000 is a small low cost data access Data Access Uni
151. eset Mode presents data that you can view on the display and edit with the keypad Setup parameters are required Titles labels accompany the data giving them meaning for your application Change Preset just means change V memory data value Password protection is also available Change Preset Mode see Chapter 6 if desired Three types of titles are available in Change Preset Mode e User titled Presets allow you to create your own text label of up to eight characters in length e Pre titled Timer labels 1 to 99 are available if you have timers and can use ready made labels e Pre titled Counter labels 1 to 99 are available if you have counters and can use ready made labels With proper setup parameters you can establish lists of presets with text labels you create The Change Preset Mode has built in display scrolling capability You can scroll to the variable name of the data you want to change move the cursor to the data field and change the data using the keypad Like using thumb wheel switches the data in V memory changes immediately to match the display TITLE DATA FIELD FIELD My Title 0000 My Title 0000 My Title 0000 My Title 0000 7T65432 1076543210 My Title 0000 TIMER 1 0000 COUNTER 1 0000 USER TITLES DATA SetPoint 0000 Value 0000 Hi Alarm 0000 Lo Alarm 0000 SoakTime 0000 Temp 1 0000 T
152. et tes aid ita r ER od 6 3 Preset Title Types Available 2 0ccseceesees ee ose nese eecsbereu nee sese eres wenae eyes 6 3 Setup Parameters for Change Preset Mode c0ece cece cece eee eee eee ee eeeeeee 6 4 Location of Preset Variable Lists 23 u dscesigcneiGciubaietededavienewiaiseesscaciansss 6 4 Pointer and Block SIZGS 2 2 c2sckesct east ie ee 6 4 Change Preset Setup PrograM oocccoccccocccc tte eee eee 6 5 Establishing the LISIS veses ar aan 6 6 Accessing Change Preset Variables oococooccocnccnn e eee eee eee eee eeenee 6 8 Selecting the List to Display naene eee eee eee eee eee 6 8 Cursor Positioning On Title or Data 0 eee eee 6 9 Changing the Preset Value eosussaaradas irc aaa 6 9 Pre labeled Timer and Counter Presets 0 e eee eee eee eee eee e eee eee eens 6 10 Scrolling Through Change Preset Lists 0 00 cece eee eee eee 6 12 Using Presets With Timer Box Instructions 000 cece eee 6 13 Using Presets With Counter Box Instructions 0 06 c cece ee eee 6 13 User titl d Presets a A wee AT RA i 6 14 User Titled Text Labels iopisirsidi aia poe dd onda Hee akenes 6 14 Default User Title List ns ct A A A 6 17 User titled Text Example esverrparis anciano rio rr rara 6 19 Individual Default User Titles oooooococoocorrnrr rr 6 22 Combination Titles Example sesocrrrrosararar rar RA 6 25 Change Preset Password escaner rr AAA RA 6 28 U
153. ew ee ed bee eae ene ees 4 10 Ladder Example for Message Setup Parameters nnana cece cee eee e eee tenes 4 11 Parameter Setup Program 1 gacseaie cet eee iii ced toes ae od 4 11 Displaying Numbers 3 ease eae er ee ened eee eee eens 4 13 Displaying Changing Values 4 268 ote ii id ce 4 14 Displaying TO a a a A eek Raye o ene ee a 4 15 ASCII GOdES xicas seid ewes eho A aes e Rh eaweaaeW eee RENE eee oe 4 15 Using LDD and OUTD Instructions cece eee eee eee eens 4 17 Turning Data into Messages cick cece ened eee A RA 4 19 Numbering of Display Positions oocccoocccccccerr nets 4 19 Display Maps 1s eraran a E soles id scent hese hobs en eee ce 4 19 How Message Data Gets to the Display 2 00 cece eee ees 4 20 Combined Numeric and Text DisplayS ooooooocconnncnn eee eee eee 4 21 Parameter Setup Program 2 sois tdci 4 22 Unmasking Numeric Positions 2 e cios imis a seat anera aaan 4 23 Placing Numbers and Text Together 4 2 2 22 20 ei seed si ee stad ee eis bet ee ed sdedes oe 4 24 Using the ASCII Constant ACON Instruction 0 cece eee eee eens 4 25 ACON Example Program 1 Scooters ett perito celica 4 26 Choosing ACON Box Text Length svvpcisil deis pajas dera depa dd od 4 27 AGON Example Program 2 sc cesenceeetecieseneseeseegtsedes pee bea 4 29 Continued next page Table of Contents Chapter 4 continued Message Display Applications and Techniques
154. ext Address Pointer Increment Numeric Address Pointer v LD V4001 BCD OUT V4001 LDA 02040 BCD ADD V4001 BIN OUT V4005 LD V4001 BIN OUT V4001 LD P4005 OUT P4004 LD V4003 BCD ADDD K8 BIN OUT V4003 LD V4004 BCD Load the list item number at location V4001 into the accumulator Convert the number in the accumulator to BCD Place the converted value back into location V4001 Load the list item pointer into the accumulator This creates a source address for numeric list data Convert the number in the accumulator to BCD format Add the list item number during the scroll at V4001 to the accumulator contents Convert the BCD number in the accumulator to binary format Place the newly calculated numeric list source address pointer into its location at V4005 Load the list item number at location V4001 into the accumulater Convert the BCD number in the accumulator to binary format Place the converted value back into location V4001 Load the numeric list data pointed to by V4005 into the accumulator Place the data into the numeric data block destination pointed to by the address pointer at V4004 Load the current text data pointer value into the accumulator
155. f cables that may be used with the DV 1000 The type you will use depends mainly on the PLC type that will connect to your DV 1000 Therefore the appropriate cable must be ordered as a separate item See Chapter 2 for specific part number information for the proper cable The chapters on individual modes contain several ladder program examples A diskette containing the files for these examples is included with this manual The diskette symbol in the margin beside an example program indicates it is on the diskette See the section near the end of Chapter 2 titled Installing the Example Programs Change Preset Monitor Status Cursor Left Decrement Value Clear Display messages Optional Modes Cursor right Increment Value CHG PRE MSG STAT OPT ES CLR ENT Enter NOTE The DL430 CPU does not support all instructions used in the example programs NOTE DirectSOFT Release 2 0 programming software has a utility to configure the DV 1000 however before using this utility it is important to understand the V memory relationship between the DV 1000 and the PLC See the DirectSOFT Users Manual DA DSOFT M for more information e Display and Keypad Basics Clear V m
156. for the following possible causes e Most of the example programs include first scan rungs using SPO contacts The CPU needs to make a program to run mode transition in order for these rungs to execute Use DirectSOFT to do this e The program may require an external input such as XO or X1 Check the system configuration requirements listed for the example to work e The DL430 CPU does not support some instructions such as MOVMC and ACON boxes which occur in the examples The DL130 and DL230 do not support pointer variables type P When pressing some of the keys on the DV 1000 a display message appears that says Setup Error Check Value in V xxxx How can I eliminate these error messages For most of the DV 1000 modes two or three PLC V memory locations must be loaded with setup parameters The range of V memory set aside for this purpose is described in Chapter 3 If you have manually entered these parameters at one time they now may have become corrupted for one of several possible reasons We recommend imbedding parameter setup data in ladder logic first scan rung only See Chapter 3 for more on this topic Using Change Preset Mode attempt to change timer or counter presets However the timer or counter preset does not actually change when the PLC program is running What s wrong The most likely problem is that the counter or timer box in the ladder program has a constant Kxxxx selected as a preset You will need to
157. gly recommend against this type of application Major machine control functions are best implemented with larger dedicated switches knobs etc The keys on the DV 1000 are intended primarily for various monitoring functions or for occasionally changing V memory Preset Values See the next question and answer Are there other operator interfaces available from PLC Direct Yes Please call our Technical Support Line 1 800 633 0405 for the latest information on other DirectLOGIC compatible products available from us or from industry affiliates Can the PLC sense when the operator makes keypad entries It depends Bit Control Mode is designed for general key detection for eight of the ten available keys which are redefined from their normal function In the other modes DV 1000 keypad activity cannot be detected in the PLC Can the display indicate when the DV 1000 is in Bit Control Mode Yes but with some qualification The display can be in Message Display Mode and the keypad in Bit Control Mode simultaneously which is selectable as a powerup default mode Ladder programming can detect keypad activity and coordinate the message display to provide visual feedback from the keypad entry However the operator can leave the Message Bit Control Modes if they desire Can display a numeric value in Message Mode with a leading sign Yes An example ladder program that does this is in Chapter 4 Can display a blinking text message during a
158. he constant K1 BCD into the accumulator K1 OUT Output the constant 1 to V7622 the location of the setup V7622 parameter for the User titled label block size OUT Output the constant K1 to V7626 the location of the V7626 Powerup Default Mode setup parameter The value of 0001 selects Change Preset Mode LD Load the constant KO into the accumulator KO OUT Output the constant KO to V7627 the location of the V7627 Change Preset Passwork The value of 0000 disables it LDA Load the octal address 2301 into the accumulator 02301 Output the octal address 2301 to V7720 the location of the OUT setup parameter for the starting address of the Timer V7720 Presets NOTE DL130 and DL230 CPUs use memory location V7640 not V7720 oe Load the octal address 2302 into the accumulator Output the octal address 2302 to V7721 the location of the OUT setup parameter for the starting address of the Counter V7721 Presets NOTE DL130 and DL230 CPUs use memory location V7641 not V7721 mate Load the constant K101 into the accumulator Output the constant 101 to V7722 the location of the block OUT size bytes for Timer and Counter titled data This selects V7722 one each NOTE DL130 and DL230 CPUs use memory location V7642 not V7722 Change Preset Mode Accessing Change Preset Variables Selecting the List to Display If you have loaded the example program in the Setup Parameters section we re ready to see how it will perform for an operator T
159. he constant is a hex number Main Load the add ffset F MOVMC oad the address offset For nearly every Program re used for ACON data there will be zero offset use KO LDLBL Use a Load Data Label LDLBL to read the ASCII data Ki from the Data Label after the END coil The K1 in this instruction references the constant K1 in the DLBL box MOVMC Move the data into V memory starting at V2100 using V2100 the above three boxes data which is on the stack So it will read 8 words with zero offset from the data box instructions after Data Label number 1 K1 END The end coil terminates the main program section DLBL Data Label The Data Label box marks the beginning of a data area K1 containing ACON or NCON boxes The reference number for this area is 1 specified by K1 ACON Box ACON Use the ASCII Constant ACON box to enter text A line of text characters directly from the keyboard The entry must A A A 4 be an even number of characters with a maximum of 40 characters Here we type a space character after l spaces 1 11 1 the character to have 16 characters total We recommend using the ACON method whenever you need to put several characters on the display NOTE Appendix C contains some worksheets to use in creating your own messages It includes a worksheet for loading ASCII codes individually and another worksheet for using ACON
160. he number in the numeric data block location 2005 corresponding to numeric display position 5 OUT Place the number in the numeric data block location V2011 corresponding to numeric display position 11 OUT Place the number in the numeric data block location V2015 corresponding to numeric display position 15 X0 On Screen 2 XO LDD Load the timer value which is mapped to location VO VO and V1 into the accumulator Here we use all 32 bits A of the timer value Place the number in the numeric data block location eae corresponding to numeric display position 4 OUTD Place the number in the numeric data block location v2010 corresponding to numeric display position 10 OUTD Place the number in the numeric data block location V2014 corresponding to numeric display position 14 XO Co C PD Activate control relay CO for 1 scan when X0 goes from On to Off XO C1 PD Activate control relay C1 for 1 scan when XO goes from Off to On Load Screen 1 Data into Text Data Block CO LD Load the number of data locations which is 16 words K10 10 hex or 32 characters SPO XO LD Load the address offset For nearly every MOVMC 1 1 KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K1 1 MOVMC Move data into V memory starting at V2100 V2100 corresponding to the top two lines on the display Message Display Mode
161. he special contact SPO to activate the setup rung on the first scan only You only need to program setup parameters for the mode s you intend to use The instructions to set up the various modes may be combined into the same rung All ladder examples in this manual use V memory user data space starting at V2000 In this way the examples shown will work across the various CPU types It is generally best to chart plan your V memory map before writing the application RLL program This ensures there will be V memory space available for the DV 1000 s data blocks for the mode s used Message Display Mode In This Chapter Overview System Messages User Messages Setup Parameters for User Messages Displaying Numbers Displaying Text Using LDD and OUTD Instructions Turning Data Into Messages Combined Numeric and Text Displays Using the ASCII Constant ACON Instruction Message Display Applications and Techniques Chapter Summary 4 ane Message Display Mode Overview Feature List The Message Display Mode of the DV 1000 provides a monitoring function It supports System Messages from the CPU no setup parameters required e Error Messages e FAULT instruction messages from ladder logic The DL240 DL250 DL350 DL440 and DL450 CPUs record a message log of 16 error messages and 16 FAULT instruction messages each with a time date stamp The DV 1000 provides access to these message logs fr
162. hich correspond to the type of CPU in your system Since our PLCs map their discrete I O bits into V memory we have to choose the corresponding address DL130 DL230 DL240 DL250 DL350 1 O Type Discrete Word Discrete Word Discrete Word Address Address Address Address Address Address octal octal octal octal octal octal Input XO X177 V40400 XO X477 V40400 X0O X777 V40400 Points V40407 V40423 V40437 Output YO Y177 V40500 YO Y477 V40500 YO Y777 V40500 Points V40507 V40523 V40537 Control CO C377 V40600 CO C377 V40600 CO C1777 V40600 Relays V40617 V40617 V40677 Global N A N A N A N A N A N A Inputs DL430 DL440 DL450 1 O Type Discrete Word Discrete Word Discrete Word Address Address Address Address Address Address octal octal octal octal octal octal Input XO X477 V40400 XO X477 V40400 XO V40400 Points V40423 V40423 X1777 V40477 Output YO Y477 V40500 YO Y477 V40500 YO V40500 Points V40523 V40523 Y1777 V40577 Control CO C737 V40600 CO V40600 CO V40600 Relays V40635 C1777 V40677 C3777 V40777 Global GXO V40000 GXO V40000 GXO V40000 Inputs GX777 V40037 GX1777 V40077 GX2777 V40137 GYO V40200 GY2777 V40377 Bit Control Mode me For example suppose we assign Bit Control to the eight control relays CO to C7
163. his section guides you through the process of installing the DV 1000 in your application You can use the relevant sections to either make a permanent installation or just a temporary connection on your desktop for developing your application program The installation steps in this section are e Step 1 Choosing Single or Dual DV 1000s e Step 2 PLC Selection e Step 3 Select a Mounting Location e Step 4 Panel Mounting e Step 5 Cable Selection e Step 6 Connecting the DV 1000 to the CPU e Step 7 Installing the Example Programs e Step 8 Starting DirectSOFT After the installation you ll be ready to begin programming and using your DV 1000 NOTE If you have trouble while programming or using your DV 1000 refer to the Troubleshooting Guide in Appendix A of this manual Step 1 Choosing Single or Dual DV 1000s DL240 DL250 DL350 DL440 and DL450 CPUs can support two DV 1000 units DL130 DL230 and DL430 CPUs can support only one DV 1000 DL130 and DL230 CPUs only have one communications port and only the top communications port on a DL430 may be used to connect a DV 1000 Connecting a second DV 1000 to the CPU requires no additional programming beyond what is required for the first one While most applications only require one DV 1000 per machine or per PLC occasionally it is advantageous to add a second one Refer to the drawing below For example some machines have two operator stations that are some distance apart I
164. icate the status of the machine to its operator We may summarize some of the key points we have learned about generating messages in this chapter System Messages have priority over User Messages User Messages can contain numerical values or text Numeric and Text Positions represent one 16 bit word of information Numeric and Text output may be viewed simultaneously on the same display Text output has mask and unmasking control over numeric output Text is stored in V memory in the form of ASCII codes Ladder programs can load text data via the LD OUT LDD OUTD and MOVMC ACON instructions LDD Load Double instructions require you to swap positions of the ASCII codes of the first two characters with the second two characters with respect to left to right display position orientation ACON boxes is the preferred method for creating message data whenever you have more than a dozen characters to place together on the display Status Display Mode In This Chapter Overview Selecting the Address Selecting the Data Type Using the Bookmark Chapter Summary Overview Status Display Format pore Status Display Mode Status Display Mode allows you to view V memory data in the CPU It requires no setup parameters or supporting ladder logic Therefore you can walk up to any DL105 DL205 DL405 PLC or DL305 with a DL350 CPU and connect a DV 1000 to view various CPU data types This makes the DV 1000
165. icon and open If the hard drive is drive C select the C icon Make a new directory in the hard drive of your computer For example Select the File menu then select New and then Folder Notice the New Folder icon that appears Select the folder and name it DV 1000 by selecting the File menu and selecting Rename Type in the new name Copy all the contents of the example program disk Insert the diskette in drive A and select and open the 3 1 2 Floppy A icon Notice the disk contains two directories and one text file 130_230 240_450 and Readme txt Select all three by opening the Edit menu and selecting Select All Open the Edit menu again and select Copy Paste the program disk contents into the new C drive DV 1000 directory Open the DV 1000 directory open the Edit menu and select Paste After these steps you re ready to start DirectSOFT and run the example programs Open the README file in the examples directory for instructions on which set of examples to use with your PLC Use the examples in the 105 directory if using any DL105 MicroPLC Use the examples in the 230 directory if using a DL205 with a D2 230 CPU Use the 240_250 examples if using a DL205 with a D2 240 or D2 250 CPU Use the 350_405 examples if using a DL305 with a D2 350 CPU or any DL405 CPU Installation Guide al Step 8 Starting DirectSOFT Initialize the CPU The DV 1000 relies on the ladder program and setup parame
166. ing ABCD in the first two text positions The ASCII data for ABCD will be stored in V2100 and V2101 the first two data words in the text data block ASCII Codes V Memory lad 42 43 44 ro V2101 Display ABCD Text Display 1 2 3 Output Positions 7 6 5 4 3 7 65 4 NOTE You must swap positions with the first and second pair of ASCII codes ina LDD instruction Read the following discussion to learn why this is necessary Message Display Mode The Load Double Instruction accepts an 8 digit constant K representing two 16 bit LDD words The most significant word xxxx is on the left in the LDD box However the Kxxxxyyyy DV 1000 displays the text of the most significant word on the right This means that you must swap order of the two pairs Most significant Least significant of ASCII codes in the LDD box relative to word V2101 word V2100 how it is displayed The reason for this swap is that we read from left to right and the ASCII codes are stored from lower memory address to 11213 higher memory addresses On the other hand computer data numbering goes from right least significant to left most significant 7654 Now let s use the LDD instruction to place ABCD in the first two text positions Inthe following figure the method using the regular LD and OUT instructions is on the l
167. ion to disable the password feature If you are using a Timer or Counter Box Instruction and you want to change its preset value with Preset Mode it must be a Vxxxx variable type not a constant Kx If preferred you can have User titled preset labels for timers and counters in the ladder program The pre labeled timer and counter titles are just for your convenience and to conserve V memory when required Change Preset Mode will allow the editing of BCD numbers 0000 to 9999 If a V memory location contains a hex number Change Preset will not allow the editing of its value The setup program for change Preset Mode can generally be confined to execute on the first scan as do all the program examples in this chapter The Operator s Guide near the end of this chapter contains instructions for a machine operator on how to change presets Feel free to copy its two pages and post it on the machine as a resource for its operator s Appendix C contains worksheets for Change Preset Mode for you to copy and use to create your application program Bit Control Mode In This Chapter Overview Setup Parameters for Bit Control Using the Keypad To Do Bit Control Bit Control Applications Chapter Summary fe Bit Control Mode Overview Bit Control Mode permits you to use keys on the DV 1000 keypad for individual control of eight I O bits The types of I O bits that may be controlled are X Y and C The GX type
168. ions so it s easiest to think of these quantities as BCD numbers Other data such as the password is also a BCD number The ranges columns list the acceptable range of addresses for pointers or simple numeric ranges for block sizes and data Be sure to find the column for the particular CPU you are using DV 1000 Setup Parameters NES Preset Block Size DL250 PLC CPU DV 1000 poz DLISO prog DL350 DL440 DASO V memory Parameter Type DL230 Ranges DL430 Ranges Ranges Locations Description yp Ranges 9 R 9 9 anges V7620 Change Octal V2000 to V2000 to V1400 to V1400 to V1400 to Preset V2377 V4377 V7377 V7377 V7377 Values V4000 to V10000 V10000 Pointer V4177 V17777 V37777 V7621 Change Octal V2000 to V2000 to V1400 to V1400 to V1400 to Preset V2377 V4377 V7377 V7377 V7377 Titles V4000 to V10000 V10000 Pointer V4177 V17777 V37777 V7622 Change BCD 1 16 1 16 1 32 1 32 1 32 Preset Block Size V7623 Numeric Octal V2000 to V2000 to V1400 to V1400 to V1400 to Message V2377 V4377 V7377 V7377 V7377 Pointer V4000 to V10000 V10000 V4177 V17777 V37777 V7624 Text Octal VOOOO to V2000 to V1400 to V1400 to V1400 to Message V2377 V4377 V7377 V7377 V7377 Pointer V4000 to V10000 V10000 V4177 V17777 V37777 V7625 Bit Control Octal X Y or X Y or X Y GX X Y GX X Y GX Pointer C
169. is also available on DL405 CPUs only For most applications C type control relays are the best choice The following figure shows an expanded view of the PLC s V memory space A DV 1000 setup parameter in V memory points to a system I O data word It may point to an X Y C or GX word location we use control relays C as an example The DV 1000 keypad will control the lower 8 bits of the word At powerup the DV 1000 reads this Bit Control setup parameter Then whenever you select Bit Control Mode the DV 1000 keypad controls writes the state of the eight I O bits V Memory Space Ladder Program i User V memory c l EL LL oo E a 584 554 C 9 0 3 i a 17 Setup Parameters e l READ C P System I O A 0 a GX I O Points X Inputs Y Outputs WRITE 4 C Control Relays Direct 1000 Pre uso STAT OPT MESSAGE ES ee on E J Sa The drawing above shows how the DV 1000 keypad can control eight bits in V memory However for anything meaningful to happen something else has to read the bits and act on their status This may occur in two ways e For X C and GX input types ladder logic must reference the bit addresses as an in
170. ists Or you may press the Clear Key to acknowledge the message and it will be removed from the log and from the display 7654321076543210 Viewing The DL240 DL250 DL350 DL440 and DL450 CPUs record up to 16 System Error Message Logs Messages and 16 Fault Messages in separate message logs The PLC attaches a DL240 DL250 time date stamp to each error or fault message when they occur These may be DL350 DL440 and viewed one at a time with the DV 1000 as depicted in the following figure DL450 Only Example Message Log DATE TIME FAULT MESSAGE 01 08 10 95 09 35 50 PART JAMMED Ba 83 Ea Eg 02 08 11 95 08 00 43 BIN EMPTY e 03 08 11 95 07 15 53 OVER TEMP 3 04 08 20 95 17 22 48 LOW FLOW Zz 05 08 30 95 17 22 24 PUMP FAULT 77 06 08 30 95 17 22 24 ATE STUCK 16 09 02 95 9 22 16 SETNP INVALID READ CHG ES Direct 1000 OPT MESSAGE 7 gt 7321076548210 yo ona access Unity Koyo cin ext 4 Message Display Mode ad Fault Message Log The fault message log records a new entry on each scan a fault message box is DL240 DL250 active This means that if we use the previous ladder example with a simple switch DL350 DL440 and activating the
171. k pointer for Message Display Mode Pude Bit Control Mode continued maplrect Dv 1000 Examples a bitctrl2 prj Top 2 Display Lines Third Display Line V40600 2000 LD K10 LD KO LDLBL K1 MOVMC V2100 LD K8 LD KO LDLBL K2 MOVMC V2120 C20 lt SPO CPD LD VCO OUT V2000 C20 CO LD K8 LD KO C20 C1 LDLBL K3 C20 C2 LDLBL K4 C20 C3 LDLBL K5 C20 C4 LDLBL K6 LDLBL K7 Load the number of data locations which is 16 10 hex words two lines for a total of 32 characters Load the address offset For nearly every MOVMC used for ACON data there will be zero offset use KO Read from the ACON following Data Label K1 Move data into V memory starting at V2100 Load the number of data locations which is 8 words one line for a total of 16 characters Load the address offset For nearly every MOVMC used for ACON data there will be zero offset use KO Read from the ACON following Data Label K2 Move data into V memory starting at V2120 Activate control relay C20 for 1 scan when the keypad s bit pattern at V40600 changes from the saved pattern at V2000 Load the current keypad bit pattern into the a
172. ladder program Setup Program SPO LDA Main Program X0 02300 OUT V7720 NATMR Ti V2300 Load octal address 2300 into the accumulator Output this address to V7720 the location of the setup parameter for the beginning address of Timer titled Presets Turn on Timer 1 when XO is on Enter V2300 in the preset field for the timer Using Presets With Suppose we locate Pre labeled Counter 1 preset at V2320 as in the previous example Now we can associate it with an actual counter in a ladder program Counter Box Instructions Setup Program Load octal address 2320 into the accumulator Output this address to V7721 the location of the setup parameter for the beginning address of Counter titled Increment Counter 1 when XO makes an off to on transition When the counter value reaches the preset value in V2320 the counter status bit comes on Input X1 resets the counter and turns off the counter status bit SPO LDA 02320 OUT V7721 Presets Main Program XO a a CNT CT1 XO V2320 iii Change Preset Mode User titled Presets User Titled The User titled Change Preset display Text Labels allows you to create your own text titles of hcdefgh 0000 up to eight characters in length each The User title list can include from 1 to either l 16 or 32 titles depending on CPU type
173. lay Lines ACON Use the ASCII Constant ACON box to enter text Time Date for the top two lines of the display It contains 32 j j characters counting the spaces spaces 1 10 1 10 Deer Data for Second Display Line ACON Use the ASCII Constant ACON box to enter text Fault Bin Empty for the second line of the display It contains 16 j characters counting the spaces spaces 1 1 Bar Graph Example This example create a four channel linear bar graph using the DV 1000 s extended DL240 DL250 DL350 DL440 and DL450 CPUs Only ASCII character set The ASCII code FF hex produces a solid block character The ladder program generates text output to display a row of these characters whose length is proportional to a numerical value The remainder of each row consists of spaces 20 hex This creates the bar graph effect The figure to the right shows a analog input module in the first I Y module slotin the base lts points gt O set la mapto X0to X17 corresponding 3 to data word V40400 in X0 V memory lts input word is X17 shared among the four channels of the analog module Only one O O channel is active on each scan Ladder logic decodes the active V40401 V40403 channel bits and store each channel s data separately MSB V40400 LSB The bar graph display update is EA independent from the channel value update process Data Bits Active Channel Bits Message Display Mode Bargraph Display mi
174. lear Key to exit Bit Control Mode YES NO PUSH ENT KEY PUSH CLR KEY V6 Bs Ay 23 2 TON 168 BAS 2 YO Next press the Clear Key a second time to confirm the exit An exit message appears briefly Then the display returns to the previous mode and the keypad resumes its normal function associated with the display mode In the previous section we were monitoring the status of CO to C7 at address V40600 Notice that the cursor returns to indicate normal keypad functionality PRESS c r gt Automatic gt C 00 EXIT BIT C 10 CONTROL MODE C 20 C 30 765 43 210765 43 2 i140 765 43 210765 43 2 1 0 me Bit Control Mode Bit Control Applications 1 O Debug Bit Control Mode is most often used for debugging machines or processes Using the setup parameter at V7625 we can configure Bit Control for X Y C and GX types of I O points It s a good idea to plan the I O points you want to use in Bit Control and integrate it into the main ladder program The main reason is that Bit Control requests I O points on It is not a forced I O feature For example consider the system shown below Suppose we want to test output YO using Bit Control O 1 A 8pt 8pt 16pt 16pt 16pt 16pt O Input Input Input Output Output Output o XO X10 X20 YO Y20 Y40
175. lt operational mode stored in BCD format at V7626 The following table lists the default choices and the required setup parameters Power up Default Operational Mode V7626 BCD Value Previous Mode 0000 Change Preset or Message Mode or Status Mode Change Preset 0001 Message Mode without Bit Control Mode 0002 Message Mode with Bit Control Mode 0012 Status Mode 0003 NOTE The power up default Previous Mode code 0000 will power up any of three modes but Bit Control is not offered for safety reasons So even if you manually put the DV 1000 in Bit Control Mode before the power cycle the unit will not power up in Bit Control Mode This is done for safety reasons because there is no constant indication that the unit is in Bit Control Mode If you want the DV 1000 to power up in Bit Control Mode you must choose Message Mode with Bit Control by entering 0012 in location V7626 D si a y y E o 3 D D D E n 0 9 10 DV 1000 Setup Parameters Powerup Sequence The following flow chart shows the DV 1000 s actions on powerup It begins with Bit Control disabled Then it reads the setup parameter at V7626 for the power up default mode Disable Bit Control Mode Examine contents of V7626 for power up default mode 0000 0001 0002 0012 0003 Enable Recall Mode at Bit Control Previous Mode Powerdown gt
176. m 1 to 16 1 to 10 hex Load the beginning address of the analog values into the accumulator Reset the raw analog value pointer at V2212 to point to V2200 Load the beginning address of the processed analog values into the accumulator Reset the processed analog value pointer at V2213 to point to V2204 Load the beginning address of the text data block into the accumulator Reset the text data pointer at V2214 to point to V2100 Load the constant zero into the accumulator Reset the character pointer to zero Discard the lower 8 bits and use the upper 4 bits to scale the value from 0 to 15 0 to f hex Place an END coil marking the end of the program 4 Message Display Mode AmO Automatic Occasionally you may want to monitora ot Number 31219 3 Scrolling Display list of process parameters larger than the DL240 DL250 DV 1000 display can show at one time ACTEON le DL350 DL440 and Earlier in this chapter a dual display Actual Temp 1644 DL450 CPUs Only example switched between two sets of High Alarm 5765 information In this example the automatic scrolling technique provides Low Alarm 1644 hands free monitoring of multiple screens Tank 1 Lvl 5765 of information T ko rvi leaa The list to the right contains 10 items aki pl followed by a blank line item Theexample FLOW Rate 371615 program scrolls down the list one item Temp 1 1644 every two seconds and starts again with Temp 2 8219
177. n A modular jack at the rear of the unit provides an easy connection to the CPU 4 Line by 16 Character Back lit Display Retention Clip Keypad ae TTET a Contrast Adjustment Screw Front view Phone Jack style connector Rear view Display Keypad Cables Software Examples on Disk The DV 1000 display contains 4 lines by 16 characters and each character is formed by a5 x 7 LCD dot matrix The unit s internal processor generates an ASCII character set and outputs menu messages associated with the keypad Getting Started MA STEP STATUS FORM PART MOLD TEMP 327 F LOT NO 4 RUN 1163 76 54 321076543210 You can create your own messages by using ladder logic and special setup parameters in V memory The permanent numbers below the bottom edge of the display label individual bits of byte or word status displays The keypad contains ten keys located along the right side ofthe DV 1000 The primary keys on the unit have a blue colored background and are dedicated for changing the operational modes The secondary keys have a gray colored background and are multi purpose keys used for cursor movements and incrementing or decrementing values in the display There are basically two types o
178. n alarm condition Yes An example ladder program that does this is in Chapter 4 plan to use the DV 1000 only with a DL105 or DL205 Are there low cost DirectSOFT programming packages available just for these models Yes The PC PGM 105 and PC PGM 205 programming packages are available each at an attractive price for the DL105 only and DL205 only users What is the purpose of the the adjustment screw at the bottom of the DV 1000 housing Rotate this screw to adjust the contrast of the LCD segments on the display e O Specifications CPUs Supported Status Display DL130 DL230 DL240 DL250 Displays 16 or 32 point bit status DL350 DL430 DL440 and DL450 for the following data types CPUs see Section 2 Step 5 for X Y GX C SP T CT S specific communication port and Displays numeric values for cabling information V and P data types Cables and Connectors Change Preset Values For DL105 DL205 DL350 DL450 DL130 DL230 and DL240 CPUs Part DV 1000CBL 6 6ft 2m up to 16 user titled values Cable with RJ12 connectors DL250 DL350 and all DL405 For DL430 DL440 DL450 2 CPUs up to 32 user titled values methods Part D4 1000CBL f 6 0ft 1 85m Cable with an RJ12 Aine Udas and a 15 pin male D sub connector 1 99 values titled as TIMERxx preferred 1 99 values titled as COUNTERxx or Part FA CABKIT Use the Universal Cable Kit to attach the DV 1000CBL to the CPU port Message Display Bit Control One 4 x 16
179. n ay NAAA C 5 Timer and Counter Numbering Conversion Chart 0 00 cece eee eee eee eee C 6 Index Getting Started In This Chapter Introduction DirectiVIEW 1000 Features Display and Keypad Basics Setup Parameters the Key to DV 1000 Success Quick Tour of DV 1000 Operation Operator Interface Design Basics Frequently Asked Questions Specifications Introduction The Purpose of this Manual Supplemental Manuals Technical Support This manual shows the various features and modes of the DirectVIEW 1000 DV 1000 Your application may require the use of some of these modes or all of them This manual can help you decide which modes to use and how to configure the CPU to support the DV 1000 in those modes In the chapters on DV 1000 operational modes there are example programs to help you write the required supporting VY ladder program If you are a new user however you may need to refer to the User Manual for the PLC you are using How ta Use DV1000 The DL105 User Manual D1 USER M the DL205 User Manual D2 USER M the DL305 User Manual D3 USER M make sure you have the version covering the DL350 CPU and the DL405 User Manual D4 USER M contain related information such as the instruction set definitions for your CPU type In addition the DirectSoft Quick Start Manual QS DSOFT M may also be useful Th
180. n max 765 43 210765 43 2 1 40 Analog Input Module The ladder program to create this display updates only one text position two characters per CPU scan The following table lists location of analog values and pointers the program uses to keep track of where it is in the overall display update Since there are 64 characters 32 text positions in the display the program is able to update the entire display every 32 CPU scans The program adds approximately five milliseconds to the scan time of a DL240 CPU Variable Location Range of values Raw Analog values V2200 V2203 0000 FFFF Processed Analog V2204 V2207 0001 0010 Values Character Pointer V2210 0 15 Row Pointer V2211 0 3 Raw Analog Pointer V2212 02200 02203 Processed Analog V2213 02204 02207 Pointer Text Data Pointer V2214 02100 02137 Scratchpad number V2215 Examples Message Display Mode SP a msg15 prj Setup Parameter rung here Load Channel Data Values SP1 LD V40400 Ch 1 X15 X14 Sun VA V2200 Ch 2 X15 X14 aun VA V2201 Ch 3 X15 X14 ae FA V2202 Ch 4 X15 X14 IL
181. n other cases the machine needs only one control panel but a second DV 1000 placed elsewhere on the machine could make it more convenient for personnel to access data such as monitoring machine status Machine or Process First Second J 7 La DV 1000 DV 1000 aa O el 2 perator Panel 1 Operator Pan Machine With Two Operator Panels Installation Guide ca Second I DV 1000 a 000 Machine or Process Operator Panel Machine With Operator Panel and Monitoring Station Dual DV 1000 To help you decide whether dual DV 1000s are right for your application we list Operating some of the operating characteristics Characteristics e Both DV 1000s share the same setup parameter table in the CPU s V memory After powerup they both read the same parameters and read the same data blocks elsewhere in V memory for message data preset titles and so on e If you select a powerup default mode other than Previous Mode both units will power up in the mode you select via the setup parameter e The keypads operate independently so the DV 1000s can be placed in different modes during operation e In all monitoring functions the units operate independently One unit can view X input point status while the other views V memory locations for example e Inall control functions the units operate in a logical OR fashion Either unit can cha
182. nection orrasa ese a Ale kta dee RAN een ad ede LA A eo et ee CUSTOM CableS a a teen Sica a a A dd Ae edo aa ey Zits Step 6 Connecting the DV 1000 to the CPU ccc eee eee eee eee eens Step 7 Installing the Example Programs 00 0 cece cece ence eee eee eee eens Step 8 Starting DirectSOPT i osc ceisccesciatea errar eee a a Initialize th GPU eos eek o has Sats a ees My ase Ree wees Bey ples S cee Loading an Example Program 20 0 to oeacgie rar chy s bare headers chs e Chapter 3 DV 1000 Setup Parameters OVCIVIOW ota e esas cea here E eee Da E Purpose of Setup Parameters airada e ed ean Ader nc dive dade Wad Location of Setup Parameters ud oe a CA a bake e se Gee ERS Types of Setup Parameters o ocooocccooccccr eee eee eee How the DV 1000 Uses Setup Parameters 0 0 0 c cece eee Setup Parameter Ladder Rung cece eee eee eee eee eens Parameter Definitions 5 2005 secs ve chet amare V Memor Maps ear o sichetetitiwig per Sane od misty Stee a Sore weeny aie oO ies peas Entering Setup Parameters 0 2c cece eee e cece eee eee ee eee eee ee eee e eens Methods for Entering the Setup Parameters 0 00 cece eee tee e eee Parameter Setup By Ladder Program 2 0 00 e cece eee eee eens Using the LDA Instruction for Pointer Setup Parameters 20 cee eee ee eee ees Powerup Default Operational Mode oo oooooccccncnconn e eee eens Powerup Default
183. nge a preset and the result is reflected at the other unit as well Bit control also works in a logical OR fashion Knowing these operating characteristics you need only one DV 1000 connected to the CPU as you develop the application program When your programming is finished just plug in the second DV 1000 DL240 DL450 The DL240 and DL450 CPUs are best suited for dual DV 1000 applications Connection because both DL240 communication ports and the top and middle DL450 ports may connect directly to DV 1000s Be sure to configure both ports for K sequence protocol DL250 DL350 The DL250 DL350 and DL440 CPUs can connect to two DV 1000s but not as DL440 simply as a DL240 or DL450 The various methods are as follows Connection e By adding Data Communication Modules DCM you can connect additional DV 1000s e Asecond DV 1000 may be connected directly to the CPU by using the bottom communication port and adding an external 5V supply since the bottom port does not supply 5V Use the cable diagrams later in this chapter for connector pin out information ADL405 Smart Slice product can connect to one DV 1000 applies to DL405 products only eo Installation Guide Step 2 PLC Selection The DV 1000 works with all DL105 DL205 and DL405 series CPUs in addition to DL350 CPUs At this point you may already know which PLC family and type best fits your application However differences in the availability of features exist th
184. nlocking Access to Change Presets 0 cece eee eee eee ees 6 28 Locking Access to Change Presets 0c cece teen eee eeee 6 29 Forgot the Password cccssecheattiaveradiroteneturavevarhieeeee be baw bene Weenweas 6 29 Special Topics for Change Presets 2 cceee cece ee eee eee eee eee ee eee eeeeeee 6 30 Timer and Counter Presets with Custom Titles 0 e eee eee eee 6 30 Buffered Preset Values 000 cece eee eee teens 6 31 Operator s Guide to Change Preset Mode oooococooccccnnc o 6 32 Selecting the List to Display socio ene lae eae dans de A a Cha ews eee es 6 32 Cursor Positioning On Title or Data 00 ketenes 6 32 Scrolling Through Change Preset Lists ooooooccococroronrr eee 6 33 Changing the Preset Value x ccustadwritiiadtyadoendabdiiiuidpadsendayes diadspadaebe 6 33 Ent ring a Password cacanteiuiccuss a a a a ibid ratio 6 33 Locking Access to Change Presets coorbnecrns eros ire rr ie e ed 6 33 Chapter SUMMARY sis ios diari 6 34 S mmary f Key PO NTS lt o cdc couse stasa eios tkanini a aa ea i a i ai i 6 34 Table of Contents Chapter 7 Bit Control Mode OVEINIGW sis a eae Ree Sec ares eng Ste ald aires GS ena a atest aaa 7 2 Keypad Function in Bit Control ai pee dial A twist Bil Nail 7 3 Accessing Bit CONTO tir raras ata taeda kmh beanie dud 7 3 Setup Parameters for Bit Control oooocooccccncnon eee eee eee eens 7 4 Using the Keypad To
185. nnels The Inputs Ch2 2418 remainder of the display area is text Ch3 1644 output including the and clnl4 5765 characters 7 765 43 210765 43 2 1 40 The text display is created using two ACON box instructions Then ladder logic unmasks the eight text locations corresponding to the four numeric positions by writing null characters Then active channel bits X14 and X15 are examined and the appropriate polarity character is written to text positions 5 15 25 and 35 respectively Numeric Display Positions Text Display Positions 3 2 1 0 012 3 4 5 6 7 7 6 5 4 10 11 12 13 14 15 16 17 13 12 11 10 20 21 22 23 24 25 26 27 17 16 15 14 30 31 32 33 34 35 36 37 765 43 210765 43 2 140 765 43 2310765 43 2 140 NOTE This program example is written for the system with the analog module in slot O If you want to use a 16 point input simulator instead it will also work The following ladder program example creates the display of signed numbers It is written for the PLC system shown above Message Display Mode SPO Setup Parameter rung here ect a msg13 prj Dv 1000 Peamotes lJ Load Form Text Data SPO LD Load the num
186. no key pressed Al spaces 1 1 Bit Control Mode MAS Multiplexed Bit In some applications you may need bit control of more than 8 bits from the keypad Control Using ladder logic you can share multiplex the bit control keys among multiple outputs Refer to the drawing below For example when the machine is in Mode 0 the keypad s bit control maps to outputs YO through Y7 During Mode 1 the keypad controls Y10 through Y17 In this way eight keys are multiplexed among sixteen output points YO lt D y1 KC Mode 0 Outputs YO Y7 Y7 o Re se eS TEE 2 STAT Y10 MH Y11 ED Outputs Mode Y10 Y17 Y17 NOTE The operator must be informed as to which mode is active before and during keypad use for bit control One method is to use ladder logic to send a message to the DV 1000 display indicating which outputs are under bit control In this example we will use the state of discrete input XO to indicate the mode of the machine XO OFF is Mode 0 and X0 ON is Mode 1 The ladder logic program on the following page maps the bit control keys to control relay contacts CO through C7 see setup rung The main program then uses XO in conjunction with the control relays to control either the first or second bank of Y output points Load the example program in the CPU and place the CPU in Run Mode You can use Sta
187. nstead of V7721 and V7642 instead of V7722 Change Preset Mode The following program example uses the previous setup table information a preset4 prj SPO Examples Parameter Setup Change Preset First Scan Only LDA 02300 OUT V7620 LD Kffff OUT V7621 LD K4 OUT V7622 LD K1 OUT V7626 LD KO OUT V7627 LDA 02304 OUT V7720 LDA 02305 OUT V7721 LD K101 OUT V7722 Load octal address 2300 into the accumulator V2300 is the beginning location of the user preset values Output this address to V7620 the location of the setup parameter for the beginning address of user preset values Load the hex constant FFFF into the accumulator Output this constant to V7621 the location of setup parameter for the starting address of the title text block Load the constant K4 BCD into the accumulator Output the constant 4 to V7622 the location of the setup parameter for the User titled label block size Load the constant K1 into the accumulator Output the constant K1 to V7626 the location of the Powerup Default Mode setup parameter The value of 0001 selects Change Preset Mode Load the constant KO into the accumulator Output the constant KO to V7627 the location of the Change Preset Passwo
188. nual simplifies the discussion by combining these into one V7720to Parameters cont d block All subsequent drawings of this V7722 memory map show DV 1000 setup parameters as one data block End of V Memory DL130 and DL230 CPUs use locations V7640 to V7642 instead of V7720 to V7722 The individual data word contents of setup V Memory Space parameters belong to one of three types of Vo000 functions User Data e Pointers simply point to the starting VXXXX V memory address of another data q DV 1000 Data block in the User Data portion of V memory that contains information useful to the DV 1000 e Block sizes tells how many V memory locations data words are in the block referenced by the Setup Parameters Pointer xxxx associated pointer Biek ed Data constants which the DV 1000 Data reads for configuration purposes End of V Memory DV 1000 Setup Parameters Masa How the DV 1000 As an example let s look at how the DV 1000 uses setup parameters to display Uses Setup messages At powerup the ladder program writes the setup parameters The Parameters DV 1000 uses the pointers and block sizes to find the message data for example as shown below During operation the DV 1000 reads the message data repeatedly and interprets it to create an output on the display
189. o be displayed This method requires looking up ASCII values from a table or memorizing the table and can potentially use a lot of LDD and OUTD instructions Fortunately the ACON instruction ASCII Constant provides an easier method of text entry The ACON box is available on DL105 DL205 and DL350 CPUs and on DL440 and DL450 CPUs not available on DL430 CPUs Using DirectSOFT you can type the characters you want directly in the instruction box After learning the LDD method and the ACON method you can use either one or both based on individual preferences and your application NOTE In the CPU the basic ACON function box only accepts two characters If you are using a Hand held Programmer in creating ladder logic to run the DV 1000 display note that its ACON instruction is limited to two characters However DirectSOFT permits you to enter up to forty characters DirectSOFT creates an extended ACON box for character entry then subdivides it into multiple 2 character ACON boxes when downloading the program to the CPU This section assumes you are using DirectSOFT Using the ACON method of text entry adds new ladder elements onto our existing program The figure to the right shows an outline of the program The setup parameter rung is first as described in Chapter 2 The main program follows justas we have been Main Program creating main program examples in this chapter After the end of the main program and the End Coil
190. o enter Change Preset Mode press Change Preset on the keypad If the setup parameters for Change Preset Mode are missing or incomplete you will see the display below on the left PRESS GHG gt Without proper setup program With proper setup program SET UP ERROR V 2300 0000 CHECK VALUE IN V7620 TO V7622 765 43 210765 43 2 140 765 43 2107 65 43 2 140 The three change preset lists we programmed inthe first example setup program are accessible as a circular list Refer to the figure below Upon entry to Change Preset Mode the first display is automatically the User titled list From there use the Right Arrow and Left Arrow keys to move to the timer titles and counter titles displays Cursor Position Enter Change Preset Mode USER DATA TITLES PRESS ee v 2300 0000 76543210765 43210 PRESS PRESS COUNTER DATA TIMER DATA TITLES TITLES COUNTER 1 0000 TIMER 1 0000 NS i 7654321076543210 7654321076543210 O 0 Change Preset Mode sd Cursor Positioning Press the Enter Key to toggle the cursor PRESS lent On Title or Data from the title to the data field and back In Title Data the title field the cursor always occupies Position toggles Position the right most character position When the cursor is in the data field you are ready to edit the data v 2300 0000 NOTE Dat
191. ock LD K8 LD KO LDLBL K1 MOVMC Main Program wee x S f TMR To V2300 X1 TMR T1 V2301 END PBE Data for Titles ACON StopTimeDelay spaces 3 Load octal address 2300 into the accumulator Output this address to V7720 the location of the setup parameter for the beginning address of User titled Presets Insert the other rungs of the setup program here They are typical for User titled presets The disk example is complete Load the number of data locations which is 8 words two titles for a total of 16 characters Load the address offset For nearly every MOVMC used for ACON data there will be zero offset use KO Read from the ACON following Data Label K1 Move data into V memory starting at V2200 corresponding to the top two lines on the display Turn on Timer O when XO is on The preset value for Timer 0 is at V2300 Note If using DL105 be sure CPU is initialized to make XO operational Turn on Timer 1 when X1 is on The preset value for Timer 1 is at V2301 Include as many of these rungs as you have timers or counters The end coil terminates the main program section The Data Label box marks the beginning of a data area containing ACON or NCON boxes Use the ASCII Constant ACON box to enter text characters directly from the keyboard Buffered P
192. ol panel or other surface panel at the machine On each side of the housing there is a retention clip to keep the unit in place after installation The drawing below gives the physical dimensions of the DV 1000 housing Back Side 4 92 pe 334 gt pe 125mm 34mm hi mm i le 512 e La 1 03 180mm 26mm Th nel cut out dimensions are shown to th 4 94 e panel cut out dimensions are sho othe je oma right This size rectangle will provide necessary clearance for the body of the unit but will allow the outer housing bezel to cover ij ma Panel Cut out the edges of the cut out for a nice finished 67 mm b Dimensions appearance The optimum panel thickness for using the retention clips is 1 16 to 1 8 When your panel cut out is finished you re ready to mount the DV 1000 in the control panel Simply push it in from the front and it will snap into place If you need to remove the DV 1000 just press the retention clips inward while pushing the unit from the rear toward the panel s front side and it should just slip out NOTE If possible avoid mounting other control panel devices directly under the DV 1000 Doing so may interfere with access to the brightness adjustment screw Installation Guide EAS Step 5 Cable Selection In this step we select the appropriate ca
193. om its keypad With Message Display Mode you can create your own displays User Messages using setup parameters and ladder programming e Create text or numeric messages e Mix text and numeric messages e Implement blinking flashing characters for alarm conditions etc e Create multiple screens that let you switch from one to another e Display signed values sign follows actual value Embed a decimal point in a number Embed the time and date in a message e Use the extended ASCII character set for effects such as analog bar graphs or other symbolic information e Generate long messages that continuously scroll through the display Message Priority In Message Display Mode display output System Fault Messsage can come from three sources System Fault Messages andErrorMessages and PART JAM ZONE 1 DV 1000 User Messages To the right are examples of each In normal conditions user messages are the default display However system messages have display priority For 76543210765 43210 example if the battery is removed the error message E042 NO CPU BATT temporarily replaces the user message E042 NO CPU BATT When a Fault Message Box is executed its display output has priority over both system error messages and user messages When the cause of a higher priority message ceases the next lower 7654321076543210 System Error Message priority message reappears automatically User Message The
194. om the keyboard The following diagram shows the resulting displays from the program above SetPoint 0000 Actual 0000 V2302 0000 V2303 0000 TIMER 1 0000 COUNTER 1 0000 76543210765 43210 76543210765 43210 76543210765 43210 0 Change Preset Mode 6 23 Combination Titles Example As a comprehensive example we ll use several presets of each type of title and use a password e Six User titled Presets plus two Default User titled Presets e Five Pre titled Timer Presets e Eight Pre titled Counter Presets e Password 1234 Powerup Default Mode is Change Preset NOTE After loading the program for this example a password entry is required in order to change presets The next section covers the Change Preset Password The following table summarizes our choices above User Presets Timer Presets Counter Presets Text Titles Text Data Titles Data Counter Data Locations Locations Locations Titles Locations SetPoint V2200 V2300 Timer 1 V2310 Counter 1 V2330 Value V2204 V2301 Timer 2 V2311 Counter 2 V2331 Hi Alarm V2210 V2302 Timer 3 V2312 Counter 3 V2332 Lo Alarm V2214 V2303 Timer 4 V2313 Counter 4 V2333 V2304 V2220 V2304 Timer 5 V2314 Counter 5 V2334 V2305 V2224 V2305 Counter 6 V2335 MixSpeed V2230 V2306 Counter 7 V2336 SoakTime V2234 V2307 Counter 8 V2337 Password Password Value Powerup Mode Powerup Valu
195. onding numeric positions LDD Load the ASCII codes for a decimal point period two K46002e null characters and the F Remember the two pairs of character positions swap for LDD instructions OUTD Place these characters on the top line of the display V2106 The null characters unmask numeric output in the corresponding character positions SP1 LD Load the binary temperature value from V2200 into the V2200 accumulator BCD Convert the value to BCD leaving the result in the Get Temp accumulator Value SHFR Shift the bits to the right 8 places representing two K8 BCD digits This leaves the three most significant digits in the accumulator OUT Place the three most significant digits in numeric 2001 position 1 located at V2001 LD Load the binary temperature value from V2200 into the 2200 accumulator BCD Convert the value to BCD leaving the result in the accumulator SHFL Shift the bits to the left 8 places representing two BCD K8 digits This moves the two least significant digits to the left two places OUT Place the two least significant digits in numeric 2000 position 0 located at V2000 Message Display Mode continued mDirect Dv 1000 Examples a msg18 prj SHFR K4 ANDD KfO ADD Bottom 2 V2000 Lines OUT V2000 END DLBL
196. one display V Memory Space V0000 User Data veers Numeric Data V2100 Text Data V2137 Setup Parameters V7623 Numeric Pointer 2000 V7624 Text Pointer 2100 End of V Memory Numeric Data Text Data Position V Memory Number Position V Memory Data Text Position V Memory Data_Text 1234 0 2100 415A AZ 20 2120 0000 1 2001 0000 1 2101 0000 21 2121 0000 2 2002 0000 2 2102 0000 22 2122 0000 3 2003 0000 3 2103 0000 23 2123 0000 4 2004 0000 4 2104 0000 24 2124 0000 5 2005 0000 5 2105 0000 25 2125 0000 6 2006 0000 6 2106 0000 26 2126 0000 7 2007 0000 7 2107 0000 27 2127 0000 10 2010 0000 10 2110 0000 30 2130 0000 11 2011 0000 11 2111 0000 31 2131 0000 12 2012 0000 12 2112 0000 32 2132 0000 13 2013 0000 13 2113 0000 33 2133 0000 14 2014 0000 14 2114 0000 34 2134 0000 15 2015 0000 15 2115 0000 35 2135 0000 16 2016 0000 16 2116 0000 36 2136 0000 17 2017 0000 17 2117 0000 37 2137 0000 Numeric Display Output Text Display Output 0000000000001234 AZ 0000000000000000 0000000000000000 0000000000000000 7654321076543210 7654321076543210 DV 1000 Display AZ00000000001234 0000000000000000 0000000000000000 0000000000000000 765 43 210765 43 2140 4 Message Display Mode 4 21 Combined Numeric and Text Displays Obviously text and numbers cannot occupy the same position on the actual
197. ontrol keys control CO to C7 Load the constant K3 into the accumulator K3 is the code for the powerup default mode Status Display Mode Output our powerup default code to V7626 the location of the powerup default setup parameter When X0 is OFF the machine is in Mode 0 In this mode we map the bit control keys to control outputs YO through Y7 Note If using DL105 be sure CPU is initialized to make XO operational SAME y When XO is ON the machine is in Mode 1 In this mode we map the bit control keys to outputs Y10 through Y17 SAME Bit Control Mode DGA Bit Control The keypad in Bit Control Mode operates as momentary switches as you may recall Toggle Function A bitis on only when its corresponding key is pressed This example features a small program which changes the momentary nature into a latching or toggling function You can press a key once to turn on a bit then press it again to turn off the bit Key PRESSED RELEASED y y y Toggle ON Function OFF After loading the program below place the DV 1000 in Status Display Mode Then monitor the status of control relays C00 through C39 as shown below The keypad is mapped to CO through C7 and the corresponding toggled bits are from C20 to C27 PRESS star gt 1 Press 0 CHG
198. onvenience Loading an To load an example program from the DV 1000 directory on the hard drive do the Example Program following 1 Select the Files menu then Open Project 2 Adialog box will appear Select the disk and directory where the example programs reside for example drive C directory DV 1000 3 Select the file name of the program you wish to load then OK When the program has loaded its ladder rungs will appear on the monitor screen 4 Select the PLC menu then Connect then select the link to use All the program examples are saved without PLC link information so you have to re connect to your particular CPU If a message appears which asks you to select the source of program to view select Disk 5 Ensure the CPU is in Program mode Then download the program to the CPU Select the File menu Write Program then select To PLC 6 When the program has downloaded put the CPU in Run Mode Select the PLC menu PLC Modes then select Run 7 Then follow the directions with the example program from this manual Usually you will have to use the keypad to get the DV 1000 in a particular mode to see the program operate DV 1000 Setup Parameters In This Chapter Overview Parameter Definitions Entering Setup Parameters Using the LDA Instruction for Pointer Setup Parameters Powerup Default Operational Mode Chapter Summary 3 2 DV 1000 Setup Parameters N _ o g D E
199. output position 26 and 27 This V2126 unmasks numeric position 10 Use a Load Double to update 4 character spaces LDD The K2020 actually implies KO0002020 The zeros K2020 unmask the numeric 57 and the spaces 2020 hide its leading zeros OUTD Place zeros in text output position 36 and spaces V2136 in output position 37 END The end coil terminates the main program section 4 Message Display Mode 4 31 continued nsdiet a msgQ9 prj es DLBL K1 Data for Top 2 Display Lines ACO N MACHINE NO 5 STATUS RUN DLBL K2 spaces 1 4 11 ACON Part count Parts hour spaces 5 The Data Label box marks the beginning of a data area containing ACON or NCON boxes The reference number for this area is 1 specified by K1 Use ASCII Constant ACON boxes to enter text characters directly from the keyboard Data for Bottom 2 Display Lines Use ASCII Constant ACON boxes to enter text characters directly from the keyboard 4 4 32 Message Display Mode Message Display Applications and Techniques The material in this chapter up to this point has demonstrated basic procedures in getting information to the display The following examples build on this foundation showing solutions to typical applications These programs are the bells and whistles of the display function It s a good i
200. output to the entire display under Line 2 456 fpm ladder logic control Only User Messages Line 3 789 fpm require setup parameters 765 43 210765 43 2 1 40 DL240 DL250 DL350 DL440 and DL450 CPUs can record up to 16 Error Messages and 16 Fault Messages in separate message logs as shown below It attaches a time date stamp to messages when they occur These may be viewed individually with the DV 1000 Example Message Log DATE TIME FAULT MESSAGE 01 08 10 95 09 35 50 PART JAMMED 02 08 11 95 08 00 43 BIN EMPTY 03 08 11 95 07 15 53 OVER TEMP 04 08 20 95 17 22 48 LOW FLOW 05 08 30 95 17 22 24 PUMP FAULT 06 08 30 95 17 22 24 GATE STUCK oo oooo0 oo oo ood D000 16 08 02 95 9 22 16 SETUP INVALID User Messages require ladder Time and Date Stamp programming and setup parameters Chapter 4 includes several example MACHINE STATUS programs designed to show youhowto Fault Bin Empty addthese features OySur owt messages ime 11 32 57AM e Include text with numerical data Date 07 05 95 e Blinking characters e Multiple screens with paging Signed numbers Bargraph Display Time and date stamp in message 1 e Create bar graphs for analog data A Long messages that scroll 3 RRR Al 7654 321076543210 765 43 210765 43 2 1 40 Change Pr
201. pear in the first numeric position in the display shown below First Scan After loading the program above you can test it by taking the PLC from Programto 9990000000001234 Run Mode The BCD constant 1234 0000000000000000 appears in the first numeric position ofthe goyoo000000000000 display in the upper right corner We discuss the entire display output positions ds Oe OO Oe ore o a bit further in this chapter 7654321076543210 ail Message Display Mode Displaying Changing Values reg a msg4 prj Examples In real applications the numbers you want to display will often be changing Process variables such as temperature flow rate or conveyor speed can be displayed in real time While the setup parameters are written only once first CPU scan process variables must be constantly written In our example it means writing a changing number to location V 2000 The DV 1000 takes care of the rest of the work Because our setup parameters specify the location of the numeric and text data the DV 1000 constantly scans these so that any change can be observed in the display To simulate a changing value we use the following program rungs to just alternate between two values It uses a special relay contact SP4 as a 1 second timer 1 2 sec on 1 2 sec off Keeping the Parameter Setup rung add the following rungs as the main program ah Setup P
202. perator Interface Design Basics Man Machine Interface The DV 1000 provides access to PLC data to the user while the CPU is running the RLL program and the process or machine is running In most applications the DV 1000 is a permanent part of the operator interface The operator s panel shown in the drawing below is at the top of the control cabinet located at the side of the machine The operator panel contains all the dedicated operator interface devices such as switches gauges control knobs etc The DV 1000 is one of these devices which forms the entire operator interface In the transparent view of the control cabinet follow the single cable from the DV 1000 to the PLC inside From there a wiring bundle connects it through the rear of the control cabinet to sensors and other field devices located inside the machine The conveyor which moves the product through the machine may also be controlled by the PLC Next we examine the interaction and flow of information between all the players in the man machine interface The following diagram arranges them in the order they communicate o N SS OPERATOR DV 1000 PLC MACHINE Getting Started tats Action begins with the human operator who wants to know the machine status or make an adjustment to the process From the control panel the operator can access data through the DV 1000
203. play 2 An input simulator or simple switch is useful for creating switch XO Since most of the display characters in the two display screens are different we will use ACONs to move data in and out of the text and numeric tables The ladder program will need to update the text characters once after each display screen change because they remain fixed thereafter The one shot positive differential function box will help us write new display data just once However the numeric data must be constantly updated because it changes in real time with the user machine or process In this case we will repeat the update each PLC scan NOTE If using DL105 be sure to initialize the CPU or input XO will not activate From PLC menu choose Setup then Initialize Scratchpad Examples a msg10 prj 4 Message Display Mode 4 39 Setup Parameter rung here SPO Note Load Values Into Numeric Data Block TO Use a timer fast accumulating type to generate a TMRAF TO changing number Your application will have its own To K99999999 sources for real time process data so this rung will be different Note that this is a 32 bit timer X0 Off Screen 1 XO LD Load the timer value which is mapped to location VO 1 1 VO and V1 into the accumulator Here we only use 16 bits of the timer value OUT Place t
204. prioritized order is 1 System Fault Message highest CONVEYOR SPEEDS 2 System Error Message Line 1 123 fpm 3 User Messages lowest Line 2 456 fpm Line 3 789 fpm 765 43 210765 43 2 1 0 4 Message Display Mode ad System A quick way to learn how the DV 1000 works is to load an example program related Requirements for to your application and begin modifying it to do what you want it to do Example Example Programs ladder programs in this chapter occasionally require an external input to cause the display to change in some particular way The programs require up to two inputs XO and X1 So this is a good time to prepare your system to run the example programs as you arrive at each one DL405 If you are using aDL405 system we recommend using the input simulator module If Requirements you locate it in the base as the closest input module to the CPU it will log in as XO through X17 as shown in the following diagram Input Simulator _ as a Q gt w O npui lo Slot O Slot 1 Slot 2 Slot 3 Slot 4 Slot 5 XO a O A X17 A MSB LSB Bit 15 14 13 12 11 10 9 8 76543210 x XX Xx 1 17 0 7 0 DL350 CPU If you are using a DL305 sytem with a DL350 CPU we recommend using the input Requirements simulator If
205. put contact e For Y and GX output types an output module point must exist at the addresses In this case the ladder program must not reference the same output bits in order to avoid a conflict Bit Control Mode Re WARNING Bit Control is designed for debug purposes only Major machine functions such as Start Stop Run Jog etc need dedicated electrical controls with labels The DV 1000 s Bit Control Mode does not give a constant indication that the normal keypad functions have changed Misuse of this tool can lead to damage of equipment or risk of serious injury to personnel Keypad Function In Bit Control Mode the keys marked with index numbers in the figure below assume in Bit Control new functionality They operate as momentary push buttons normally off When pressed each of the eight keys will turn on its associated I O bit They map to either X Y C or GX types When the key is released the I O bit automatically turns off Press the Clear Key to exit Bit Control Mode The Enter key is not used Bit Control Keys Momentary N O Push buttons I O Bits xX 0 1 o pre MSG lt 7 2 STAT OPT 3 2 3 Y lel E 5s S gt 7 ps 7 E Exit CLR ENT Press 1 Release 0 GX Accessing Bit To select Bit Control Mode go to the options menu by
206. put word from V memory corresponding to A Y inputs YO to Y17 ANDD Mask off the upper four bits preserving the analog value represented by the lower 12 bits of the data word BCD Convert the 12 bit binary value to a 4 digit BCD number range is 0 to 4095 not counting the sign bit Y continued Examples a msg13 prj Y chi X15 X14 OUT VA 1 V2000 POP OUT V2105 Ch2 X15 X14 OUT Va v2004 POP OUT V2115 Ch3 X15 X14 OUT ies 2010 POP OUT V2125 Ch4 X15 X14 OUT H Yebra POP OUT V2135 ye END eee Screen Text Data ACON Analog Ch1 R Inputs Ch2 i spaces 1 6 1 6 DLBL K2 ACON I spaces 7 13 6 Ch3 Ch4 Gas Message Display Mode Channel 1 data is being sent when X15 and X14 are off The Out instruction moves the data from the accumulator to V2000 numeric display position 1 Move the ASCII data for the algebraic sign from the stack into the accumulator Place the accumulator contents algebraic sign in ASCII code into the text display position 5 for channel 1 Channel 2 data is being sent when X15 is off and X14 is on The Out instruction moves the data from the accumulator to V2004 numeric display position 4 Move the ASCII data for the algebraic sign from the stack into
207. r Setup Bit Control SPO 1 LDA 040600 OUT V7625 Main Program XO YO G C2 co o gt SHE msc 1 2 gt STAT OPT 3 a El gt 6 7 CLR ENT Load octal address 40600 into the accumulator V40600 is the location of CO to C17 Output this address to V7625 the location of the setup parameter for bit control YO is normally controlled by X0 in the application It is also controlled by CO which is requested on during Bit Control when the Change Preset Key is pressed Bit Control With Message Display Mode The ladder program in this example coordinates Bit Control keypad entries with Message Display output The display announces the two modes as shown and prompts you to press any bit control key When any key is pressed the message on the bottom line changes to name the key pressed CHG PRE PRESS gt Bit Control Mode A BIT CONTROL MODE amp MESSAGE MODE Press gt no Keys key pressed 765 43 2107 65 43 2 1 0 PRESS mse gt BIT CONTROL MODE amp MESSAGE MODE Press Keys gt CHG PRE Key BIT CONTROL MODE amp MESSAGE MODE Press Keys gt MSG Key 765 43 210765 43 2140 765 43 210765 43 2 i140 The ladder program has no means of forcing the display in
208. r to adjust the contrast for ambient lighting conditions and desired viewing angle Contrast Adjustment Screw yi on bottom of unit 7e54a21076549210 In almost all cases the DV 1000 display will show some message at first powerup The exact message on the display depends mostly on the current CPU mode but also the contents of CPU program memory and variable memory Step 7 Installing the Example Programs A diskette of example programs is included with this manual All of the example programs in the manual are on the diskette One of the best ways to learn the DV 1000 is to load and run these programs It is possible to load the examples from the diskette However we recommend copying them to the hard drive in your computer and keep the original diskette in a safe place To install the example programs if using Windows 3 1 follow these steps 1 Make a new directory on the hard drive in your computer For example if the hard drive is drive C type MD C DV 1000 2 Copy all the files from the example program disk to the new directory For example if the diskette is in drive A and the hard drive is drive C type COPY A C DV 1000 2 10 Installation Guide To install the example programs if using WIN 95 follow these steps f 2 Select the Explorer
209. r up Default Mode OUT Output the constant K2 to V7624 the location of the V7626 Power up Default setup parameter If you are using aDL405 type CPU add the following ladder section to the parameter setup program above The FILL instruction is ideal for this situation DL405 CPUs Fill Text Data With Spaces Load the constant K20 hex into the accumulator This is equivalent to 32 decimal the number of data words in the text data block LD K20 Load octal address 2100 into the accumulator This LDA instruction automatically converts the address into its 02100 hexadecimal equivalent Fill 32 locations starting at V2100 with 2020 hex which pan 0 is the ASCII codes for two space characters If you are using a DL105 DL205 or DL350 type CPU add the following ladder section to the parameter setup program at the top of this page The FILL instruction box is not available for these CPUs so the program uses one LDD box and 16 OUTD boxes Remember that this section executes only on the first scan overall scan time is not affected DL105 DL205 Fill Text Data Block With Spaces DL350 CPUs LDD Load four ASCII codes constant K20 hex into the K20202020 accumulator This produces four space characters Output the data to memory locations V2100 and V2101 By OUTD using the OUTD Out Double instruction we can load two v2100 V memory word loc
210. racter or digit field The ladder program begins with a binary number which can vary from 0 to ffff hex or 0 to 65535 decimal The number is an integer but is actually ten times larger than the actual oven temperature in degrees This creates an implied decimal point in the location shown so we can display tenths of a degree The ladder program reads the oven temperature from V2200 then converts it to BCD and displays it in the appropriate numeric output display positions Numeric Display Positions Text Display Positions 3 2 1 0 opi 2 3 4 5 6 7 7 6 5 4 10 11 12 13 14 15 16 17 13 12 11 10 20 21 22 23 24 25 26 27 17 16 15 14 30 31 32 33 34 35 36 37 Te BA il LAD 6 15 4 003 2 a p 7 6 5 A 302 1 TEE Aa 2 10 The program uses ACON boxes to generate text for OvenTemp and the remaining blank space on the display The decimal point and the F character are written specifically to text positions embedded with null characters ASCII code 0 which unmasks the digits Shift and add instructions split apart the number s digits to place them in numeric display positions 0 and 1 making room for the decimal point SPO Setup Parameter rung here reg a msg18 prj Dv 1000 Examples Load Temperature Value SP1 LD Load the ffff hex representing
211. rameter list but gives the valid address range for each CPU type and the data type for each setup parameter ad BD Reference Data Preset Block Size DL250 PLC CPU DV 1000 pata Eoo pasa DL440 DASO V memory Parameter Type DL230 Ranges DL430 Ranges Ranges Locations Description yp Ranges 9 R 9 9 anges V7620 Change Octal V2000 to V2000 to V1400 to V1400 to V1400 to Preset V2377 V4377 V7377 V7377 V7377 Values V4000 to V10000 V10000 Pointer V4177 V17777 V37777 V7621 Change Octal V2000 to V2000 to V1400 to V1400 to V1400 to Preset V2377 V4377 V7377 V7377 V7377 Titles V4000 to V10000 V10000 Pointer V4177 V17777 V37777 V7622 Change BCD 1 16 1 16 1 32 1 32 1 32 Preset Block Size V7623 Numeric Octal V2000 to V2000 to V1400 to V1400 to V1400 to Message V2377 V4377 V7377 V7377 V7377 Pointer V4000 to V10000 V10000 V4177 V17777 V37777 V7624 Text Octal VOOOO to V2000 to V1400 to V1400 to V1400 to Message V2377 V4377 V7377 V7377 V7377 Pointer V4000 to V10000 V10000 V4177 V17777 V37777 V7625 Bit Control Octal X Y or X Y or X Y GX X Y GX X Y GX Pointer C C orC orC orC V mem V mem V mem V mem V mem locations locations locations locations locations V7626 Power up BCD 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 Operational 12 3 12 3 12 3 12 3 12
212. rd The value of 0000 disables it Load the octal address 2304 into the accumulator Output the octal address 2304 to V7720 the location of the setup parameter for the starting address of the Timer Presets NOTE DL130 and DL230 CPUs use memory location V7640 not V7720 Load the octal address 2305 into the accumulator Output the octal address 2305 to V7721 the location of the setup parameter for the starting address of the Counter Presets NOTE DL130 and DL230 CPUs use memory location V7641 not V7721 Load the constant K101 into the accumulator Output the constant K101 to V7722 the location of the block size bytes for Titled Timer and Counter data This selects one each NOTE DL130 and DL230 CPUs use memory location V7642 not V7722 The following diagram shows the resulting displays from the program above v2300 0000 v2301 0000 V2302 0000 V2303 0000 TIMER 1 0000 COUNTER 1 0000 7654321076543210 7654321076543210 7654321076543210 User titled Text Example O 0 Change Preset Mode 6 19 Now we will write our own User Titles USER TITLES DATA choosing meaningful names for a typical ae uE application The list shown to the right is E 0000 eight items long more than the display can show at one time However the BA MEDEE NOTA DV 1000 automatically adds scrolling Sees E LRE capability We will disable the password SoakTime IL
213. reset Values nadie a preset9 prj eats 0 Change Preset Mode 6 31 V memory values change immediately when you editthem in Change Preset Mode This is safely done if you make relatively small incremental changes and monitor their effects on the process However some applications may require you to makea single step change to one or more presets Situations that may require this include e Changing a single preset to a new value avoiding values in between e Changing several presets to new values at the same moment scan e Coordinating a preset change with other external events We can solve these problems by using Change Preset to update a temporary variable See the figure below When the ladder program detects an event contact it copies the temporary variable to the permanent variable location Diet 000 Fey ei Bragal Temporary preset xo Permanent preset alle ange Prese 47 MEE gt vz200 xo gt v2300 xxxx an rac edit copy J 1 In the following program the permanent preset value is at V2300 and the temporary preset value is at V2200 We would like to update V2300 only when input XO has an off to on transition The program also has a time out feature For example enter a new value in location V2200 V2200 and V2300 no longer match so the timer st
214. rung it only executes on the first PLC scan See Chapter 3 for more on setup parameters need to display the phrase TEMP 1 followed by the present value of the temperature in PLC V memory and also to allow changing that value right on the display Is there a way to do this Yes Use Change Preset Mode with user titled labels Getting Started D Can I use the DV 1000 to change timer or counter presets in the PLC Yes The Change Preset Mode will let you do this See Chapter 6 for more information on this topic Can the display show more ASCII characters than just letters of the alphabet Yes the DV 1000 character set includes several special symbols See Appendix B for a complete listing of characters and symbols with their ASCII codes Do I have to enter the ASCII codes in instruction boxes or can just type in the letters Actually you may do it either way The LD OUT and LDD OUTD instructions may place ASCII codes in the text table or the ACON instruction box can convert characters in the box to ASCII codes see Chapter 4 for more on this topic need to show more than the display s 4 lines of text Can scroll or swap display screens Yes The proper ladder logic will allow you to do this Examples of multiple display screens and scrolling techniques may be found in Chapter 4 Can l use the DV 1000 keypad to control machine functions like Start Stop Step Jog Run etc While technically possible we stron
215. s When use a LDD instruction to load text data ASCII codes the display output swaps the position of the two pairs of characters Why This is normal The reason behind this effect along with an example is shown in the section in Chapter 4 titled Loading Text Using the LDD and OUTD Instructions The display backlight is on but no characters ever appear on the display for any of the modes This condition occurs when the DV 1000 is connected to the second communications port on a DL240 that is configured incorrectly Using DirectSOFT select the PLC menu then Setup then Secondary Port Set the port for 9600 baud 8 data bits 1 stop bit odd parity When I view the contents of the setup parameter locations the setup pointer values are wrong It seems something is overwriting the setup data which the ladder program writes on the first scan Remember that the LDA instruction which loads octal addresses in the setup program converts the octal numbers to hex numbers It s likely that the values you see are the correct hex representations of the octal addresses When the DV 1000 powers up the only thing it does is display the error message E320 TIME OUT The keypad also does not work What is the problem The message you see is generated by the DV 1000 It is unable to establish communications with the CPU Check the following to find the source of the problem e The communications cable may be faulty Inspect the conta
216. s 5 5 Text Display Positions Numeric Data 3 2 1 0 O 2s 4S 6 7 7 6 5 4 10 11 12 13 14 15 16 17 13 12 11 10 20 21 22 23 24 25 26 27 17 16 15 14 30 31 32 33 34 35 36 37 16504321076 548210 1650828212076 548392 10 ACON Box 2 data ACON Box 1 data Text Data Position V Memory Number Position V Memory Data_Text Position V Memory Data Text 0000 2100 4D41 MA 20 2120 5061 Pa 1 2001 0000 1 2101 4348 CH 21 22 7274 r t 2 2002 0000 2 2102 494E N 22 222 2063 3 2003 0000 3 2103 4520 E 23 2123 6F75 o u 4 2004 0000 4 2104 4E4F NO 24 2124 6E74 nt 5 2005 0000 5 2105 Asis a 25 2125 3D20 6 2006 0000 6 2106 2020 26 2126 0000 7 2007 0000 i 2107 2020 27 2127 0000 10 2010 1234 10 2110 5354 ST 30 2130 5061 Pa 11 2011 0000 11 2 4154 AT 31 2131 7274 rt 12 2012 0000 12 2112 5553 US 32 2132 732F_s 13 2013 0000 13 2113 203D_ 33 2133 686F_ ho 14 2014 0057 14 2114 2052 R 34 2134 Sra WT 15 2015 0000 15 ZS 554E UN 35 2135 3D20 16 2016 0000 16 2116 2020 36 2136 2020 17 2017 0000 17 aliy 2020 37 2137 0000 The following program places numeric and text data into the locations shown above Message Display Mode
217. s temperature in order to optimize the process or machine performance e Select a particular product setup from a menu e Perform machine debug by turning on specific control bits or outputs e Manually jog a machine or increment through process steps in order to to clear a part jam or fault condition e Control major machine functions Start Stop etc see note below Use Change Preset Mode see Chapter 6 to change process variables or select a product setup menu Use Bit Control see Chapter 7 for machine debug tasks NOTE For controlling major machine functions such as Start Stop Run Jog etc we recommend using individual dedicated control devices not the DV 1000 keypad e Frequently Asked Questions NOTE If you have general questions regarding the DV 1000 and your application please check the following list of typical questions we receive If you have already installed or programmed your DV 1000 and are having difficulties refer to the Troubleshooting Guide in Appendix A at the end of this manual If you still need assistance please call us toll free for technical support Can I use the DV 1000 to change data in the PLC Yes There are two modes available for changing PLC data e Change Preset Mode lets you individually edit V memory locations as a 4 digit BCD number from a list of either 16 or 32 data word locations and up to 99 timer presets and 99 counter presets depending on CPU type e Bit Control Mode
218. s on the first scan Soon after the first scan the DV 1000 retrieves its setup parameters from V memory and uses them thereafter The following general ladder program shows the recommended ladder program arrangement First Scan Only Load Setup Parameters SPO Load the desired setup value into the accumulator K1234 LD is an example only Sometimes this will be a constant or K1234 other times an octal address Use the LDA instruction when loading octal addresses OUT Then place the value in the proper V memory location for VOX the selected setup parameter Repeat the above procedure for as many setup parameters as are required by the DV 1000 modes to be used Main Ladder Program Begins X X After the parameter setup rung s above we begin the normal ladder program Use your actual program for this I I al and the following rungs D D Z D D y 3 D D D ke n o o 3 8 DV 1000 Setup Parameters Using the LDA Instruction for Pointer Setup Parameters 04 _ o g E _ o o 3 o 09 The previous section on the Power up Default parameter demonstrates how to program a constant in the setup parameter table and see the results Most of the remaining parameters are ofthe address pointertype We will only coverthe general case of pointers in this section so refer to specific chapters on the modes corresponding to an
219. sage pointer Load the constant K2 BCD into the accumulator The value 2 corresponds to Message Display Mode as the Power up Default Mode This step is optional Output the constant 2 to V7624 the location of the Power up Default setup parameter 0000000000000000 0000000000000000 0000000000000000 0000000000000000 765 43 210765 43 2 i140 4 4 12 Message Display Mode As you program and use the DV 1000 it will eventually be in other modes when you need to use the Message Display Mode Just press the Message Key on the keypad Ifthe setup parameters exist and are valid the message display will appear If they are not the error message will be displayed Setup Parameter Error If this occurs examine the parameter setup rung in the ladder program using the program above as an example Verify the numeric and text data blocks are located in available user data space of V memory refer to Chapter 3 for CPU specific memory maps 0000000000000000 0000000000000000 0000000000000000 0000000000000000 765 43 210765 43 2 1 0 PRESS mse gt NOTE Remember to load the example programs while the CPU is in program mode After loading the program take the CPU from program mode to run mode Most of the examples in this chapter have a first scan rung SPO This requires a program to run mode transition or power cycle or the example may not work properly 4 Message
220. sheets Fault Messages The Fault Instruction can output up to 23 characters We recommend limiting itto 15 characters so the text fits within the DV 1000 s top line The following worksheet shows ladder program segments On the left are the Fault boxes yours may be spread throughout your program and use different permissive contact arrangements On the right are the corresponding data labels and ACON boxes Each active Fault box can cause the message in the corresponding ACON Box to be displayed Remember that the maximum number of of Data Labels is 64 and the Data Label numbers are hexadecimal Fault Message Instructions i Data Label Area FAULT DLBL K1 K1 ACON FAULT DLBL K2 K2 L a ACON D D FAULT DLBL e K3 K3 O ACON O z FAULT DLBL A 4 ACON FAULT DLBL K5 K5 ACON FAULT DLBL K6 K6 ACON FAULT DLBL K7 K7 ACON FAULT DLBL K8 K8 ACON DV 1000 Worksheets CS Message Display For combined numeric and text output this worksheet can help you organize the Output Maps numbers and ASCII codes with the proper memory locations Desired Display Address Setup Parameter Value V7623 Numeric Pointer V7624 Text Pointer
221. splays are edited in exactly the same way as the User titled Presets COUNTER 1 0000 910 Change Preset Mode Pre labeled Timer and Counter Presets Pre labeled Timer and Counter Presets are simpler than User titled Presets so we discuss these first Remember that our setup must include at least one of each title type So we choose one User titled Preset using the default label sixteen Pre titled Timer Presets and seven Pre titled Counter Presets The following table summarizes our selections User Presets Timer Presets Counter Presets Text Titles Text Data Titles Data Counter Data Locations Locations Locations Titles Locations default V2200 Timer 1 V2300 Counter 1 V2320 Timer 2 V2301 Counter 2 V2321 Timer 3 V2302 Counter 3 V2322 Timer 4 V2303 Counter 4 V2323 Timer 5 V2304 Counter 5 V2324 Timer 6 V2305 Counter 6 V2325 Timer 7 V2306 Counter 7 V2326 Timer 8 V2307 Timer 16 V2317 We select no password and use Change Preset as the Powerup Default Mode Password Password Value Powerup Mode Powerup Value Enable Disable Disable 0000 Change Preset 0001 Using the worksheet above we can determine the setup parameters The numbers are in bold text in the following table V Memory Setup Parameter Description Format Value Notes Location V7620 User Preset Data Pointer Octal 2200 start at V
222. sure CPU is initialized to make inputs XO and X1 operational Load Form Text Data SPO LD Load the number of data locations which is 16 words K10 10 hex or 32 characters LD Load the address offset For nearly every MOVMC KO used for ACON data there will be zero offset use KO LDLBL Read from the ACON following Data Label K1 K1 MOVMC Move data into V memory starting at V2100 V2100 corresponding to the top two lines on the display continued mDirect Dv 1000 Examples a msg11 prj XO LD K10 LD KO LDLBL K2 MOVMC v2120 Co XO CPD C1 CO CPD LD SPO K4d41 OUT C1 V2114 LD K4e20 OUT V2115 LD SPO K4155 OUT V2114 LD K544f OUT V2115 DLBL K1 END Screen Form Data ACON MACHINE STATUS MODE DLBL K2 spaces 1 3 9 ACON A spaces 32 4 Message Display Mode 4 3 Load the number of data locations which is 16 words 10 hex or 32 characters Load the address offset For nearly every MOVMC used for ACON data there will be zero offset use KO Read from the ACON following Data Label K2 Move data into V memory starting at V2120 corresponding to the bo
223. t 1000 ai MESSAGE ZS Taian CLR ENT The DV 1000 currently reads the setup V Memory Space parameters at powerup and when a key on the keypad is pressed This means that the ladder program cannot simply change User V memory the pointer value for message data Instead it must move new data into the AAA original message data block This chapter ria MSG DATA 1 7 covers the use of ACON and MOVMC MSGDATA2 instructions which make this task easier N Setup Parameters A 10 Message Display Mode Setup Parameters for User Messages The DV 1000 is capable of displaying numbers or alphabetical characters or a combination of both alphanumeric All of the programming to do this must be contained in the CPU s ladder logic program This means that a portion of the ladder program is dedicated to the DV 1000 operation while the remainder of the program handles machine or process operation The Message Display Mode does require setup parameters see Chapter 3 for an introduction to setup parameters Message Data There are two pointers in the setup V Memory Space Parameters parameters which pertain to message V0000 displays ae Numeric Message Pointer Sree e Text Message Pointer VXXXX Numeric Data These two setup parameters are located Vyyyy Text Data at V7623 and V7624 respectively The diagram to the right shows how the values xxxx and yyyy point to th
224. t the day digits one digit 4 bits to the left in the accumulator Place the day digits in the proper numeric position on the fourth row Load the year value from the real time clock source in V memory into the accumulator Shift the year digits two digits 8 bits to the left in the accumulator Place the year digits in the proper numeric position on the fourth row Message Display Mode continued t To Clear Fault Message ib aimsg14 prj C1 LD Load the ASCII codes for 4 spaces into the Examples K20202020 accumulator SFO OUT Clear text position 13 1 1 V2113 OUTD Clear text positions 14 and 15 V2114 OUTD Clear text positions 16 and 17 V2116 OUT Clear text position 23 V2123 OUTD Clear text positions 24 and 25 V2124 OUTD Clear text positions 26 and 27 V2126 OUT Clear text position 33 V2133 OUTD Clear text positions 34 and 35 V2134 OUTD Clear text positions 36 and 37 V2136 END Place an END coil marking the end of the main program PLBL Data for Top 2 Display Lines Use the ASCII Constant ACON box to enter text ACON for th li f E MACHINE STATUS Fault or the top two ines of the display It contains 32 t t characters counting the spaces spaces 1 2 10 DEBIL Data for Bottom 2 Disp
225. t unit which connects directly to all DL105 DL205 it 000 Ea Es Overview Appendices A B and C Getting Started Getting Started Ins provides an overview of the features and provides general specifications The importance of setup parameters and what they do are shown Quick Tour of DV 1000 Operation covers the operational modes and the main features of each mode A list of Frequently Asked Questions is located near the end of this chapter Installation Guide explains how to select the CPU type and a communications cable how to mount the unit in a control panel and connect it to your CPU and how to install the example programs disk and start DirectSOFT to begin your ladder program DV 1000 Setup Parameters explains the purpose of setup parameters how they are used and gives example programs Special topics include selecting the Powerup Default Mode Message Display Mode shows how to access System Messages including Error Messages and Fault Messages It covers User Messages and shows how to create your own text and numeric output and includes several example programs Status Display Mode tells how to view the status of CPU data types X Y GX C SP T CT S V and P Change Preset Mode covers the concept of changing V memory data the three types of titles you may attach to the values as labels and password protec tion optional for changing preset values An Operator s Guide
226. ters 6 4 to 6 7 Timer and counter presets 6 10 to 6 12 6 30 L Titles available 6 3 User titled presets 6 14 to 6 24 LDD instruction Used for text output 4 17 to 4 18 User titled text 6 19 to 6 22 Communication cables 1 5 2 7 to 2 8 Message Display Mode Password 6 28 to 6 29 ACON instruction 4 25 to 4 31 Powerup default operational mode 3 9 to 3 11 Bar graphs 4 49 to 4 56 Presets See Change Preset Mode Bit control coordination 7 11 to 7 14 t co Program examples Blinking text 4 38 to 4 40 Bar graphs 4 49 to 4 56 Combining numbers and next 4 19 to 4 24 Bit control toggle 7 17 Display positions 4 18 to 4 19 Bit control with message display 7 11 to 7 14 Dynamic text 4 36 to 4 37 Blinking text 4 38 to 4 40 Embedded time and date 4 44 to 4 48 Diskette 1 5 How to display numbers 4 13 to 4 14 Dynamic text 4 36 to 4 37 How to display text 4 15 to 4 16 Embedded decimal point 4 62 How user messages work 4 9 4 20 Embedded time and date 4 44 to 4 48 Monitoring a process 1 15 Installation 2 9 Multiple displays 4 32 to 4 35 Loading 2 10 Overview 4 2 to 4 4 Multiple displays 4 32 to 4 35 Polarity sign for numeric output 4 41 to 4 43 Multiplexed bit control 7 15 Quick Tour 1 11 Polarity sign for numeric output 4 41 to 4 43 Scrolling display 4 57 to 4 61 Scrolling display 4 57 to 4 61 Setup parameters 4 10 to 4 12 4 22 to 4 23 System requirements 4 4 System messages 4 5 to 4 8 Timer and counter
227. ters in V memory for much of its operation Before we begin the series of examples and lessons in the following chapters itis important to get your CPU in a known starting state Only then will the examples in the following chapters in this manual work or make sense to you The starting condition of the PLC that we need is with program memory cleared and V memory cleared The following steps will guide you through this process 1 Connect the communications cable from your personal computer communications port to your PLC s programming port on the CPU 2 Start DirectSOFT on your personal computer Select a link to go online with the CPU 4 Save the project file to disk at this time if you created a program in the PLC that has not been saved to disk 5 Verify the CPU is in program mode From the menu bar select PLC then PLC Modes then Program Then select OK or press Return 6 From the menu bar select PLC then Clear PLC memory then All Then select OK or press Return 7 From PLC menu choose Setup then Initialize Scratchpad This ensures the DV 1000 setup parameters are initialized to zero values w NOTE If you are using a DL130 or DL230 CPU you probably noticed by now that it has only one communications port Therefore you will have to swap communications cables in that port in order to alternately use DirectSOFT and the DV 1000 with the CPU Using a DL240 CPU which has two ports will alleviate this inc
228. the following table Note the inclusion of one timer and counter because all three preset types must have at least one entry Finally we select the password disabled and the powerup mode We arbitrarily choose Change Preset as the Powerup Default Mode User Presets Timer Presets Counter Presets Text Titles Text Data Titles Data Counter Data Locations Locations Locations Titles Locations V2300 V2300 Timer 1 V2304 Counter 1 V2305 V2301 V2301 V2302 V2302 V2303 V2303 Password Password Value Powerup Mode Powerup Value Enable Disable Disable 0000 Change Preset 0001 Using the worksheet above we can determine the setup parameters The numbers are in bold text in the following table V Memory Setup Parameter Description Format Value Notes Location V7620 User Preset Data Pointer Octal 2300 start at V2300 V7621 User Preset Titles Pointer Octal FFFF use default title V7622 User Preset Block Size BCD 4 4 titles V7626 Powerup Mode BCD 0001 Change Preset V7627 Change Preset Password BCD 0000 Disabled V7720 Timer Data Pointer Octal 2304 start at V2304 V7721 Counter Data Pointer Octal 2305 start at V2305 V7722 Timer Preset Block Size high byte BCD 0101 one timer Counter Preset Block Size low byte one counter DL130 and DL230 CPUs use different memory locations here V7640 instead of V7720 V7641 i
229. the keypad image at V40600 This effectively does the toggle inversion for each bit OUT The XOR results are in the accumulator and it is the V40601 new toggle bit image Output this to V40601 replacing the old toggle image eats Bit Control Mode Chapter Summary Now we have covered Bit Control Mode and demonstrated how to turn on specific I O bits using the keypad Summary of We may summarize some of the key points we have learned about Bit Control Mode Key Points in this chapter e Bit Control Mode only applies to the keypad The display can be in any one of the other three modes during Bit Control e The keypad operates as normally open momentary switches during bit control e Only the lower eight bits of V memory locations may be directly addressed by bit control 5 e After selecting a V memory location for bit control do not use its upper eight bits the DV 1000 overwrites these while updating the whole V memory word e If ladder logic contains an output point that references the same address as the bit controlled register a conflict exists The PLC scan will overwrite the keypad request Now you have the necessary information to install and use your DV 1000 Troubleshooting Guide In This Appendix Troubleshooting Guide A A 2 Troubleshooting Guide Troubleshooting Guide One or more example programs in this manual do not operate properly What s wrong Check
230. the required setup parameters and ladder program Some of the main features and benefits are pBirect 1000 ES 7 smar ort WA el E iA in entr aio resis2t0 DirectVIEW DV 1000 e Works with all DL105 DL205 and DL405 CPUs and DL350 CPUs e Features a 4 line by 16 character back lit display e Monitors V memory data values e Displays text and numeric data generated with your ladder program e Can change preset any V memory values e Displays CPU generated error messages message log e Single cable connection to CPU e Easy snap in mounting e The DV 1000 device is UL Listed Before connecting the DV 1000 to your PLC we ll first study its main features The drawing below shows a front and rear view of the unit The 4 line by 16 character display is back lit for viewing in various ambient lighting conditions You can control the contrast of the LCD segments by adjusting a potentiometer accessible with a small screwdriver under the bottom of the unit To the right of the display is a keypad featuring ten keys These are general purpose keys that allow you to select various operating modes select particular data for monitoring and to change data values The DV 1000 is designed to fit into a rectangular cutout in the control panel of an operator interface A retention clip on each side keeps it in place after installatio
231. the spaces to match the 1 t t t display spaces 1 3 1 9 DLBL K2 ACON This ACON box contains 32 characters Be sure ALARMS to carefully count the spaces to match the t t display spaces 2 23 Polarity Sign for Numeric Output Boa Message Display Mode With the DV 1000 you can use plus or minus characters to indicate the algebraic sign of numeric output To coordinate numeric and text output the ladder program must examine the sign bit for the value and then select the appropriate polarity sign for display purposes Sign bits often occur with bipolar inputs or outputs with analog modules as in the following example To the right is a typical analog Analog Module input module installation Its T IOMA JU Y input word maps to V40400 O i r However the input word is J z shared among four channels of xo the analog module Only one X17 channel is active on each scan Ladder logic decodes the active O O channel bits and stores each 2 channe s data separately In this fashion one channel s data is updated each scan We MSB eS LSB attach to this process the task of L CAE SEES re writing that channel s polarity je sign in the text output Sign Bit ae Data Bits Active Channel Bits In this example numeric display positions O 4 10 and 14showthe value Analog Chl 3293 for each of the four cha
232. tion 14 LD Load the ASCII codes for TO K544f OUT Place the ASCII codes in the text data block location V2115 corresponding to text display position 15 x1 C2 a PD Activate control relay C2 for 1 scan when X1 NX goes from On to Off or when X1 is on and SP4 X1 SP4 goes from On to Off SP4 1 Hz X1 SP4 C3 a PD Activate control relay C3 for 1 scan when X1 is XN on and SP4 goes from Off to On C2 Blink Off LD Load the ASCII codes for spaces in order to K2020 blank the text that blinks SPO X1 OUT Place the ASCII codes in the text data block 1 1 V2125 location corresponding to text display position 25 OUT Place the ASCII codes in the text data block V2126 location corresponding to text display position 26 C3 Blink On LD Load the ASCII codes for JA K4a41 SPO X1 OUT Place the ASCII codes in the text data block V2125 location corresponding to text display position 25 LD Load the ASCII codes for M K4d20 OUT Place the ASCII codes in the text data block location 1 V2126 corresponding to text display position 26 Message Display Mode continued y Acre prj 1000 a msg12 pr END Place an END coil marking the end of the main J program The Data Label box referenced by K1 preceeds pee Screen Form Data the following ACON box ACON This ACON box contains 32 characters Be sure MACHINE STATUS MODE to carefully count
233. tive to the top line address Data types are selected from a circular list using the Plus and Minus Keys After powerup the DV 1000 records the variable type and address you were viewing an time you exit Status Display Mode saving it as a bookmark After using other modes and returning to Status Display Mode you can press the Enter Key twice to return to the variable type and address previously viewed The bookmark is always reset at each powerup Change Preset Mode In This Chapter Overview Setup Parameters for Change Preset Mode Accessing Change Preset Variables Pre labeled Timer and Counter Presets User titled Presets Combination Titles Example Change Preset Password Special Topics for Change Preset Operator s Guide to Change Preset Mode Chapter Summary 0 6 2 Change Preset Mode Overview NOTE DV 1000s which have not had firmware upgrade to version 1 5 will not have Timer and Counter Presets when used with DL130 and DL230 CPUs Change Preset Change Preset Mode allows you to view V memory contents and change them Defined directly from the DV 1000 keypad We use the word preset because it is normally associated with process control parameters such as timer and counter presets Historically a preset is a value accessible to the operator for adjusting while the machine or process is operating Often implemented using thumb wheel switches on
234. tles which tell the DV 1000 to use the V memory address for user titles instead of looking for text This is done by using FFFF for the User title address pointer A worksheet form of our Change Preset selections follows User Presets Timer Presets Counter Presets Text Titles Text Data Titles Data Counter Data Locations Locations Locations Titles Locations default V2300 Timer 1 V2301 Counter 1 V2302 Finally we make some default choices just to get started We will disable the Change Preset password for now Change Preset Password is covered in detail further in this chapter And we ll choose the Powerup Default Mode to be Change Preset Password Password Value Powerup Mode Powerup Value Disable 0000 Change Preset 0001 Using the worksheet selections can determine the setup parameters The numbers are in bold text in the following table Note that the User Preset Titles Pointer will normally list an octal address However we program it with FFFF in order to select default user titles V Memory Setup Parameter Description Format Value Notes Location V7620 User Preset Data Pointer Octal 2300 Start at V2300 V7621 User Preset Titles Pointer Octal FFFF Use default title V7622 User Preset Block Size BCD 0001 1 title V7626 Powerup Mode BCD 0001 Change Preset V7627 Change Preset Password BCD 0000 Disabled V7720 Tim
235. to Message Display Mode nor the keypad into Bit Control Mode However these modes may be selected from the keypad as well as programmed as the powerup default The program creates the display output with ACON and MOVMC instructions Load the program below and place the CPU in run mode Then power cycle the CPU and it should enter Bit Control and Message Display Modes Watch the bottom line of the display respond as you press each Bit Control key NOTE This example contains certain instructions including LDLBL DLBL ACON and MOVMC which are discussed in detail in Chapter 4 Refer to the the section Using the ASCII Constant ACON Instruction for more information TT ol Setup Parameters for Bit Control and Message Mode asoregr a bitctrl2 prj Examples SPO LDA Load the octal address for V40600 into the 040600 accumulator CO through C17 maps to V40600 First scan only OUT Output the address into V7625 the location of the bit V7625 control register The bit control keys control CO to C7 LD Load the constant K12 into the accumulator K12 is K12 the code for the powerup default modes Message Display with Bit Control OUT Output our powerup default code to V7626 the V7626 location of the Powerup Default setup parameter LDA Load the octal address for V2100 into the 02100 accumulator OUT Output the address into V7624 the location of the V7624 text data bloc
236. ttom two lines on the display Activate control relay CO for 1 scan when XO goes from On to Off Activate control relay C1 for 1 scan when XO goes from Off to On Load the ASCII codes for MA Place the ASCII codes in the text data block location corresponding to text display position 14 Load the ASCII codes for N Place the ASCII codes in the text data block location corresponding to text display position 15 Load the ASCII codes for AU Place the ASCII codes in the text data block location corresponding to text display position 14 Load the ASCII codes for TO Place the ASCII codes in the text data block location corresponding to text display position 15 An END coil marks the end of the main program The Data Label box referenced by K1 preceeds the following ACON box This ACON box contains 32 characters Be sure to carefully count the spaces to match the display This ACON box contains 32 space characters Be sure to carefully count the spaces to match the display Message Display Mode Blinking Text naplirect DV 1000 Examples a msg12 prj Under certain conditions such as alarm or fault reporting you may want to implement blinking or flashing text Building on the previous example we add an ALARMS category If there are no alarms the text field after the word ALARMS is blank If there is an alarm condition such as a part jam the word
237. tus Display Mode to see the program work Press the Status Key followed by the Plus Key to view the status of Y output points Then place the keypad in Bit Control Mode by pressing the Options Key and selecting Bit Control from the menu When the status display returns you can change between Mode 0 and Mode 1 using a discrete input at XO Then observe the corresponding group of Y outputs PRESS stat 4 G gt Mode 0 BELT g PRE MSG 1 Y 10 2 STAT OPT 3 Y 20 bas eee 4 El 5 Y 30 Mode 1 el 1 7 X0 0N 7654 321076543210 O f 160 Bit Control Mode TT ol Setup Parameters for Bit Control Abi j SPO marea a bitctrl3 prj a LDA oe 040600 First scan only OUT V7625 LD K3 OUT Main Program V7626 XO Co YO OUT xo Ci Y1 OUT r X0 C2 Y2 OUT XO C3 Y3 OUT XO C4 Y4 OUT XO C5 Y5 OUT XO C6 Y6 OUT XO C7 Y7 OUT XO Co Y10 OUT XO C1 Y11 OUT XO C2 Y12 OUT XO C3 Y13 OUT XO C4 Y14 OUT XO C5 Y15 OUT XO C6 Y16 OUT XO C7 Y17 OUT Load the octal address for V40600 into the accumulator CO through C17 maps to V40600 Output the address into V7625 the location of the bit control register The bit c
238. us Display Mode see Chapter 5 The Quick Tour is designed to acquaint you with the primary modes ofthe DV 1000 Most of the modes require ladder program support in the CPU and consequently some learning on your part Also many applications do not require the programming of all DV 1000 modes Therefore it is important to begin by first identifying the mode s most needed for your application We recommend all new users read Chapters 1 2 and 3 thoroughly Then you can choose from Chapters 4 through 7 the appropriate material for your application Status Display Mode is accessible at any time by pressing the Status Key t does not require setup parameters The 32 bit status display is the default upon entry to Status Display Mode as shown below A 64 bit status display is also selectable 32 Bit Status 64 Bit Status Data type E a X00 N x 00 MEN MN E x oo 898238838 x 10 E x 20 BSSSES8S8 x 20 MO MN x 40 esos x 39 ELE x 60 BS88esss 7 65 43 210765 43 2140 7 65 43 210765 43 2 i140 binary O B binary 1 MSB LSB In the left display above the left column lists the variable type X in this case The next column lists the octal address The top row displays the status of discrete inputs X00 through X07 or X00 to X17 on the top row of the right most display
239. veloping the ladder program Installation Guide ca Step 3 Selecting a Mounting Location Before actually installing the DV 1000 in your application we recommend doing a sketch of the control panel or operator interface or wherever the DV 1000 will be installed One goal in doing this sketch is to determine the length of cable needed to connect the DV 1000 to the PLC The sketch needs to show the DV 1000 and the PLC to which it connects Try to include the following details e Operator Panel location on machine or factory floor e Operator Panel layout including DV 1000 mounting location s e Control Cabinet layout including PLC mounting location e Electrical cable connecting DV 1000 to PLC showing cable length PLC Industrial Lathe Electrical S E y Cable ES N Machine or Process DV 1000 _ Control Cabinet Operator Panel Ge Example Application Sketch Top View If your application requires two DV 1000s in the operator interface include them both in the sketch If possible do Step 3 before finalizing your application layout This planning may eliminate the need to make a custom cable in the event standard cables are too short for your initial layout e 0 Installation Guide Step 4 Panel Mounting The DV 1000 is designed to easily snap into a rectangular cutout in a contr
240. xt Data Location Programmed After loading the program above you can test it by taking the PLC from Program to Run Mode The letters AZ appear in the first text position of the display in the upper eft corner Unless you have cleared V2000 the number 1234 or 5678 from the previous example will be displayed in the upper right corner SP1 LD Load the ASCII codes for the letters A and Z into the K415a accumulator Always On OUT Output the ASCII text data to location V2100 the first text V2100 data location The corresponding letters A and Z will display in the first text location in the display shown below AZ00000000001234 0000000000000000 0000000000000000 0000000000000000 BE 2B 4s B28 E SE Y US AE ELE AS 2 E 4 Message Display Mode 4 1 Using LDD and OUTD Instructions The regular LD and OUT instruction manipulates a 16 bit word updating two ASCII characters on the display However we can use the Load Double LDD and Out Double OUTD to manipulate 32 bit double words updating four characters at a time two text positions NOTE If you have less than 10 characters to place using the LDD instruction s is a good choice However for placing more than a dozen characters adjacently the ACON Instruction is much easier and more efficient See the section on using the ACON instruction on page 4 25 Suppose we place the character str
241. y specific pointers type parameters you may be interested in It is usually easiest to think of address pointers as octal numbers just as they are numbered in the I O map However the address pointers must be stored in hex format The Load Address LDA box instruction makes the octal to hex conversion automatically The following ladder example assumes you want a pointer to V memory location octal V2000 First Scan Only Load Address Pointer Setup Parameter You must use the letter O for the octal number to follow SPO Use the LDA Load Address instruction to load the octal LDA number in the box 2000 in this example into the 02000 accumulator automatically converting it to its hexadecimal equivalent The number octal 2000 is just an example OUT Place the value in memory location Vxxxx replace xxxx VXXXX with the actual location of the setup parameter you are programming Main Ladder Program Begins X X After the parameter setup rung s above we begin the normal ladder program Use your actual program for this 1 I and the following rungs g DV 1000 Setup Parameters oad Powerup Default Operational Mode Powerup Default Setup Parameter We will begin to use setup parameters with the simplest and most fundamental of them all the powerup default mode A single constant in the setup parameter table is all that s required The keypad and

Download Pdf Manuals

image

Related Search

Related Contents

Audiovox CADNAV1 Warranty Card  Cricket SCH-R970C Galaxy S 4 User Manual  21,6" LCD-TV  Guía de instalación Router Fibra Óptica Mitrastar  Avaya Analog Devices Configuration Guide  USER's MANUAL - Max-Planck  Differo DF-32TCHDUG LCD TV  Epson CX4450 User's Manual  Graco 308167L User's Manual  El profesional del descortezado 500  

Copyright © All rights reserved.
Failed to retrieve file