Home

Chapter 4 - AutomationDirect

image

Contents

1. 1or60V_ 0V1or6 eno A 3 on eN vios PORT 2 F 3 RXD RXD3 oa 3 bos CIRT 4 TXD X_TXD 4 E RXD S mo l ICS NS Hl 2 CTS 5V 2 RXD Q TxD ae y m 5 5v_X_ RTS 5 FA ISOCON FA ISOCON ano 1 0V ov 1PORT2 9 RXD 3 RXD RXD 3 9 RxD l 40D Y Do4 FS ESIE 55v X atssl DL05 Micro PLC User Manual 6th Edition Rev C u 5 Chapter 4 Configuration and Connections Modbus Port Configuration In DirectSOFT 5 choose the PLC menu then Setup then Secondary Comm Port e Port From the port number list box at the top choose Port 2 e Protocol Click the check box to the left of Modbus use AUX 56 on the HPP and select MBUS and then you ll see the dialog box below Base Timeout 800 ms wectNE 800 ms 500 me 3 Characters Timeout Base Timeout x 1 gt RTS on delay time 5 ms RTS off delay time 2 me gt Station Number 1 y Baud rate 38400 i Stop bits 1 Panty Odd e Timeout Amount of time the port will wait after it sends a message to get a response before logging an error e RTS ON OFF Delay Time The RTS ON Delay Time specifies the time the DL05 waits to send the data after it has raised the RTS signal line The RTS OFF Delay Time specifies the time the DLO5 waits to release the RTS signal line after the data has been sent When using the DLOS on a
2. FA ISOCON DLO5 eno G 9 anD 1or6 OV OV 1or6 PORT 2 Txo 18 J RxD 3 RXD RXD3 l RXD_ RXD 3 i o lo Pax 41D N XD 4 TXD__ TxD 4 Ro 16 QL vo IL oe CIS ayo RTS RTS 5 RxD Q Txo FA ISOCON Note When using the DL05 on a multi drop network the RTS ON Delay time must be set to at least 5ms and the RTS OFF Delay time FA ISOCON DLO5 must be set to at least 2ms If you encounter ano 1 or 6 OV OV 1 or6 PORT 2 problems the time can be increased RxD 3 RXD RXD 3 a 9 xo j 4 TXD X TXD 4 9 vo n 2 CTS 5v 2 9 TxD Networking 5 5V RTS 5 DLO5 Master to Other PLCs The recommended cable for RS 422 is AutomationDirect L19772 Belden 9729 or equivalent The maximum cable distance is 1000 meters FA ISOCON DLOS
3. DL205 or DLOS slaves specify the same address in the WX and RX instruction as the slave s RX native I O address YO e Modbus 305 slaves use the following table to convert DL305 addresses to Modbus addresses DL305 Series CPU Memory Type to Modbus Cross Reference excluding 350 CPU PLC Memory Type PLC Base Address rT PLC Memory Type PLC Base Address P TMR CNT Current R600 vo TMR CNT Status Bits CT600 GY600 Values 1 0 Points 10 000 GYO Control Relays CR160 GY160 Data Registers R401 R400 V100 Shift Registers SR400 GY400 Stage Status Bits D3 330P only So GY200 ola 16 DL05 Micro PLC User Manual 6th Edition Rev C Chapter 4 Configuration and Connections Communications from a Ladder Program Typically network communications will last longer than 1 scan The program must wait for the communications to finish before starting the next transaction ae j k Port 2 which can be a master has two SET Special Relay contacts associated with SP116 D KF201 it see Appendix D for Compor Port Communication Error special relays One indicates Port an By Lp busy SP116 and the other indicates now Port Communication Error SP117 LDA 040600 The example above shows the use of these contacts for a network master BX that only reads a device RX The Port Busy bit is on while the PLC c
4. 19200 and 38400 baud Choose a higher baud rate initially reverting to lower baud rates if you experience data errors or noise problems on the network Important You must configure the baud rates of all devices on the network to the same value e Stop Bits Choose 1 or 2 stop bits for use in the protocol e Parity Choose none even or odd parity for error checking e Format Choose between hex or ASCII formats gt ie Then click the button indicated to send the Port configuration to the CPU gt Wal and click Close DL05 Micro PLC User Manual 6th Edition Rev C 4 7 Chapter 4 Configuration and Connections Network Slave Operation This section describes how other devices on a network can communicate with a CPU port that you have configured as a DirectNETslave or Modbus slave DLO5 A Modbus host must use the Modbus RTU protocol to communicate with the DLO5 as a slave The host software must send a Modbus function code and Modbus address to specify a PLC memory location the DL05 comprehends The DirectNET host uses normal I O addresses to access applicable DL05 CPU and system No CPU ladder logic is required to support either Modbus slave or DirectNET slave operation Modbus Function Codes Supported The Modbus function code determines whether the access is a read or a write and whether to access a single data point or a group of them The DLO5 supports the Modbus function codes described below MODBUS Function Code Functi
5. Address 1 fixed 8 data bits 8 data bits 1 start 1 stop bit 1 start 1 stop bit Asynchronous half duplex DTE Asynchronous half duplex DTE Protocol auto select K sequence slave only Protocol auto select K sequence slave only DireciNET master slave Modbus RTU DirectNET slave only Modbus RTU slave only master slave non sequence print Networking i Descriptions i Descriptions Power connection GND 1 Power connection GND 123456 Power connection Power connection Receive Data RS232C Receive Data RS232C Transmit Data RS232C Transmit Data RS232C Power connection Request to Send Power connection GND Power connection GND DL05 to DLO5 RS 232C You will need to make sure the network connection is a 3 wire RS 232 type The recommended cable is AutomationDirect L19772 Belden 8102 or equivalent Normally the RS 232 signals are used for communications between two devices with distances up to a maximum of 15 meters DLO5 DLO5 PORT 2 PORT_1 or 2 oy DL05 Micro PLC User Manual 6th Edition Rev C Chapter 4 Configuration and Connections Networking Using RS 422 Converters Networking PC to DLO5s RS_422 123456 6 pin Female Modular Connector
6. DL350 and DL450 will support function 04 read input register Address 30001 To use function 04 put the number 4 into the most significant position 4xxx Four digits must be entered for the instruction to work properly with this mode LD K101 The Maximum constant possible is 4128 This is due to the 128 maximum number of Bytes LD K4128 he that the RX WX instruction can allow The value of 4 in the most significant position of the word will cause the RX to use function 04 LDA 04000 30001 range RX YO 1 Refer to your PLC user manual for the correct memory mapping size of your PLC Some of the addresses shown above might not pertain to your particular CPU 2 For an automated Modbus Koyo address conversion utility download the file modbus_conversion xls from the www automationdirect com website H 12 DL05 Micro PLC User Manual 6th Edition Rev C Chapter 4 Configuration and Connections Example 1 V2100 584 984 Mode Find the Modbus address for user V memory V2100 PLC Address Dec Mode Address V2100 1088 decimal 1088 40001 1 Find V memory in the table 2 Convert V2100 into decimal 1088 3 Add the Modbus starting address for the mode 40001 For Word Data Types Timer Current Values V PLC Address Dec VO V177 0 127 A ppro priate Mode Address Input Register Counter Current Values V V1200
7. V7377 512 639 Input Register Memory user data V 2000 3777 1024 2047 Holding Register Example 2 Y20 584 984 Mode Find the Modbus address for output Y20 1 Find Y outputs in the table 2 Convert Y20 into decimal 16 3 Add the starting address for the range 2048 4 Add the Modbus address for the mode 1 PLC Address Dec Start Addr Mode Y20 16 decimal 16 2048 1 2065 2048 2367 3072 3551 6144 6271 YO Y477 CO C377 T0 T177 Outputs Y Control Relays CR Timer Contacts T Example 3 T10 Current Value 484 Mode Find the Modbus address to obtain the current value for Timer T10 T10 8 decimal 1 Find Timer Current Values in the table 8 3001 2 Convert T10 into decimal 8 3 Add the Modbus starting address for the mode 3001 For Word Data Types PLC Address Dec Appropriate Mode Address Timer Current Values V Vo V177 0 127 Input Register Counter Current Values V V1200 V7377 512 639 Input Register V Memory user data V V2000 V3777 1024 2047 Holding Register PLC Address Dec Mode Address Example 4 C54 584 984 Mode Find the Modbus address for Control Relay C54 1 Find Control Relays in the table 2 Convert C54 into decimal 44 3 Add the starting address for the range 3072 4 Add the Modbus address for the mode 1 YO Y477 CO C377 T0
8. be loaded is in BCD format decimal from 1 to 128 bytes The number of bytes specified also depends on the type of data you want to obtain For example the DL05 Input points can be accessed by V memory locations or as X input locations However if you only want X0 X27 you ll have to use the X input data type because the V memory locations can only be accessed in 2 byte increments The following table shows the byte ranges for the various types of DirectLOGIC products DL 05 205 350 405 Memory Bits per unit F 2 0 1 7 Slave address BCD Port number BCD Internal port hex 6 LD KF201 4 L of bytes to transfer LD K64 BCD V memory 16 T C current value 16 Inputs X SP Outputs Y C Stage T C bits Scratch Pad Memory Diagnostic Status DL330 340 Memory Bits per unit Data registers 8 T C accumulator 16 1 0 internal relays shift register bits T C bits stage bits Scratch Pad Memory Diagnostic Status 5 word R W DL05 Micro PLC User Manual 6th Edition Rev C H 15 Chapter 4 Configuration and Connections Step 3 Specify Master Memory Area 4 0 6 0 O octal The third instruction in the RX or WX sequence isa Load Address LDA instruction Its purpose is to a j load the starting address of the memory area to be Starting address of transferred Entered as an octal number
9. CONFIGURATION AND CONNECTIONS In This Chapter DLOS System Design Strategies 4s csrcnw ewer a tebe ecuees aed 4 2 Network Configuration and Connections 0 4 4 Network Slave Operation lt lt seaeeede ss Hea eee eteee sonar end 4 8 Network Master Operation lt 1e4 lt oeve xen Sach eee Kee KS 4 14 Chapter 4 Configuration and Connections DLO5 System Design Strategies T O System Configurations The DLO5 PLCs offer a number of different I O configurations Choose the configuration that is right for your application and keep in mind that the DLO5 PLCs offer the ability to add an I O card in the option slot Although remote I O isn t available there are several option cards available For instance e Various A C and D C I O modules e Combination I O modules e Analog I O modules e Combination Analog I O modules A DLO5 system can be developed with an arrangement using a selected option modules See our DL05 06 Options Modules User Manual D0O OPTIONS M on the website www automationdirect com for detailed selection information Networking Configurations The DLO5 PLCs offers the following ways to add networking e Ethernet Communications Module connects a DLO5 to high speed peer to peer networks Any PLC can initiate communications with any other PLC or operator interfaces such as C more when using the ECOM modules e Data Communications Modules connects a DLO5 to devices using either Dev
10. CPU s accumulator stack When the WX or RX instruction executes it uses the information on the stack combined with data in the instruction box to completely define the task which goes to the port Network o n WX write eur ovur XO X1 X2 X3 X4 X5 X6 X7 YO Y1 Y2 Y3 Y4 Y5 RX read n Slave iret Lon FERRER fe PLE a ie Master The following step by step procedure will provide you the information necessary to set up your ladder program to receive data from a network slave 4 14 DL05 Micro PLC User Manual 6th Edition Rev C Chapter 4 Configuration and Connections Step 1 Identify Master Port and Slave The first Load LD instruction identifies the communications port number on the network master DLOS5 and the address of the slave station This instruction can address up to 99 Modbus slaves or 90 DirectNET slaves The format of the word is shown to the right The F2 in the upper byte indicates the use of the right port of the DLO5 PLC port number 2 The lower byte contains the slave address number in BCD 01 to 99 Step 2 Load Number of Bytes to Transfer The second Load LD instruction determines the number of bytes which will be transferred between the master and slave in the subsequent WX or RX instruction The value to
11. T177 PLC Address Dec Start Addr Mode C54 44 decimal 44 3072 1 3117 20438 2367 3072 3551 6144 6271 Outputs Y Control Relays CR Timer Contacts T DL05 Micro PLC User Manual 6th Edition Rev C l H 13 Chapter 4 Configuration and Connections Network Master Operation This section describes how the DLO5 PLC can communicate on a Modbus or DirectNET network as a master For Modbus networks it uses the Modbus RTU protocol which must be interpreted by all the slaves on the network Both Modbus and DirectNET are single master multiple slave networks The master is the only member of the network that can initiate requests on the network This section teaches you how to design the required ladder logic for network master operation FA ISOCON _ Modbus RTU Protocol or DirectNET o n A X1 X2 X3 X4 X5 X6 X7 Yo yi y2 vow Ys Slave 1 Slave 2 Slave 3 00000000 000000 Koyo of Master When using the DLO5 PLC as the master station simple RLL instructions are used to initiate the requests The WX instruction initiates network write operations and the RX instruction initiates network read operations Before executing either the WX or RX commands we will need to load data related to the read or write operation onto the
12. al address to decimal and add the appropriate Modbus addresses as required The table below shows the exact equation used for each group of data Discrete Data Types PLC Range Address 484 Address 584 984 Modbus Data DLOS Memory Type Octal Mode Mode Type Global Inputs GX GX0 GX1746 1001 1999 10001 10999 Input GX1747 GX3777 11000 12048 Input Inputs X X0 X1777 12049 13072 Input Special Relays SP SPO SP777 s 13073 13584 Input Global Outputs GY GYO GY3777 1 2048 1 2048 Output Outputs Y YO Y1777 2049 3072 2049 3072 Output Control Relays CR CO C3777 3073 5120 3073 5120 Output Timer Contacts T TO 1377 6145 6400 6145 6400 Output Counter Contacts CT CTO CT377 6401 6656 6401 6656 Output Stage Status Bits S S0 81777 5121 6144 5121 6144 Output DL05 Micro PLC User Manual 6th Edition Rev C l H 1 1 Chapter 4 Configuration and Connections Word Data Types Registers PLC Range Input Holding Input Holding Octal 484 Mode 584 984 Mode Memory Timers VO V377 3001 4001 30001 40001 V Memory Counters V1000 V1177 3513 4513 30513 40513 V Memory Data Words Modbus Function 04 V1200 V1377 3641 4641 30641 40641 V1400 V1746 3769 4769 30769 40769 V1747 V1777 _ 31000 41000 V2000 V7377 41025 V10000 V17777 44097 The DL05 06 DL250 1 260
13. ata type from the table Control Relays CR 077 3072 3583 Coil H 10 DL05 Micro PLC User Manual 6th Edition Rev C Chapter 4 Configuration and Connections If Your Modbus Host Software Requires an Address ONLY Some host software does not allow you to specify the Modbus data type and address Instead you specify an address only This method requires another step to determine the address but it s still fairly simple Basically Modbus also separates the data types by address ranges as well So this means an address alone can actually describe the type of data and location This is often referred to as adding the offset One important thing to remember here is that two different addressing modes may be available in your host software package These are e 484 Mode e 584 984 Mode We recommend that you use the 584 984 addressing mode if your host software allows you to choose This is because the 584 984 mode allows access to a higher number of memory locations within each data type If your software only supports 484 mode then there may be some PLC memory locations that will be unavailable The actual equation used to calculate the address depends on the type of PLC data you are using The PLC memory types are split into two categories for this purpose e Discrete X SP Y CR S T contacts C contacts e Word V Timer current value Counter current value In either case you basically convert the PLC oct
14. ble and the addressing for each one Power Budgeting No power budgeting is necessary for the DLO5 The built in power supply is sufficient for powering the base unit your choice of option module the handheld programmer and the DV 1000 operator interface DL05 Micro PLC User Manual 6th Edition Rev C 4 3 Chapter 4 Configuration and Connections Network Configuration and Connections Configuring the DLO5 s Comm Ports This section describes how to configure the CPU s built in networking ports for either Modbus or DirectNET This will allow you to connect the DLO5 PLC system directly to Modbus networks using the RTU protocol or to other devices on a DirectNET network Modbus host systems must be capable of issuing the Modbus commands to read or write the appropriate data For details on the Modbus protocol check with your Modbus supplier for 4 the latest version of the Gould Modbus Protocol reference Guide For more details on DirectNET order our DirectNET manual part number DA DNET M DL05 Port Specifications Communications Port 2 Connects to HPP DirecfSOFT operator interfaces Communications Port 1 etc Connects to HPP DireciSOFT operator interfaces 6 pin multifunction port RS232C etc o Soin R20 Fags Sood too Sean Communication speed 9600 Baud fixed Parity odd default even none Parity odd fixed Station Address 1 default Station
15. calculate the address depends on the type of PLC data you are using The PLC memory types are split into two categories for this purpose e Discrete X SP Y CR S T C contacts e Word V Timer current value Counter current value In either case you basically convert the PLC octal address to decimal and add the appropriate Modbus address if required The table below shows the exact equation used for each group of data Modbus Address QTY Dec PLC Range Octal Range Decimal For Discrete Data Types Convert PLC Addr to Dec Start of Range Data Inputs X 256 X0 X377 2048 2303 Special Relays SP 512 SPO SP777 3072 3583 Outputs Y 256 YO Y377 2048 2303 Control Relays CR 512 C0 C777 3072 4583 Timer Contacts T 128 TO T177 6144 6271 Counter Contacts CT 128 CTO CT177 6400 6527 Stage Status Bits S 256 S0 S377 5120 5375 For Word Data Types Convert PLC Addr to Dec Data Type DLO5 Memory Type Modbus Data Type Type Input Input Coil Coil Coil Coil Coil Timer Current Values V 128 VO V177 0 127 Input Register Counter Current Values 128 V1000 V1177 512 639 Input Register V Memory user data V 3968 V1200 V7377 640 3839 Holding Register V Memory non volatile 128 V7600 V7777 3968 4095 Holding Register DL05 Micro PLC Us
16. er Manual 6th Edition Rev C 4 9 Chapter 4 Configuration and Connections The following examples show how to generate the Modbus address and data type for hosts which require this format PLC Address Dec Data Type ance y ruth yee V2100 1088 decimal ind the Modbus address for User V location V2100 1088 Hold Reg 1 Find V memory in the table 2 Convert V2100 into decimal 1088 3 Use the Modbus data type from the table Example 2 Y20 Find the Modbus address for output Y20 PLC Address Dec Start Addr Data Type 1 Find Y outputs in the table Y20 16 decimal 2 Convert Y20 into decimal 16 16 2048 Coil Coil 2064 3 Add the starting address for the range 2048 4 Use the Modbus data type from the table Example 3 T10 Current Value Outputs V YO Y377 2048 2303 Coil Find the Modbus address to obtain the current PEG Address IDE Daig Type T10 8 decimal value from Timer T10 1 Find Timer Current Values in the table 8 Input Reg Input Reg 8 2 Convert T10 into decimal 8 3 Use the Modbus data type from the table Example 4 C54 Timer Current Values V 128 VO V177 0 127 Input Register Find the Modbus address for Control Relay C54 1 Find Control Relays in the table PLC Address Dec Start Addr Data Type 2 Convert C54 into decimal 44 C54 44 decimal 3 Add the starting address for the range 3072 44 3072 Coil Coil 3116 4 Use the Modbus d
17. iceNet or Profibus to link to master controllers as well as a DO DCM e Communications Port 1 The DL05 has a 6 pin RJ12 connector on Port 1 that supports as slave K sequence Modbus RTU or DirectNET protocols e Communications Port 2 The DL05 has a 6 pin RJ12 connector on Port 2 that supports either master slave Modbus RTU or DirectNET protocols or K sequence protocol as slave Port 2 can also be used for ASCII OUT communications Analog inj Out Yo y OUT 2 Inia 1Y2 y3 va dar pepe 10V ta Qe pr an Cs td we a pe Option Slot u 2 DL05 Micro PLC User Manual 6th Edition Rev C Chapter 4 Configuration and Connections e Automatic I O Configuration The DL05 CPUs will automatically detect the optional I O module if installed at powerup and establish the correct I O configuration and addresses The configuration may never need to be changed The I O addresses use octal numbering with X0 to X7 being the eight inputs and YO to Y5 being the addresses for the six outputs The discrete option slot addresses are assigned in groups of 8 or 16 depending on the number of I O points for the I O module The discrete option module addressing will be X100 to X107 and X110 to X117 for the maximum sixteen point input module The addressing for the sixteen point output module will be Y100 to Y107 and Y110 to Y117 Refer to the DL05 06 Options Modules User Manual DO0 OPTIONS M for the various discrete I O modules availa
18. mber list box choose Port 2 e Protocol Click the check box to the left of DirectNET use AUX 56 on the HPP then select DNET and then you ll see the dialog box below Setup Communication Ports Timeout Base Timeout x1 RTS on delay time 5 ms RTS off delay time 2 me Station Number 1 Baud rate 38400 Stop bas 1 Panty Odd Format Hex Pott 2 6 Pin Modda e Timeout Amount of time the port will wait after it sends a message to get a response before logging an error e RTS ON OFF Delay Time The RTS ON Delay Time specifies the time the DL05 waits to send the data after it has raised the RTS signal line The RTS OFF Delay Time specifies the time the DLO5 waits to release the RTS signal line after the data has been sent When using the DLOS on a multi drop network the RTS ON Delay time must be set to at least 5ms and the RTS OFF Delay time must be set to at least 2ms If you encounter problems the time can be increased e Station Number For making the CPU port a DirectNET master choose 1 The allowable range for DirectNET slaves is from 1 to 90 each slave must have a unique number At powerup the port is automatically a slave unless and until the DLO5 executes ladder logic instructions which attempt to use the port as a master Thereafter the port reverts back to slave mode until ladder logic uses the port again Baud Rate The available baud rates include 300 600 1200 2400 4800 9600
19. multi drop network the RTS ON Delay time must be set to at least 5ms and the RTS OFF Delay time must be set to at least 2ms If you encounter problems the time can be increased e Station Number The possible range for Modbus slave numbers is from 1 to 247 but the DL05 network instructions used in Master mode will access only slaves 1 to 99 Each slave must have a unique number At powerup the port is automatically a slave unless and until the DLO5 executes ladder logic network instructions which use the port as a master Thereafter the port reverts back to slave mode until ladder logic uses the port again e Baud Rate The available baud rates include 300 600 1200 2400 4800 9600 19200 and 38400 baud Choose a higher baud rate initially reverting to lower baud rates if you experience data errors or noise problems on the network Important You must configure the baud rates of all devices on the network to the same value Refer to the appropriate product manual for details e Stop Bits Choose 1 or 2 stop bits for use in the protocol e Parity Choose none even or odd parity for error checking Then click the button indicated to send the Port configuration to the CPU and click gt Cia Close 4 6 DL05 Micro PLC User Manual 6th Edition Rev C Chapter 4 Configuration and Connections DirectNET Port Configuration In DirectSOFT 5 choose the PLC menu then Setup then Secondary Comm Port e Port From the port nu
20. ommunicates with the slave When the bit is off the program can initiate the next network request The Port Communication Error bit turns on Interlocking Relay when the PLC has detected an error Use of this bit SP116 C100 is optional When used it should be ahead of any VKH KF201 network instruction boxes since the error bit is reset when an RX or WX instruction is executed LD s Multiple Read and Write Interlocks If you are using multiple reads and writes in the eee RLL program you have to interlock the routines to make sure all the routines are executed If you dont a use the interlocks then the CPU will only execute Interlocking VXO the first routine This is because each port can only Relay handle one transaction at a time D In the example to the right after the RX instruction is executed CO is set When the port ie LD has finished the communication task the second A KF201 routine is executed and C0 is reset LD K0003 LDA 040400 WX VYO C100 RST DL05 Micro PLC User Manual 6th Edition Rev C H 17
21. on DLO5 Data Types Available Read a group of coils Y CR T CT Read a group of inputs X SP Set Reset a single coil Y CR T CT Set Reset a group of coils Y CR T CT Read a value from one or more registers Write a value into a single register Write a value into a group of registers Determining the Modbus Address There are typically two ways that most host software conventions allow you to specify a PLC memory location These are e By specifying the Modbus data type and address e By specifying a Modbus address only NOTE For information about the Modbus protocol see the Group Schneider website at www schneiderautomation com At the main menu select Support Services Modbus Modbus Technical Manuals PI MMBUS 300 Modbus Protocol Reference Guide or search for PIMBUS300 For more information about the DirectNET protocol order our DirectNET User Manual DA DNET M or download the manual free from our website www automationdirect com Select Manuals Docs onlineusermanuals misc DA DNET M 4 8 DLO5 Micro PLC User Manual 6th Edition Rev C Chapter 4 Configuration and Connections If Your Host Software Requires the Data Type and Address Many host software packages allow you to specify the Modbus data type and the Modbus address that corresponds to the PLC memory location This is the easiest method but not all packages allow you to do it this way The actual equation used to
22. the LDA master transfer area instruction converts it to hex and places the result in LDA the accumulator 040600 4 For a WX instruction the DL05 CPU sends the number of bytes previously specified from its yS p y SP MSB V40600 LSB memory area beginning at the LDA address specified For an RX instruction the DL05 CPU reads the 15 0 number of bytes previously specified from the slave 40601 laci MSB LSB placing the received data into its memory area beginning at the LDA address specified 15 0 NOTE Since V memory words are always 16 bits you may not always use the whole word For example if you only specify 3 bytes and you are reading Y outputs from the slave you will only get 24 bits of data In this case only the amp least significant bits of the last word location will be modified The remaining 8 bits are not affected Step 4 Specify Slave Memory Area The last instruction in our sequence is the WX or RX SP116 LD instruction itself Use WX to write to the slave and RX KF201 to read from the slave All four of our instructions are shown to the right In the last instruction you must LD specify the starting address and a valid data type for the K64 slave e DirectNET slaves specify the same address in the WX LDA and RX instruction as the slave s native I O address 040600 e Modbus DL405

Download Pdf Manuals

image

Related Search

Related Contents

Sony CDX-GT56UIW Marketing Specifications  WORKSHOP MANUAL KD 425-2  DCS User Manual EN  Tripp Lite 2-Year Extended Warranty  MANUAL DE USUARIO - Inicio Ventanilla Única  Mod. INCEEL Code PSCHP01300 PSCHP1399    MD 1 Vario-SP/MD 1 Diaphragm Pumps  Leica TS11/TS15 User Manual - Surveying Technologies and  Windows 2000-Webserver œ Empfohlene  

Copyright © All rights reserved.
Failed to retrieve file