Home
Chapter 5 - AutomationDirect
Contents
1. FA ISOCON RS 232 to RS 485 converter with ANTE Comm Port Connect shield to signal ground at one end only 7 Node 2 120Q Termination Resistor at both ends of network r p M AER A cable that will connect the DL450 to the FA ISO CON can be constructed using the D B25 pin male to RJ12 adapter and the RJ12 6P6C cable from the FA CABKIT Ethernet Connection using GS EDRV 100 The GS EDRV 100 provides a high performance Ethernet link between a control system and a DURAPULSE AC prive It mounts on DIN rail and connects a drive to an Ethernet hub switch or PC The GS EDRV 100 processes signals to and from the drive It formats the signals to conform with the Ethernet standard to the H 2 ERM 100 or H4 ERM 100 KEPdirect EBC I O server or independent controller with a MODBUSTCP IP driver This Ethernet interface allows for great connectivity to many control system architectures An additional feature is the built in web browser which allows users to configure and control the drive from any web browser via the IP address of the G S ED RV 100 card 5 18 Bl DURAruse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM Step 3 Set AC Drive Parameters The following parameters need to be set as shown in order to communicate properly P3 00 03 or 04 O peration D etermined by RS 485 interface Keypad STOP is enabled 03 or disabled 04 P4 00
2. C104 22 Drive 1 Direction New 1 DS302 Drive 1 Fwd Rev C104 23 Drive 1 Direction New 1 DS302 Rungs 24 amp 25 select Ext Fault or no fault based on C105 Drive 1 Fault C105 24 Drive 1 Ext Fault New 1 DS303 Drive 1 Fault C105 25 Drive 1 Ext Fault New 1 DS303 Rungs 26 amp 27 select Fault Reset or no reset based on C106 Drive 1 Ext Fault Reset C106 26 Drive 1 Fault Reset New 1 DS304 Drive 1 Ext Fault Reset C106 27 Drive 1 Fault Reset New 1 DS304 Continued next page IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 31 Chapter 5 DURAPULsE MODBUS Communications Eg MM CLICK Communication Program continued The remaining rungs are for Drive 2 communications Status from Drive 2 Drive Z2 Fault 1 DS20 1 1 C20 28 gt SET Drive 2 Fault Indication Drive Z2 Fault C107 C20 29 kC RST Status from Drive 2 Drive 2 Overload 1 DS20 1 4 C21 30 SET Drive 2 Overload Indicator Drive 2 Overload C108 C21 31 E ser This rung determines if the Speed Direction Ext Fault or Fault Reset words have changed and need to be written Drive 2 Speed Drive 2 Speed Drive 2 Speed Ref Ref Retain Write Enable 1 DS330 C30 Ref New 1 DS320 32 Drive 2 Drive 2 Direction New Direction Retain 1 DS322 1 DS332 z Drive 2 Run CMD Drive 2 Speed Ref Write Enable Write Enable Drive
3. f 5 45VDC in 1 2 DPX 2 ON RS 485 TXD RXD jumpers 6 Signal Ground Recommended cable for RS 232 Belden 8102 or equivalent Recommended cable for RS 485 Belden 9842 or equivalent EE Various pre terminated cables for specific wiring connections are available from AutomationD irect as listed in applicable individual wiring sections of this chapter 5 16 ll DURAruse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications RS 232C to RS 485 Conversion continued Use the following wiring diagrams to connect DirectLO GIC RS 232C PLCs to a DURAPuLSE Series AC drive with an FA ISO CON network adapter module DLO5 RS 232C to RS 485 Connection Wiring 1200 Termination Resistor at both ends of network Cl Jay No connection DLOS 10V 4 6 COMA COMA for son ii 5 5VDC D TXD A 4 TXDi i1 3 RXD TAp n 5 RTS i 2 CTS RAD 4 COMA RADY COM B FA ISOCON I RS 232 to RS 485 converter with ANTE Connect shield Comm Port to signal ground at one end only Connect shield to signal ground at one end only 1200 Termination Resistor at both ends of network guns Cable DO DSCBL 12ft 3 7m is available for connecting the DLO5 to the FA ISO CON For a single run to only one AC Drive cable GS ISO CO
4. This rung writes the new value for the Run Command word to its comparison location so the code can again start watching for changes Drive 2 Drive 2 Run CMD Run CMD Write Enable Write Finished LD C42 C44 Drive 2 Run CMD New V3021 37 OUT Drive 2 Run CMD Retain V3031 Drive 2 Run CMD Write Enable C42 RST Drive 2 Run CMD Write Finished C44 RST Continued next page 5 64 ll DURAPuULse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications DL RX WX Communication Program continued Rungs 38 amp 39 select either 30Hz or 60Hz based on X23 Drive 2 Speed Control bit 60 30Hz X23 38 OUT Speed Ref New V3020 Drive 2 Drive 2 Speed Control bit 60 30Hz X23 LD 39 K600 OUT prive 2 Speed Ref New V3020 Rungs 40 amp 41 select Run or Stop based on X25 Drive 2 Run Stop X25 40 OUT prive 2 Run CMD New v3021 Drive 2 Run Stop X25 LD 41 KO OUT Drive 2 Run CMD New V3021 Continued next page IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 65 Chapter 5 DURAPuLsE MODBUS Communications DL RX WX Communication Program continued Rungs 42 amp 43 select Direction based on X26 Drive 2 Forward Reverse X26 42 OUT prive 2 Direction New V3022 Drive 2 Forward Reverse X26 LD 43 KO OUT Drive 2 Direction New V3002 Rungs 44 amp
5. No fault occurred Over current oc Over voltage ov Overheat oH Overload oL 05 Thermal O verload 1 oL 1 Over torque 0L2 External Fault EF CPU Failure 1 cF1 CPU Failure 2 cF2 CPU Failure 3 cF3 Hardware Protection Failure HPF Over current during accel ocA 2110 48465 h2100 Over current during decel ocd Over current during steady state ocn Ground Fault or Fuse Failure GFF Low Voltage Lv Input Power 3 phase Loss PHL External Base Block bb Auto Adjust accel decel Failure cFA Software Protection Code codE PID Feedback Loss FbE Encoder Feedback Loss EN CO DER LO SS Output Shorted occ Momentary Power Loss MOM POWER LO SS Some error codes will not display under status address if only a warning message The drive must have a hard trip To manually check this set External Fault to Terminal Control and trip This will simulate the result of a hard trip 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 11 Chapter 5 DURAPuLsE MODBUS Communications Status Monitor 2 h2101 GS3 Memory Address GS3 Lo Data e hexadecimal 44 Eis 2101 PEPEE EEEE TEET T SN hu o DM iv o Vv WV Bit Values g d y G vy o o S ESF Q MOS decimal Status Monitor 2 Memory Address h2101 Bit s Value AC Drive Status Binary Decimal
6. P0 00 Motor Nameplate Voltage P0 01 Motor Nameplate Amps P0 02 Motor Base Frequency P0 03 Motor Base RPM P0 04 Motor Maximum RPM P0 05 MotorAuto Tune P0 06 Motor Line to Line Resistance R1 P0 07 Motor No Load Current Ny OI Bl 0c hJ rnc Ramp Paramete P1 00 Stop Methods 0100 40257 9 P1 01 Acceleration Time 1 0101 40258 9 P1 02 Deceleration Time 1 0102 40259 P1 03 Accel S curve 0103 40260 P1 04 Decel S curve 0104 40261 P1 05 Acceleration Time 2 0105 40262 P1 06 Deceleration Time 2 0106 40263 P1 07 Select method to use 2nd Accel D ecel 0107 40264 P1 08 Accel 1 to Accel 2 frequency transition 0108 40265 P1 09 Decel 2 to Decel 1 frequency transition 0109 40266 P1 10 Skip Frequency 1 010A 40267 P1 11 Skip Frequency 2 010B 40268 P1 12 Skip Frequency 3 010C 40269 P1 13 Skip Frequency 4 010D 40270 P1 14 Skip Frequency 5 010E 40271 P1 17 Skip Frequency Band 0111 40274 P1 18 DC Injection Current Level 0112 40275 P1 20 DC Injection during Start up 0114 40277 P1 21 DC Injection during Stopping 0115 40278 P1 22 Start point for DC Injection 0116 40279 For Modbus Decimal addresses used with CLICK PLCs insert another zero as the next to most significant digit e g 402333 instead of 42333 Parameter can be set during RUN Mode 5 4 DURAPULsE AC Drive User Manual 1st Ed Rev D 05 2013 Chapte
7. This rung writes the new values for Speed Ref Direction Ext Fault and Fault Reset words to their comparison locations so the code can again start watching for changes Drive 2 Drive 2 Drive Z2 Speed Speed Ref Direction Fault Reset Direction Fault Reset Write Enable Write Enable Writes Finished C40 C41 C43 LD Drive 2 k 1 Speed Ref New V3020 OUT prive 2 Speed Ref Retain V3030 LD prive 2 Direction New V3022 OUT prive 2 Direction Retain V3032 LD prive 2 Ext Fault New V3023 OUT prive 2 Ext Fault Retain V3033 LD Drive 2 Fault Reset New V3024 OUT prive 2 Fault Reset Retain V3034 Drive 2 Speed Ref Write Enable C40 RST Drive 2 Direction Fault Reset Write Enable C41 RST Drive 2 Speed Direction Fault Reset Writes Finished C43 RST Continued next page IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 63 Chapter 5 DURAPULsE MODBUS Communications Eig MM DL RX WX Communication Program continued Rungs 35 amp 36 write to the Run Command word if it changes Drive 2 Drive 2 Drive 2 Drive 2 Drive 2 Run CMD Run CMD Speed Ref Run CMD Run CMD New Retain Write Enable Write Enable Write Enable V3021 V3031 C40 C42 C42 36 4 HEE Drive 2 Run CMD Port Busy Write Enable SP116 C42 36 Drive 2 Run CMD Writes Finished C44 SET
8. 00 0 Drive operation stopped STOP 01 1 Run to Stop transition 10 2 Standby 11 3 Drive operation running RUN 1 4 JOG active 00 0 Rotational direction forward FWD 01 8 REV to FWD transition 10 16 FWD to REV transition 11 24 Rotational direction reverse REV N A Reserved 1 32 Source of frequency determined by serial comm interface P4 00 5 1 64 Source of frequency determined by Al terminal P4 00 2 3 4 or 6 1 128 Source of operation determined by serial comm interface P3 00 3 or 4 1 256 Parameters have been locked P9 07 1 N A Copy command eable Frequency Command F XXX X h2102 Status location for the frequency setting of the AC drive Output Frequency H XXX X h2103 Status location for the actual operating frequency present at the T1 T2 and T3 terminal Output Current A h2104 Status location for the output current present at the T1 T2 and T3 terminals DC BUS Voltage d XXX X h2105 Status location for the DC Bus Voltage 5 12 Bl DURAPuLse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM E Output Voltage U XXX X h2106 Status location for the output voltage present at the T1 T2 and T3 terminals Motor RPM h2107 Status location for the present estimated speed of the motor Scale Frequency Low word h2108 Status location for result of output frequency x P 8 01 low word Scale Frequency High word h2109 Status location for res
9. 45 select Ext Fault or no fault based on X27 Drive 2 Ext Fault X27 44 OUT prive 2 Ext Fault New V3023 Drive 2 Ext Fault X27 LD OUT Drive 2 Ext Fault New V3023 Rungs 46 amp 47 select Fault Reset or no reset based on X30 Drive 2 Ext Fault Reset X30 46 OUT prive 2 Ext Fault Reset New V3024 Drive 2 Ext Fault Reset X30 LD 47 KO OUT prive 2 Ext Fault Reset New V3024 48 END 5 66 ll 2URAputse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications Communicating with Third party Devices The DURAPULSE RJ 12 Serial Comm Port will accommodate an RS 485 connection An RS 485 network cable can span up to 1000 meters 4000 feet The DURAPULSE AC drive communication address is specified by P9 00 The third party device then controls each AC drive according to its communication address The DURAPuLsE AC drive can be set up to communicate on standard MODBUS networks using the following transmission modes ASCII or RTU Using the Communication Protocol parameter P9 02 you can select the desired mode data bits parity and stop bits The mode and serial parameters must be the same for all devices on a MODBUS network DURApuLse RS 485 Serial Comm Port GS3 Serial Comm Port 1 15V RS 485 Interface Da RJ12 6P6C 4 RAN 5 nc 6 reserved ganas DU RAPuLse drives have a provision for shutting down control or power to the i
10. D 05 2013 DURAPULsE AC Drive User Manual 5 21 Chapter 5 DURAPULsE MODBUS Communications Eig MM Configure the DirectLO GIC CPUs continued DirectLO GIC MO DBUS Port Configuration for DL05 D2 250 1 or D4 450 The following configuration example is specific to the D 2 250 1 and DLO5 Refer to the appropriate CPU User M anual for the specifics on your DirectLogic CPU n DirectSO FT choose the PLC menu then Setup then Secondary Comm Port From the Port list box choose Port 2 e For the Protocol select MO DBUS In the Timeout list box select 800 ms e Response Delay Time should be Oms e The Station Number should be set to 1 to make the D2 250 1 or DLO5 CPU a MODBUS Master The Baud Rate should be set at 9600 or higher if using an FA ISO CON network adapter module n the Stop Bits list box choose 1 n the Parity list box choose O dd The DL250 network instructions used in Master mode will access only slaves 1 to 90 Each slave must have a unique number Setup Communication Ports x Port Port 2 Close Protocol K Sequence DirectNET Se Iv MODBUS ord eid Help Non Sequence Remote 1 0 Time out 800 ms Y Response delay time o ms Station Number f 4 Baud rate 9600 s Stop bits 1 v Parity Odd Y Port 2 15 Pin 5 22 ll DURAputse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODB
11. IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 75 Chapter 5 DURAPULsE MODBUS Communications Eg MM Additional Message Delay Times So we have the total transmission time for sending a message and receiving a reply but this does not include all of the delays for a given message The receiving device must have time to process the receipt of a message and formulate a reply The amount of time that the receiving device needs will vary greatly depending upon the hardware platform and other processes that the device is running For the previous example message the GS Drive responds in 4ms when the drive is stopped and will respond in 5ms when the drive is running This may vary somewhat depending upon the specific parameter values and the size of the request Modbus specified Delays Between M essages There is one additional time delay required in the Modbus protocol The protocol specifies at least a 3 5 character delay between messages For the settings above a 3 5 character time in our example would be about 2ms So the total time required for the message sent above would be 7 4 ms Transmission time for sending message 5 0 ms response delay from GS Drive when drive running 4 6 ms Transmission time for reply message 2 0 ms Modbus message wait delay 19 0 ms approximately Remember from our description this is purely the time from when the message leaves the serial port to when the reply is received back in to the ser
12. bit 8 bit character FT 11 bit character frame P9 02 05 8 data bits odd parity 1 stop bit Start 0 1 2 3 4 5 6 7 Odd Stop bit parity bit 8 bit character EM 11 bit character frame 5 68 ll 2URArutse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM Communication Protocol ASCII Mode STX Start Character 3AH ADR1 ADRO CMD 1 CMD 0 Communication Address 8 bit address consists of 2 ASCII codes DATA n 1 Contents of data n x 8 bit data consists of 2n ASCII codes n lt 25 maximum of 50 ASCII codes LRC CHK 1 LRC CHK 0 LRC check sum 8 bit check sum consists of 2 ASCII codes END 1 END 0 RTU Mode START END characters END 1 2 CR ODH END 0 LF OAH A silent interval of more than 10 ms ADR Communication Address 8 bit address CMD Command Code 8 bit command DATA n 1 Contents of data n x 8 bit data n x 25 CRC CHK Low CRC CHK High CRC check sum 16 bit check sum consists of 2 8 bit characters END A silent interval of more than 10 ms ADR Communication Address Valid communication addresses are in the range of 0 to 254 A communication address equal to 0 means broadcast to all AC drives in which case the drives will not reply any message to the master device F
13. 05 Frequency determined by RS 485 communication interface P9 00 XX Communication address 1 254 unique for each device see P9 00 P9 01 01 9600 baud data transmission speed higher baud rate setting may be required with FA ISO CON network adapter set adapter DIP switches accordingly P9 02 05 MODBUS RTU mode 8 data bits odd parity 1 stop bit This list of parameter settings is the minimum required to communicate with a E DirectLO GIC PLC There may be other parameters that need to be set to meet the needs of your particular application Step 4 Configure the PLC CPU The PLC CPUs must be configured to communicate with the DURAPuLsE AC drives This configuration includes setting up the communication port and adding instructions to your logic program The set up for all of the AutomationDirect PLC CPUs is very similar although there are some subtle differences between CPUs Refer to the appropriate CPU U ser M anual for the specifics on your specific PLC CPU if more details are needed For instructions on Modbus Configuration for your specific PLC CPU refer to the appropriate PLC User Manual Configure the CLICK PLC Configure the CLICK CPU communication port before writing communication instructions into your logic program For more detailed instructions on Modbus Configuration for your CLICK refer to the CLICK PLC Hardware User M anual CO U SER M or to the CLICK software help file IstEd Rev D 0
14. 2 Ext Drive 42 Ext C32 C30 Fault Retain 1 DS333 Fault New 1 DS323 SET Drive 2 Fault Reset Retain 1 DS334 Drive 2 Fault Reset New 1 DS324 Continued next page 5 32 lb DURAruse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM P CLICK Communication Program continued This rung writes the new Speed Reference if it changes Port 3 Ready Flag Drive 42 Speed Ref Write Enable SC102 C30 Send Port3 Drive 2 Direction Slave ID Fault Reset Modbus Function Code C215 Write Enable Slave Addr C31 Drive 2 Speed Ref New Master 1 DS320 Drive 2 Direction Fault Reset Write Enable C31 SET This rung writes the Direction Ext Fault and Fault Reset words if any of them changes _Port_3_Ready_Flag Drive 2 Speed Ref Write Enable SC102 Drive Z2 Direction Fault Reset Modbus Function Code C218 Write Enable Slave Addr C31 NO of Master Addresses Word Swap Drive Z2 Direction New 1 DS322 Drive 22 Speed Direction Fault Reset writes finished C33 SET Continued next page IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 33 Chapter 5 DURAPULsE MODBUS Communications Eg MM CLICK Communication Program continued This rung writes the new values for Speed Ref Direction Ext Fault and Fault Reset words to their comparison locations so the code can again start watching
15. Basic CPU with Send Receive instructions amp RS 232 comm port Secondary Choices 5 555 5591 or 4 450 with RX WX instructions amp RS 232 comm port Step 2 Make the Connections DURApuLse RS 485 Serial Comm Port GS3 Serial Comm Port 1 15V RS 485 Interface E RJ12 6P6C Ps RE 5 nc 6 reserved The DURAPULSE Comm Port requires an RS 485 input RS 232 signals can be converted to RS 485 by using a separate converter PLC Connections for RS 485 Modbus RTU Control of DURAputs Drive PLC PLCPort Communication Direct Cable Length CLICK 3 RS 485 ZL RJ12 CBL 2P 2m 6 6 ft DLO5 Zee RS 232 RS 485 N A DLO06 DO DCM RS 485 GS 485HD15 CBL 2 2m 6 6 ft D2 DCM i xk D2 250 1 RS 232 RS 485 N A DURAPurse GS3 D 2 260 RS 485 GS 485HD15 CBL 2 2m 6 6 ft D4 450 SUE RS 232 RS 485 N A If a PLC type or port is not listed in this chart it cannot function as a Modbus RTU master Requires RS 232 RS 485 converter amp generic cabling options described later in this chapter Termination resistors not required due to short cable length 5 14 B DURAPuLsE AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM E RS 485 Connections For Multiple Drives ZIPLink RS 485 communication boards ZL CDM RJ12X4 or ZL CDM RJ12X10 provide an easy means to break out the RS 485 sign
16. N CBL 2 2m 6 6ft is available LJ for directly connecting the FA ISO CON to the GS3 Com Port DO DCM DL250 1 RS 232C to RS 485 Connection Wirin 1200 Termination Resistor DO DCM DL250 1 at both ends of network PORT 2 24VDC 24VDC GS3 Comm Port 3 RXD i 4 TXD 4 RTS 7 GND 6 GND p COMB FA ISOCON m RS 232 to RS 485 converter with ANTE Connect shield Comm Port to signal ground at one end only Connect shield to signal ground at one end only 1200 Termination Resistor at both ends of network meee A cable that will connect the DO DCM or DL250 1 to the FA ISOCON can be iE constructed using the FA 15HD adapter and the DO CBL cable A cable can also be constructed using the FA 15HD adapter and RJ12 6P6C cable from the FA CABKIT 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 17 Chapter 5 DURAPuLsE MODBUS Communications RS 232C to RS 485 Conversion continued DL350 DL450 RS 232C to RS 485 Connection Wiring 1200 Termination Resistor DL350 PORT 2 at both ends of network DL450 PORT 1 Cl Tay 24vDC COMA 24VDC J Nve0e 0e 0 0 0 00000 99 9 2 TXD GS3 f Comm Port
17. of comm attempts that failed Port 3 Error Flag Counter SC103 CT2 SetPoint Current CT2 Read Drive 1 Error C202 Read Drive 2 Error C205 This rung acts as an alternator allowing the following logic to alternate between Drive 1 and Drive 2 If there were additional drives the Setpoint for the counter would simply be increased to match the number of drives Port 3 Ready Flag SC102 Coordinates the CT3 Receive boxes so they toggle back and forth Comm Interlock Counter Coordinates the Receive boxes CT3 so they toggle back and forth 12 Comm Interlock Counter CTD3 Complete CT3 Continued next page 5 24 ll DURAPULse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications Te CLICK Communication Program continued This rung checks to see if it is time to communicate to Drive 1 and also if there are no current Write requests to that drive If not it reads data from Drive 1 _Port_3_Ready_Flag Drive 1 Speed Ref Write Enable IBISC102 2 CTD3 ulo B C10 4 Receive Port3 Drive 1 Direction Drive 1 CMD Slave ID Fault Reset Write Enable Modbus Function Code C200 Write Enable Slave Addr C11 C12 NO of Master Addresses Word Swap Read Drive 1 Success Status from Drive 1 Master D DS1 C201 Success Read Drive 1 Error IB C202 ps100 This rung checks to see if it is time to communicate
18. of unsigned integer Unsigned int crc chk unsigned char data unsigned char length int j unsigned int reg crc OxFFFF while length reg crc data for j 0 j lt 8 j if reg_crc amp 0x01 LSB b0 1 reg_crc reg_crc gt gt 1 0xA001 Jelse reg_crc reg_crc gt gt 1 return reg crc i RTU mode is preferred Limited support is available to ASCII users IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 73 Chapter 5 DURAPULSE MODBUS Communications Comm Delay Optimizing Communications Optimizing Communications to GS Drives In most cases optimizing communications to GS Drives MAY NOT BE NECESSARY If you are only communicating to one or two drives and reading or writing only a few parameters the communication speed will most likely be sufficient for your application However in the case that the communication speed reaction time from reading or writing an event to a given drive is too slow you may need to take a more detailed look at how your code is designed to communicate to the GS Drives in your application To properly design the system it is necessary to understand all of the propagation delays that are incurred when triggering the event to send a Modbus message to the point of receiving the data or status of the reply into the PLC or Modbus master To determine the time necessary to transmit a message from the Master to the Slave and vice versa we must first dete
19. page 5 52 l DURAruse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications DL MRX MWX Communication Program continued Rungs 42 amp 43 select Direction based on X26 Drive 2 Forward Reverse X26 42 OUT prive 2 Direction New V3022 Drive 2 Forward Reverse x26 LD 43 KO OUT Drive 2 Direction New V3002 Rungs 44 amp 45 select Ext Fault or no fault based on X27 Drive 2 Ext Fault X27 44 OUT prive 2 Ext Fault New V3023 Drive 2 Ext Fault X27 LD 45 KO OUT Drive 2 Ext Fault New V3023 Rungs 46 amp 47 select Fault Reset or no reset based on X30 Drive 2 Ext Fault Reset X30 46 OUT prive 2 Ext Fault Reset New V3024 Drive 2 Ext Fault Reset X30 LD 47 KO OUT Drive 2 Ext Fault Reset New V3024 48 END IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 53 Chapter 5 DURAPuLsE MODBUS Communications DL RX WX Communication Program for DLO5 D2 250 1 D4 450 This program is for illustrational purposes only and is not intended for a true application This rung counts the number of times the PLC attempts to communicate to the drive Port Busy SP116 CTO This rung counts the number of times an attempted communication to the drive fails Port Comm Fail SP117 CT1 This rung acts as an alternator allowing the following logic to alternate between communica
20. see that is much faster to take the additional hit from four extra bytes in the reply message than it would be to send a separate message NOTE that you cannot read across non contiguous M odbus addresses so this typically only works when reading within the Status registers or in a Parameter category P9 xx P1 xx etc 2 Only send a write message when the value changes in the Master device Itis simpler to setup your communications instructions to read and write all the time but it wastes precious network time to write the same value to the GS drive over and over if that value is not changing W rite some simple logic that only triggers a write command when the value to be sent has changed For more specific instructions on how to configure and or interlock in detail the individual communications instructions consult your PLC or Modbus Master D evice user manual If using DirectLogic PLCs as the Modbus Master consult the Dx USER M manuals for specifics on configuring the individual communications instructions and look at the Hx ECO M M manual for information on interlocking communications instructions 5 78 lil 2uRAputse AC Drive User Manual 1st Ed Rev D 05 2013
21. 0 03 and we need to prevent a change in one of the other commands from overriding a keypad Stop Command by causing a previous Run Command to be rewritten to the drive By using a separate Run Command write instruction only a deliberate Run Command change by the program will run the drive again after a stop Block Transfer Parameters for Modbus Programs For writing to any of the parameters from P0 00 to P8 02 a group of 15 block transfer parameters P9 11 to P9 25 is available in the DURAPurse AC drive This sequential block of parameters can be used to group various miscellaneous non sequential parameters so that you can update the parameters in one programming write block instead of having to use multiple write commands For example it would typically take three different write commands to change the three non sequential parameters Accel Time 1 P1 01 Accel S curve P1 03 and M ulti speed 1 P5 01 However you could make the same three changes using one write command by setting P9 11 to P1 01 P9 12 to P1 03 and P9 13 to P5 01 so that the parameters become sequential IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 23 Chapter 5 DURAPULsE MODBUS Communications CLICK Communication Program for CLICK PLCs This rung counts the number of times the PLC attempts to communicate with the drives Port 3 Ready Flag SC102 CT1 1 9999 BICT4 T CTD1 This rung counts the number
22. 1 0915 42326 9 P9 22 Block Transfer Parameter 12 0916 42327 9 P9 23 Block Transfer Parameter 13 0917 42328 9 P9 24 Block Transfer Parameter 14 0918 42329 9 P9 25 Block Transfer Parameter 15 0919 42330 9 P9 26 Serial Comm RS 485 Speed Reference 091A 42331 9 P9 27 Serial Comm RUN Command 091B 42332 9 P9 28 Serial Comm Direction Command 091C 42333 9 P9 29 Serial Comm External Fault 091D 42334 9 P9 30 Serial Comm Fault Reset 091E 42335 9 P9 31 Serial Comm JOG Command 091F 42336 P9 39 Firmware Version 0927 42344 9 P9 40 Parameter Copy 0928 42345 P9 41 GS Series Number 0929 42346 P9 42 Manufacturer Model Information 092A 42347 For Modbus Decimal addresses used with CLICK PLCs insert another zero as the next to most significant digit e g 402333 instead of 42333 Some parameters are available only in later firmware versions of DU RAPuLsE drives Refer to P9 39 and DU RAputse Parameter Summary in Chapter 4 for more information Parameter can be set during RUN Mode 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 9 Chapter 5 DURAPuLsE MODBUS Communications Eg MM Parameter Memory Addresses continued Modbus Parameter Description Hexadecimal Decimal Encoder Feedback Parameters P10 00 Encoder Pulse per Revolution 0A00 42561 P10 01 Encoder
23. 1 C40 C42 C42 35 p p HAC ser Drive 2 Run CMD Port Busy Write Enable MWX SP116 C42 CPU DCM Slot Port Number 36 Slave Address Function Code 06 Preset Single Register Start Slave Memory Address K42332 Start Master Memory Address V3031 Number of Elements n a Modbus Data type 584 984 Mode Exception Response Buffer V5025 Drive 2 Run CMD Writes Finished C44 SET This rung writes the new value for the Run Command word to its comparison location so the code can again start watching for changes Drive 2 Drive 2 Run CMD Run CMD Write Enable Write Finished C42 C44 LD Drive 2 Run CMD New V3021 37 OUT prive 2 Run CMD Retain V3031 Drive 2 Run CMD Write Enable C42 RST Drive 2 Run CMD Write Finished C44 RST Continued next page 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 51 Chapter 5 DURAPuLsE MODBUS Communications DL MRX MWX Communication Program continued Rungs 38 amp 39 select either 30Hz or 60Hz based on X23 Drive 2 Speed Control bit 60 30Hz X23 38 OUT prive 2 Speed Ref New V3020 Drive 22 Speed Control bit 60 30Hz X23 39 OUT Drive 2 Speed Ref New V3020 Rungs 40 amp 41 select Run or Stop based on X25 Drive 2 Run Stop X25 40 OUT prive 2 Run CMD New V3021 Drive 2 Run Stop X25 41 OUT prive 2 Run CMD New V3021 Continued next
24. 15 Modbus Data type 584 984 Mode Exception Response Buffer V5003 The following 21 rungs 6 26 are for slave 1 communications control This rung turns on C1 if there is a fault in drive 1 Drive 1 Fault v2000 K1 C1 gt SET This rung allows a switch on input X1 to reset the C bit used to indicate a drive 1 fault Drive 1 Fault Indication Reset Drive 1 Fault X1 C1 WA RT C41 This rung turns on C2 if drive 1 has an overload fault Drive 1 OL K4 C2 This rung allows a switch on input X2 to reset the overload fault bit C2 Drive 1 Overload Indication Reset Drive 1 OL Continued next page 5 42 l DuRAputse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM DL MRX MWX Communication Program continued This rung checks to see if the drive Speed Direction External Fault or Fault Reset conditions have been changed in the local program and need to be written to drive 1 Drive 1 Drive 1 Drive 1 Speed Ref Speed Ref New Speed Ref Retain Write Enable V3000 V3010 C10 x Drive 1 Drive 1 Direction New Direction Retain V3002 3012 d Drive 1 Drive 1 Drive 1 Drive 1 Run CMD Speed Ref External Fault New Ext Fault Retain Write Enable Write Enable V3003 V3013 C12 C10 SET Drive 1 Drive 1 Fault Reset New Fault Reset Retain V3004 3014 x This rung writes the new Speed Reference if it cha
25. 5 2013 DURAPULsE AC Drive User Manual 5 19 Chapter 5 DURAPuLsE MODBUS Communications Eig MM CLICK Port 3 MODBUS Configuration for RS 485 The following configuration example is specific for CLICK PLC CPUs Configure the communication port before writing communication instructions into the logic program In CLICK programming software open the Comm Port Setup Details dialog box by choosing the Setup menu then Comm Port Setup then Port 2 Setup e From the Port list box choose Port 3 e For the Protocol list box select Modbus Set the Node Address to 1 to make the CLICK PLC aMODBUS master Set the Baud Rate to 19200 Setthe Parity to O dd Setthe Stop Bit to 1 e Set the Time out Setting to 500ms e Set the Response Delay Time to Oms Com Port Setup Details ERE X Port TN Protocol Modbus Basic Configuration r Wiring Details Node Address 1 247 1 p Baud Rate bps 19200 Parity Odd 3 pin Removable Terminal Block Stop Bit 1 oammunication Data hit c Lam Advanced Configuration LG E Time out Setting 500 ms Y Port3 RS 485 Non isolation Character Time out 2 1000ms 2 E PTS ON Delay a Sg nms p Response Delay Time 0 5000ms 0 zi e orem The communication port settings are saved in the project file The project must be transferred to the
26. 6 Auto Adjustable Accel D ecel 0606 41543 P6 07 O ver Torque Detection M ode 0607 41544 P6 08 O ver Torque Detection Level 0608 41545 P6 09 O ver Torque Detection Time 0609 41546 P6 10 O ver Current Stall Prevention during Acceleration 060A 41547 P6 11 O ver Current Stall Prevention during O peration 060B 41548 P6 12 Maximum Allow able Power Loss Time 060C 41549 P6 13 Base Block Time for Speed Search 060D 41550 P6 14 Maximum Speed Search Current Level 060E 41551 P6 15 U pper Bound of Output Frequency 060F 41552 P6 16 Lower Bound of O utput Frequency 0610 41553 P6 17 O ver Voltage Stall Prevention Level 0611 41554 P6 18 Braking Voltage Level 0612 41555 P6 30 Line Start Lockout 061E 41567 P6 31 Present Fault Record 061F 41568 P6 32 Second Most Recent Fault Record 0620 41569 P6 33 Third M ost Recent Fault Record 0621 41570 P6 34 Fourth M ost Recent Fault Record 0622 41571 P6 35 Fifth Most Recent Fault Record 0623 41572 P6 36 Sixth M ost Recent Fault Record 0624 41573 P6 37 Hunting Gain 0625 41574 For Modbus Decimal addresses used with CLICK PLCs insert another zero as the next to most significant digit e g 402333 instead of 42333 Som
27. CLICK PLC in order for any port setting changes to take effect 5 20 ll DURAruse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM EE Configure the DirectLOGIC CPUs DirectLO GIC MOD BUS Port Configuration for D 2 260 and D L06 The following configuration example is specific to the D2 260 and DLO6 Refer to the appropriate CPU User M anual for the specifics on your DirectLO GIC CPU In DirectSO FT choose the PLC menu then Setup then Secondary Comm Port From the Port number list box atthe top choose Port 2 e For the Protocol select MO DBU S e Response Delay Time should be Oms Both RTS on and off delay times must be set to 0ms The Station Number should be set to 1 to make the D2 260 or DLO6 CPU a MODBUS master The Baud Rate should be set at 9600 or higher if using an FA ISO CON network adapter module n the Stop Bits list box Choose 1 n the Parity list box choose Odd Pott Port 2 Close Protocol Base Timeout T Th K Sequence 800 ms Tw DirectNET 800 ms Help v MODBUS 500 ms TESI Non Sequence 3 Characters Remote 1 0 Time out Base Timeout x 1 v RTS on delay ime 0ms RTS off delay time Oms Station Number t Baud rate 9600 v Stop Bs v Patty Odd Echo Suppression C RS 422 485 4 wire R5 232C 2 wire RS 485 2 wire Port 2 15 Pin 1st Ed Rev
28. D 24 KO OUT Drive 1 Ext Fault New V3003 Rungs 25 amp 26 select Fault Reset or no reset based on X10 Drive 1 Ext Fault Reset X10 25 OUT prive 1 Ext Fault Reset New Drive 1 Ext Fault Reset NOM X10 LD 26 KO OUT Drive 1 Ext Fault Reset New V3004 Continued next page 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 47 Chapter 5 DURAPULsE MODBUS Communications Eg MM DL MRX MWX Communication Program continued The following 21 rungs 27 47 are for slave 2 communications control This rung turns on C31 if there is a fault in drive 2 Drive 2 Fault K1 C31 27 This rung allows a switch on input X21 to reset the C bit used to indicate drive 2 fault Drive 2 Fault Indication Reset Drive 2 Fault 28 PW RST This rung turns on C32 if drive 2 has an overload fault Drive 2 OL V2000 K4 C32 29 A SET This rung allows a switch on input X22 to reset the overload fault bit C32 Drive 2 Overload Indication Reset Drive 2 OL X22 C32 J st This rung checks to see if the drive Speed Direction External Fault or Fault Reset conditions have been changed in the local program and need to be written to drive 2 30 Drive 2 Drive 2 Drive 2 Speed Ref Speed Ref New Speed Ref Retain Write Enable V3030 C40 V3020 31 Drive 2 Drive 2 Direction New Direction Retain V3022 V3032 Drive 2 Drive 2 Dr
29. D 05 2013 DURAPULsE AC Drive User Manual 5 49 Chapter 5 DURAPULsE MODBUS Communications DL MRX MWX Communication Program continued This rung writes the new values for Speed Ref Direction Ext Fault and Fault Reset words to their comparison locations so the code can again start watching for changes Drive 2 Drive 2 Drive 22 Speed Speed Ref Direction Fault Reset Direction Fault Reset Write Enable Write Enable Writes Finished C40 C41 C43 LD prive 2 __ l Speed Ref New V3020 OUT prive 2 Speed Ref Retain V3030 LD prive 2 Direction New V3022 OUT prive 42 Direction Retain V3032 LD prive 2 Ext Fault New V3023 OUT prive 2 Ext Fault Retain V3033 LD prive 2 Fault Reset New V3024 OUT prive 2 Fault Reset Retain V3034 Drive Z2 Speed Ref Write Enable C40 RST Drive 2 Direction Fault Reset Write Enable C41 RST Drive 2 Speed Direction Fault Reset Writes Finished C43 RST Continued next page 5 50 li 2uRAputse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM DL MRX MWX Communication Program continued Rungs 35 amp 36 write to the Run Command word if it changes Drive 2 Drive 2 Drive 2 Drive 2 Drive 2 Run CMD Run CMD Speed Ref Run CMD Run CMD New Retain Write Enable Write Enable Write Enable V3021 303
30. DURAPULSE MODBUS COMMUNICATIONS Contents of this Chapter Communications Parameters Summary 5 2 DURAPULSE Parameter Memory Addresses lll ee 5 4 DURAPULSE Status Addresses 1 0 es 5 11 Communicating with AutomationDirect PLCs 5 14 Step 1 Choose the Appropriate CPU ccc ees 5 14 Step 2 Make the Connections xg d Eee Send debere d Ree cao 5 14 DURAPuLse RS 485 Serial Comm Port 1 0 ccc ees 5 14 RS 485 Connections For Multiple Drives 00 0c eee eee 5 15 RS 232C to RS 485 Conversion cu ssecs wade ened des BYRD OES Rome m OX ee 5 16 Ethernet Connection using GS EDRV 100 0 cece eee 5 18 Step 3 Set AC Drive Parameters llle 5 19 Step 4 Configure the PLC CPU ccc cee eee 5 19 Configure the CLICK PLC 45s sane dog ce ces m RC EON Tc D 2e a aos 5 19 Configure the Dwed LOGIC CPUS 4552 ada natedecwadee Rn ERR nae oars 5 21 CLICK Modbus Ladder Programming 5 23 Separate Run Command Write Instruction 00 eee eee 5 23 Block Transfer Parameters for Modbus Programs 5 23 CLICK Communication Program for CLICK PLCs 22 2 5 24 continued on next page Chapter 5 DURAPULsE MODBUS Communications Eg MM Contents of this Chapter continued from previous page DirectLOGIC Modbus Ladder Programming 5 38 Separate Run Command Write Instruction 0 00 cee eee 5 38 Block Transf
31. Diagram sasaaa aeea 5 77 Communication Delay Summary 0c ees 5 78 5 1b B DURAruse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM IstEd Rev D 05 2013 DURAputse AC Drive User Manual 5 1 c Chapter 5 DURAPULsE MODBUS Communications EM Communications Parameters Summary A summary of the DU RAPuLsE Communications Parameters is listed below For a complete listing of the DURAPuLsE Parameters refer to CHAPTER 4 Parameter Communications Parameters Summary Description Range P9 00 Communication Address 01 to 254 P9 01 Transmission Speed 4800 baud 9600 baud 19200 baud 38400 baud Communication Protocol MODBUS ASCII mode 7 data bits no parity 2 stop bits MODBUS ASCII mode 7 data bits even parity 1 stop bit MODBUS ASCII mode 7 data bits odd parity 1 stop bit MODBUS RTU mode 8 data bits no parity 2 stop bits MODBUS RTU mode 8 data bits even parity 1 stop bit MODBUS RTU mode 8 data bits odd parity 1 stop bit Transmission Fault Treatment Display fault and continue operating Display fault and RAMP to stop Display fault and COAST to stop No fault displayed and continue operating Time O ut Detection Disable Enable Time O ut Duration 0 1 to 60 0 seconds Parameter Lock 00 All parameters can be read and set 01 All parameters are rea
32. OR Comm Port A TXD RXD f 4 SG ES Signal GND a Er Node 1 GS3 4 SG Comm Port D0 DCM DLO06 DL260 Port 2 TXD Consider using ZIPLink RJ12 Feedthrough Modules ZL RTB RJ12 for easy wiring termination Consider using ZIPLink 15 pin high density Comm Port Adapter ZL CMA15 or ZL CMA15L for easy wiring termination For Single Cable Runs of 2m 6 6 ft or less to only one AC Drive Use pre terminated cable GS 485HD15 CBL 2 for easy wiring For a single run to only one AC Drive cable GS ISO CO N CBL 2 2m 6 6ft is available for directly connecting the FA ISO CON to the DU RAPuLse Com Port Cable DO DSCBL 12ft 3 7m is available for connecting the DLO5 to the FA ISO CON RS 232C to RS 485 Conversion An RS 485 network cable can span up to 1000 meters 4000 feet However many AutomationD irect PLCs have only RS 232C communication ports and require an FA ISO CON RS 232C to RS 422 485 network adapter in order to make an RS 485 connection If an FA ISO CON module is used set the module dipswitches as required Refer to the FA ISO CON manual for more detailed information FA ISO CON Switch Settings FA ISOCON RJ 12 Serial Comm Port A RS 232 Input Port 21 S23 OFF ON ON 19200 baud 4 Signal Ground S24 S27 OFF Automatic Network Transmit Enable 2 CTS input Terminate ON end of run term resistors A x s uu outpu Bias 2 ON end of run bias resistors
33. Reagy Flag is Bl SC102 MODBUS 1 Modbus Function Code 16 C212 Slave Adder 402332 Sending Drive 1 Run CMD New Master 1 DS301 BI C213 Drive 1 Run CMD Write finished C14 SET Continued next page IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 29 Chapter 5 DURAPULsE MODBUS Communications Eg MM CLICK Communication Program continued This rung writes the new value for the Run Command word to its comparison location so the code can again start watching for changes Drive 1 Run CMD Write Enable Drive 1 Run CMD Write finished C12 C14 17 Single Drive 1 Run CMD New 1 DS301 Drive 1 Run CMD Retain 1 DS311 Drive 1 Run CMD Write Enable B C12 RST Drive 1 Run CMD Write finished C14 RST Rungs 18 amp 19 select either 30Hz or 60Hz based on C102 Drive 1 Speed Control 60 30 Hz C102 18 Drive 1 Speed Ref New Des 1 DS300 Drive 1 Speed Control 60 30 Hz Bl C102 19 Drive 1 Speed Ref New Des 1 DS300 Rungs 20 amp 21 select Run or Stop based on C103 Drive 1 Run Stop C103 20 Drive 1 Run CMD New 1 DS301 Drive 1 Run Stop C103 21 Drive 1 Run CMD New 1 DS301 Continued next page 5 30 ll DURAPuLse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications Te CLICK Communication Program continued Rungs 22 amp 23 select Direction based on C104 Drive 1 Fwd Rev
34. Speed Direction External Fault or Fault Reset conditions have been changed in the local program and need to be written to drive 2 30 Drive Z2 Drive 2 Drive Z2 Speed Ref Speed Ref New Speed Ref Retain Write Enable V3020 3030 C40 31 Drive 2 Drive 2 Direction New Direction Retain V3022 V3032 Drive 2 Drive 2 Drive 2 Drive 2 Run CMD Speed Ref External Fault New External Fault Retain Write Enable Write Enable C40 SET V3023 V3033 C42 Drive 2 Drive 2 Fault Reset New Fault Reset Retain V3024 V3034 Continued next page IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual l 5 61 Chapter 5 DURAPuLsE MODBUS Communications DL RX WX Communication Program continued This rung writes the new Speed Reference if it changes Drive 2 Drive 2 Speed Ref Direction Fault Reset Port Busy Write Enable Write Enable SP116 C40 C41 Drive 2 Direction Fault Reset Write Enabled C41 SET This rung writes the Direction Ext Fault and Fault Reset words if any of them changes Drive 2 Drive 2 Speed Ref Direction Fault Reset Port Busy Write Enable Write Enable SP116 C40 C41 Drive 22 Speed Direction Fault Reset Writes Finished C43 SET Continued next page 5 62 ll DURAputse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications DL RX WX Communication Program continued
35. Speed Ref Run CMD Run CMD Retain Write Enable Write Enable Write Enable V3011 C10 C12 C12 14 zp p ser Drive 1 Run CMD Port Busy Write Enable SP116 C12 15 Drive 1 Run CMD Writes Finished C14 SET This rung writes the new value for the Run Command word to its comparison location so the code can again start watching for changes Drive 1 Drive 1 Run CMD Run CMD Write Enable Write Finished C12 C14 LD Drive 1 Run CMD New V3001 16 OUT Drive 1 Run CMD Retain V3011 Drive 1 Run CMD Write Enable C12 RST Drive 1 Run CMD Write Finished C14 RST Continued next page 5 58 ff DuRAputse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications DL RX WX Communication Program continued Rungs 17 amp 18 select either 30Hz or 60Hz based on X3 Drive 1 Speed Control bit 60 30Hz X3 17 OUT Drive 1 Speed Ref New V3000 Drive 1 Speed Control bit 60 30Hz x3 LD 18 K600 OUT prive 1 Speed Ref New V3000 Rungs 19 amp 20 select Run or Stop based on X5 Drive 1 Run Stop X5 19 OUT prive 1 Run CMD New V3001 Drive 1 Run Stop X5 LD 20 KO OUT prive 1 Run CMD New V3001 Continued next page IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 59 Chapter 5 DURAPuLsE MODBUS Communications DL RX WX Communication Program continued Rungs 21 a
36. US Communications CLICK Modbus Ladder Programming The set up for all of the CLICK CPUs is very similar However there may be some subtle differences between CPUS or for the requirements of your particular program Refer to the CLICK programming software internal help file for more information regarding CLICK programming The following ladder program shows some examples of how to control the DURAputse AC drive through Modbus RTU The drive should be set up and tested for communications before it is connected to a load WanNiNG A drive should never be connected to a load until any applicable communication programs have been proven WanNiNG Write programs in such a way that the program does not erroneously overwrite a remote Stop command with a Run command such as when P3 00 is set to 03 This example program prevents such an accidental overwrite These programs are for illustrational purposes only andare not intended for a true application Separate Run Command Write Instruction Why do we write the Run Command with a separate write instruction If we write the Run Command to the drive along with the Speed Reference Direction External Fault and Fault Reset Commands we can keep the parameter addresses in sequence and we can update all five of the commands with one write instruction This method is valid only if we disable the drive s keypad STOP button P3 00 04 Typically the keypad STOP button will be enabled P3 0
37. al to several drives at one location which creates a star configuration However the transmission errors are negligible so this configuration is acceptable for proper operation of the VFDs RS 485 Direct Connections Termination Resistors are required on both ends of RS 485 networks especially on long runs Select resistors that match the impedance rating of the cable between 100 and 5004 Recommended RS 485 cable Belden 9842 or equivalent CLICK C0 02 RS 485 Connection Wiring 1200 Termination Resistor at both ends of network GS3 Comm Port TXD RXD a 4 SG CLICK C0 02 CPU Port 3 Connect shield to signal ground at one end only NOTE 2 ZL RJ12 CBL 2P cables can be used for distances of 2m 6 6ft or less DO DCM DLO6 DL260 RS 485 Connection Wirin for single drive at distance of 2 meters 6 6 ft or less DL06 DL260 qum DO DCM Port 2 plug GS3 Comm Port 15 pin HD 6 RXD 7 GND 9 TXD GS 485HD15 CBL 2 P2 RJ 10 TXD AutomationDirect RJ12 11 RTS ZIPLink Cable plug Receptacle 12 RTS E Yellow 4 13 RXD S 3d i 14 CTS 15 CTS C mea E Drain Braid 4SG 3 SG 2 GND IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 15 Chapter 5 DURAPULsE MODBUS Communications RS 485 Direct Connections continued DO DCM DLO6 DL260 120Q Termination Resistor H zi at both ends of network RS 485 Connection Wirin V
38. an again start watching for changes Drive 2 Run CMD Drive 2 Run CMD Single Write Enable Write finished C32 C34 Drive 2 Run CMD New T DS321 Drive 2 Run CMD Retain 1 DS331 Drive 2 Run CMD Write Enable C32 RST Drive 2 Run CMD write finished C34 RST Continued next page 1st Ed Rev D 05 2013 DURAputse AC Drive User Manual 5 35 Chapter 5 DURAPULsE MODBUS Communications Eig CLICK Communication Program continued Rungs 39 amp 40 select either 30Hz or 60Hz based on C109 Drive 2 Speed Control 60 30 Hz C109 39 Drive 2 Speed Ref New Drive 2 Speed Control 60 30 Hz C109 40 Drive 2 Speed Ref New 1 DS320 Rungs 41 amp 42 select Run or Stop based on C110 Drive 2 Run Stop C110 41 Drive 2 Run CMD New 1 DS321 Drive 2 Run Stop C110 42 Drive 2 Run CMD New 1 DS321 Rungs 43 amp 44 select Direction based on C111 Drive 2 Fwd Rev C111 43 Drive 2 Direction New 1 DS322 Drive 2 Fwd Rev C111 44 Drive Z2 Direction New 1 DS322 Continued next page 5 36 ll 2URAputse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM CLICK Communication Program continued Rungs 45 amp 46 select Ext Fault or no fault based on C112 Drive 2 Fault C112 45 Drive 2 Ext Fault New 1 DS323 Drive Z2 Fault C112 46 Drive 2 Ext Fault New 1 DS323 Rungs 47 amp 48 select Fault Rese
39. be programmed differently depending upon the types of network read and write instructions they can perform There are two different types of these instructions and this User Manual shows programming examples of both types RX WX Instructions for DLO5 D2 250 1 D4 450 PLCs with DL05 D2 250 D2 250 1 and D4 450 CPUs can read from and write to networks using RX Read from N etwork and W X Write to N etwork programming instructions MRX MWX Instructions for DLO6 D2 260 In addition to the RX and WX instructions listed above PLCs with DLO6 and D 2 260 CPUs can also read from and write to networks using MRX Modbus Read from N etwork and MW X Modbus Write to N etwork programming instructions The MRX and MW X instructions are simpler and easier to use than are the RX and WX instructions Therefore we recommend that you use DL06 or D2 260 with MRX and MW X instructions if you have a choice 5 40 ll 2uRAputse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications DL MRX MWX Communication Program for DLO6 amp D2 260 PLCs This rung counts the number of times the PLC attempts to communicate to the drive Port Busy SP116 CTO This rung counts the number of times an attempted communication to the drive fails Port Comm Fail SP117 2 CT1 This rung acts as an alternator allowing the following logic to alternate between communicating to slave 1 or slave 2 If
40. cation Program continued This rung writes the new values for Speed Ref Direction Ext Fault and Fault Reset words to their comparison locations so the code can again start watching for changes Drive 1 Speed Ref Write Enable Drive 1 Direction Fault Reset Write Enable C10 C11 Drive 1 Speed Direction Fault Copy Single Reset writes finished C13 Drive 1 Speed Ref New Src LU DS300 Drive 1 Speed Ref Retain Des LL DS310 Single Drive 1 Direction New LI DS302 Drive 1 Direction Retain I DS312 Single Drive 1 Ext Fault New LI DS303 Drive 1 Ext Fault Retain M DS313 Copy Single Drive 1 Fault Reset New Src 1 DS304 Drive 1 Fault Reset Retain Des 1 DS314 Drive 1 Speed Ref Write Enable C10 RST Drive 1 Direction Fault Reset Write Enable C11 RST Drive 1 Speed Direction Fault Reset writes finished C13 RST Continued next page 5 28 li DuRAputse AC Drive User Manual IstEd Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications ee CLICK Communication Program continued Rungs 15 amp 16 write to the Run Command word if it changes Drive 1 Run CMD New Drive 1 Run CMD Retain Drive 1 Speed Ref Write Enable 1 DS301 1 DS311 B C10 15 Drive 1 Run CMD Write Enable Drive 1 Speed Ref Write Enable C12 C12 SET Drive 1 Run CMD Write Enable Port 3
41. ching for changes Drive 1 Drive 1 Run CMD Run CMD Write Enable Write Finished C12 C14 LD Drive 1 Run CMD New V3001 16 OUT prive 1 Run CMD Retain V3011 Drive 1 Run CMD Write Enable C12 RST Drive 1 Run CMD Write Finished C14 RST Continued next page 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 45 Chapter 5 DURAPuLsE MODBUS Communications DL MRX MWX Communication Program continued Rungs 17 amp 18 select either 30Hz or 60Hz based on X3 Drive 1 Speed Control bit 60 30Hz X3 17 OUT prive 1 Drive 1 Speed Control Speed Ref New bit 60 30Hz V3000 X3 LD 18 K600 OUT Drive 1 Speed Ref New V3000 Rungs 19 amp 20 select Run or Stop based on X5 Drive 1 Run Stop X5 19 OUT Drive 1 Run CMD New Drive 1 Run Stop V3001 X5 LD 20 T OUT prive 1 Run CMD New V3001 Continued next page 5 46 li DURAruse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications DL MRX MWX Communication Program continued Rungs 21 amp 22 select Direction based on X6 Drive 1 Forward Reverse X6 21 OUT prive 1 Direction New Drive 1 Forward Reverse E x6 LD 22 KO OUT Drive 1 Direction New V3002 Rungs 23 amp 24 select Ext Fault or no fault based on XT Drive 1 Ext Fault X7 23 OUT Drive 1 Ext Fault New V3003 Drive 1 Ext Fault X7 L
42. d only Restore to D efault 99 Restores all parameters to factory defaults Block Transfer Parameter 1 P0 00 to P8 02 P9 99 Block Transfer Parameter 2 P0 00 to P8 02 P9 99 Block Transfer Parameter 3 P0 00 to P8 02 P9 99 Block Transfer Parameter 4 P0 00 to P8 02 P9 99 Block Transfer Parameter 5 P0 00 to P8 02 P9 99 Block Transfer Parameter 6 P0 00 to P8 02 P9 99 Block Transfer Parameter 7 P0 00 to P8 02 P9 99 Block Transfer Parameter 8 P0 00 to P8 02 P9 99 Block Transfer Parameter 9 P0 00 to P8 02 P9 99 Block Transfer Parameter 10 P0 00 to P8 02 P9 99 Block Transfer Parameter 11 P0 00 to P8 02 P9 99 Block Transfer Parameter 12 P0 00 to P8 02 P9 99 Block Transfer Parameter 13 P0 00 to P8 02 P9 99 Parameter can be set during RUN Mode 5 2 DURAPuLsE AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications Communications Parameters Summary continued Parameter Description Range Default Block Transfer Parameter 14 P0 00 to P8 02 P9 99 P9 99 Block Transfer Parameter 15 P0 00 to P8 02 P9 99 P9 99 Serial Comm RS485 Speed Reference 0 0 to 400 0 Hz 60 0 00 Stop 01 Run e 00 Forward 01 Reverse 00 No fault 01 External fault 00 No action 01 Fault Reset 00 Stop 01 Jog Firmware Version HHA 3t dH 00 Serial Comm RUN Command Serial Comm Di
43. dbus Decimal addresses used with CLICK PLCs insert another zero as the next to most significant digit e g 402333 instead of 42333 Some parameters are available only in later firmware versions of DU RApuLse drives Refer to P9 39 and DU RApu tse Parameter Summary in Chapter 4 for more information Parameter can be set during RUN Mode 5 8 DURAPULsE AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications eee Parameter Memory Addresses continued Modbus Decimal Parameter Description Hexadecimal Communications Parameters P9 00 Communication Address 0900 42305 P9 01 Transmission Speed 0901 42306 P9 02 Communication Protocol 0902 42307 P9 03 Transmission Fault Treatment 0903 42308 P9 04 Time Out Detection 0904 42309 P9 05 Time Out Duration 0905 42310 9 P9 07 Parameter Lock 0907 42312 P9 08 Restore to D efault 0908 42313 9 P9 11 Block Transfer Parameter 1 090B 42316 9 P9 12 Block Transfer Parameter 2 090C 42317 9 P9 13 Block Transfer Parameter 3 090D 42318 9 P9 14 Block Transfer Parameter 4 090E 42319 9 P9 15 Block Transfer Parameter 5 090F 42320 9 P9 16 Block Transfer Parameter 6 0910 42321 9 P9 17 Block Transfer Parameter 7 0911 42322 9 P9 18 Block Transfer Parameter 8 0912 42323 9 P9 19 Block Transfer Parameter 9 0913 42324 9 P9 20 Block Transfer Parameter 10 0914 42325 9 P9 21 Block Transfer Parameter 1
44. e parameters are available only in later firmware versions of DU RAPuLsE drives Refer to P9 39 and DU RAputse Parameter Summary in Chapter 4 for more information Parameter can be set during RUN Mode 1st Ed Rev D 05 2013 DURAPuLsE AC Drive User Manual 5 7 Chapter 5 DURAPuLsE MODBUS Communications Eg MM Parameter Memory Addresses continued Parameter Description Hexadecimal PID Parameters P7 00 InputTerminal for PID Feedback P7 01 PV 100 Value P7 02 PID Setpoint Source 9 P7 03 PID Feedback Gain 9 P7 04 PID Setpoint Offset Polarity P7 05 PID Setpoint Offset 9 P7 06 PID Setpoint Gain 9 P7 10 X Keypad amp Serial PID Setpoint P7 11 PID Multi setpoint 1 P7 12 PID Multi setpoint 2 P7 13 PID Multi setpoint 3 9 P7 14 PID Multi setpoint 4 9 P7 15 PID Multi setpoint 5 P7 16 PID Multi setpoint 6 P7 17 PID Multi setpoint 7 9 P7 20 Proportional Control 9 P7 21 Integral Control 9 P7 22 Derivative Control P7 23 Upper Bound for Integral Control P7 24 Derivative Filter Time Constant P7 25 PID Output Frequency Limit P7 26 Feedback Signal Detection Time P7 27 PID Feedback Loss 9 P7 28 PID Feedback Loss Preset Speed Display Parameters P8 00 U ser D efined Display Function 0800 42049 P8 01 Frequency Scale Factor 0801 42050 P3 02 Backlight Timer 0802 42051 For Mo
45. eed 3 0503 41284 P5 04 Multi Speed 4 0504 41285 P5 05 Multi Speed 5 0505 41286 P5 06 Multi Speed 6 0506 41287 P5 07 Multi Speed 7 0507 41288 P5 08 Multi Speed 8 0508 41289 P5 09 Multi Speed 9 0509 41290 P5 10 Multi Speed 10 050A 41291 P5 11 Multi Speed 11 050B 41292 P5 12 Multi Speed 12 050C 41293 P5 13 Multi Speed 13 050D 41294 P5 14 Multi Speed 14 050E 41295 P5 15 Multi Speed 15 050F 41296 For Modbus D ecimal addresses used with CLICK PLCs insert another zero as the next to most significant digit e g 402333 instead of 42333 Some parameters are available only in later firmware versions of D U RAPULsE drives Refer to P9 39 and DU RApu tse Parameter Summary in Chapter 4 for more information Parameter can be set during RUN Mode 5 6 DURAPULsE AC Drive User Manual 1st Ed Rev D 05 2013 Parameter Chapter 5 DURAPULsE MODBUS Communications FERE MM P Parameter Memory Addresses continued Description Hexadecimal Modbus Decimal Protection Parameters P6 00 Electronic Thermal O verload Relay 0600 41537 P6 01 Auto Restart after Fault 0601 41538 P6 02 Momentary Power Loss 0602 41539 P6 03 Reverse O peration Inhibit 0603 41540 P6 04 Auto Voltage Regulation 0604 41541 P6 05 O ver Voltage Stall Protection 0605 41542 P6 0
46. ef New 1 DS300 11 Drive 1 Drive 1 Direction New Direction Retain 1 DS302 1 DS312 PRIME Drive 1 Ext Drive 1 Ext Fault New Fault Retain 1 DS303 1 DS313 Drive 1 Run CMD Drive 1 Speed Write Enable Ref Write Enable C12 C10 SET z Drive 1 Fault Reset Retain 1 DS314 Drive 1 Fault Reset New 1 DS304 Continued next page 5 26 ll 2URAputse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications CLICK Communication Program continued This rung writes the new Speed Reference if it changes _Port_3_Ready_Flag Drive 1 Speed Ref Write Enable SC102 C10 Drive 1 Direction Send Port3 Fault Reset Giave ID Write Enabl B CiT e Modbus Function Code C206 Slave Addr Drive 1 Speed Ref New Master 1 DS300 Drive 1 Direction Fault Reset Write Enable C11 SET This rung writes the Direction Ext Fault and Fault Reset words if any of them changes _Port_3_Ready_Flag Drive 1 Speed Ref Write Enable SC102 Drive 1 Direction Fault Reset Modbus Function Code C209 Write Enable Slave Addr C11 NO of Master Addresses Word Swap Drive 1 Direction New Master 1 DS302 Drive 1 Speed Direction Fault Reset writes finished C13 SET Continued next page 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 27 Chapter 5 DURAPULsE MODBUS Communications Eg MM CLICK Communi
47. ence and we can update all five of the commands with one write instruction This method is valid only if we disable the drive s keypad STOP button P3 00 04 Typically the keypad STOP button will be enabled P3 00 03 and we need to prevent a change in one of the other commands from overriding a keypad Stop Command by causing a previous Run Command to be rewritten to the drive By using a separate Run Command write instruction only a deliberate Run Command change by the program will run the drive again after a stop Block Transfer Parameters for Modbus Programs For writing to any of the parameters from P0 00 to P8 02 a group of 15 block transfer parameters P9 11 to P9 25 is available in the DU RAPuLse AC drive This sequential block of parameters can be used to group various miscellaneous non sequential parameters so that you can update the parameters in one programming write block instead of having to use multiple write commands For example it would typically take three different write commands to change the three non sequential parameters Accel Time 1 P1 01 Accel S curve P1 03 and M ulti speed 1 P5 01 However you could make the same three changes using one write command by setting P9 11 to P1 01 P9 12 to P1 03 and P9 13 to P5 01 so that the parameters become sequential 5 38 li DURAruse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications DirectLOGIC Basic Communicat
48. er Parameters for Modbus Programs 5 38 DirectLOGIC Basic Communication Program start with this code 5 39 Programming Differences for DirectLOGIC PLCs 5 40 RX WX Instructions for DLO5 D2 250 1 D4 450 cee eee 5 40 MRX MWX Instructions for DLO6 D2 260 0 ces 5 40 DL MRX MWX Communication Program for DLO6 amp D2 260 PLCs 5 41 DL RX WX Communication Program for DLO5 D2 250 1 D4 450 5 54 Communicating with Third party Devices 5 67 Common Third party MODBUS RTU Masters 0000 5 67 D ta Format au ae Oe eae tas eee ee qat e iei uns 5 68 Communication Protocol a oua eee S ea eae eae as Re 5 69 CMD Command code and DATA data characters 5 70 Comm Delay Optimizing Communications 5 74 Optimizing Communications to GS Drives a s a asses aaen aaao 5 74 Types of Messages Sent to GS Drives llli enn 5 75 Format of Read Registers Messages eeeee n 5 75 Format of Write Multiple Registers Messages lllelleeesss 5 75 Format of Write Single Register Messages eere 5 75 Example Message ns aah sc acer en dees neue ben dewes kote tng RODA CECI 5 75 Additional Message Delay Times ccc eee eee ees 5 76 Modbus specified Delays Between Messages 00 cece eee eens 5 76 Other DEAS x vice cece ie ewan eA ROSS ER a a 3 DE ake ARR T eRe ee 5 77 Communication Delay Timing
49. f the AC drive with address 01H ASCII mode Command Message Response Message Data Address Data Address Data Content LRC CHK 1 LRC CHK 1 LRC CHK 0 LRC CHK 0 END 1 END 1 END 0 END 0 RTU mode This is an example of using function code 16 for writing to multiple registers Command Message Response Message ADR ADR CMD CMD Starting data Starting data address address Number of data Number of registers Count by word Byte count CRC CHK Low Content of data CRC CHK High address 2000H Content of data address 2001H CRC CHK Low CRC CHK High 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 71 Chapter 5 DURAPULsE MODBUS Communications Eg CHK check sum ASCII Mode LRC Longitudinal Redundancy Check is calculated by summing up module 256 the values of the bytes from ADRI to last data character then calculating the hexadecimal representation of the 2 s complement negation of the sum For example reading 1 word from address 0401H of the AC drive with address 01H Command Message STX ADR1 ADRO CMD 1 CMD 0 Starting data address 01H 03H 04H 01H 00H 01H 0AH N umber of data the 2 s complement negation of OAH is F6H Count by word LRC CHK 1 LRC CHK 0 END 1 END 0 RTU Mode Response Message ADR CMD Starting data address Number of da
50. for changes Drive 22 Speed Ref Write Enable Drive 2 Direction Fault Reset Write Enable C30 C31 E Drive 22 Speed Direction Fault Reset writes finished Single y C33 Drive 42 Speed Ref New 1 DS320 Drive 2 Speed Ref Retain 1 DS330 Single Drive Z2 Direction New 1 DS322 Drive Z2 Direction Retain 1 DS332 Single Drive 2 Ext Fault New 1 DS323 Drive Z2 Ext Fault Retain 1 DS333 Single Drive 2 Fault Reset New 1 DS324 Drive Z2 Fault Reset Retain 1 DS334 Drive 42 Speed Ref Write Enable C30 RST Drive Z2 Direction Fault Reset Write Enable C31 RST Drive 2 Speed Direction Fault Reset writes finished C33 RST Continued next page 5 34 l DuRAputse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM zl CLICK Communication Program continued Rungs 36 amp 37 write to the Run Command word if it changes Drive 2 Run Drive 2 Run CMD New CMD Retain Drive 2 Speed Ref Write Enable m DS321 1 DS331 C30 Drive 2 Run CMD Drive 2 Run CMD Write Enable Write Enable C32 C32 SET Port 3 Ready Flag SC102 Drive 2 Run CMD Write Enable Modbus Function Code C221 C32 Slave Adder Drive 2 Run CMD New Master I DS321 D ad Drive 2 Run CMD Write finished C34 SET This rung writes the new value for the Run Command word to its comparison location so the code c
51. g in PLC memory for Logic usage tg Wait time required by Modbus spec 3 5 byte times This may or may not be present depending upon the Scan delay but safer to factor in t4 Data Processed and Available to Logic 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 77 Chapter 5 DURAPULsE MODBUS Communications Eig MM Communication Delay Summary Now that you know how to calculate the time required for one message to one GS drive you would simply multiply this value per message to each GS drive on the network since only one message can be sent at a time As you can deduce from the statement above the more messages being sent to GS drives the longer it takes to communicate to an individual drive as each message has to take its turn So how do you optimize your communications to get messages faster to your GS drives There is no way to make a message go faster than what is specified above but what you can affect is the amount of messages being sent to any given GS drive in two ways 1 Group together messages into Block requests whenever possible For example if you wanted to read Status Monitor 1 and the Output Frequency status register from the drive read the two together as a block Status Monitor 1 Status Monitor 2 Frequency Command and O utput Frequency and ignore the other two status registers that you don t need instead of sending two separate read commands If you do the calculations above you will
52. hars XXXX Depends upon Request 2 Chars per Register requested XXXX 16 Bit CRC 2 Chars Format of Write Multiple Registers Messages Request Reply XX Node Address 1 Char XX Node Address 1 Char 10 Function Code Hex format 1 Char 10 Function Code Hex format 1 Char XXXX Starting Address to write to 2 Chars XXXX Starting Address to write to 2 Chars XXXX Number of Registers to write to XXXX Number of Registers to write to 2 Chars 2 Chars XX Number of bytes of data to write XXXX 16 Bit CRC 2 Chars 1 Char XXXX Depends upon Request 2 Chars per Register requested XXXX 16 Bit CRC 2 Chars Format of Write Single Register Messages Request Reply XX Node Address 1 Char XX Node Address 1 Char 06 Function Code 1 Char 06 Function Code 1 Char XXXX Register to W rite to 2 Chars XXXX Register to W rite to 2 Chars XXXX Data to Write 2 Chars XXXX Data to Write 2 Chars XXXX 16 Bit CRC 2 Chars XXXX 16 Bit CRC 2 Chars Example Message Write a value of 60Hz to P9 26 and a value of 1 to P9 27 01 10 09 1b 00 02 04 02 58 00 01 5a 66 We receive a good reply 01 10 09 1b 00 02 a3 9f Sending message 13 characters from above 7 4 ms 0 00744796 Reply message 8 characters from above 4 6 ms 0 004583 For more specific information on how Modbus messages are formed refer to the c Modbus specifications found at www modbus org
53. ial port 5 76 ll 2URAputse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM Other Delays D epending upon the master device there may be additional delays For example In the DirectLogic PLC the serial communications are serviced in the housekeeping portion of the PLC scan So if the communications instruction is in rung 1 of a ladder program the serial communications message does not get sent until the end of the total PLC scan Likewise if the reply message was received into the serial port at the beginning of the PLC scan it would not be serviced until the end of the PLC scan So you would need to add an additional possible two PLC scan times to the number above to truly calculate the time necessary to read or write an event to the GS drive These delays are shown in the following Communication Delay Timing Diagram Communication Delay Timing Diagram Modbus Master GS AC typically PLC Drive Communications Total Delay for Reading Writing an Event Instruction Enabled t4 Scan delay from the point of turning on a communications instruction to when it actually goes out of the serial port t5 Transmission time to send Message request read or write tg Response delay from GS drive to receive the reply t3 and formulate the response t4 Transmission time to send Reply message t5 Scan delay from the point of receiving reply processing it and placin
54. ion Program start with this code W e recommend starting with the following program code and using it to test communication to each of your drives before adding more advanced code for your application To target different drives change the value Kf201 to Kf202 for slave 2 Kf203 for slave 3 etc j This program is for illustrational purposes only and is not intended for a true application This rung counts the number of times the PLC attempts to communicate to the drive This rung counts the number of times an attempted communication to the drive fails This rung reads the Status Addresses information from the drive Use this code to test communication to each of your drives before writing more advanced code that polls multiple drives To target different drives change the value Kf201 to Kf202 for slave 2 Kf203 for slave 3 etc SP116 LD 3 Kf201 LD K30 LDA 2000 RX V20400 END SP117 is a special relay in the DirectLO GIC CPUs that monitors the PLC s communications SP117 is on when Port 2 has encountered a communication error 4 SP1106 is a special relay in the DirectLO GIC CPUs that monitors the PLC s communications SP116 is on when Port 2 is communicating with another device IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 39 Chapter 5 DURAPULSE MODBUS Communications Eg A Programming Differences for DirectLOGIC PLCs Different types of DirectLO GIC PLCs can
55. irection Fault Reset Writes Finished C13 SET Continued next page 5 56 ll DURAPULse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications DL RX WX Communication Program continued This rung writes the new values for Speed Ref Direction Ext Fault and Fault Reset words to their comparison locations so the code can again start watching for changes Drive 1 Drive 1 Drive 1 Speed Speed Ref Direction Fault Reset Direction Fault Reset Write Enable Write Enable Writes Finished LD C10 C11 C13 u Drive 1 Speed Ref New V3000 OUT Drive 1 Speed Ref Retain V3010 LD Drive 1 Direction New V3002 OUT prive 1 Direction Retain V3012 LD Drive 1 Ext Fault New V3003 OUT prive 1 Ext Fault Retain V3013 LD prive 1 Fault Reset New V3004 OUT prive 1 Fault Reset Retain V3014 Drive 1 Speed Ref Write Enable C10 RST Drive 1 Direction Fault Reset Write Enable C11 RST Drive 1 Speed Direction Fault Reset Writes Finished C13 RST Continued next page IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 57 Chapter 5 DURAPULsE MODBUS Communications Eg MM DL RX WX Communication Program continued Rungs 14 amp 15 write to the Run Command word if it changes Drive 1 Drive 1 Drive 1 Drive 1 Drive 1 Run CMD Run CMD
56. ive Z2 Drive 2 Run CMD Speed Ref External Fault New External Fault Retain Write Enable Write Enable V3023 V3033 C42 C40 SET Drive 2 Drive 2 Fault Reset New Fault Reset Retain V3024 3034 Continued next page 5 48 Bl DURAruse AC Drive User Manual IstEd Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications DL MRX MWX Communication Program continued This rung writes the new Speed Reference if it changes Drive 2 Drive 2 Speed Ref Direction Fault Reset Port Busy Write Enable Write Enable MWX SP116 C40 C41 CPU DCM Slot CPU Port Number K2 Slave Address K2 Function Code 06 Preset Single Register Start Slave Memory Address K42331 Start Master Memory Address V3030 Number of Elements n a Modbus Data type 584 984 Mode Exception Response Buffer V5017 Drive 2 Direction Fault Reset Write Enabled C41 SET This rung writes the Direction Ext Fault and Fault Reset words if any of them changes Drive 2 Drive 2 Speed Ref Direction Fault Reset Port Busy Write Enable Write Enable MWX SP116 C40 C41 CPU DCM Slot CPU Port Number K2 Slave Address K2 Function Code 16 Preset Multiple Registers Start Slave Memory Address Start Master Memory Address Number of Elements Modbus Data type 584 984 Mode Exception Response Buffer V5022 Drive 2 Speed Direction Fault Reset Writes Finished C43 SET Continued next page 1st Ed Rev
57. mp 22 select Direction based on X6 Drive 1 Forward Reverse X6 21 OUT Drive 1 Direction New V3002 Drive 1 Forward Reverse X6 LD 22 KO OUT Drive 1 Direction New V3002 Rungs 23 amp 24 select Ext Fault or no fault based on XT Drive 1 Ext Fault XT 23 OUT prive 1 Ext Fault New V3003 Drive 1 Ext Fault X7 LD 24 KO OUT prive 1 Ext Fault New V3003 Rungs 25 amp 26 select Fault Reset or no reset based on X10 Drive 1 Ext Fault Reset X10 25 OUT prive 1 Ext Fault Reset New V3004 Drive 1 Ext Fault Reset X10 LD 26 KO OUT Drive 1 Ext Fault Reset New V3004 Continued next page 5 60 ll 2URArutse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM DL RX WX Communication Program continued The following 21 rungs 27 47 are for slave 2 communications control This rung turns on C31 if there is a fault in drive 2 Drive 2 Fault K1 C31 27 This rung allows a switch on input X21 to reset the C bit used to indicate drive 2 fault Drive 2 Fault Indication Reset Drive 2 Fault X21 C31 28 I sT This rung turns on C32 if drive 2 has an overload fault Drive 2 OL K4 C32 29 This rung allows a switch on input X22 to reset the overload fault bit C32 Drive 2 Overload Indication Reset Drive 2 OL X22 C32 J sr This rung checks to see if the drive
58. ncy 2 0314 40789 Frequency O utput FO Scaling Factor 031E 40799 2nd Source of O peration Command 031F 40800 For Modbus Decimal addresses used with CLICK PLCs insert another zero as the next to most significant digit e g 402333 instead of 42333 Some parameters are available only in later firmware versions of DU RAPuLsE drives Refer to P9 39 and DU RAputse Parameter Summary in Chapter 4 for more information Parameter can be set during RUN Mode 1st Ed Rev D 05 2013 DURAPuLsE AC Drive User Manual 5 5 Chapter 5 DURAPULsE MODBUS Communications Eg MM Parameter Memory Addresses continued Parameter Description Hexadecimal Analog Parameters P4 00 Source of Frequency Command P4 01 Analog Input O ffset Polarity 9 P4 02 Analog Input O ffset 9 P4 03 Analog Input Gain P4 04 Analog Input Reverse Motion Enable P4 05 Loss of AI2 Signal 4 20 mA P4 11 Analog Output Signal 9 P4 12 Analog Output Gain P4 13 2nd Source of Frequency Command 9 P4 14 2nd Frequency Command O ffset Polarity 9 P4 15 2nd Frequency Command O ffset 9 P4 16 2nd Frequency Command Gain 9 P4 17 Trim Frequency Reference 9 P4 18 Trim Mode Select Presets Parameters P5 00 Jog 0500 41281 P5 01 Multi Speed 1 0501 41282 P5 02 Multi Speed 2 0502 41283 P5 03 Multi Sp
59. nges Drive 1 Drive 1 Speed Ref Direction Fault Reset Port Busy Write Enable Write Enable MWX SP116 C10 C11 CPU DCM Slot Port Number Slave Address Function Code 06 Preset Single Register Start Slave Memory Address Start Master Memory Address Number of Elements Modbus Data type Exception Response Buffer Drive 1 Direction Fault Reset Write Enabled C11 SET This rung writes the Direction Ext Fault and Fault Reset words if any of them changes Drive 1 Drive 1 Speed Ref Direction Fault Reset Port Busy Write Enable Write Enable MWX SP116 C10 C11 CPU DCM Slot Port Number Slave Address Function Code 16 Preset Multiple Registers Start Slave Memory Address Start Master Memory Address Number of Elements Modbus Data type Exception Response Buffer Drive 1 Speed Direction Fault Reset Writes Finished 13 SET Continued next page 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 43 Chapter 5 DURAPULsE MODBUS Communications DL MRX MWX Communication Program continued This rung writes the new values for Speed Ref Direction Ext Fault and Fault Reset words to their comparison locations so the code can again start watching for changes Drive 1 Drive 1 Drive 1 Speed Speed Ref Direction Fault Reset Direction Fault Reset Write Enable Write Enable Writes Finished C10 C11 C13 Drive 1 Speed Ref New V3000 IF O OUT p
60. nverter in the event of a communications time out This feature can be set up through parameters P9 03 P9 04 and P9 05 Common Third party MODBUS RTU Masters MODSCAN from www wintech com KEPSERVER EX 4 0 from www kepware com Entivity Studio 7 2 Think amp Do Live 5 5 1 For additional technical assistance go to our Technical support home page at http support automationdirect com technotes html 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 67 Chapter 5 DURAPULsE MODBUS Communications Data Format ASCII Mode 10 bit character frame For 7 bit character P9 02 00 7 data bits no parity 2 stop bits Start 0 2 3 4 5 6 Stop Stop bit i 7 bit character 4d 10 bit character frame P9 02 01 7 data bits even parity 1 stop bit Start 2 3 4 5 6 Even Stop bit parity bit T bit character 10 bit character frame P9 02 02 7 data bits odd parity 1 stop bit Start 2 3 4 5 6 Odd Stop bit parity bit 7 bit character 10 bit character frame RTU Mode 11 bit character frame For 8 bit character P9 02 03 8 data bits no parity 2 stop bits Start 0 2 3 4 5 6 7 Stop Stop bit i 8 bit character p 11 bit character frame P9 02 04 8 data bits even parity 1 stop bit Start 0 2 3 4 5 6 7 Even Stop bit parity
61. or example communication to AC drive with address 16 decimal ASCII mode ADR 1 ADR O 1 0 gt 1 31H 0 230H RTU mode ADR 10H 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 69 Chapter 5 DURAPuLsE MODBUS Communications Eig MM CMD command code and DATA data characters The format of data characters depends on the command code The available command codes are described as followed Command code 03H read N words The maximum value of N is 12 For example reading continuous 2 words from starting address 2102H of the AC drive with address 01H ASCII mode STX ADR1 ADRO STX CMD 1 CMD 0 ADR1 ADRO Starting data address CMD 1 CMD 0 Number of data Count by byte Number of data Count by word Content of starting data address 2102H LRC CHK 1 LRC CHK 0 END 1 END 0 Content data address 2103H RTU mode ADR LRC CHK 1 LRC CHK 0 CMD END 1 END 0 ADR Starting data address CMD Number of data Count by word Number of data Count by byte CRC CHK Low CRC CHK High Content of data address 2102H 5 70 DURAPULsE AC Drive User Manual Content of data address 2103H CRC CHK Low CRC CHK High 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications Command code 06H write 1 word For example writing 6000 1770H to address 0100H o
62. r 5 DURAPULsE MODBUS Communications eee Parameter Memory Addresses continued Modbus Decimal Parameter Description Hexadecimal Volts Hertz Parameters Volts H ertz Settings 0200 40513 Slip Compensation 0201 40514 Auto torque Boost 0202 40515 Torque Compensation Time Constant 0203 40516 Mid point Frequency 0204 40517 Mid point Voltage 0205 40518 Min Output Frequency 0206 40519 Min Output Voltage 0207 40520 PWM Carrier Frequency 0208 40521 Slip Compensation Time Constant 0209 40522 Control Mode 020A 40523 Digital Parameters Source of O peration Command 0300 40769 Multi function Input Terminals DI1 DI2 0301 40770 Multi function Input Terminal 3 D13 0302 40771 Multi function Input Terminal 4 D14 0303 40772 Multi function Input Terminal 5 DI5 0304 40773 Multi function Input Terminal 6 D16 0305 40774 Multi function Input Terminal 7 DI7 0306 40775 Multi function Input Terminal 8 DI8 0307 40776 Multi function Input Terminal 9 DI9 0308 40777 Multi function Input Terminal 10 DI10 0309 40778 Multi function Input Terminal 11 DI11 030A 40779 Multi Function O utput Terminal 1 Relay O utput 030B 40780 Multi Function O utput Terminal 2 DO 1 030C 40781 Multi Function O utput Terminal 3 DO 2 030D 40782 Multi Function O utput Terminal 4 DO 3 030E 40783 Desired Frequency 0310 40785 Desired Current 0311 40786 PID Deviation Level 0312 40787 PID Deviation Time 0313 40788 Desired Freque
63. rection Command 00 Serial Comm External Fault 00 Serial Comm Fault Reset 00 Serial Comm JOG Command 00 Parameter Copy a Disable Copy Keypad Function Enable Copy Keypad Function 01 GS1 l 02 GS2 GS Series Number 03 GS3 GS4 GS3 21P0 230V 3ph 1 0hp GS3 22P0 230V 3ph 2 0hp GS3 23P0 230V 3ph 3 0hp GS3 25P0 230V 3ph 5 0hp GS3 27P5 230V 3ph 7 5hp GS3 2010 230V 3ph 10hp GS3 2015 230V 3ph 15hp GS3 2020 230V 3ph 20hp GS3 2025 230V 3ph 25hp GS3 2030 230V 3ph 30hp GS3 2040 230V 3ph 40hp GS3 2050 230V 3ph 50hp GS3 41P0 460V 3ph 1 0hp Manufacturer M odel Information GS3 42P0 460V 3ph 2 0hp GS3 43P0 460V 3ph 3 0hp GS3 45P0 460V 3ph 5 0hp GS3 47P5 460V 3ph 7 5hp GS3 4010 460V 3ph 10hp GS3 4015 460V 3ph 15hp 460V 3ph 20hp 460V 3ph 25hp 460V 3ph 30hp 460V 3ph 40hp 460V 3ph 50hp 460V 3ph 60hp 460V 3ph 75hp 460V 3ph 100hp Some parameters are available only in later firmware versions of DU RAputse drives Refer to D U RAPuLsE Parameter Summary in Chapter 4 AC Drive Parameters for more information Parameter can be set during RUN Mode 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 3 Chapter 5 DURAPULsE MODBUS Communications DURZPuLs Parameter Memory Addresses and DLO5 Parameter Memory Addresses Parameter Description Hexadecimal Motor Parameters
64. rive 1 Speed Ref Retain V3010 LD prive 1 Direction New V3002 OUT prive 1 Direction Retain V3012 LD prive 1 Ext Fault New V3003 OUT Drive 1 Ext Fault Retain V3013 LD prive 1 Fault Reset New V3004 OUT Drive 1 Fault Reset Retain V3014 Drive 1 Speed Ref Write Enable C10 RST Drive 1 Direction Fault Reset Write Enable C11 RST Drive 1 Speed Direction Fault Reset Writes Finished C13 RST Continued next page 5 44 DURAPuLsE AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM DL MRX MWX Communication Program continued Rungs 14 amp 15 write to the Run Command word if it changes Drive 1 Drive 1 Drive 1 Drive 1 Drive 1 Run CMD Run CMD Speed Ref Run CMD Run CMD New Retain Write Enable Write Enable Write Enable V3001 V3011 C10 C12 C12 14 E E ots ser Drive 1 Run CMD Port Busy Write Enable MWX SP116 C12 CPU DCM Slot Port Number Slave Address Function Code 06 Preset Single Register Start Slave Memory Address K42332 Start Master Memory Address V3001 Number of Elements n a Modbus Data type 584 984 Mode Exception Response Buffer V5014 15 Drive 1 Run CMD Writes Finished C14 SET This rung writes the new value for the Run Command word to its comparison location so the code can again start wat
65. rmine the Bit Time and the Character Time This is calculated by using the following formulas BitTime The value one divided by the baud rate A baud rate of 19 200 equals a bit rate of 0 0000528 1 19200 or 52 us microseconds Character Time BitTime multiplied by the number of bits With Modbus this is typically 10 12 bits per character 1 start bit fixed 1 or 2 stop bits usually configurable 0 or 1 parity bit Odd amp Even 1 bit None 0 amp 8 data bits For a setting of Odd parity and 1 Stop bit this would be 11 bits So at 19200 Odd parity and 1 stop bit a character time would be 0 000573 or 573 us 0 0000528 11 Now that we know the byte time we can multiply that time by the number of characters in each message 5 74 l DURAruse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM Types of Messages Sent to GS Drives There are three different types of messages typically be sent to GS Drives 1 Read Registers Function Code 3 2 Write Multiple Registers Function Code 16 3 Write Single Register Function Code 6 Format of Read Registers M essages Request Reply XX Node Address 1 Char XX Node Address 1 Char 03 Function Code 1 Char 03 Function Code 1 Char XXXX Starting Address to read 2 Chars XX Byte count of data being sent from Slave XXXX 2 Number of Registers to read 2 Chars 1 Char XXXX 16 Bit CRC 2 C
66. t or no reset based on C113 Drive 2 Ext Fault Reset C113 47 Drive 2 Fault Reset New 1 DS324 Drive 2 Ext Fault Reset C113 48 Drive 2 Fault Reset New 1 DS324 49 IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 37 Chapter 5 DURAPULsE MODBUS Communications DirectLOGIC Modbus Ladder Programming The set up for all of the DirectLogic CPUs is very similar However there may be some subtle differences between CPUs Refer to the appropriate CPU U ser Manual for the specifics on your DirectLogic CPU The following ladder program shows some examples of how to control the DURAputse AC drive through Modbus RTU The drive should be setup and tested for communications before it is connected to a load WanNING A drive should never be connected to a load until any applicable communication programs have been proven overwrite a remote Stop command with a Run command such as when P3 00 is set f WanNiNG Write programs in such a way that the program does not erroneously to 03 This example program prevents such an accidental overwrite E These programs are for illustrational purposes only and are not intended for a true application Separate Run Command Write Instruction W hy do we write the Run Command with a separate write instruction If we write the Run Command to the drive along with the Speed Reference Direction External Fault and Fault Reset Commands we can keep the parameter addresses in sequ
67. ta Count by word CRC CHK Low CRC CHK High 5 72 Wl DURAruse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications ee CRC Cyclical Redundancy Check is calculated by the following steps Step 1 Load a 16 bit register called CRC register with FFFFH Step 2 Exclusive OR the first 8 bit byte of the command message with the low order byte of the 16 bit CRC register putting the result in the CRC register Step 3 Shift the CRC register one bit to the right with M SB zero filling Extract and examine the LSB Step 4 If the LSB of CRC register is 0 repeat step 3 else Exclusive OR the CRC register with the polynomial value A001H Step 5 Repeat step 3 and 4 until eight shifts have been performed When this is done a complete 8 bit byte will have been processed Step 6 Repeat steps 2 to 5 for the next 8 bit byte of the command message Continue doing this until all bytes have been processed The final contents of the CRC register are the CRC value When transmitting the CRC value in the message the upper and lower bytes of the CRC value must be swapped i e the lower order byte will be transmitted first The following is an example of CRC generation using C language The function takes two arguments Unsigned char data lt a pointer to the message buffer Unsigned char length lt the quantity of bytes in the message buffer The function returns the CRC value as a type
68. there were additional slaves the K number for the counter would simply be increased to match the number of slaves in the system Port Busy SP116 CNT 3 CT2 K2 CT2 This rung checks to see if it is time to communicate to slave 1 and also if there are no current write requests to that drive If not it reads data from slave 1 Drive 1 Speed Ref Port Busy Write Enable SP116 CTA2 KO C10 4 MRX CPU DCM Slot Drive 1 Port Number Drive 1 1 1 Slave Address Direction Fault Reset Run CMD Function Code 03 Read Holding Registers Write Enable Write Enable Start Slave Memory Address K48449 C12 Start Master Memory Address Number of Elements Modbus Data type 584 984 Mode Exception Response Buffer V5000 C11 Continued next page 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 41 Chapter 5 DURAPuLsE MODBUS Communications Eg MM DL MRX MWX Communication Program continued This rung checks to see if it is time to communicate to slave 2 and also if there are no current write requests to that drive If not it reads data from slave 2 Drive 2 Speed Ref Write Enable C40 Port Busy SP116 CTA2 MRX CPU DCM Slot Drive 2 Drive 2 Port Number 1 1 Slave Address Direction Fault Reset Run CMD Function Code 03 Read Holding Registers Write Enable Write Enable Start Slave Memory Address K48449 C42 Start Master Memory Address V2020 Number of Elements K
69. ting to slave 1 or slave 2 If there were additional slaves the K number for the counter would simply be increased to match the number of slaves in the system Port Busy SP116 CNT CT2 K2 CT2 This rung checks to see if it is time to communicate to slave 1 and also if there are no current write requests to that drive If not it reads data from slave 1 Drive 1 Speed Ref Slave 1 Port Busy Write Enable SP116 CTA2 KO C10 Drive 1 Drive 1 Direction Fault Reset Run CMD Write Enable Write Enable C11 C12 RX v20400 Continued next page 5 54 l DuRAputse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications DL RX WX Communication Program continued This rung checks to see if it is time to communicate to slave 2 and also if there are no current write requests to that drive If not it reads data from slave 2 Drive 2 Speed Ref Slave 2 Port Busy Write Enable SP116 CTA2 K1 C40 Drive 2 Drive 2 Direction Fault Reset Run CMD Write Enable Write Enable C41 C42 The following 21 rungs 6 26 are for slave 1 communications control This rung turns on C1 if there is a fault in drive 1 Drive 1 Fault V2000 K1 C1 This rung allows a switch on input X1 to reset the C bit used to indicate a drive 1 fault Drive 1 Fault Indication Reset Drive 1 Fault X1 C1 M X Rs This rung turns on C2 if drive 1 has an overload fa
70. to Drive 2 and also if there are no current Write requests to that drive If not it reads data from Drive 2 Port 3 Ready Flag Drive 42 Speed Ref Write Enable SC102 2 CTD3 1 1 C30 5 Receive Port3 Drive 2 Direction Slave ID Fault Reset Drive 2 Run CMD Modbus Function Code Write Enable Write Enable Slave Addr C31 C32 NO of Master Addresses Word Swap OFF Read Drive 2 C203 Receiving Success Ha 2 C204 Success Read Drive 2 Error C205 Master Continued next page 1st Ed Rev D 05 2013 DURAPULsE AC Drive User Manual 5 25 Chapter 5 DURAPULsE MODBUS Communications Eg MM CLICK Communication Program continued This rung resets all the Receive status coils if either comm event is successful Read Drive 1 Success C201 C200 C206 RST Read Drive 2 Success C204 The following rungs are used for Drive 1 communications through rung 27 Status from Drive 1 Drive 1 Fault I DS1 1 1 C1 7 2 SET Drive 1 Fault Indication Drive 1 Fault C100 C1 8 kC RST Status from Drive 1 Drive 1 Overload I DS1 1 4 C2 9 Sp ser Drive 1 Overload Indicator Drive 1 Overload C101 C2 10 E ser This rung determines if the Speed Direction Ext Fault or Fault Reset words have changed and need to be written Drive 1 Speed Drive 1 Speed Ref Retain Drive 1 Speed Ref Write Enable 1 DS310 C10 R
71. type Input 0A01 42562 9 P10 02 Proportional Control 0A02 42563 9 P10 03 Integral Control 0A03 42564 P10 04 Speed Control Output Speed Limit 0A04 42565 P10 05 Encoder Loss Detection 0A05 42566 For Modbus Decimal addresses used with CLICK PLCs insert another zero as the next to most significant digit e g 402333 instead of 42333 Parameter can be set during RUN Mode 5 10 Bl DURAruse AC Drive User Manual 1st Ed Rev D 05 2013 Chapter 5 DURAPULsE MODBUS Communications FERE MM El DURApuLse Status Addresses The DURAPpuLsE Series AC drive has status memory addresses that are used to monitor the AC drive The status addresses and value definitions are listed below Status Addresses Read Only DURApuLse Status Addresses Description Hexadecimal Modbus Decimal Status Monitor 1 2100 48449 Status Monitor 2 2101 48450 Frequency Command F 2102 48451 Output Frequency H 2103 48452 Output Current A 2104 48453 DC Bus Voltage d 2105 48454 Output Voltage U 2106 48455 Motor RPM 2107 48456 Scale Frequency Low Word 2108 48457 Scale Frequency High Word 2109 48458 Power Factor Angle 210A 48459 Load 210B 48460 PID Setpoint 210C 48461 PID Feedback Signal PV 210D 48462 Firmware Version Status Monitor 1 Error Codes
72. ult Drive 1 OL V2000 K4 C2 p er This rung allows a switch on input X2 to reset the overload fault bit C2 Drive 1 Overload Indication Reset Drive 1 OL X2 C2 E RST Continued next page IstEd Rev D 05 2013 DURAPULsE AC Drive User Manual 5 55 Chapter 5 DURAPULsE MODBUS Communications Eig DL RX WX Communication Program continued This rung checks to see if the drive Speed Direction External Fault or Fault Reset conditions have been changed in the local program and need to be written to drive 1 Drive 1 Drive 1 Drive 1 Speed Ref Speed Ref New Speed Ref Retain Write Enable V3000 V3010 C10 x Drive 1 Drive 1 Direction New Direction Retain V3002 3012 Drive 1 Drive 1 Drive 1 Drive 1 Run CMD Speed Ref External Fault New Ext Fault Retain Write Enable Write Enable V3003 V3013 C12 C10 SET Drive 1 Drive 1 Fault Reset New Fault Reset Retain V3004 V3014 xz This rung writes the new Speed Reference if it changes Drive 1 Drive 1 Speed Ref Direction Fault Reset Port Busy Write Enable Write Enable SP116 C10 C11 LD 4 MEN LD K2 LDA 3000 WX vaag2 Drive 1 Direction Fault Reset Write Enabled C11 __ seT This rung writes the Direction Ext Fault and Fault Reset words if any of them changes Drive 1 Drive 1 Speed Ref Direction Fault Reset Port Busy Write Enable Write Enable SP116 C10 C11 Drive 1 Speed D
73. ult of output frequency x P 8 01 high word Power Factor Angle h210A Status location for the power factor angle 96 Load h210B Status location for the amount of load on the AC drive Output Current Drive Rated Current x 100 PID Setpoint h210C Status location for the PID setpoint PID Feedback Signal Process Variable h210D Status location for PID process variable feedback signal Firmware Version h2110 Status location for the firmware version of the AC drive 1st Ed Rev D 05 2013 DURAputse AC Drive User Manual 5 13 Chapter 5 DURAPuLsE MODBUS Communications Communicating with AutomationDirect PLCs The following steps explain how to connect and communicate with the DURAPUuLsE AC drives using AutomationDirect PLCs inthe event of a communications time out This feature can be set up through parameters P9 03 P9 04 and P9 05 E DU RAPULSE drives have a provision for shutting down control or power to the inverter Step 1 Choose the Appropriate CPU The DURAputse AC drives will communicate with the following AutomationD irect PLCs using Modbus communications Modbus control is easier to accomplish from a DirectLO GIC PLC with an RS 485 port and MRX MW X or from a CLICK PLC using Send Receive instructions Choose Your CPU Primary Choices CLICK Analog CPU with Send Receive instructions amp RS 485 comm port D2 260 or DLO6 with M RX MW X instructions amp RS 485 comm port CLICK
Download Pdf Manuals
Related Search
Related Contents
User Manuals - Partnershop DeLOCK 82905 USB cable the Product Users Manual USB Car Charger, 2 ports, 17W Caractéristiques Utilisation Mode d`emploi - dosage Seiko Kinetic Titanium Watch MANUAL SOLAR CONTROLLER HOME V03_rev DE R SERIES - Hellweg CAKE POP MAKER CPM 3529 Bedienungsanleitung/Garantie Copyright © All rights reserved.