Home
Chapter 4 - AutomationDirect
Contents
1. RLL Program SPO 5 l SPO K1 G K16 number of input points o to remote 5 GTS 1 0 subroutine Set up 2nd ee Store in temporary memory Main Program Body Remote Input 5 and Output 7 number of output points END from bottom of previous column p K32 Ranges ie Store in temporary memory sBR Ki Remote I O Subroutine LD first scan relay kag Number of input points OUT i Se Day Bts 0 1257 initiates setup or Set up 3rd v2007 Store in temporary memory Bit 7 1 sets Auto Return to Networ Initiate Setup OUT Remote Input _ es number of output points v2000 Store in temporary memory and Output air Store in temporary memor Store to k k4 Rack Slot Address of Master Ranges 2010 aac Shared LD Memory om Number of bytes to write Store to k4 Rack Slot Address of Master Shared _ LO Number of bytes to write 2476 Address From Table below Memor K12 WT y LDA Address From Table Below v2000 Write Address Config data o4 SPO D Wi Write slave range data Kgg_ total number of input points sp V2003 LD i Set up Channel 00T Store in temporary memory lea xc1 C1 means store settings Input and Out LD p TEN Store in temporary memory put Ranges K412 total number of output points plete Code LD OUT Rack Slot Address of Master v2012 Store in temporary memory m Pej Rack Slot Address of Master Store to K Numos o Hoytes
2. D2 RMSM D E S D fe A 2 o 09 The DirectSOFT window shown above depicts a program that has already been written Your window of course will be empty when you first enter it The pages that follow will show you how to write each part of your initialization program D2 RMSM Setup Programming EEN Writing Your Remote I O Setup Step 1 Is your setup logic going to be in the main program body or is it going to be in a Decide How You subroutine Are Going to Call A subroutine for your remote I O setup has an advantage over writing the code into Your Program the program s main body Some remote I O setup logic becomes quite lengthy By putting the setup in a subroutine you don t have to scroll through extra logic during routine troubleshooting procedures We advise you to use a subroutine for your remote I O initialization Here s how Using the GTS Command for the Setup Logic Note SPO is a special relay contact which energizes only on the first scan of the program SPO K1 GTS DirectSOFT Displa Ea Main program body goes here END SBR Ki Subroutine will go down here TAKS A s ar 09 ae at fe Ke 2 o 3 5 co D2 RMSM Setup Programming Step 2 Whether you choose to write the remote I O setup program as a subroutine or as a Write the Setup part of the main program the procedure is still the same You
3. OUT V2001 LDA 040610 UT V2002 LD K04 LD K4 LDA O00 WT V2001 1D Kg96 UT V2011 K112 UT V2012 D0 K04 D K4 0124 WT V2011 Quick Referenc of Shared Memory Input V memory V memory buffer Output V memory V memory buffer Master module address Number of bytes Shared Memory address rite Master memory Input points total V melmory buffer Output points total V memory buffer op D pejo D2 RMS p w Setup Initiation Byte 176 8 2 Setup Complete Byte 177 Z Slave Input it INumber of Number of 3 Address Address Input Pts Output Pts B ALL 002 126 1 N A N A 004 006 2 N A N A 010 012 3 N A N A 014 016 4 N A N A 020 022 5 N A N A 024 026 6 N A N A 030 032 7 N A N A 034 036 Since the logic for the slave range data and setup complete is identical to Example 1 we will now show the completed setup program on the next page D2 RMSM Setup Programming Completed Setup Program for Control Relay Addressing
4. NA NA 006 2 N A N A 010 012 3 N A N A 014 016 4 N A N A 020 022 5 N A N A 024 026 6 N A N A 030 032 7 N A N A 034 036 D2 RMSM D E E S D fe A o o 09 D2 RMSM Setup Programming Write Setup Complete store channel parameters to EEPROM L KCI OUT M ___V2013 L K04 LD I tPA 0177 Ww T V2013 Constant that commands master to store parameters to EEPROM V memory buffer Master module address Number of bytes Shared Memory address of Setup Complete Byte Write Master memory We can now complete the setup program This last block of logic tells the remote master to save the parameters in EEPROM setup is complete The setup complete logic structure is the same for any channel using a D2 RMSM as a master The completed setup program for this example is shown on the next page D2 RMSM Setup Programming Completed Setup Program for X and Y Addressing RLL Program Go to remote 1 0 subroutine from bottom of previous column Bits 0 1 2 7 initiates setup Bit 7 1 sets Auto Return to Network Store in temporary memory Rack Slot Address of Master Number of bytes to writ
5. OCTAL FUNCTION FUNCTION ADDRESS Slaves 1 15 Slaves 16 31 Bytes For memory addresses 000 to 077 the user s setup program must store the correct values into these locations Starting V memory address for inputs on Number of input points for Slave 16 2 the channel in octal 002 Starting V memory address for outputs on Number of output points for Slave 16 2 the channel in octal 004 Number of input points for Slave 1 Number of input points forSlave17 2 006 Number of output points for Slave 1 Number of output points forSlave17 2 010 Number of input points for Slave 2 Number of input points forSlave18 2 012 Number of output points for Slave 2 Number of output points forSlave18 2 014 Number of input points for Slave 3 Number of input points forSlave19 2 016 Number of output points for Slave 3 Number of output points forSlave19 2 020 Number of input points for Slave 4 Number of input points for Slave 20 2 022 Number of output points for Slave 4 Number of output points for Slave 20 2 024 Number of input points for Slave 5 026 Number of output points for Slave 5 Number of output points forSlave21 2 030 Number of input points for Slave 6 Number of input points for Slave 22 2 032 Number of output points for Slave 6 Number of output points for Slave 22 2 034 Number of input points for Slave 7 036 Number of output points for Slave 7 Number of output points for Slave 23 2 040 Num
6. configuration to the D2 RMSM via the setup program and need to change it follow these guidelines to ensure the module accepts the new configuration 1 Change the constants in the setup program that are affected by the new system configuration For example if you add an I O module to a remote slave unit you must change the input or output range for that slave as well as the range total for the channel If the new range totals do not match the sum of the individual slave ranges the D2 RMSM will not accept the new configuration It will retain the old configuration and give you an I O error 2 Ifyou are removing a slave from the channel you must change the logic of the setup program to clear that slave s range data in the D2 RMSM shared memory Otherwise it will still see the old data from the previous configuration For example if you remove the third slave from our example system you would load a constant of zero into the slave s input and output range data located at buffer memory addresses V2007 and V2010 If removing I O remember to reduce the total I O range values also 3 After you have modified the setup program cycle CPU power or transition from the STOP to RUN mode to execute the new setup logic This is necessary if the setup logic executes on the first CPU scan TAKS A s ar ide o z 13 x laj Ke D 3 3 5 Ko 4 14 D2 RMSM Setup Programming Shared Memory Table for D2 RMSM Remote Master
7. function parameters module a OE base slot address number of bytes and the intelligent I O A aaa module memory address are loaded into the first and second level of the accumulator stack and the accumulator by three additional instructions In the WT instruction Aaaa specifies the starting V memory address where the data will be written from in the CPU D2 RMSM D E S D fe A 2 o 09 You use these instructions to set up the configuration data in a block of V memory which serves as a buffer Use WT instructions to store the data to various shared memory locations in the Remote Master module Use your worksheets to assist you in creating the setup logic D2 RMSM Setup Programming Examples for Typical Configurations Example 1 Addressing using X and Y memory To illustrate the setup program for a system using X s as remote inputs and Y s as remote outputs we will use the example system from Chapter 2 shown here with a completed Channel Configuration Worksheet The first block of logic tells the remote master to initiate the setup and to enable the Auto Return to Network option To find the D2 RMSM shared memory addresses used in the setup program refer to the Shared Memory Table at the end of this chapter Write Configuration Byte Main Base with Master l l O 0O X
8. have several things Logic for Each you must do for each channel of remote I O Channel e Tell the remote master to initiate setup and define the auto return to network option e Tell the remote master the starting V memory address for inputs and outputs and the total number of each for the channel You do this with address pointers and constant data e Tell the remote master how many input and output points are located in each base e Tell the remote master to save the parameters in EEPROM setup is complete To write the setup logic we use the CPU instructions described below If you are not familiar with these instructions you may want to refer to the DL205 User Manual for more details and examples The Load instruction is a 16 bit instruction that loads the value LD Aaaa which is either a V memory location or a 4 digit A aaa constant into the lower 16 bits of the accumulator The upper 16 bits of the accumulator are set to 0 The Load Address instruction is a 16 bit instruction It converts LDA any octal value or address to the HEX equivalent value and _ eee loads the HEX value into the accumulator The OUT instruction is a 16 bit instruction that copies the OUT values in the lower 16 bits of the accumulator to a specified i Adaa V memory location Aaaa The WT instruction writes a block of data 1 128 bytes max to an intelligent I O module from a block of V memory in the CPU The
9. in lower byte of V2000 to Master memory D2 RMSM D E S D fe a o o 09 D2 RMSM Setup Programming This block of logic tells the remote master the starting V memory addresses for the inputs and outputs and the total number of each for the channel Use the LD LDA and OUT commands to load the starting addresses and point totals into temporary memory then write the values to the master s shared memory The Quick Reference Table shows the correct shared memory addresses in octal The LDA instruction SPO LDA Write Input and Output Pointers and r a anpes 040402 Input V memory Input and Output Ranges for Channel capital O ir ron t of L OUT 2001 V memory buffer the aumber LDA 040502 Output V memory OUT Channel Configuration Worksheet V2002 v memory buffer D2 RMSM Remote Master Module D Master Slot Addy ss 4 1 7 _ K04 Master module address Protocol Selecf d RM NET_ RM NET or SM NET Circle one selection for each parameter selegtions for each protocol are shown _ LD Number of Configuration Parameter J mer J w pe eg aai eee te ee ee eae 12 000 Shared Memory address Operator Interface Cmap Es no L__ WT v2001 rite Master memory Auto Return to Network either protocol Starting Input V Memory Addres v 40402 Starting Output V Memory Address 40502 LD K96 Inp points
10. total Total Inputs C96 gt Total Outputs 2 ae oa sae Nid LI OUT 20414 V melory buffer ation No of inputs Piva of Outputs Station Pie of pus na aagus o na a e N LD K112 Output points total our Vv2012 V mem ry buffer LD K04 A k4 Number of bytes te 0124 Shared Memory address WT v2011 Quick Reference lable of Shared Memory A sses D2 RMSM ee a ce a eT Setup initiation Byte 176 Setup Complete Byte 177 Slave Input Number of Number of Address Address Input Pts Output Pts ALL 126 1 N A N A 004 006 2 N A N A 010 012 3 N A N A 014 016 4 N A N A 020 022 5 N A N A 024 026 6 N A N A 030 032 7 N A N A 034 036 4 7 D2 RMSM Setup Programming This block of logic tells the remote master how many input and output points are located in each base Each group of four instructions loads the I O ranges for a slave into temporary memory the values for which are retrieved from the Remote Slave Worksheets The WT instruction stores the entire buffer area to the master s shared memory The Quick Reference Table shows the correct shared memory addresses in octal Write Input and Output Ranges for each Slave SPO H ee T V2003 K48 y2004 K16 OUT V2005 I K32 OUT V2006
11. 0 X17 X20 X37 Y0 Y17Y20 Y37 V40400 V40401 V40500V40501 1st Remote PS 16 16 16 16 16 l l O O O X40 X57 X60 X77 Y40 Y57 Y60 Y77Y100 Y117 V40402 V40403 V40502 V40503 V40504 2nd Remote PS 8 8 8 16 8 l l O 1O JO X100 107 X110 117 Y120 127 Y130 147 SPACE V40404 V40505 V40505 6 3rd Remote PS 16 16 16 12 12 l l l O JO X120 137 X140 157X160 177 Y160 177Y200 217 V40405 V40406 V40407 V40507 V40510 SPO t Channel Configuration Sheet D2 RMSM Remote Master Module Master Slot Addres 4 1 7 _ Protocol Selected RM NET RM NET or SM NET Circle one selection for each parameter set ctions for each protocol are shown Baud Rate in KBaud determja d by required 38 4 19 2 38 4 153 6 distance to last slave 307 2 614 4 Auto Return to Network either protocol QESD Starting Input V Memory Address V_40402 starting Output V mory Address V 40502_ Total No es Slave AATA Inputs No Outputs Station rca aa Zo NA wa ne TAKS A s ar ep 2 xe U O Q ped 3 3 5 Ke K87 Bits 0 1 2 ON initiates the setup Bit 7 defines Auto Return to Network ON Yes V2000 Choose a word of available V memory to use as a buffer K04 Master address High byte is rack 0 low byte is slot 4 K1 Number of bytes to write to shared memory 1 byte LDA 0176 Shared memory address of configuration byte T 72000 Write value
12. D K48 OUT al V2007 WT V2003 V memory buffer Slave 1 Output points memory buffer Slave 2 Input points V memoryguffer Slave 2 Output poin V memory buffer Slave 3 Input points V memory buffer Slave 3 Output points V memory buffer Master module address Number of byte shared Memory address Write Master memory The last four instructions write the slaves range data to the Master s shared memory Address 004 is the start of the slave data the byte length of 12 writes 6 consecutive words of data Channel Configuration Worksheet D2 RMSM Remote Master Module Master Slot Address 4 _ 1 7 _ Protocol Selected RM NET_ RM NET or SM NET Circle one selection for each parameter selections for each protocol are shown Configuration Parameter Baud Rate in KBaud determined by required tee 19 2 384 153 6 distance to last slave 307 2 614 4 i L Red to es no Starting Input V Memory Address aa arin Output V Memory Address V 40502 Total mi n Slave a Slave Piwa Na ie spesie q 32 oa o ne a o ep Quick Reference Table o of Shared Memory Addresses Su D2 RMSM pY Configuration Byte 176 amp 2 Setup Complete Ryte 177 g Slave nput Output Number of Number of Address Address Nnput Pts Output Pts E ALL 000 002 124 126 1
13. D2 RMSM Setup Programming In This Chapter Getting Started with Your Programming Writing Your Remote O Setup Examples for Typical Configurations Changing Configurations Shared Memory Table for D2 RMSM 42 D2 RMSM Setup Programming Getting Started with Your Programming You can write your program using either a handheld programmer or a PC loaded with software such as DirectSOFT The examples that follow will show you how to do it using DirectSOFT To get started enter DirectSOFT and carry out the normal DirectSOFT setup procedures for communicating with your DL205 CPU If you do not know how to do this refer to your DirectSOFT Manual Your DL205 User s Manual has a very good coverage of the basic commands available and examples of using the commands to write general ladder logic We will be showing you in this chapter only those commands that pertain to setting up your remote I O initialization and its successful utilization First open DirectSOFT from Windows and establish a link with your CPU Then enter the Edit Mode for programming You should now be looking at a screen similar to the one shown below ij DirectSOFT Programming remiotst File Edit Search View Tools PLC Debug Window Help a Hill Ladder View of x SPO xt ip sts j J 2 ouT e l x v1 a lt ouT x0 co au PD xt rt E o i 6 F FAULT a i END BR Ki 9 ji Kaa
14. I JO JO JO C40 CATI en a C260 267 C270 307 SPACE V40613 V40613 14 3rd Remote 16 16 16 12 12 PS l l l O JO C60 C77 C100 117 C120 137 C320 337 C340 357 V40603 V40604 V40605 V40615 V40616 D2 RMSM SPO K87 Bits 0 1 2 ON initiates setup E Bit 7 defines Auto Return to Network ON Yes 2000 Choose a word of available V memory to use as a buffer D E S D fe oO a o 09 LD K04 Master address High byte is rack 0 low byte is slot 4 P K1 Number of bytes to write to shared memory 1 byte O176 Shared memory address of configuration byte WT V2000 Write value in lower byte of V2000 to Master memory D2 RMSM Setup Programming This block of logic tells the remote master the starting V memory addresses for the inputs and outputs and the total number of each for the channel The V memory addresses correspond to CO for inputs and C200 for outputs Load the starting addresses and point totals into temporary memory then write the values to the master s shared memory The Quick Reference Table shows the correct shared memory addresses in octal Write Input and Output Pointers and Input and Output Ranges for Channel 19 2 38 4 307 2 614 4 Starting Input V Memory Addres amp Total ae Slave Slave Station eco aus a oa No of ECE mamn of ee LDA 040600
15. ber of input points for Slave 8 Number of input points for Slave24 2 042 Number of output points for Slave 8 Number of output points for Slave 24 2 044 Number of input points for Slave 9 Number of input points for Slave25 2 046 Number of output points for Slave 9 Number of output points forSlave25 2 050 Number of input points for Slave 10 052 Number of output points for Slave 10 Number of output points forSlave26 2 054 Number of input points for Slave 11 Number of input points for Slave27 2 056 Number of output points for Slave 11 Number of output points for Slave 27 2 Number of input points for Slave 12 062 Number of output points for Slave 12 Number of output points for Slave 28 2 064 Number of input points for Slave 13 Number of input points for Slave 29 2 066 Number of output points for Slave 13 Number of output points for Slave 29 070 Number of input points for Slave 14 Number of input points forSlave30 2 072 Number of output points for Slave 14 Number of output points forSlave30 2 074 Number of input points for Slave 15 Number of input points for Slave 31 076 Number of output points for Slave 15 Number of output points for Slave 31 2 D2 RMSM of 9f9 5 9 of fal D E S D fe oO o 09 DDE Po N N N Po OCTAL ADDRESS 100 121 D2 RMSM Setup Programming FUNCTION DETAIL Bytes Status of Rotary Switches on mod
16. e Address From Table below Write Address Config data total number of input points Store in temporary memory total number of output points Store in temporary memory Rack Slot Address of Master Number of bytes to write Address From Table Below Write total range data Starting input address X040 Store in temporary memory Starting output address Y040 Store in temporary memory Rack Slot Address of Master Number of bytes to write Address From Table Below Write input and output pointers number of input points Store in temporary memory number of output points Store in temporary memory K1 GTS Main Program Body END seR k1 Remote I O Subroutine first scan relay ae LD E K87 Initiate Setup 5T V2000 Store to Hiep Shared Memory K1 ILDA 0176 wT V2000 SPO It K96 Set up Channel _ UT V2011 Input and Out put Ranges K112 OUT V2012 LD K4 Store to o Shared K4 Memory S124 WT SPO 040402 Set up Input 501 and Output Da Pointers 40502 OUT V2002 m Tka Store to ae Shared TCDA Memory 00 L IWT V2001 SPO g 1k _K32 Set up 1st OUT V2003 Remote Input and Output _K48 Ranges OUT V2004 to top of next column SPO 1 Tete number of input points Set up 2nd _ a Store in temp
17. e 8 Slave 24 Bit9 Slave 9 Slave 25 Bit10 Slave 10 Slave 26 Bit11 Slave 11 Slave 27 Bit12 Slave 12 Slave 28 Bit 13 Slave 13 Slave 29 Bit 14 Slave 14 Slave 30 Bit15 Slave 15 Slave 31 D2 RMSM D E E S D fe A o o 09 D2 RMSM Setup Programming 4 17 OCTAL FUNCTION DETAIL ADDRESS Bytes 132 133 Slave removal mode selection commu In slave removal mode the master stops nication stops to only the slave s with a updating only the slave s with a communication error communication error It continues updating the I O for the other slaves on the channel To select this mode for each slave turn ON the corresponding bit of the shared memory shown below Address 132 Address 133 BitO Notused Slave 16 Bit 1 Slave 1 Slave 17 Bit2 Slave2 Slave 18 Bit3 Slave3 Slave 19 Bit4 Slave 4 Slave 20 Bit5 Slave5 Slave 21 Bit6 Slave 6 Slave 22 Bit7 Slave7 Slave 23 Bit8 Slaves Slave 24 Bit9 Slave9 Slave 25 Bit10 Slave 10 Slave 26 Bit11 Slave 11 Slave 27 Bit12 Slave 12 Slave 28 Bit13 Slave 13 Slave 29 Bit14 Slave 14 Slave 30 Bit15 Slave 15 Slave 31 134 Communication hold or resume mode The program can cause the communications on a channel to stop by setting the first bit in this byte ON After communication stops only a mode transition of the CPU from STOP to RUN will restart the communications The bit is not cleared automatically so if using this mode the user program should clear this byte on the
18. first scan 135 137 Reserved Buiwiwes6o1g dnjes WSWu ca Network Error Flags Read Only Bit status represents network errors detected by the D2 RMSM 0 OK 1 ERROR BitO Configuration Error see Address 142 for details Bit1 Communication Error see Address 144 for details Bit2 Diagnostics Error see Address 150 for details D2 RMSM Setup Programming OCTAL FUNCTION DETAIL ADDRESS 142 Configuration Error Code Read Only Error code in BCD 20 Total inputs exceeds 512 21 Total outputs exceeds 512 24 I O address out of I O range 25 I O address allocated to bad range 29 A slave has more than 512 points 70 Discrepancy between current configuration and old one 71 A module is in the wrong slot 72 Slave configuration is different from old one 73 Different slave is there 143 Station Number of Configuration Error Read Only 144 Communication Error Code Read Only Error code in BCD 01 slave does not respond 02 wrong I O information 03 I O update error CRC check error 145 Station Number of Communication Error Station number in BCD 1 Code Read Only 146 Communication Error Counter Read Number of communication errors detected 2 Only since CPU went into RUN mode in BCD 150 Diagnostics Error Code Error code in BCD 2 0201 Terminal block removed 0202 module not present 0203 Blown fuse 0206 Low battery voltage 0226 Power capacity exceeded 152 Reserved 153 Station number of Diagnos
19. orary memory Remote Input and Output nae number of output points Ranges ae Store in temporary memory SPO 7 kag _ Number of input points OUT i Set up 3rd 2007 Store in temporary memory Remote Input or number of output points and Output Ranges ca a Store in temporary memory Store to _ es Rack Slot Address of Master Shared ET Number of bytes to write Memory at Address From Table Below _ WT Write slave range data V2003 SPO gt H KCI C1 means store settings Set up Com ouT l Store in temporary memor plete Code V2013 pie y t Deg Rack Slot Address of Master Store to E i Number of bytes to write Shared 254177 Address From Table Below Memory WT y2013 Write Setup Complete Byte CPT dp Quick Reference Table of Shared Memory Addresses SU D2 RMSM pY fe Setup Initiation Byte 176 co F DH Setup Complete Byte 177 a Slave Input Output Number of Number of Address Address Input Pts Output Pts E ALL 000 002 124 126 1 N A N A 004 006 2 N A N A 010 012 3 N A N A 014 016 4 N A N A 020 022 5 N A N A 024 026 6 N A N A 030 032 7 N A N A 034 036 D2 RMSM Setup Programming Example 2 In certain applications you may need to address remote I O as amemory type other Addressing using than real inputs X type and or real outputs Y type If you have used all available Control Relay I O references in the system and need to add remote I O you can use the control Memo
20. ry relay C type memory as the I O references You may allocate C memory for inputs outputs or both To write a setup program with this option we will use the system from Example 1 This example illustrates the difference in defining the pointer addresses we have assigned both inputs and outputs to control relay references Retrieve the V memory addresses for the input and output control relays from the Reserved Memory Table in Appendix B The rest of the setup logic is identical to Example 1 Write Configuration Byte Channel Configuration Worksheet D2 RMSM Remote Master Module Main Base with Master Master Slot Address 4 _ 1 7 _ Protocol Selected RM NET_ RM NET or SM NET Circle one selection for each parameter selections for each protocol are shown PS CPU 16 16 16 16 Configuration Parameter l l O O Baud Rate in KBaud determined by required 38 4 19 2 384 153 6 distance to last slave 307 2 614 4 X0 X17 X20 X37 Y0 Y17Y20 Y3 Operator merase CL NAD V40400 V40401 V40500 V40501 Auto Return to Network ether protocol YES _NO Starting Input V Memory Addres amp V 40600 Starting Output V Memory Address Q 40610 1st Remote Total Inputs Total Outputs Slave Slave a PS 16 A6 16 16 16 Station Station seoteus na fy l I O JO JO C0 C20 C37 C209 217 C220 237 C240 257 0600 40601 Vv40610 V40611 V40612 2nd Remote PS 8 8 8 16 8 l
21. tics error Station number in BCD 1 Read Only D2 RMSM D E S D fe A o o 09 FUNCTION OCTAL ADDRESS D2 RMSM Setup Programming DETAIL Bytes 154 157 Reserved 160 Current bus scan time Read Only 162 Bus scan time upper limit 164 Shortest bus scan time Read Only 166 Longest bus scan time Read Only 1 1 1 Bus scan counter Read Only Overlimit Bus scan counter Read Only 70 174 175 76 77 Reserved Setup Initiation Byte includes Auto Return to Network 1 Copy Configuration to EEPROM Setup Complete 200 374 Reserved BCD value of current bus scan in msec 2 User can store BCD value of bus scan 2 upper limit in msec Default is 100 msec BCD value of shortest bus scan detected 2 since CPU went into RUN mode in msec BCD value of longest bus scan detected 2 since CPU went into RUN mode in msec BCD value of number of bus scans de 2 tected since CPU went into RUN mode BCD value of number of bus scans which 2 have exceeded the scan time upper limit User s setup program stores the correct bit pattern to this memory location to configure the following modes Bits 0 1 and 2 must be ON to initiate setup of remote slave addressing Bit7 ON Specifies that offline slaves can return to the network without cycling CPU User s setup program stores a BCD value 1 to this location to log the parameters stored by the se
22. to Wiig Store to l Shared 8177 _ Address From Table Below Number of bytes to write shared Mama aie Write Setup Complete Byte Memory S104 Address From Table Below v2013 pE WT RT WOOT data LDA iai 040600 Starting input address C0 memory addresses for control relays as inputs and outputs p01 Store in temporary memory _ LDA Quick Reference Table Starting output address C200 040610 of Shared Memory Addresses D2 RMSM D E S D fe oO 2 o 09 OUT v2002 Store in temporary mem D2 RMSM Pk4 Rack Slot Address of Master Setup Initiation Byte 176 se Number of bytes to write Setup Complete Byte 177 are DA In JL put Output Number of Number of Memory 00 Rdaress From table Below Slave Address Address Input Pts Output Pts foe Write input and output pointers ALL 000 002 124 126 SPO ego Number of input points 1 N A NA 004 te Set up 1st oT Store i 2 NA N A 010 012 Remote Input M Lv2003 Store in temporary memory 3 NA NA 014 016 and Output j kag number of output points 4 NA N A 020 022 Ranges OUT 5 N A N A 024 026 v2004 Store in temporary memory 6 N A N A 030 032 to top of next column Pa 7 N A N A 034 036 D2 RMSM Setup Programming 4 13 Changing Configurations If you have stored a
23. tup program to the Master s EEPROM C1 Signifies that setup is complete TAKS A s are op ae Z a fe Ke o g 3 5 a Hint This should be the last function of your setup program D2 RMSM Setup Programming OCTAL FUNCTION DETAIL ADDRESS Bytes 1 375 Slave Page Selection User s setup program stores a BCD value to this location to select the page of slave parameters for setup programming 81 Slaves 1 15 82 Slaves 16 31 D2 RMSM D E E S D fe A o o 09 D2 RMSM Setup Programming 4 21 Quick Reference Table of Shared Memory Addresses Setup Initiation Byte 1 lt a Setup Complete Byte Input Output Number of oT of Address Address Input Points Output Points ee ee ee 1 N A A 004 006 2 N A ae 010 012 E NIA 076 TAKS A s ar 09 o at fe Ke 2 o 3 5 co
24. ule Data is 00 to 1F hex representing the ad Read Only dress of the module set by the rotary switches Status of DIP Switches on module Read Bit status represents the setting of each Only switch on the module s DIP Switch which sets configuration parameters 0 OFF 1 ON BitO SW1 status Bit1 SW2 status Bit2 SWS status Bit3 SW4 status Bit4 SW5 status Bit5 SW 6 status Bit6 SW7 status Bit7 SW 8 status Number of input points committed to the User s setup program stores the correct 2 entire channel BCD value to this memory location Number of output points committed to the User s setup program stores the correct Reserved entire channel BCD value to this memory location 09 s at fe Ke o 3 5 co TAKS A s ar D2 RMSM Setup Programming OCTAL FUNCTION DETAIL ADDRESS Bytes 130 131 Communication stop mode selection com In communication stop mode the master munication stops when any specified slave stops updating the entire channel when a fails communication error occurs with any spe cified slave station To select this mode for each slave turn ON the corresponding bit of the shared memory shown below Address 130 Address 131 BitO Entire channel Slave 16 stops when any slave fails Bit 1 Slave 1 Slave 17 Bit2 Slave2 Slave 18 Bit3 Slave3 Slave 19 Bit4 Slave 4 Slave 20 Bit5 Slave 5 Slave 21 Bit6 Slave 6 Slave 22 Bit7 Slave7 Slave 23 Bit8 Slav
Download Pdf Manuals
Related Search
Related Contents
Manual de Usuario Kempoweld WIRE 400, 550 "取扱説明書" Lennox Hearth LBLK-100 User's Manual Copyright © All rights reserved.
Failed to retrieve file