HMS Networks Anybus Communicator Скачать руководство пользователя страница 27

Configuration Quick Guide

25 (124)

4. Finding the Communicator on your PC

The Communicator default IP address is

192.168.0.10

.

Option 1

On the PC accessing the Communicator
built-in web interface, set a static IP
address within the same IP address range
as the Communicator IP address.

Option 2

Change the IP address on the
Communicator configuration port to one
within the same IP address range as your
PC.

Use the software application HMS
IPconfig to find the Communicator default
IP address on your PC.

Download the installation files and user
documentation from

www.anybus.com/support

.

5. Access the Communicator built-in web interface

Open the Communicator built-in web
interface in HMS IPconfig or enter the
Communicator IP address in your web
browser.

The Communicator built-in web interface
overview page opens in your browser.

Anybus

®

Communicator

User Manual

SCM-1202-152 1.10 en-US

Содержание Anybus Communicator

Страница 1: ...Anybus Communicator EtherNet IP to Modbus RTU Serial USER MANUAL SCM 1202 152 1 10 en US ENGLISH ...

Страница 2: ...le applications of the product and because of the many variables and requirements associated with any particular implementation HMS Networks cannot assume responsibility or liability for actual use based on the data examples or illustrations included in this document nor for any damages incurred during installation of the product Those responsible for the use of the product must acquire sufficient...

Страница 3: ...pplications 8 4 About Anybus Communicator 9 4 1 Serial Protocol Communication 9 4 2 How the Communication Works 13 4 3 How the Data Exchange Works 15 4 4 Data Integrity 15 5 Installation 16 5 1 External Parts 16 5 2 DIN Rail Mounting 17 5 3 Connecting to EtherNet IP Network 18 5 4 Connecting to Serial RS232 RS485 Subnetwork 19 5 5 Connecting to Power 20 5 6 Security Switch 21 5 7 Locking the Cable...

Страница 4: ...onfiguration 81 8 PLC Configuration 82 8 1 Export I O Data Map 82 8 2 Export Product EDS File 82 8 3 CIP Objects 83 9 Verify Operation 84 9 1 Communicator Status Monitor 84 9 2 Communicator LED Indicators 86 9 3 Ethernet LED Indicators 87 10 Use Cases 88 10 1 Temperature Regulator Modbus RTU Use Case 88 10 2 AC Motor Drive Custom Request Response Use Case 94 10 3 Barcode Scanner Custom Produce Con...

Страница 5: ...202 152 1 10 en US A Reference Guides 121 A 1 About Input Registers and Holding Registers 121 A 2 Modbus Data Model 121 A 3 Modbus Transactions 121 A 4 Modus Exception Codes 122 A 5 ASCII Table 122 A 6 RS485 RS232 Electrical Connection 123 ...

Страница 6: ...This page intentionally left blank ...

Страница 7: ...ttons etc are indicated with bold text Program code and script examples Cross reference within this document Document Conventions p 5 External link URL www hms networks com WARNING Instruction that must be followed to avoid a risk of death or serious injury Caution Instruction that must be followed to avoid a risk of personal injury Instruction that must be followed to avoid a risk of reduced func...

Страница 8: ... be impaired 2 2 General Safety Caution Ensure that the power supply is turned off before connecting it to the equipment Caution This equipment contains parts that can be damaged by electrostatic discharge ESD Use ESD prevention measures to avoid damage Caution To avoid system damage the equipment should be connected to ground Using the wrong type of power supply can damage the equipment Ensure th...

Страница 9: ...an be accessed from the following standard web browsers Google Chrome Microsoft Edge Mozilla Firefox 3 3 Tools Have the following tools available Flat head screwdriver size 5 5 mm Needed when removing the Communicator from DIN rail Flat head screwdriver size 3 mm Needed when connecting the cables to the 7 pin connector 3 4 Support and Resources For additional documentation and software downloads F...

Страница 10: ...built in web interface As an alternative you can set a static IP address within the same IP address range as the Communicator IP address on the computer accessing the Communicator built in web interface IPconfig is only available for Windows 3 6 Third Party Software Applications Microsoft Excel or equivalent software application that supports the Office Open XML Workbook xlsx file format Needed to...

Страница 11: ... network are not permitted to issue messages unless they have been addressed by the Communicator first Custom Request Response In this mode you can define your own serial transactions to handle a wide range of custom serial protocols The Communicator acts as a generic serial client on the subnetwork The serial communication takes place in a request response fashion Custom Produce Consume In this m...

Страница 12: ...ons Modbus RTU serial protocol or transactions templates Custom Request Response or Produce Consume serial protocol and define the data to be sent or received Each transaction has a number of parameters that need to be configured to define how data is to be sent received Frame Fields The Frame editor is used to design custom transaction templates The Frame editor with Frame fields is available whe...

Страница 13: ...emplates are available when either the Custom Request Response or Custom Produce Consume serial protocol is enabled A transaction represents a complete serial telegram and consists of a number of frame fields Each frame field is associated with a set of parameters controlling what is transmitted on the subnetwork The transaction templates are stored in the Communicator and can be reused multiple t...

Страница 14: ...times times on your node s If you have a function code in your protocol similar to a standard Modbus RTU transaction Then you can create a transaction template based on the Modbus RTU transaction for the read operation When you reuse the template on your node s you only have to change the function code each time it is used Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 15: ...a client device connected to a high level network For example The client device can be a PLC controller or a PC A server devices can be a sensor scanner industrial robot or sniffer The Communicator main task is to cyclically send the transactions that the server s are configured to execute in order to request and transfer process data Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 16: ...d make the process data available on the server interface and for the high level network client device Transfer process data Transfer process data from the high level network client device and make it available on the server interface and for the serial subnetwork nodes included in the configuration Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 17: ...he Communicator internal memory buffer is divided into two areas Input data and Output data Input Data This Input data area is read by the high level network The Communicator can handle up to 1500 bytes input data Output Data The Output data area is read written by the high level network The Communicator can handle up to 1500 bytes output data 4 4 Data Integrity A snapshot of the process data buff...

Страница 18: ... Status LEDs D Configuration port E 7 pin connector F Ethernet port x 2 G Cable tie mount H Laser engraved connectors designation I Security switch J Factory reset button K Laser engraved label with product information L DIN rail locking mechanism Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 19: ...ance Make sure that the equipment is correctly mounted on the rail and that the rail is properly grounded To attach the Communicator on the DIN rail 1 Insert the upper end of the DIN rail clip into the DIN rail 2 Push the bottom of the DIN rail clip into the DIN rail Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 20: ...r to your EtherNet IP network EtherNet IP Connector Pin Description 1 TD 2 TD 3 RD 4 5 6 RD 7 8 To Do Next Connect the Communicator to the serial subnetwork and to power Check LED status refer to Communicator LED Indicators p 86 Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 21: ...r Pin Signal 1 5 V OUT 2 RS485 A 3 RS485 B 4 Signal GND 5 Functional Earth FE 6 RS232 Tx Output 7 RS232 Rx Input 2 Connect the 7 pin connector to the Communicator 3 Connect the Communicator to your serial subnetwork To Do Next Connect the Communicator to the EtherNet IP network and to power Check LED status refer to Communicator LED Indicators p 86 Anybus Communicator User Manual SCM 1202 152 1 10...

Страница 22: ...sert the cable wires to the terminal block and tighten the wire clamp screws Power port Pin Description 1 Functional Earth FE 2 Ground GND 3 12 30 VDC Power Connector 2 Connect the terminal block to the Communicator 3 Connect the Communicator to a power supply 4 Turn on the power supply To Do Next Connect the Communicator to the EtherNet IP and serial subnetwork Check LED status refer to Communica...

Страница 23: ...Network specific parameters configured via the PLC is still available To Lock and Unlock the Security Switch Use a pointed object such as a ballpoint pen To lock the security switch push the toggle towards the Communicator front To unlock the security switch push the toggle towards the Communicator back Security Switch Status LED When the security switch is in its locked position the security swit...

Страница 24: ...Installation 22 124 5 7 Locking the Cables To strain relieve the cables place a cable tie in the holder and lock the cables Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 25: ... blade screwdriver size 5 5 mm available Procedure Remove the Communicator from the DIN Rail 1 Insert the screwdriver into the Communicator DIN rail locking mechanism 2 To unlock the Communicator DIN rail locking mechanism turn the screwdriver clockwise 3 Hold the screwdriver in the DIN rail locking mechanism while you unhook the Communicator from the DIN rail Anybus Communicator User Manual SCM 1...

Страница 26: ... 6 1 Prepare Configuration 1 Connecting to the high level network Connect the Communicator to the EtherNet IP high level network 2 Connecting the Communicator to the subnetwork Connect the Communicator to the serial RS232 RS485 subnetwork 3 Connecting to PC and power a Connect an Ethernet cable between the Communicator configuration port and your PC b Connect the Communicator to a power supply Any...

Страница 27: ...ation port to one within the same IP address range as your PC Use the software application HMS IPconfig to find the Communicator default IP address on your PC Download the installation files and user documentation from www anybus com support 5 Access the Communicator built in web interface Open the Communicator built in web interface in HMS IPconfig or enter the Communicator IP address in your web...

Страница 28: ...nsaction Templates This step applies when the serial protocol Custom Request Response or Custom Produce Consume is selected On the Transaction templates page Add a transaction template for each way information can be requested received or produced consumed Repeat until you have added and configured all your transaction templates 3 Add Nodes and Transactions On the Nodes transactions page a Add a n...

Страница 29: ...ose to set them manually b Enable DHCP server or choose to set a specific IP address c Apply the IP settings 5 I O Data Mapping The transactions you added to the nodes are automatically mapped to the Communicator internal memory area View the added nodes and transactions on the I O data map page Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 30: ... the PLC you can use the I O data map as a specification to ensure that the transactions match On the I O data map page You can download the I O data mapping in a spreadsheet to your PC 2 Download EDS File Option if the PLC program requires a EDS Electronic Data Sheet file On the EtherNet IP page Download the EDS file to your PC Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 31: ...C program requires a EDS Electronic Data Sheet file Import the EDS file into your PLC project 4 Configure the communication Configure the PLC to communicate with the Communicator according to the I O data map created in the Communicator Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 32: ...ns On the Home page Monitor the Communicator network and node status You can also view the Communicator LED indications remotely 3 Verify and monitor communication In Diagnostics use the Serial RS 232 485 page to verify that the serial transactions are sent and received by the Communicator Event log page to detect failures and unexpected behavior over time Anybus Communicator User Manual SCM 1202 ...

Страница 33: ...ef overview of the configuration steps please refer to Configuration Quick Guide p 24 7 1 Connecting the Communicator Procedure 1 Connect the Communicator to the high level network 2 Connect the Communicator to the subnetwork 3 Connect an Ethernet cable between the Communicator configuration port and your PC 4 Connect the Communicator to a power supply Anybus Communicator User Manual SCM 1202 152 ...

Страница 34: ...the Communicator built in web interface from HMS IPconfig ensure that port Port 3250 UDP is open in your PC Windows Firewall Make sure the security switch is unlocked HMS IPconfig cannot configure the Communicator if the security switch is locked Procedure 1 Install HMS IPconfig on your PC 2 Open HMS IPconfig HMS IPconfig automatically starts scanning for compatible and active HMS devices Found HM...

Страница 35: ...guration 33 124 5 To open the Communicator built in web interface click Open web page Result You are redirected to the Communicator built in web interface Home page Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 36: ...etween the web browser and the gateway When you change to a static IP address on your computer internet access may be lost Procedure 1 On the PC accessing the Communicator built in web interface set a static IP address within the same IP address range as the Communicator IP address 2 Open a web browser 3 Click to select the Address bar and enter the Communicator IP address 4 To open the built in w...

Страница 37: ...tes Configure communication and add nodes and transactions EtherNet IP High Level Network with Client Configure I O Size and IP settings I O data map View the added transactions mapped to the Communicator internal memory area Files firmware Save settings in a configuration files upload configuration files and upgrade firmware Diagnostics Monitor and troubleshoot the Communicator Support Contains C...

Страница 38: ...ion specification or fully customized Custom Produce Consume Create your own custom produce consume transactions When changing the serial protocol all settings are reset to default and all added nodes transactions and transaction templates are deleted Procedure On the Communication page Serial protocol 1 To choose a Serial protocol select Modbus RTU Generic Request Response or Custom Produce Consu...

Страница 39: ...ard RS 232 Default standard Use RS 232 when one single node is connected to the subnetwork RS 485 Use RS 485 when multiple nodes are connected to the subnetwork Baud rate Specify the baud rate the serial transfer speed maximum bits per second 2 Select a baud rate value from the Baud rate drop down menu Setting Value Baud rate 1200 baud 1800 baud 2400 baud 4800 baud 9600 baud Default value 19200 ba...

Страница 40: ...its Specify the number of stop bits used to indicate the end of data transmission 4 Select a stop bits value from the Stop bits drop down menu Setting Value Stop bits 1 stop bit Default value 2 stop bit Apply configuration 5 To apply the settings click Apply in the web interface header and follow the instructions 7 5 3 Communication Advanced Settings Inter Telegram Timeout Mode Settings By default...

Страница 41: ...elegram delay The following must be applied on all nodes The time between two adjacent characters in the same telegram must be less than Inter telegram timeout The time between two characters in two different telegrams the same or more than Inter telegram delay Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 42: ...7 6 1 Transaction Template Example Custom Request Response Request Response transaction template example The transaction named Read parameter 0x01 consists of a number of frame fields In the Request field there are three Constants a Node address and a Checksum field In the Response field there are three Constants a Node address a Data field and a Checksum field Anybus Communicator User Manual SCM ...

Страница 43: ... named Read Barcode Data Template consists of a number of frame fields The Transaction type can be Produce or Consume In this example the Transaction type Consume is selected In the frame field we have added one Variable data field and two Constant fields Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 44: ...ate and Modbus template Empty template When using the Empty template you start with an empty transaction and build a desired structure by adding and arranging frame fields For the produce consume transactions you select Empty produce template or Empty consume template Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 45: ...hen using the Modbus template you first select the Modbus template from which you want to start You can then restructure the transaction by rearranging adding or removing frame fields Example new transaction template based on the Modbus template Read Discrete Inputs Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 46: ...f the received byte word dword fits inside the specified boundaries If the message does not fit it is discarded Data Data frame fields are used to represent raw data as follows Produce Request Transactions The specified data block is forwarded from the higher level network to the sub network Consume Response Transactions The specified data block is forwarded from the sub network to the high level ...

Страница 47: ...um Most serial protocols features some way of verifying that the data has not been corrupted during transfer The checksum frame field calculates and includes a checksum in a transaction Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 48: ...ial protocol refer to Communication Serial Protocol p 36 7 7 1 Add Transaction Template Procedure Add a transaction template 1 In the web interface left sidebar menu click Transaction templates 2 To select the template you want to use click the Add drop down button Options for the Custom Request Response Protocol Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 49: ...n 47 124 To add a new empty template without any frame fields select Empty template Example a new empty request response template is added to the transaction template list Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 50: ...sed on a standard Modbus transaction select Modbus templates and then the desired Modbus transaction Example a new request response template based on Read Coils 1 is added to the transaction template list Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 51: ...nsaction type after the transaction template is added Example a new produce template is added to the transaction template list 3 To apply the settings click Apply in the web interface header and follow the instructions To Do Next Add frame fields to the transaction template refer to Add Frame Fields p 50 Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 52: ...ame fields to 2 Build the transactions To add frame fields In the Frame editor frame fields menu drag and drop the desired frame fields into the drag and drop fields To duplicate a frame field On the frame field that you want to delete click the three dots icon and then click Duplicate Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 53: ...me field On the frame field that you want to delete click the three dots icon Click Delete and then Yes to confirm 3 To apply the settings click Apply in the web interface header and follow the instructions To Do Next Configure the frame field settings refer to Configure Frame Field Settings p 52 Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 54: ...ctual node address of the node Constant Name You can name the Frame Field to make it easier to identify Type Specify the number of bytes in the frame Select Byte 1 byte Default Word 2 bytes Double word 4 bytes Array of bytes or String Endianess Select Big endian Default or Little endian Fixed field Select Yes set here Default or No set when used Length Valid for Array of bytes Enter a byte offset ...

Страница 55: ...mplate is used Maximum payload length Specify the maximum payload length that can be set when the template is used Default max payload length Specify the default payload length that can be set when the template is used Data delimiter Specify how to detect define the length of the variable data of the high level network Select Byte counter End pattern or None Default For information about End and L...

Страница 56: ...ct Binary Default or ASCII About Fixed field Yes set here The Value set here is fixed and cannot be changed when the transaction is used on a node The value must be updated in the transaction template No set when used The Default value set here can be edited when the transaction is used on a node The allowed range is the min max values Total size including delimiters High Level Network 1 byte s Su...

Страница 57: ...ommunicator and for data forwarded from the Communicator to the high level network to fit the requirements in the PLC In most cases when a stream of data is sent from the Communicator to the PLC the Byte counter length character or End pattern end character format is used Subnet delimiter Incoming data from a serial node to the Communicator The Communicator can be configured to expect data from on...

Страница 58: ...cter with 4 bytes of data End pattern The package consists of a data section followed by an end character to indicate where the data section ends None The package contains only the data section By measuring the total length of the message the length of the data section can be calculated 3 When a delimiter is set to End pattern In the End pattern field enter the value that will define the end of th...

Страница 59: ...on the Transaction templates page The transaction templates are available for use on the Nodes transaction page when you add transactions to a node For information on how to add the transaction templates to the nodes refer to Transaction Settings p 64 Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 60: ... to communicate with describing available registers and how to address them 7 8 1 Node and Broadcast Node You can add two types of nodes Node and Broadcast Node Broadcast node You can add one single Broadcast node The Broadcast node can only hold produce transactions Node You can add up to 31 Nodes The type of transactions a node can hold depends on the serial protocol used refer to About Transact...

Страница 61: ...t can be added is 31 Procedure 1 In the web interface left sidebar menu click Nodes transactions 2 Click Add node 3 Select Add broadcast node or Add node A new node brodcats node is added to the nodes list To Do Next Configure the Node Settings Node Settings p 60 Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 62: ...n Ensure that the Communicator Basic settings on the Communication page match the Node settings There are no Node settings for the Broadcast node except Name Procedure 1 In the nodes list select a node to configure Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 63: ... when no response is received from the node If the timeout time is exceeded the Communicator continues to send the message until the maximum number of retries has been reached Reconnection time Min 10 ms Max 60 0000 ms Default 10 000 ms Specify for how long the Communicator should wait before attempting to reconnect if the node is disconnected The default value is 10 000 ms Reconnect time 10 ms is...

Страница 64: ...de is 150 1 In the nodes list select a node to configure 2 In the transactions list click Add 3 Choose one of the following alternative When using the Modbus RTU Serial Protocol Click Add and select a transaction from the list of standard Modbus RTU transactions Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 65: ...dded to the Transaction templates list You need to build the transactions before you can use the template refer to Build Transaction Templates p 46 If you already have created Transaction templates click Add and select the desired template from the list A new transaction is added to the transactions list To Do Next Configure the Transactions settings Transaction Settings p 64 Anybus Communicator U...

Страница 66: ...Protocol 1 In the nodes list select a node to configure 2 In the transactions list select a transaction to configure The transaction sidebar opens on the right side of the screen 3 Enter a transaction name By default the node is assigned the name New transaction 4 Select a transaction type from the Modbus transaction Custom transaction drop down menu The transaction type defines what the node shou...

Страница 67: ...emote device For Write Single Coil 5 Write Single Register 6 and Mask Write Register 22 Quantity cannot be set Constant 0 to 255 The value of the Constant in the frame Data 0 to 512 The length of the data field Variable data 0 to 255 The maximum payload length of the variable data field Update mode Cyclically On data change Single shot Change of state on trigger Specify when a transaction shall be...

Страница 68: ...e transaction select the transaction and click Duplicate Multiple transactions select the checkbox in front of each transaction you want to duplicate and click Duplicate The duplicated transaction are added at the bottom of the transactions list 7 8 8 Delete Transaction 1 To delete One transaction select the transaction and click Delete Multiple transactions select the checkbox in front of each tr...

Страница 69: ...a Size to EtherNet IP and the output data Data Size from EtherNet IP is determined by the subnetwork configuration In the Communicator built in web interface the Use Automatic I O Sizes checkbox is selected 7 9 2 To Configure I O Sizes Manually 1 Deselect the Use Automatic I O Sizes checkbox 2 Enter a value for Data Size to EtherNet IP and a value for Data Size from EtherNet IP Anybus Communicator...

Страница 70: ...r comes with the following factory default IP settings Setting Default value Web configuration IP address 192 168 0 10 Subnet mask 255 255 255 0 Gateway address There is no default Gateway address Primary DNS server There is no default Primary DNS server Secondary DNS server There is no default Secondary DNS server DHCP Enabled Host name There is no default Host name Anybus Communicator User Manua...

Страница 71: ...ay available set the Gateway address to 0 0 0 0 Primary DNS The EtherNet IP network Primary DNS in IPv4 dot decimal notation Secondary DNS The EtherNet IP network Secondary DNS in IPv4 dot decimal notation If you change a value and click Refresh the value is reset to the last applied value 3 To apply the settings click Apply IP Settings 7 9 5 Naming the Host You can label the Communicator The maxi...

Страница 72: ...ual to or smaller than the configured I O size in the Communicator 7 10 I O Data Map On the I O data map page the data communication between the subnetwork Node and the high level network PLC is mapped The allocated I O area is auto generated based on how the settings on the Serial communication page and the Nodes and transactions page are configured It is possible to set the I O area manually if ...

Страница 73: ...ptimize remove gaps between the data objects in the map and should be used with care on already commissioned systems Expected mapping in the PLC may change If you optimize the I O data map the current I O data map will be overwritten To optimize the map 1 Click Optimize 2 To confirm click OK Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 74: ...the order of the transactions in a map area drag and drop the desired transaction to a new location Transactions can not share the same I O are If multiple transactions are placed in the same I O area the area is highlighted Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 75: ... recieved to from the high level network General This area is used for transferring transaction data between individual nodes on the subnetwork When General is selected the transaction data cannot be accessed from the high level network Unmapped The transaction data is not used Start address For Input Output and General you can enter a start address for the transaction data Anybus Communicator Use...

Страница 76: ...In the transaction sidebar Update mode menu select Change of state on trigger 4 Navigate to the I O data map page 5 The transaction with the trigger byte enabled is marked with a flash icon To open the Map Area sidebar click on the flash icon 6 In the Map Area sidebar specify the map area to use and the trigger byte address Map area options From EtherNet IP The trigger byte is stored in the I O da...

Страница 77: ... the byte order To reverse the byte order 1 In the web interface left sidebar menu click I O data map 2 In the data map select the transaction for which you want to do swap the byte order 3 Select the swapping type from the Endian swap drop down menu Setting Description No swapping Default setting No swapping is performed on the data Byte swap Swap 2 bytes A B C D becomes B A D C Word swap Swap 4 ...

Страница 78: ...ode to use for each transaction on the I O data map Select one of the following Offline options Clear Default The data is cleared and the value 0 is sent Freeze The Communicator holds the value until the connection is restored No scanning Stop sending this transaction on the sub network This option is only valid for produce and request transactions Anybus Communicator User Manual SCM 1202 152 1 10...

Страница 79: ...ive list The Live list holds 32 bits Each bit in the Live list can hold the status for a total of 32 nodes connected to the Communicator The bit is 0 when the bit does not correspond to the configured node For example this occurs when the number of configured nodes is less than 32 Each bit is 1 when the corresponding node is online Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 80: ...ta exchange control holds 32 bits Each bit in the Data exchange control can be used to enable disable data exchange for individual nodes on the subnetwork If control bit does not correspond to a configured node the control bit is ignored For example this occurs when the number of configured nodes is less than 32 When the data exchange is enabled for the corresponding node the control bit is 1 Anyb...

Страница 81: ...an apply the configuration ensure that there is no active communication on the EtherNet IP network where the Communicator is connected Procedure To make the settings take effect download the configuration to the Communicator 1 In the web interface header click Apply 2 To confirm download click Apply The configured settings are downloaded and applied to the system Anybus Communicator User Manual SC...

Страница 82: ... Configuration 80 124 If you have made changes to the IP settings you are prompted to apply these settings 3 To apply the IP settings click Apply IP settings Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 83: ...on is saved in an conf file and downloaded to your PC In the built in web interface of the new Communicator to be configured 2 On the Files firmware page click Import 3 In the Import configuration window click Select file conf 4 In the Open dialog box browse to and select the configuration file and click Open 5 To import the configuration file click Import Result All the configuration settings are...

Страница 84: ... transactions are listed To export the I O data map 1 Click Export An Excel XLS file with the mapping is downloaded to your PC 8 2 Export Product EDS File Option if the PLC program requires a product file EDS Electronic Data Sheet file describing how the Communicator can be used on the high level network You find the EtherNet IP EDS file on the Communicator built in web interface EtherNet IP page ...

Страница 85: ...er object 0x02 Message router Assembly object 0x04 Assembly object Connection manager object 0x06 Connection manager object DLR object 0x47 Device level ring object QoS object 0x48 Quality service object TCP IP Interface object 0xF5 Handles TCP IP configuration EtherNet IP Link object 0xF6 Handles EtherNet IP configuration Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 86: ...e Home page you can get a quick overview of the network and the Communicator operating status Gateway status Overview the Communicator LED indications remotely Refer to Communicator LED Indicators p 86 Node Status Overview the status for each node added to the subnetwork Network Status and Settings Overview communication status and the current networks settings Anybus Communicator User Manual SCM ...

Страница 87: ...ccurred and operation cannot be guaranteed Out of Specification Check Function Initial state where non network components are started and configured Network startup in progress Invalid configuration detected Normal operation Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 88: ...ion Fatal error Green flashing Startup phase EtherNet IP online no connections established Running one or more nodes are offline N A Green Operational EtherNet IP online one or more connections established Running Security switch is locked Red Exception Fatal error Duplicated EtherNet IP address Fatal error Fatal error N A Red flashing Invalid configuration One or more connections timed out All no...

Страница 89: ... A Function Off No link or no power Green Link 100 Mbit s established Green flashing Activity 100 Mbit s Yellow Link 10 Mbit s established Yellow flashing Activity 10 Mbit s LED B Function Off Not used Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 90: ...ommunication in the Communicator The Temperature Regulator is connected to the serial subnetwork via a custom RS 232 protocol The PLC is connected to an EtherNet IP network high level network 10 1 2 Before You Begin Connect the Communicator configuration port to your computer Power on the Communicator Ensure that your computer can find the Communicator IP address Enter the Communicator built in we...

Страница 91: ...e select Modbus RTU 10 1 4 Set Up Serial Communication Set up the communication between the Communicator and the Temperature Regulator In the Serial RS232 485 page configure the Communication settings Used the following settings Frame fields Value Physical standard RS 232 Baud rate 19200 baud Data bits 8 bits Parity None Stop bits 2 stop bit Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 92: ... it 2 In Node settings configure the node with the following settings Node settings Value Slave address 240 Name Temp Regulator Timeout time 1000 ms Reconnection time 1000 ms Retries 1 Address format Register Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 93: ... configure 4 In the transaction sidebar on the right side of the screen Enter values for the transaction settings Setpoint temperature transaction settings Setting Value Description Transaction name Temp Setpoint Give the transaction a name Modbus transaction Write Multiple Registers 16 The PLC writes a block of contiguous registers to the temperature regulator Address Register Address 0 Register ...

Страница 94: ...gs Setting Value Description Transactio name Actual Temp Give the transaction a name Modbus transaction Read Holding Registers 3 This register read the actual temperature from the temperature regulator to the PLC Address Address 0 Register 1 Address 0 is Register 1 Quantity 1 The transaction will address one data object Update mode Cyclically Default value can not be changed Update time 1000 ms Th...

Страница 95: ...re mapped as follows in the I O data map page Address Data to EtherNet IP 0 1 Setpoint temperature from EtherNet IP to the Temperature Regulator Address Data from EtherNet IP 0 1 Actual temperature speed from the Temperature Regulator to EtherNet IP Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 96: ...ocol The PLC is connected to an EtherNet IP network high level network We use the Custom Request Response serial protocol and create customized transaction templates to map up Status word and actual speed from My Drive to the EtherNet IP network Control word and speed from the EtherNet IP network to My Drive 10 2 2 Before You Begin Connect the Communicator configuration port to your computer Power...

Страница 97: ...ct Custom Request Response 10 2 4 Set Up Serial Communication Set up the communication between the Communicator and My Drive In the Serial RS232 485 page configure the Communication settings Used the following settings Frame fields Value Physical standard RS 485 Baud rate 57600 baud Data bits 8 bits Parity None Stop bits 1 stop bit Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 98: ...ered from to the My Drive node on to the PLC 1 Add an Empty template and select it 2 Name the template Read parameter 0x01 3 In the Frame editor Request area add five frame fields with the following settings Request frame fields Frame fields Name Bytes Length Type Checksum type Endianess Fixed field Value Constant Function code 1 Byte N A Yes N A Node address Node ID 1 Byte N A N A N A Constant In...

Страница 99: ...ype Checksum type Endianess Fixed field Value Constant Function code 1 Byte N A Yes N A Node address Node ID 1 Byte N A N A N A Constant Index 2 Word two bytes Big endian No Min 0 Max 1000 Constant Sub index 1 Byte N A No Min 0 Max 255 Data Data 2 Byte N A Yes N A Checksum Checksum 2 CRC N A N A N A Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 100: ...1 Byte N A N A N A Constant Index 2 Word two bytes Big endian No Min 0 Max 1000 Constant Sub index 1 Byte N A No Min 0 Max 255 Data Data 2 Byte N A Yes N A Checksum Checksum 2 CRC N A N A N A 4 In the Frame editor Response area add five frame fields with the following settings Response frame fields Frame fields Name Bytes Type Checksum type Endianess Fixed field Value Hex Constant Function code 1 ...

Страница 101: ...e 1000 ms default Reconnecting time 10000 ms default Retries 0 default 3 Add four transactions to the My Drive node and configure them with the following settings My Drive contains the following parameters Transaction name Transaction template Index Sub index Control Word Write Parameter 0x02 1 1 Speed Write Parameter 0x02 1 2 Status Word Read Parameter 0x01 2 1 Actual Speed Read Parameter 0x01 2 ...

Страница 102: ...rive to EtherNet IP are mapped as follows in the I O data map page Control word and speed from EtherNet IP to My Drive Address Data to EtherNet IP 0 1 Control Word 2 3 Speed Status word and actual speed from My Drive to EtherNet IP Address Data from EtherNet IP 0 1 Control Word 2 3 Speed Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 103: ... Scanner is connected to the serial subnetwork via a custom RS 232 protocol The PLC is connected to an EtherNet IP network high level network We use the Custom Produce Consume serial protocol and create a customized transaction template 10 3 2 Before You Begin Connect the Communicator configuration port to your computer Power on the Communicator Ensure that your computer can find the Communicator ...

Страница 104: ...lect Custom Produce Consume 10 3 4 Set Up Serial Communication Set up the communication between the Communicator and the Barcode Scanner In the Serial RS232 485 page configure the Communication settings Used the following settings Frame fields Value Physical standard RS 232 Baud rate 9600 baud Data bits 8 bits Parity 1 Stop bits 1 stop bit Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 105: ...tor In this example we have added three frame fields for the barcode data transaction One Variable data frame for the length of the barcode We use a fixed value The maximum payload length is 31 ASCII The Barcode Scanner is configured to append One Carriage Return character CR to the barcode So we create one Constant frame with the Value 13 ASCII One Line Feed character LF to the barcode So we crea...

Страница 106: ...lds Frame fields Name Type Value Fixed field Maximum payload length Process data delimiter Subnet delimiter End pattern Variable data Barcode Data N A N A Yes set here 31 bytes None None 0 Constant Carriage Return character CR Byte 1 byte 13 Yes set here N A N A N A N A Constant Line Feed character LF Byte 1 byte 10 Yes set here N A N A N A N A Anybus Communicator User Manual SCM 1202 152 1 10 en ...

Страница 107: ...ions to the Barcode Scanner node and configure it with the following settings The Barcode Scanner contains the following parameters Transaction name Transaction template Read Barcode Data Read Barcode Data Template Check the I O Data Map The transactions from the Barcode Scanner is mapped as follows in the I O data map page Status word and actual speed from My Drive to EtherNet IP Address Barcode ...

Страница 108: ...rt the current configuration in order to import and use the same settings to configure additional Communicators To export a configuration file 1 In Files firmware click Export The configuration settings are stored in a conf file and downloaded to your PC Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 109: ...lick Open 4 In the Import configuration window click Import 5 In the Communicator address settings window To import IP settings from the selected configuration file click Imported settings All configuration settings are imported To continue using the current IP settings click Configured settings All configuration settings except the IP settings are imported 6 The configuration file is parsed If th...

Страница 110: ...ce header and follow the instructions You can revert all changes done to the settings in the current configuration To Revert the configuration 1 On the Files firmware page click Revert 2 In the Confirm revert window click Revert 3 To apply the change click Apply in the web interface header and follow the instructions 11 3 Firmware Management 11 3 1 View the Firmware Version On the Support page you...

Страница 111: ...ent configuration is still compatible after upgrading the firmware Compatibility after firmware downgrade Compatibility after a firmware downgrade can not be guaranteed The current configuration may use features not available in the older firmware version Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 112: ...rence with plant operation firmware update is only available when the Communicator is disconnected from the OT networks Ensure that the Communicator is disconnected from the OT networks Procedure To update the firmware 1 On the Files firmware page click Upload 2 In the Upload Firmware window click Select firmware hiff 3 In the Open dialog box browse to and select the firmware file and click Open 4...

Страница 113: ...he limit is reached the oldest messages are discarded when new messages are added Choose how data is displayed To choose if the data should be displayed in Hexadecimal Decimal or ASCII click Hex Dec or Ascii Start and Stop Data flow To start the data flow click Start To end the data flow click Stop Export data flow To export the data flow click Export An Excel file with the data flow is downloaded...

Страница 114: ...d For description of the symbols refer to Communicator Status Monitor p 84 Source 0 Communicator 1 High level network EtherNet IP 2 Subnetwork Serial RS 232 485 Sub source The nodes connected to the subnetwork and the PLC connected to the high level network If there is a problem with a node the node name is displayed in the Sub source column Example If the node name is 5 number 5 is displayed in t...

Страница 115: ...12 1 3 LED Status On the Home page you can remotely monitor the Communicator LED status For information about the LED indication refer to Communicator LED Indicators p 86 Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 116: ...e state as leaving HMS production If the Firmware has been updated factory reset will revert the Communicator configuration to initial state after the update Procedure To reset the Communicator 1 Disconnect the Communicator from power 2 Use a pointed object such as a ballpoint pen to press and hold the reset button Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 117: ... button The Communicator enters Exception state 5 Reboot the Communicator Result When the Communicator has successfully rebooted the Communicator configuration is reset to the factory default configuration or the current configuration after firmware upgrade Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 118: ...lost during the update process the Communicator goes into fallback mode The last working firmware is still available on the flash but it is not active To complete the interrupted firmware update 1 Disconnect the Communicator from power 2 Reconnect the Communicator to power Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 119: ...ateway status led indicator flashes red and green until the firmware upgrade is completed Result The Communicator recover and return to normal operation To check LED status refer to Communicator LED Indicators p 86 Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 120: ...port Package Content The information in the support package are available to open and read the files are not locked or encrypted Generate Support Package 1 On the Support page click Generate A zip file with the support files is downloaded to your PC Create a Support Ticket 1 On the Support page click Anybus support website You are redirected to the Anybus support website 2 On the Anybus support we...

Страница 121: ...mA 12 V Storage temperature 40 to 85 C Operating temperature 25 to 70 C Humidity EN 600068 2 78 Damp heat 40 C 93 humidity for 4 days EN 60068 2 30 Damp heat 25 C 55 C 95 RH 2 cycles Vibration See datasheet Housing material Plastic See datasheet for details Protection class IP20 Product weight 150 g Dimensions 27 x 144 x 98 mm H x W x D with connectors included Mounting DIN rail Additional technic...

Страница 122: ...This page intentionally left blank ...

Страница 123: ...tatus of coils in a remote device 2 Read Discrete Inputs 0x02 Read from 1 to 2000 contiguous status of discrete inputs in a remote device 3 Read Holding Registers 0x03 Read the contents of a contiguous block of holding registers in a remote device 4 Read Input Registers 0x04 Read from 1 to 125 contiguous input registers in a remote device 5 Write Single Coil 0x05 Write a single output to ON or OFF...

Страница 124: ...ata Address The data address register discrete input or coil number is not an permitted address for the server If multiple registers were requested at least one was not permitted Reference MODBUS Application Protocol Specification V1 1b3 April 26 2012 For more information refer to the Modbus organisation website A 5 ASCII Table Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 125: ...Appendix A Reference Guides 123 124 A 6 RS485 RS232 Electrical Connection A 6 1 RS485 Typical Connection A 6 2 RS232 Typical Connection Anybus Communicator User Manual SCM 1202 152 1 10 en US ...

Страница 126: ...last page 2021 HMS Industrial Networks Box 4126 300 04 Halmstad Sweden info hms se SCM 1202 152 1 10 en US 2021 07 02 22940 ...

Отзывы: