Home
Altivar 71
Contents
1. Connection accessories Master PLC PC or communication module Modbus cable depending on the type of master Modbus cable TSX CSAe00 Junction box TSX SCA 50 Subscriber sockets TSX SCA 62 Modbus drop cables VW3 A8 306 Modbus drop cable VW3 A8 306 D30 Description Code Catalog number Tap junction 4 TSX SCA 50 3 screw terminals and an RC line terminator to be connected using cable VW3 A8 306 D30 Subscriber socket 5 TSX SCA 62 2 female 15 way SUB D connectors 2 screw terminals and an RC line terminator to be connected using cable VW3 A8 306 or VW3 A8 306 D30 Connecting cables Description Length m Connectors Code Catalog number Cables for Modbus bus 3 1 RJ45 connector and one stripped end 7 VW3 A8 306 D30 3 1 RJ45 connector and 1 male 15 way SUB D connector for 6 VW3 A8 306 TSX SCA 62 RS 485 double shielded 100 Supplied without connector TSX CSA 100 twisted pair cables 200 Supplied without connector TSX CSA 200 500 Supplied without connector 3 TSX CSA 500 Bus connection Type of master Master interface Modbus connection accessories for junction boxes using screw terminals Description Catalog number Twido PLC Adaptor or screw terminal Modbus cable TSX CSA100 or RS485 interface module TSX CSA200 or TSX CSA500 TSX Micro PLC Mini DIN RS485 Tap junction TSX P ACC 01 connector port PCMCIA card Cable equipped with a special connector a
2. kekeke B amp amp BEBREBEBBBBB ReBRB PBeboae kki A I N I IO 10 IN ID IB 00 N IO IO 10 10 10 10 lo NIM WIN IN e IO lO ID O11 A Po While every precaution has been taken in the preparation of this document Schneider Electric SA assumes no liability for any omissions or errors it may contain nor for any damages resulting from the application or use of the information herein The products and options described in this document may be changed or modified at any time either from a technical point of view or in the way they are operated Their description can in no way be considered contractual Before you begin Read and understand these instructions before performing any procedure with this drive A DANGER HAZARDOUS VOLTAGE Read and understand this manual before installing or operating the Altivar 71 drive Installation adjustment repair and maintenance must be performed by qualified personnel The user is responsible for compliance with all international and national electrical standards in force concerning protective grounding of all equipment Many parts in this variable speed drive including printed wiring boards operate at line voltage DO NOT TOUCH Use only electrically insulated tools DO NOT touch unshielded components or terminal strip screw connections with voltage present DO NOT short across terminals PA and PC or across the DC bus capacitors Install and close all covers before applying power
3. Exception responses An exception response is returned by a slave when it is unable to perform the request which is addressed to it Format of an exception response CRC16 Lo Hi 1 byte 1 byte 1 byte 2 bytes Slave no Response code Error code Response code Function code of the request 16 80 the most significant bit is set to 1 Error code 1 The function requested is not recognized by the slave 2 The word addresses indicated in the request do not exist in the slave 3 The word values indicated in the request are not permissible in the slave 4 The slave has started to execute the request but cannot continue to process it completely Example Write the value 1 to word ETA W3 201 which cannot be written as in read only mode on slave 4 Request Slave no Request code No of 1st word No of words No of bytes Value of 1st word CRC CRC Hi Lo Hi Lo Hi Lo Lo Hi 04 10 0c 81 00 01 02 00 01 8A D1 Response Slave no Response code Error code CRC CRC Lo Hi 04 10 80 90 04 5D C2 Read non existent or protected parameters If a set of parameters is read using a Modbus function the value returned for non existent and protected parameters is equal to 16 8000 If the same Modbus function is used to read parameters all of which are non existent or protected the drive sends back an exception response with an error code equal
4. Not connected Bus connection Wiring recommendations Use the Telemecanique cable with 2 pairs of shielded twisted conductors catalog number TSXCSA100 TSXCSA200 or TSXCSA500 Keep the Modbus cable away from the power cables 30 cm minimum e If it is necessary for the Modbus cable and the power cables to cross each other be sure they cross at right angles e Whenever possible connect the cable shielding to the protective ground e g to the ground of each device if this ground is connected to the protective ground e Install a line terminator at both ends of the line Ensure the correct polarization of the line Connect the common polarity Common signal to the protective ground at one or more points on the bus For more information please refer to the TSX DG KBL E guide Electromagnetic compatibility of industrial networks and fieldbuses RS485 standard The RS485 standard allows variants of different characteristics e Polarization e Line terminator e Distribution of a reference potential e Number of slaves e Length of bus The new Modbus specification published on www modbus org in 2002 contains precise details of all these characteristics They are also summarized in the next paragraph standard schematic The new Telemecanique devices conform to this specification Some devices comply with earlier specifications The two most widespread are described in the appendices e Uni Telway
5. Scan Out1 address Scan Out2 address Scan Out3 address Scan Out4 address Scan Out5 address Scan Out6 address Scan Out7 address Scan Out8 address Note All modifications to parameters NMA1 NMA8 or NCA1 NCA8 must be made with the motor stopped The master PLC program should be updated to take account of this modification 19 Configuration Configuring monitored parameters Up to 4 parameters can be selected and their value displayed in the 1 2 MONITORING menu on the graphic display terminal The selection is made via the 6 MONITOR CONFIG menu 6 3 CONFIG COMM MAP submenu Each of the parameters Address 1 select Address 4 select can be used to select the logic address of the parameter An address at zero is used to disable the function 6 3 CONFIG COMM MAP Address 1 select 3204 In the example given here the monitored words are F dd Sioned e Parameter 1 Motor current LCR Logic address 3204 signed decimal ormat address f igne format Address 2 select 3205 e P ter 2 Motor torque OTR Logic address 3205 signed decimal ae que Log 9 Format address 2 Signed e Parameter 3 Last fault LFT Logic address 7121 hexadecimal format Address 3 select 7121 e Disabled parameter Address WO default format Hexadecimal format Format address 3 s Hex Address 4 select 0 Format address 3 Hex One of the three display formats be
6. These 2 networks provide access to the drive s 3 Modbus servers which are identified by their address The address of each server is the same on both networks These 2 networks constitute a single channel The drive makes no distinction between the commands and targets that come from the 2 ports i e the 2 Modbus masters In practice a single PLC or industrial HMI terminal Magelis type controls the drive The display terminal and PowerSuite are also Modbus masters but benefit from designated channels They are identified as setup tools and make use of specific services Addresses e The Modbus addresses of the drive can be configured from 1 to 247 e Address 0 coded in a request sent by the master is reserved for broadcasting ATV 71 drives take account of the request but do not respond to it The drive has 3 Modbus servers each with its own address One Modbus server for the drive parameters One Modbus server for the variables MW of the Controller inside programmable card One Modbus server for the communication card Ethernet parameters The addresses of these servers are identical for both Modbus network and Modbus HMI The assignment of these addresses is subject only to the following regulations Addresses must be between 1 and 247 Each address must be unique within the context of the network 29 Modbus protocol Modbus functions The following table indicates which Modbus functions are mana
7. 02 03 OC1E 0004 276C Response 02 03 08 0028 0258 01F4 0000 52B0 Value of W3 102 W3 103 W3 104 w3 105 Parameters SFr tFr HSP LSP 30 Modbus protocol Example 2 Use function 3 to read 5 memory words MW20 16 0014 to MW24 16 0018 on the Controller Inside card catalog number VW3 A3 510 the Modbus server address for this card is configured using the Modbus add CI card A O A parameter Modbus address 54 16 36 The five values read are as follows 16 0054 16 0123 16 01A3 16 1AD5 and 16 009E Request 36 03 0014 0005 C18A Response 36 03 0A 0054 0123 01A3 1AD5 009E 214C MW20 MW21 YMW22 MW23 YMW24 Example 3 Use function 3 to read the current value of the Ethernet card IP address reference VW3 A3 310 the Modbus server address for this card is configured using the Mdbs add com card AN O parameter Modbus address 104 16 68 The 4 consecutive addresses used for this IP address run from 60 006 16 EA66 to 60 009 16 EA69 and their values are equal to 16 008B 16 00A0 16 0045 and 16 F1 IP address IPC1 IPC2 PC3 IPC4 139 160 69 241 Request 68 03 EA66 0004 9937 Response 68 03 08 008B 00A0 0045 00F1 2E0A IPC1 IPC2 IPC3 IPC4 Write one output word Function 6 Request and response the frame format is identical Slave 06 Word number Value of word CRC16 no Hi Lo Hi Lo
8. 2 and the command Note Target 2 is directly connected to the drive s reference limit In the event of switching the functions that have an effect on the target summing PID etc are disabled Configuration via the graphic display terminal or the integrated display terminal Menu Parameter Value 1 6 COMMAND c L Profile C HE F Combined 5 n Ref 1 chan F 1 Modbus db Ref 2 chan F 2 AN1 ref A 1 Ref 2 switching F LI5 4 15 17 Configuration Control in Drivecom profile via Modbus and target switching at the terminals The command comes from Modbus The command comes either from Modbus or from the terminals Input LI5 at the terminals is used to switch the target between Modbus and the terminals The command is in Drivecom profile Configure the following parameters Parameter Value Comment Profile Separate Drivecom profile The run commands are in Drivecom profile the command and the target can come from different channels Target 1 configuration Modbus Target 1 comes from Modbus Target 1B configuration Analog input 1 on the terminals Target 1B comes from input Al1 on the terminals Target switching Input LI5 Input LI5 switches the target 1 lt 1B Command 1 configuration Modbus Command 1 comes from Modbus Command switching Channel 1 Channel 1 is the command cha
9. 9 bytes The length of this object varies according to the device name assigned to the drive the latter being configured by the user 7 DISPLAY CONFIG menu 7 1 USER PARAMETERS submenu DEVICE NAME parameter Maximal length 16 bytes 34 Modbus protocol Negative response specifically related to identification function Slave 2B 80 Type of MEI Error code CRC16 no AB 0E 00 to 02 Lo Hi 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte Error code 16 00 No error 16 01 The Request code 16 2B the Type of MEI 16 0E or the ReadDeviceld 16 01 contained in the request is incorrect 16 02 The Object Id 16 00 contained in the request is incorrect Example of positive response Following the request from the Modbus master slave 2 identifies itself as follows e Manufacturer name Telemecanique Device name ATV71HU15M3 e Device version 0201 Device name MACHINE 4 Request CRC CRC Slave no Request code Type of MEI ReadDeviceld Object Id Lo Hi 02 2B OE 01 00 34 77 Response Slave Response Type of i Degree of No of additional Next object Id ene eee no code MEI ReadDeviceld conformity frames Object no 02 2B 0E 01 02 00 00 04 Id of Length
10. Command word CMD Scan Out2 address nC A2 Speed target LFRD Scan Out3 address nc A3 Not used Scan Out4 address nC A4 Not used Scan Out5 address nc A5 Not used Scan Out6 address nC A6 Not used Scan Out7 address nC A 7 Not used Scan Out8 address nC AB Not used The 8 periodic input variables are assigned by means of parameters NMA1 to NMAB8 They are configured using the graphic display terminal or integrated display terminal via the 1 9 COMMUNICATION CON menu and COM SCANNER INPUT ICS submenu An NCA parameter with a value of zero does not designate any parameter in the drive These 8 words are described in the table below Parameter name Default assignment Scan In1 address n NA 1 Status word ETA Scan In2 address a nA 2 Output speed RFRD Scan In3 address a NA 3 Not used Scan In4 address 71774 Not used Scan In5 address a NA 5 Not used Scan In6 address n NABE Not used Scan In7 address n nA 7 Not used Scan In8 address n NAB Not used Example of communication scanner configuration via the graphic display terminal RDY MDB 00 00Hz 0A COM SCANNER INPUT Scan In1 address Scan In2 address Scan In3 address Scan In4 address Scan In5 address Scan In6 address Scan In7 address Scan In8 address COM SCANNER OUTPUT RDY MDB 00 00Hz 0A
11. Lo Hi 1 byte 1 byte 2 bytes 2 bytes 2 bytes Example Write value 16 000D to word W9 001 16 2329 on slave 2 ACC 13 s Request and response 02 06 2329 000D 9270 31 Modbus protocol Diagnostics Function 8 Subcode 16 00 Echo This function asks the slave being interrogated to echo return the message sent by the master in its entirety Subcode 16 0A Counter reset This function resets all the counters responsible for monitoring a slave s exchanges Subcode 16 0C Read message counter responsible for counting messages received with checksum errors Subcode 16 0E Read message counter responsible for counting messages addressed to slave Read a word indicating the total number of messages addressed to the slave regardless of type excluding broadcast messages Request and response Slave no 08 Subcode Data CRC16 Hi Lo Hi Lo Lo Hi 1 byte 1 byte 2 bytes N bytes 2 bytes Subcode Request data Response data Function executed 00 XX YY XX YY Echo 0A 00 00 00 00 Counter reset 0c 00 00 XX YY Read message counter responsible for counting messages counter value received with checksum errors OE 00 00 XX YY Read message counter responsible for counting messages counter value addressed to slave Example Values 16 31 and 16 32 echoed by slave 4 Request and response if function successful Slave no Request code or Response co
12. Profibus INTERBUS Uni Telway FIPIO DeviceNet Modbus Plus manuals These manuals describe e Connection to the bus or network e Configuration of the communication specific parameters via the integrated display terminal or the graphic display terminal e Diagnostics e Software setup e The communication services specific to the protocol Altivar 58 58F migration manual This manual describes the differences between the Altivar 71 and the Altivar 58 58F It explains how to replace an Altivar 58 or 58F including how to replace drives communicating on a bus or network Introduction Presentation Two integrated communication ports mean that the Modbus protocol can be accessed directly One RJ45 Modbus HMI connector port located on the drive front panel which is used to connect The graphic display terminal A Magelis industrial HMI terminal The PowerSuite software workshop One RJ45 Modbus network port located on the drive control terminals which is dedicated to control and signaling by a PLC or other type of controller It also supports the connection of a terminal or the PowerSuite software workshop when the terminal port is not available The two Modbus ports on the Altivar 71 can be used for the following functions e Configuration e Adjustment e Control e Monitoring The Altivar 71 supports The 2 wire RS485 physical layer e The RTU transmission mode This manual describes how to set up the Altivar 71
13. add Cl card ANDA 1 to 247 Controller inside card Modbus server disabled 1 1 to 247 24 7 Off a FF Off a FF Mdbs add com card 1 to 247 1 1 to 247 2 4 7 Off a FF ANDE Ethernet communication card Modbus server Off a FF disabled Modbus baud rate 4800 bps 4 8 Kbps 4 B 19 2 Kbps Ebr 9600 bps 9 6 Kbps 9 6 19 2 19200 bps 1 19 2 Kbps 19 38400 bps 38 4 Kbps 38 Modbus format 8 data bits odd parity 1 stop bit 8 O 1 aa 8E 1 8E 1 EFD 8 data bits even parity 1 stop bit 1 8 E 1 8E 8 data bits no parity 1 stop bit 8 N 1 87 8 data bits no parity 2 stop bits 8 N 2 dn 2 The addresses are applicable to both Modbus network and Modbus HMI These 3 addresses can be freely chosen and must all be different To access the drive parameters which are described in the parameters manual just use the address Modbus Address A d d The addresses Modbus add Cl card A O A and Mdbs add com card A OC are used solely for accessing the Controller Inside catalog number VW3 A3 510 and Ethernet catalog number VW3 A3 310 option card parameters Modbus HMI The configuration of the Modbus HMI parameters can be accessed via the 1 9 COMMUNICATION 0n menu MODBUS HMI 11d 2 submenu Note The drive address on Modbus HMI is identical to that on Modbus network If Modbus network is disable
14. or starting and stopping the drive Before servicing the variable speed drive Disconnect all power Place a DO NOT TURN ON label on the variable speed drive disconnect Lock the disconnect in the open position Disconnect all power including external control power that may be present before servicing the drive WAIT 15 MINUTES for the DC bus capacitors to discharge Then follow the DC bus voltage measurement procedure given in the Installation Manual to verify that the DC voltage is less than 45 Vdc The drive LEDs are not accurate indicators of the absence of DC bus voltage Electric shock will result in death or serious injury CAUTION DAMAGED EQUIPMENT Do not operate or install any drive that appears damaged Failure to follow this instruction can result in equipment damage Documentation structure Installation manual This manual describes e How to assemble the drive e How to connect the drive Programming manual This manual describes e The functions e The parameters e How to use the drive display terminal integrated display terminal and graphic display terminal Communication parameters manual This manual describes e The drive parameters with specific information addresses formats etc for use via a bus or communication network e The operating modes specific to communication status chart e The interaction between communication and local control Modbus CANopen Ethernet
15. schematic page 41 e Jbus schematic page 42 Requirements enabling different types of protocol to coexist are given in the appendix e Mixed schematic page 43 Bus connection Modbus standard schematic The standard schematic corresponds to the Modbus specification published in 2002 on www modbus org Modbus_over_serial_line_V1 pdf Nov 2002 and in particular to the schematic of the 2 wire multidrop serial bus The ATV71 drive conforms to this specification Schematic diagram Slave 1 Slave n Type of trunk cable Shielded cable with 1 twisted pair and at least a 3 conductor Maximum length of bus 1000 m at 19200 bps with the Telemecanique TSX CSAe cable Maximum number of stations without 32 stations i e 31 slaves repeater Maximum length of tap links e 20 m for one tap link 40 m divided by the number of tap links on a multiple junction box Bus polarization One 450 to 650 Q pulldown resistor at 5 V 650 or thereabouts recommended One 450 to 650 Q pulldown resistor at Common 650 Q or thereabouts recommended This polarization is recommended for the master Line terminator One 120 Q 0 25 W resistor in series with a 1nF 10 V capacitor Common polarity Yes Common connected to the protective ground at one or more points on the bus Bus connection Connection via RJ45 wiring system Connection accessories 1 Mas
16. to 2 Example of non existent or protected parameters being read In this example the same read request is used several times in a row for a non existent parameter W8400 CHCF W8401 and COP W8402 in order to demonstrate the effects of parameter protection The read request is a Read N output words request function 3 and is addressed to a drive whose Modbus address is equal to 12 16 0C The read operation is performed for 3 consecutive words starting with address W8400 16 20D0 The value of CHCF is equal to 16 0003 I O profile and the value of COP is equal to 16 0002 copy of the command word on switching from command channel no 1 to command channel no 2 Read N output words request Slave no Request code No of 1st word No of words CRC16 Hi Lo Hi Lo Lo Hi 0C 03 20 DO 00 03 0E EF 39 Modbus protocol Response to the Read N output words request Scenario no 1 Parameters CHCF W8 401 and COP W8 402 not protected Successful reading of these two parameters and value equal to 16 8000 for the non existent parameter located at address W8 400 Slave no Response code No of bytes read Value of W8 400 Value of W8 401 Value of W8 402 CRC16 Hi Lo Hi Lo Hi Lo Lo Hi oC 03 06 80 00 00 03 00 02 17 E4 Scenario no 2 Parameter CHCF W8 401 protected and COP W8 402 not protected Successful reading of COP and value equal to 1
17. 3 5 characters Principle The Modbus protocol is a master slave protocol Only one device can transmit on the line at any time The master manages the exchanges and only it can take the initiative It interrogates each of the slaves in succession Master No slave can send a message unless it is invited to do so E9 In the event of an error during data exchange the master repeats the question and declares the interrogated slave absent if no response is received within a given time period J a If a slave does not understand a message it sends an exception response to the master The master may or may not repeat the request Direct slave to slave communications are not possible For slave to slave communication the application software must therefore be designed to interrogate one slave and send back data received to the other slave Two types of dialog are possible between master and slaves e The master sends a request to a slave and waits for it to respond The master sends a request to all slaves without waiting for them to respond broadcasting principle 28 Modbus protocol Altivar 71 Integrated Modbus The Altivar 71 features 2 integrated Modbus ports Modbus network Modbus HMI These 2 ports are physically independent of one another They are connected to 2 different Modbus networks each with its own master Different speeds and formats are possible in each case
18. 6 8000 for the non existent parameter located at address W8 400 and for parameter CHCF Slave no Response code No of bytes read Value of W8 400 Value of W8 401 Value of W8 402 CRC16 Hi Lo Hi Lo Hi Lo Lo Hi 0c 03 06 80 00 80 00 00 02 CE 24 Scenario no 3 Parameters CHCF W8 401 and COP W8 402 protected Exception response response code 16 80 request code as all the parameters read are either non existent or protected error code equal to 2 the word addresses indicated in the request do not exist in the slave Slave no Response code Error code CRC16 Lo Hi 0c 80 03 83 02 51 32 40 Appendix Non standard schematics UNI TELWAY schematic Telemecanique used the UNI TELWAY bus schematic for drives and soft starters ATV58 ATV28 ATS48 etc sold prior to the publication of the Modbus specifications on www modbus org In the case of the ATV31 and ATV71 speed drives the standard schematic applies see page 9 Schematic diagram Master Slave 1 Slave n Type of trunk cable Cable with 2 twisted pairs shielded in pairs Maximum length of bus 1000 m at 19200 bps Maximum number of stations without 29 stations i e 28 slaves repeater Maximum length of tap links 20m OC 40 m divided by the number of tap links on a multiple junctio
19. 650 1 4700 1 4700 and therefore Rp 587 Q 43 Appendix Non standard schematics Recommendations for setting up a Modbus network using non standard devices 1 Identify polarities DO and D1 They are labeled in a variety of ways according to the specification used Modbus DO D1 Common EIA TIA 485 A N B B C C UNI TELWAY D A D B OVL RD TD RD TD Jbus L L However certain RS485 electronic components are labeled in the opposite way to the EIA TIA 485 standard It may be necessary to perform a test by connecting a master to a slave then reversing the connection in the event of failure 2 Check polarizations Study the documentation supplied with the devices to determine the polarization resistance If there is one check that the value is correct see Use of UNI TELWAY slaves in a standard schematic page 43 Polarization is not always possible For example in the event of the 5 V not being available in the master 3 Select a line terminator In the case of polarization select an RC line terminator R 120 Q C 1 nF If polarization is not possible select an R line terminator R 150 Q 44 atv71_Modbus_Int_EN_V1 2005 02
20. 85 interface module 3 m cable equipped with an RJ45 connector and stripped at VW3 A8 306 D30 the other end TSX Micro PLC Mini DIN RS485 connector port 3 m cable equipped with a mini DIN connector and an RJ45 TWD XCA RJ030 connector PCMCIA card TSX SCP114 Stripped cable TSX SCP CM 4030 TSX Premium PLC TSX SCY 11601 or TSX SCY 21601 module SUB D 25 socket Cable equipped with a SUB D 25 connector and stripped at TSX SCY CM 6030 the other end for connection to the screw terminals of the LU9GC3 splitter block PCMCIA card TSX SCP114 Stripped cable TSX SCP CM 4030 Ethernet bridge Screw terminal RS485 3 m cable equipped with an RJ45 connector and stripped at VW3 A8 306 D30 174 CEV 300 10 the other end Profibus DP gateway RJ45 RS485 1 m cable equipped with 2 RJ45 connectors VW3 P07 306 R10 LA9P307 Fipio LUFP1 or RJ45 RS485 0 3 m cable equipped with 2 RJ45 connectors or VW3 A8 306 RO3 or Profibus DP LUFP7 or 1 m cable equipped with 2 RJ45 connectors or VW3 A8 306 R10 or DeviceNet LUFP9 3 m cable equipped with 2 RJ45 connectors VW3 A8 306 R30 gateway Serial port PC Male SUB D 9 RS232 RS485 converter and 3 m cable equipped withan TSX SCA 72 and RS232 serial port PC RJ45 connector and stripped at the other end for VW3 A8 306 D30 connection to the screw terminals of the LU9GC3 splitter block 11 Bus connection Connection via junction boxes
21. Altivar 71 Integrated Modbus User s manual Retain for future use z a brand of Sile Telemecanique Contents ls Before you begin SS Documentation structure Introduction Presentation Notation Bus connection Connecting to the Altivar 71 RJ45 connector pinouts Wiring recommendations RS485 standard Modbus standard schematic Connection via RJ45 wiring system Connection via junction boxes Connection onto screw terminals Configuration Configuring communication parameters Control signal configuration Configuring the communication scanner Configuring monitored parameters Configuring communication fault management Diagnostics LEDs Communication diagnostics Control signal diagnostics Communication faults Modbus protocol RTU mode Principle Altivar 71 Integrated Modbus Addresses Modbus functions Read N output words Function 3 Write one output word Function 6 Diagnostics Function 8 Write N output words Function 16 16 10 Identification Function 43 16 2B Read write N words Function 23 16 17 Communication scanner Exception responses Read non existent or protected parameters Appendix Non standard schematics UNI TELWAY schematic Jbus schematic Use of UNI TELWAY slaves in a standard schematic Recommendations for setting up a Modbus network using non standard devices lo l lon NN olola in fo
22. CP114 Cable equipped with a special connector and TSX SCY CU stripped at the other end 4530 Ethernet bridge Screw terminal RS485 z 174 CEV 300 10 Profibus DP gateway RJ45 RS485 LA9P307 Fipio gateway LUFP1 or RJ45 RS485 3 m cable equipped with an RJ45 connector and VW3 A8 306 Profibus DP gateway LUFP7 a SUB D 25 connector Serial port PC Male SUB D 9 RS232 serial port PC 13 Bus connection Connection onto screw terminals Connection accessories Description Catalog number Line For screw terminals R 120 Q C 1 nF VW3 A8 306 DRC terminators R 1509 VW3 A8 306 DR specific to Jbus schematic page 42 Connecting cables Description Length m Connectors Catalog number Cables for 3 1 RJ45 connector VW3 A8 306 D30 Modbus bus and one stripped end RS 485 double shielded 100 Supplied without connector TSX CSA 100 twisted pair cables 200 Supplied without connector TSX CSA 200 500 Supplied without connector TSX CSA 500 Configuration Configuring communication parameters Modbus network The configuration of the Modbus network parameters can be accessed via the 1 9 COMMUNICATION c On menu MODBUS NETWORK d submenu Modbus parameter Description Possible values display Terminal value Default Modbus Address Add 1 to 247 Drive Modbus server disabled 1 to 247 2 4 7 Off OFF Off 9 FF Modbus
23. FERENCE SWITCH Ref 1B switching b LI5 L 15 Control via Modbus in Drivecom profile The command and target come from Modbus The command is in Drivecom profile Configure the following parameters Parameter Value Comment Profile Combined Drivecom profile The run commands are in Drivecom profile the command and the target come from the same channel Target 1 configuration Modbus The command comes from Modbus Configuration via the graphic display terminal or the integrated display terminal Menu Parameter Value 1 6 COMMAND CEL Profile C HL F Combined 5 7 factory setting Ref 1 chan F 1 Modbus Jb Control via Modbus or the terminals in Drivecom profile Both the command and target come from Modbus or the terminals Input LI5 at the terminals is used to switch between Modbus and the terminals The command is in Drivecom profile Configure the following parameters Parameter Value Comment Profile Combined Drivecom profile The run commands are in Drivecom profile the command and the target come from the same channel Target 1 configuration Modbus Target 1 comes from Modbus Target 2 configuration Analog input 1 on the terminals Target 2 comes from input Al1 on the terminals Target switching Input LI5 Input LI5 switches the target 1 lt
24. ave required several Modbus requests This function is called the communication scanner The Altivar 71 communication scanner supports up to eight control scanner parameters and eight monitoring scanner parameters These parameters can be accessed via all the read and write requests supported by the Altivar 71 There is a marked improvement in performance for the following functions Code Modbus name Function name Max value of N 3 16 03 Read Holding Registers Read N output words 63 words max 16 16 10 Write Multiple Registers Write N output words 61 words max 43 16 2B Read Device Identification Identification The eight control scanner parameters are NC1 to NC8 W12 761 to W12 708 Their addresses are NCA1 to NCA8 W12 721 to W12 728 The eight monitoring scanner parameters are NM1 to NM8 W12 741 to W12 748 Their addresses are NMA1 to NMA8 W12 701 to W12 708 Configuration of the communication scanner is described in the Configuration section Example of how scanner parameters can be used e Use of the Read write N words function request code 23 16 17 e Transmission of the request to an Altivar 71 located at address 20 16 14 e Read all 8 monitoring scanner parameters NM1 to NM8 W12 741 to W12 748 addresses 16 31C5 to 16 31CC e List of source parameters No Parameter Logical address Read value No Parameter Logical a
25. b Cmd channel 1 a Modbus d b Control via Modbus or the terminals in I O profile Both the command and target come from Modbus or the terminals Input LI5 at the terminals is used to switch between Modbus and the terminals The command is in I O profile Configure the following parameters Parameter Value Comment Profile I O profile The run command is simply obtained by bit 0 of the command word Target 1 configuration Modbus Target 1 comes from Modbus Target 1B configuration Analog input 1 on the Target 1B comes from input Al1 on the terminals terminals Target switching Input LI5 Input LI5 switches the target 1 lt 1B Command 1 configuration Modbus Command 1 comes from Modbus Command 2 configuration Terminals Command 2 comes from the terminals Command switching Input LI5 Input LI5 switches the command Target 1B is connected to the functions summing PID etc which remain active even after switching Configuration Configure the following parameters Menu Parameter Value 1 6 COMMAND L Profile C HE F I O profile 0 Ref 1 chan F 1 Modbus 2b Cmd channel 1 a Modbus d b Cmd channel 2 d 2 Terminals E Command switching 5 LI5 L 15 1 7 APPLICATION FUNCT F un Ref 1B chan F 18 Al1 ref A 1 RE
26. combines the two examples for functions 3 and 16 With function 23 the line is less busy than with these two functions However the number of words that can be read and written is restricted e Write values of 20 16 14 and 30 16 1E respectively to the 2 words W9 001 and W9 002 on slave 2 e Read the 4 words W3 102 to W3 105 on the same slave values read 16 0028 16 0258 16 01F4 and 16 0000 Request Slave no Request code No of 15t word to be No of words to be No of 15t word to be No of words tobe read read written written Hi Lo Hi Lo Hi Lo Hi Lo 02 17 oC 1E 00 04 23 29 00 02 No of bytes to be written Value of 15t word to be written Value of 2 4 word to be written CRC CRC Hi Lo Hi Lo Lo Hi 04 00 14 00 1E D2 F5 Response Value of 1 Value of 2 Value of 3 Valueof4 CRC CRC Slave no Response code No of bytes word read word read word read word read Rad Hi Lo Hi Lo Hi Lo Hi Lo Lo Hi 02 17 08 00 28 02 58 01 F4 00 00 12 FO 36 Modbus protocol Communication scanner To improve communication performance with an Altivar 71 non contiguous drive parameters can be copied automatically to contiguous parameters Thus the copy of several non contiguous drive parameters can be read or written using a single read and or write request an operation which would normally h
27. d value 0 or display OFF the Modbus HMI connection remains active for the graphic display terminal and for PowerSuite Parameter Possible values Terminal Default display value HMI baud rate 9600 bps 9 6 Kbps 9 5 19 2 Kbps tbr 2 19200 bps 1 HMI format EF O2 19 2 Kbps i 19 2 19 2 8 E1 8E 1 8E 1 8E 1 8 data bits even parity 1 stop bit 1 1 The graphic display terminal will only work with these values Any other value will make communication with the graphic display terminal impossible 15 Configuration Control signal configuration Numerous control signal configurations are possible For more information refer to the programming manual and the parameters manual The following configurations are just some of the possibilities available Control via Modbus in I O profile The command and target come from Modbus The command is in I O profile Configure the following parameters Parameter Value Comment Profile I O profile The run command is simply obtained by bit 0 of the command word Target 1 configuration Modbus The target comes from Modbus Command 1 configuration Modbus The command comes from Modbus Configuration via the graphic display terminal or the integrated display terminal Menu Parameter Value 1 6 COMMAND C EL Profile HE F I O profile 0 Ref 1 chan F 1 Modbus d
28. dbus fault mgt SLL parameter which trigger a drive fault Modbus com SLF1 are Value Meaning Freewheel YES Freewheel stop factory setting Ramp stop rMP Stop on ramp Fast stop FSt Fast stop DC injection dCI DC injection stop The values of the Modbus fault mgt SLL parameter which do not trigger a drive fault are Value Meaning Ignore nO Fault ignored Per STT Stt Stop according to configuration of Type of stop Stt Change to fallback speed maintained as long as the fault persists and the run command has not been fallback spd LFF removed The drive maintains the speed at the time the fault occurred as long as the fault persists and the run command has not been removed Spd maint rLs The fallback speed can be configured in the 1 8 FAULT MANAGEMENT FLt menu using the Fallback speed LFF parameter 21 Diagnostics LEDs The HMI and MOD LEDs are located on the left hand side of the 4 digit 7 segment display on the front of the Altivar 71 They indicate the status of Modbus communications HMI Activity on Modbus HMI serial link MOD Activity on Modbus network serial link Each LED lights up for 200 ms when a frame is being transmitted on the corresponding Modbus network whether or not this is destined for the drive Note Altivar 71 drives with high power ratings gt 15 kW do not feature an inte
29. ddress Read value 1 ETA W3 201 16 0007 5 ULN W3 207 16 00F0 2 RFRD W8 604 16 1388 6 THD W3 209 16 0065 3 LCR W3 204 16 0064 7 THR W9 630 16 0032 4 OTR W3 205 16 0045 8 LFT W7 121 16 0000 e Write first 6 control scanner parameters NC1 to NC6 W12 761 to W12 766 addresses 16 31D9 to 16 31DE e List of target parameters No Parameter Logical address Value to be No Parameter Logical address Value to be written written 1 CMD W8 501 16 000F 5 ACC w9 001 16 04B0 2 LFRD W8 602 16 1388 6 DEC wg 002 16 0258 3 HSP W3 104 16 1F40 7 wo 16 0000 4 LSP W3 105 16 01F4 8 wo 16 0000 37 Modbus protocol The control scanner and monitoring scanner parameters are configured via the display terminal as follows Command Menu Value Code Parameter name Scan Out1 address aCA 1 8 501 CMD Command word Scan Out2 address nC A 8 602 LFRD Speed target Scan Out3 address A 3 3 104 HSP High speed Scan Out4 address CA 4 3105 LSP Low speed Scan Out5 address C A 5 9 001 ACC Acceleration time Scan Out6 address 7 075 9 002 DEC Deceleration time Scan Out7 address n CA 7 0 Scan Out8 address A8 0 Monitoring Men
30. de Subcode Hi Lo Value of 15t byte Value of 2 byte CRC16 Lo Hi 04 08 00 00 31 32 74 1B hexadecimal values 32 Modbus protocol Write N output words Function 16 16 10 Request Slave no 10 No of first word Number of words Number of bytes Value of first word CRC16 Hi Lo Hi Lo Hi Lo Lo Hi 1 byte 1 byte 2 bytes 2 bytes 1 byte 2 bytes 2 bytes Response Slave no 10 No of first word Number of words CRC16 Hi Lo Hi Lo Lo Hi 1 byte 1 byte 2 bytes 2 bytes 2 bytes Example Write values 20 and 30 to words W9 001 and W9 002 on slave 2 acceleration time 20 s and deceleration time 30 s Request Slave no Request No of first word Number of Number of Value of first word Value of second CRC16 code words bytes word Hi Lo Hi Lo Hi Lo Hi Lo Lo Hi 02 10 23 29 00 02 04 00 14 00 1E 73 A4 Response Slave no Response code No of first word Number of words CRC16 Hi Lo Hi Lo Lo Hi 02 10 23 29 00 02 9B B7 hexadecimal values 33 Modb us protocol Identification Function 43 16 2B Request sj 5B Type of MEI ReadDeviceld Object Id CRC16 ave no 0E 01 00 o Hi 1 by
31. drive on Modbus and also describes the Modbus services that are available on this drive Notation Drive terminal displays The graphic display terminal menus are shown in square brackets Example 1 9 COMMUNICATION The integrated 7 segment display terminal menus are shown in round brackets Example ON Parameter names are displayed on the graphic display terminal in square brackets Example Fallback speed Parameter codes are displayed on the integrated 7 segment display terminal in round brackets Example L F F Formats In this manual hexadecimal values are written as follows 16 Bus connection Connecting to the Altivar 71 Connection accessories should be ordered separately please consult our catalogs Connect the RJ45 cable connector to either of the RJ45 connectors on the Altivar 71 RJ45 connector pinouts View from underneath Modbus network Modbus HMI Pin Signal Pin Signal CAN_H 1 Not connected CAN _L 1 Not connected CAN_GND 1 Not connected D1 D1 DO DO Not connected Not connected VP 2 VP 2 CO NI OD of A OIN Common CO NI oO A OIN Common 1 CANopen signal 2 Power supply 10 V 20 mA for an RS232 RS485 converter to PowerSuite or for the graphic display terminal Note Avoid using pins marked
32. ection Example of communication scanner display on the graphic display terminal COM SCANNER INPUT MAP COM SCANNER OUTPUT MAP Com Scan In1 val 34359 Com Scan Out val Com Scan In2 val 600 Com Scan Out2 val Com Scan In3 val Com Scan Out3 val Com Scan In4 val Com Scan Out4 val Com Scan In5 val Com Scan Out5 val 0 0 0 Com Scan In6 val 0 Com Scan Out6 val 0 Com Scan In7 val 0 Com Scan Out val 0 Com Scan In8 val 0 Com Scan Out val 0 In this example only the first two parameters have been configured default assignment Com Scan In1 val 34343 Status word 34359 16 8637 gt Drivecom status Operation enabled reverse operation speed reached Com Scan In2 val 600 Output speed 600 600 rpm Com Scan Out val 15 Command word 15 16 000F Enable operation Run command Com Scan Out2 val 598 Speed target 600 gt 598 rpm 26 Diagnostics Communication faults If there is no Modbus communication the indicators of the integrated display terminal or graphic display terminal do not light There is no specific indicator for Modbus communication fault In factory settings a Modbus communication fault triggers a re settable drive fault Modbus com 5L F 1 anda freewheel stop The response of the drive in the event of a CANopen communication fault can be changed see Configuring communication fault ma
33. f stations without repeater Up to 32 stations i e 31 slaves depending on Rp and the number of 4 7 kQ resistors Maximum length of tap links 20 m for a single tap link 40 m divided by the number of tap links on a multiple junction box Bus polarization One pulldown resistor at 5 V Rp One pulldown resistor at the Common Rp This polarization can be provided in the master The value of Rp should be validated or determined by calculating the equivalent polarization Re according to the polarization of the master and slave stations The value of Re must be between 162 and 650 Q recommended value 650 Line terminator One 120 Q 0 25 W resistor in series with a 1 nF 10 V capacitor Common polarity Yes Common e If the master has a 470 Q polarization and all the slaves have 4 7 KQ polarization up to 18 slaves can be connected e To calculate the polarization resistance Rp all station polarizations must be deemed to be connected in parallel Example If the bus Rp polarization is 470 Q installed in the master and 2 slaves have 4700 Q polarization the equivalent polarization is 1 Re 1 470 1 4700 1 4700 i e Re 1 1 470 1 4700 1 4700 and therefore Re 390 Q 390 Q is greater than 162 Q and the schematic is correct For an ideal equivalent polarization 650 Q Rp bus polarization can be installed so that 1 650 1 Rp 1 4700 1 4700 i e Rp 1 1
34. ged by the Altivar 71 and specifies their limits The read and write functions are defined from the point of view of the master Code Modbus name Function name Broadcast Max value of N 3 16 03 Read Holding Registers Read N output words NO 63 words max 6 16 06 Write Single Register Write one output word YES 8 16 08 Diagnostics Diagnostics NO 16 16 10 Write Multiple Registers Write N output words YES 61 words max 23 16 17 Read Write Multiple Registers Read write N words NO 20 20 words max 43 16 2B Read Device Identification Identification NO Read N output words Function 3 Note Hi high order byte Lo low order byte This function can be used to read the ATV 71 parameters regardless of type Request Slave 03 No of first word Number of words CRC16 ng Hi Lo Hi Lo Lo Hi 1 byte 1 byte 2 bytes 2 bytes 2 bytes Response Slave 03 Number of First word value Last word value CRC16 no byiesread Hi Lo Hi Lo Lo Hi 1 byte 1 byte 1 byte 2 bytes 2 bytes 2 bytes Example 1 Use function 3 to read 4 words W3 102 to W3 105 16 0C1E to 16 0C21 on slave 2 where e SFr Switching frequency 4 kHz W3 102 16 0028 e tFr Maximum output frequency 60 Hz W3 103 16 0258 e HSP High speed 50 Hz W3 104 16 01F4 LSP Low speed 0 Hz W3 105 16 0000 Request
35. grated display terminal The HMI and MOD statuses are fed back to the graphic display terminal 22 Diagnostics Communication diagnostics 50 00Hz 80A COMMUNICATION MAP Cmd Channel Modbus Cmd value 000FHex Active ref channel Modbus Frequency ref 500 0Hz Status word 827Hex W3204 53 W3205 725 W7132 0000Hex wo RH COM SCANNER INPUT MAP COM SCANNER OUTPUT MAP CMD WORD IMAGE FREQ REF WORD MAP MODBUS NETWORK DIAG MODBUS HMI DIAG CANopen MAP PROG CARD SCANNER On the terminal in the 1 2 MONITORING 5 uP menu COMMUNICATION MAP 77 submenu The MODBUS NETWORK DIAG submenu can be used to display the status of Modbus network communications The MODBUS HMI DIAG submenu can be used to display the status of Modbus HMI communications MODBUS NETWORK DIAG MODBUS HMI DIAG COM LED Scan Out1 address Mb1 process frames Mb2 process frames Mb1 CRC errors Mb2 CRC errors LED display e MOD LEDs Modbus network activity e HMI LED Modbus HMI activity The amp symbol signifies a non illuminated LED no Modbus frames The symbol signifies an illuminated LED Modbus frame detected The LED remains illuminated for 200 ms whenever the drive detects transmission of a Modbus frame even if the drive itself is not the intended recipient These LEDS are equivalent to the LEDs on the 7 seg
36. information between the Altivar 71 drive and the Modbus master e Active command channel e Value of the command word CMD produced by the active command channel e Active target channel e Value of the target produced by the active target channel e Value of the status word e Values of four parameters selected by the user Inthe COM SCANNER INPUT MAP submenu Values of communication scanner input words Inthe COM SCANNER OUTPUT MAP submenu Values of communication scanner output words Inthe CMD WORD IMAGE submenu Command words produced by all channels Inthe FREQ REF WORD MAP submenu Frequency targets produced by all channels Example of displaying communication diagnostic information 50 00Hz 80A COMMUNICATION MAP Cmd Channel Modbus Cmd value 000FHex Active ref channel Modbus Frequency ref 500 0Hex Status word 8627Hex ee W3204 53 W3205 725 W7132 0000Hex Wo Fee COM SCANNER INPUT MAP COM SCANNER OUTPUT MAP CMD WORD IMAGE FREQ REF WORD MAP MODBUS NETWORK DIAG MODBUS HMI DIAG CANopen MAP PROG CARD SCANNER Displaying the command word The Cmd Channel parameter indicates the active command channel The Cmd value parameter indicates the hexadecimal value of the command word CMD used to control the drive The CMD WORD IMAGE submenu Modbus cmd parameter is used to display the hexadecimal value of the command word produced by Modbus 25 Diagnos
37. low can be assigned to each monitored word Format Range Terminal display Hexadecimal 0000 FFFF Hex Signed decimal 32 767 32 767 Signed Unsigned decimal 0 65 535 Unsigned Note If a monitored parameter has been assigned to an unknown address e g 3200 has been assigned to a protected parameter has not been assigned the value displayed on the COMMUNICATION MAP screen will be see Diagnostics section 20 Configuration Configuring communication fault management If the drive does not receive any Modbus request sent to its address for a predefined period of time time out a Modbus fault is triggered The time out can be set to between 0 1 and 30 s using the graphic display terminal or integrated display terminal via the Modbus time out O parameter in the 1 9 COMMUNICATION c On menu MODBUS NETWORK fd submenu The default value is 10 s The response of the drive in the event of a Modbus communication fault can also be configured 0 00Hz 0A COM FAULT MANAGEMENT Network fault mgt Freewheel Configuration can be performed using the graphic display terminal or integrated display terminal via the Modbus fault mgt 511 parameter in the 1 8 FAULT MANAGEMENT F L menu Modbus fault mgt Freewheel COM FAULT MANAGEMENT L L submenu CANopen fault mgt Freewheel The values of the Mo
38. ment integrated terminal where supplied together with the drive The graphic display terminal is connected to Modbus HMI the symbol assigned to the COM LED field in the MODBUS HMI DIAG submenu is always 23 Diagnostics Modbus counters Mb1 process frames and Mb2 process frames indicate the number of Modbus frames received The counter counts both correct and incorrect frames Mb1 CRC errors and Mb2 CRC errors indicate the number of Modbus frames containing checksum errors In the case of these two counters only frames that are destined for the drive and whose Modbus address is supplied by the Modbus Address A d d parameter are counted Broadcast frames are not counted Mb1 process frames and Mb2 process frames are modulo 65 536 counters i e the value is reset to zero once the value of 65 535 is reached By contrast the Mb1 CRC errors and Mb2 CRC errors remain at 65 535 once this value is reached Each Modbus counter corresponds to a drive parameter Menu Parameter name Code Logical address MODBUS NETWORK DIAG Mb1 process frames MiCT 6011 Mb1 CRC errors M1EC 6010 MODBUS HMI DIAG Mb2 process frames M2CT 6031 Mb2 CRC errors M2EC 6030 24 Diagnostics Control signal diagnostics On the graphic display terminal the 1 2 MONITORING 5 uP menu COMMUNICATION MAP c n submenu can be used to display control signal diagnostic
39. n box Bus polarization For the master and each slave One 4 7 KQ pulldown resistor at 5 V One 4 7 KQ pulldown resistor at 0 VL Line terminator One 120 Q 0 25 W resistor in series with a 1 nF 10 V capacitor Common polarity Yes 0 VL and high impedance placed between 0 VL and the ground in each station 41 Appendix Non standard schematics Jbus schematic Schematic diagram Master Slave 1 Slave n Type of trunk cable Cable with 1 shielded twisted pair Maximum length of bus 1300 m at 19200 bps Maximum number of stations without 32 stations i e 31 slaves repeater Maximum length of tap links 3m Bus polarization One 470 Q pulldown resistor at 5 V One 470 Q pulldown resistor at 0 V This polarization is often provided in the master Line terminator One 150 Q resistor Common polarity No 42 Appendix Non standard schematics Use of UNI TELWAY slaves in a standard schematic Slaves with 4 7kQ polarization can be integrated into a standard schematic Suitable polarization resistance Rp must be calculated Schematic diagram In this example slave 1 has a 4 7 kQ polarization OR Master Slave 1 4 7 KQ Slave n Type of trunk cable Shielded cable with 1 twisted pair and at least a 3 conductor Maximum length of bus 1000 m at 19200 bps Maximum number o
40. nagement Drive fault Modbus com 5L F 1 freewheel stop stop on ramp fast stop or DC injection stop No drive fault stop maintain fallback The fault management is described in the user manual Communication parameters chapter Communication monitoring e After initialization power up the drive checks that at least one of the command or target parameters has been written once via Modbus Then if a Modbus communication fault occurs the drive reacts according to the configuration stop maintain fallback The Modbus communication fault is generated if the drive receives no request during a predefined period see Configuration of the communication fault management Every type of request is taken into account write read If the drive is connected to a Modbus communication gateway the upper level network may be connected to a PLC that commands the drive an industrial display terminal Magelis or a SCADA that monitors the drive If the PLC fails the SCADA may go on transmitting Modbus requests to the drive In this case the Modbus communication fault will not appear 27 Modbus protocol RTU mode The transmission mode used is RTU mode The frame contains no message header byte nor end of message bytes It is defined as follows The data is transmitted in binary code CRC16 cyclic redundancy check parameter The end of the frame is detected on a silence greater than or equal to
41. nd TSX SCP CU 4030 TSX SCP114 stripped at the other end TSX Premium PLC TSX SCY 11601 or TSX SCY 21601 module SUB D 25 socket Cable equipped with a SUB D 25 connector and stripped at the other end TSX SCY CM 6030 PCMCIA card Cable equipped with a special connector and TSX SCP CU 4030 TSX SCP114 stripped at the other end Ethernet bridge Screw terminal RS485 Modbus cable TSX CSA100 or 174 CEV 300 10 TSX CSA200 or TSX CSA500 Profibus DP gateway RJ45 RS485 3 m cable equipped with an RJ45 connector VW3 A8 306 D30 LA9P307 and stripped at the other end Fipio LUFP1 or RJ45 RS485 3 m cable equipped with an RJ45 connector VW3 A8 306 D30 Profibus DP LUFP7 or and stripped at the other end DeviceNet LUFP9 gateway Serial port PC Male SUB D 9 RS232 RS485 converter and TSX SCA 72 and RS232 serial port PC Modbus cable TSX CSA100 or TSX CSA200 or TSX CSA500 Type of master Master interface Modbus connection accessories for junction boxes using SUB D 15 Description Catalog number Twido PLC Adaptor or screw terminal RS485 interface module TSX Micro PLC Mini DIN RS485 connector port PCMCIA card TSX SCP114 Cable equipped with a special connector anda TSX SCY CU SUB D 25 connector 4530 TSX Premium PLC TSX SCY 11601 or TSX SCY Cable equipped with a SUB D 25 connector and TSX SCP CU 21601 module SUB D 25 stripped at the other end 4530 socket PCMCIA card TSX S
42. nnel Target 1B is connected to the functions summing PID etc which remain active even after switching Configuration via the graphic display terminal or the integrated display terminal Menu Parameter Value 1 6 COMMAND C EL Profile C HE F Separate 5 E P Ref 1 chan F 1 Modbus db Cmd channel 1 4d Modbus db Command switching 5 ch1 active lt d 1 1 7 APPLICATION FUNCT F Un Ref 1B channel F 1b Al1 ref A 1 1 REFERENCE SWITCH Ref 1B switching b 5 15 Configuration Configuring the communication scanner Advantages of the communication scanner The communication scanner enables all the application relevant parameters to be grouped in 2 consecutive word tables so that single read and write operations may be performed Even combined single operations are possible using the 23 16 17 Read Write Multiple Registers function The 8 periodic output variables are assigned by means of parameters NCA1 to NCA8 They are configured using the graphic display terminal or integrated display terminal via the 1 9 COMMUNICATION 77 menu and COM SCANNER OUTPUT OC 5 submenu An NCAe parameter with a value of zero does not designate any parameter in the drive These 8 words are described in the table below Parameter name Default assignment Scan Out1 address aCA 1
43. of Value of object no 1 sias object no object no 1 ARS E N ome bad ae bes aH 7 BE A TE 1 T e l e m e c a n i q u e dat 00 oD 54 65 6C 65 6D 65 63 61 6E 69 71 75 65 Id of Length of Value of object no 2 si et no object no 2 Nop Low bom hop dom jour bor p tome fog 01 0B 41 54 56 37 31 48 55 31 35 4D 33 Id of Length of Value of object no 3 object no object no 3 g gt oq 4 02 04 30 32 30 31 Id of Length of Value of object no 4 CRC CRC object no object no 4 ny var ce H p N E rs 4 Lo Hi 4 06 09 4D 41 43 48 49 4E 45 20 34 6F 50 35 Modbus protocol Read write N words Function 23 16 17 Request Slave no 17 No of 15t word to be Number of words to be No of 15t word to be Number of words to be read read written written Hi Lo Hi Lo Hi Lo Hi Lo 1 byte 1 byte 2 bytes 2 bytes 2 bytes 2 bytes Number of bytes to be Value of 15t word to be Value of last word to be written CRC16 written written Hi Lo 7 Hi Lo Lo Hi 1 byte 2 bytes 2 bytes 2 bytes Response Slave no 17 Number of bytes Value of 15t word read Value of last word read CRC16 read Hi Lo Hi Lo Lo Hi 1 byte 1 byte 1 byte 2 bytes 2 bytes 2 bytes Example This example
44. te 1 byte 1 byte 1 byte 1 byte 2 bytes Response Type of MEI ReadDeviceld Degree of conformity Slave no 2B 0E 01 02 1 byte 1 byte 1 byte 1 byte 1 byte Number of additional frames Next object Id Number of objects 00 00 04 1 byte 1 byte 1 byte Id of object no 1 Length of object no 1 Value of object no 1 00 0D Telemecanique 1 byte 1 byte 13 bytes Id of object no 2 Length of object no 2 Value of object no 2 01 0B ATV71HU15M3 1 byte 1 byte 11 bytes Id of object no 3 Length of object no 3 Value of object no 3 02 04 0201 1 byte 1 byte 4 bytes Id of object no 4 Length of object no 4 Value of object no 4 Sa 06 09 MACHINE 4 1 byte 1 byte 9 bytes CRC16 Lo Hi 1 byte 1 byte The total response size given in this example equals 55 bytes The response contains the following four objects e Object no 1 Manufacturer name always Telemecanique i e 13 bytes e Object no 2 Device reference ASCII string for example ATV71HU15M3 i e 11 bytes The length of this object varies according to drive type Use the Length of object no 2 field to determine the length e Object no 3 Device version in MMmm format where MM represents the determinant and mm the subdeterminant 4 byte ASCII string for example 0201 for version 2 1 e Object no 4 Device name ASCII string for example MACHINE 4 i e
45. ter PLC PC or communication module Modbus splitter block LU9 GC3 Modbus drop cables VW3 A8 306 Ree Line terminators VW3 A8 306 RC Modbus cable depending on the type of master see table Modbus T junction boxes VW3 A8 306 TFee with cable Modbus cable to another splitter block TSX CSAe00 Description Code Catalog number Modbus splitter 10 RJ45 connectors and 1 screw terminal block 3 LU9 GC3 block Modbus T junction boxes With integrated cable 0 3 m 6 VW3 A8 306 TF03 With integrated cable 1 m 6 VW3 A8 306 TF10 Line For RJ45 connector R 1209 C 1nF 5 VW3 A8 306 RC terminalis R 150 Q specific to Jbus schematic page 42 5 VW3 A8 306 R Connecting cables Description Length m Connectors Code Catalog number Cables for 3 1 RJ45 connector and 1 stripped end VW3 A8 306 D30 Modbus bus 0 3 2 RJ45 connectors 4 VW3 A8 306 R03 1 2 RJ45 connectors 4 VW3 A8 306 R10 3 2 RJ45 connectors 4 VW3 A8 306 R30 RS 485 double 100 Supplied without connector 7 TSX CSA 100 ner oie 200 Supplied without connector 7 TSX CSA 200 500 Supplied without connector 7 TSX CSA 500 Bus connection Type of master Master interface Modbus connection accessories for RJ45 wiring system Description Catalog number Twido PLC Adaptor or mini DIN RS485 interface module 3 m cable equipped with a mini DIN connector and an RJ45 TWD XCA RJ030 connector Adaptor or screw terminal RS4
46. tics Displaying the frequency target The Active ref channel parameter indicates the active target channel The Frequency ref parameter indicates the value in 0 1 Hz units of the frequency target LFR used to control the drive The FREQ REF WORD MAP submenu Modbus ref parameter is used to display the value in 0 1 Hz units of the speed target produced by Modbus Displaying the status word The Status word parameter indicates the value of the status word ETA Displaying parameters selected by the user The four Weeee parameters indicate the value of the four words selected for monitoring by the user The address and display format of these parameters can be configured in the 6 MONITORING CONEFIG menu 6 3 COM MAP CONFIG submenu The value of a monitored word equals if e Monitoring has not been activated address equals WO e The parameter is protected e The parameter is not known e g W3200 Displaying communication scanner values On the graphic display terminal in the 1 2 MONITORING 5 uP menu COMMUNICATION MAP N submenu The COM SCANNER INPUT MAP 5A submenu is used to display the value of the 8 communication scanner input parameters NM1 to NM8 The COM SCANNER OUTPUT MAP 0 5A submenu is used to display the value of the 8 communication scanner output parameters NC1 to NC8 Configuration of these periodic parameters is described in the Configuration s
47. u Value Code Parameter name Scan In1 address 7 nA 1 3 201 ETA Status word Scan In2 address n NA 2 8 604 RFRD Output speed Scan In3 address nA 2 3 204 LCR Motor current Scan In4 address n NA 4 3 205 OTR Torque Scan In5 address 4 NA 5 3 207 ULN Mains voltage Scan In6 address 4775 3 209 THD Thermal state of the drive Scan In7 address 7 NA 7 9 630 THR Thermal state of the motor Scan In8 address NA B 7 121 LFT Last fault Request Slave no Request code No of 18 word No of words to No of 18 wordto No of words to be No of bytes tobe to be read be read be written written written Hi Lo Hi Lo Hi Lo Hi Lo 14 17 31 C5 00 08 31 D9 00 06 oC Value of 15t Value of 2 9 Value of 3 Value of 4 Value of 5 Value of 6t word to be word to be word to be word to be word to be word to be CRC CRC written written written written written written Hi Lo Hi Lo Hi Lo Hi Lo Hi Lo Hi Lo Lo Hi 00 OF 13 88 1F 40 01 F4 04 BO 02 58 56 3D Response Slave no Response code No of bytes Value of 1 word Value of 2 word Value of 3 word Value of 4 word read read read read read Hi Lo Hi Lo Hi Lo Hi Lo 14 17 10 00 07 13 88 00 64 00 45 Value of 5 word read Value of 6t word read Value of 7 word read Value of 8 word read CRC CRC Hi Lo Hi Lo Hi Lo Hi Lo Lo Hi 00 FO 00 65 00 32 00 00 E4 90 38 Modbus protocol
Download Pdf Manuals
Related Search
Related Contents
McGraw-Hill Collection 使用手冊User Guide Hitachi HTS541612J9SA00 User's Manual CÁMARA DE RED UR44 オペレーションマニュアル Natural Strategies for Sexual Dysfunction PT-8505G User Manual - Etec Components Limited 56 Analyzing a System V7 Protective Back Covers, transparent blue OAR Documentation News 7 - Hatier Copyright © All rights reserved.
Failed to retrieve file