Home
User Manual, Anybus Communicator for EtherNet/IP
Contents
1. Anybus Communicator for EtherNet IP Doc Rev 3 00 Access Name Type Value Description 1 Get Revision UINT 0001h Revision 1 2 Get Max Instance UINT 0001h 1 is the highest instance number 3 Get No of instances UINT 0001h 1 instance is implemented 22 9 3 Instance Attributes Access Name Type Value Comments 1 Get Status DWORD 00000001h Attribute 45 contains valid information 2 Get Configuration DWORD 00000014h Attribute 5 is settable Capability Capable of obtaining network configuration via DHCP 3 Get Set Configuration DWORD Value Meaning Control 0 Configuration from non volatile memory 2 Configuration from DHCP 4 Get Port Object Struct of Path Size UINT 0002h 2 words Path Padded EPATH 20 F6 24 01h Path to Ethernet Class Instance 1 5 Get Set Interface Con Struct of figuration IP Address UDINT IP address Subnet Mask UDINT Subnet mask Gateway UDINT Gateway Address Address Name Server 1 UDINT Primary DNS Name Server 2 UDINT Secondary DNS Domain Name STRING Default domain name 6 Get Set Host Name STRING Host name Doc Id SCM 1200 096 22 10 Ethernet Link Object Class F6h 22 10 1 General Information Object Description CIP Object Implementation 117 This object groups diagnostic information for the Ethernet interface See also e Basic Network Configuration on page 31 Supported Services Class services Instance services Get Att
2. a Connecting this signal directly to Protective Earth PE of other nodes may in case of grounding loops etc cause damage to the on board serial transceivers It is therefore generally recommended to connect it only to Signal Ground if available of other nodes Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Connector Pin Assignments 128 B 4 5 Typical Connection RS485 5V RS485 RS485 RS485 RS485 Signal Signal Ground Ground Cable Shield Anybus Communicator Node Node Node Node End Node B 4 6 Typical Connection RS422 amp 4 Wire RS485 5V RS422 Rx gt RS422 Tx 11 I 1 I RS422 Rx La RS422 Tx I I 470R 1 1 RS422 Tx s RS422 Rx 120R RS422 Tx l RS422 Rx I l 470R 1 1 I Signal a Signal Ground Ground Cable o Shield Anybus Communicator Device Note Bias resistors are normally not needed on RS422 but may be required when using 4 wire R5485 B 4 7 Typical Connection RS232 RS232 Tx RS232 Rx I no I 1 I a RS232 Rx RS232 Tx I a i I Signal J Signal Ground Ground Cable Shield Anybus Communicator Device Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Appendix C C Technical Specification C 1 Mechanical Properties Housing Plastic housing with snap on connection to DIN rail protection class P20 Dimensions 120 mm x 75 mm x 27 mm Lx W x H inches 4 72 x 2 95 x 1 06 Lx W x
3. Disabled This setting completely disables the Control and Status Registers Module Reset This parameter specifies how the gateway will behave in the event of a fatal error VENTE Description Enabled The gateway will be restarted and no error will be indicated to the user Disabled The gateway will halt and indicate an error Protocol Mode This parameter specifies which protocol mode to use for the subnetwork VENTE Description DF1 This mode is intended for the DF1 protocol The Anybus Communicator can only be con figured as a Master with half duplex communication Note This is the only mode available if you intend to configure an ABC module for DF See also Protocol Modes on page 21 Statistics The Transmit and Receive Counters indicate how many transactions that have successfully been ex changed on the subnetwork This feature is primarily intended for debugging purposes e Receive Counter Location Specifies the location of the Receive Counter in the internal memory buffer e Transmit Counter Location Specifies the location of the Transmit Counter in the internal memoty buffer Both counters are enabled by setting Statistics to Enabled Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 16 3 Subnetwork Parameters To gain access to the parameters described in this section select Subnet work in the Navigation Section Communication
4. 21 2 2 Status Codes in Master Mode and DF1 Master Mode This table is valid only in Master Mode and DF1 Master Mode Condition Description 0x00 Retransmission Warning Counter The number of retransmissions on the subnet Counter Updated work has increased If this problem persists this may eventually trigger a Single or Multi ple Node s Missing condition 0x01 Single Node Missing Error Slave address A single node is missing 0x02 Multiple Nodes Missing Error Number of nodes Multiple nodes are missing 0x03 Buffer Overrun Warning Slave address A node returned more data than expected 0x04 Other Error Error Slave address Undefined error Ox1F No Error Warning No errors Note Conditions of type Error will eventually be followed by a No Error condition when the cause has been resolved Conditions of type Warning are however considered informational and may not nec essarily be followed by a No Error condition later on Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Control and Status Registers 106 21 2 3 Status Code in Generic Data Mode This table is valid only in Generic Data Mode Code Condition Type DELE Description 0x00 Invalid Transaction Error Counter The number of invalid transactions i e received transac Counter Updated tions which doesn t match any of the consume transactions defined in the subnetwork c
5. HMS Industrial Networks AB Germany Japan Sweden U S A France Italy China sa a4 49 81 46 1 33 39 86 721 96472 0 45 478 5340 35 17 29 20 312 829 0601 389 32 76 76 347 00894 70 10 8532 3183 lt ge sales hms networks com jp sales hms networks com sales hms networks com us Sales hms networks com fr sales hms networks com it sales hms networks com cn sales hms networks com User Manual Anybus Communicator for EtherNet IP Doc Id SCM 1200 096 Rev 3 00 IN AmS 44 Important User Information This document contains a general introduction as well as a description of the technical features provided by the Anybus Communicator including the PC based configuration software The reader of this document is expected to be familiar with PLC and software design as well as communication systems in general The reader is also expected to be familiar with the Microsoft Windows operating system Liability Every care has been taken in the preparation of this manual Please inform HMS Industrial Networks AB of any inaccuracies or omissions The data and illustrations found in this document are not binding We HMS Industrial Networks AB reserve the right to modify our products in line with our policy of continuous product development The information in this document is subject to change without notice and should not be considered as a commit ment by HMS Indus
6. 256 Holding Register Map Ox1FE OX1FF The output data area is mapped to holding registers as follows Register Memory Location in the gateway 0x200 0x202 0x204 0x201 0x203 0x205 Comments Each register corresponds to two bytes in the out put data area 0x206 0x207 0x208 0x209 Oo O1 OINI 0x20A 0x20B 255 Ox3FC Ox3FD 256 Ox3FE Anybus Communicator for EtherNet IP Doc Rev 3 00 Ox3FF Doc Id SCM 1200 096 2 5 5 Anybus Addressing Mode Supported Function Codes The following function codes can be used in this mode Modbus Function Read Coil Function Code Associated with Area s Input and Output Data Area Read Input Discretes 0x000 Ox3FF Read Holding Registers Basic Operation 28 No of I Os or data points per command 1 2000 bits 1 2000 bits 1 125 registers 1 125 registers Write Coll 1 2 3 Read Input Registers 4 5 6 Write Single Register Force Multiple Coils 15 Force Multiple Registers 16 Mask Write Register 22 Output Data Area 0x200 0x3FF 1 bit 1 register 1 800 bits 1 800 registers 1 register Read Write Registers 23 Coil amp Register Map Input and Output Data Area 0x000 0x3FF 125 registers read 100 registers write The input and output data areas are mapp
7. Appendix E E ASCII Table NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO Si 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US 16 17 18 19 20 21 22 23 24 235 26 27 28 29 30 31 sp i amp a i 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 0 1 2 3 4 5 6 7 8 9 lt gt 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 A B C D E F G H J K L M N O 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 P Q R S T U V W X Y Z _ 80 81 82 8 84 85 86 87 88 89 90 91 92 93 94 95 a b C d e f g h j k m n 0 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 p q r S t u V Ww X y Z DEL 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Appendix F F Copyright Notices This product includes software developed by Carnegie Mellon the Massachusetts Institute of Technology the Uni versity of California and RSA Data Security kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Copyright 1986 by Carnegie Mellon kkkkkkkkk
8. DF1 Protocol Mode 89 8 Fieldbus di ABC O al Sub Network These parameters specify the actual communication settings used for the subnetwork Parameter Description Valid Settings Bit rate baud rate Selects the bit rate 2400 4800 9600 19200 38400 Default Data bits Selects the number of data bits 8 Parity Selects the parity mode None Odd Even Physical standard Selects the physical interface type RS232 RS422 RS485 Start bits Number of start bits Stop bits Number of stop bits 1 DF1 Settings Parameter Description Master Node Address Node address of the master valid values 0 254 default 1 Poll time active slaves 10 ms Determines how often the slave shall be polled in steps of 10 ms default 100 ms Poll time inactive slaves 10 ms Determines how often the slave shall be polled in steps of 10 ms default 1000 ms a The default value is given as 10 in the parameter window Each change of 10 ms either increases or decreases this value by 1 i e 9 represents a poll time of 90 ms and 11 represents a poll time of 110 ms b The default value is given as 100 in the parameter window Each change of 10 ms either increases or decreases this value by 1 i e 99 represents a poll time of 990 ms and 101 represents a poll time of 1010 ms Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 16 4 Node Parameters To gain access to the parameters
9. Ox0FF 0x100 Cannot be accessed from EtherNet IP Parameter Data Output Parameter Data Input 0x1 FF OX3FF 0x22 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Basic Operation 26 2 5 Modbus TCP 2 5 1 General The Modbus TCP protocol is an implementation of the standard Modbus protocol running on top of TCP IP The built in Modbus TCP server provides access to the input and output data areas via a sub set of the functions defined in the Modbus TCP specification The server supports up to 8 simultaneous connections and communicates over TCP port 502 For de tailed information regarding the Modbus TCP protocol consult the Open Modbus Specification 2 5 2 Addressing Modes The Anybus Communicator features two different modes of operation regarding the Modbus commu nication Modbus Addressing Mode Default In this mode the input and output data areas are mapped to different function codes Note that coil addressing is not possible in this mode See also Modbus Addressing Mode on page 27 Anybus Addressing Mode Compared to Modbus Addressing Mode this mode allows data to be addressed in a more flexible way Note however that several function codes can be used to access the same data in the gate way While this may appear confusing at first it allows data to be manipulated in ways not pos sible in Modbus Addressing Mode e g it is possible to manipulate individual
10. The value of this byte constant will be set using the Command ID field The size and location of the data associated with this object is determined by the user This object will retrieve its settings from the correspond ing object in the Query By default the Modbus RTU specific frame objects are already in place and a data object is inserted between the function code and the CRC These objects cannot be moved or deleted however it is pos sible to add additional objects between the function code and the CRC as desired Name the new command by entering its name in the Command Name field and enter a suitable func tion code in the Command ID field If the command is allowed to be broadcasted check the Allow Broadcasting checkbox Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 16 DF1 Protocol Mode Chapter 16 This mode makes it possible to let the Anybus Communicator act as a DF1 protocol master on the sub network 16 1 General In DF1 master mode communication is based on services A service represents a set of commands and operations on the subnetwork that is predefined in the Anybus Communicator Each service is as sociated with a set of parameters controlling how and when to use it on the subnetwork The communication is based on a query response scheme where the gateway issues a query on the sub network The addressed node on the s
11. This area can be read from written to by the higher level network the Web server and the E mail client how this data is represented on the higher level network will be described later in this chapter e General Data up to 1024 bytes This area cannot be accessed from the higher level network but can be used for transfers be tween individual nodes on the subnetwork or as a general scratch pad for data The actual size of this area depends on the amount of data that is exchanged on the subnetwork The gateway can handle up to 1024 bytes of general data 2 2 1 Memory Map When building the subnetwork configuration using the ABC Config Tool the different areas described above ate mapped to the memory locations addresses specified below Input Data Output Data General Data 0x000 0x200 0x400 Sub Network Read Write Fieldbus Read Only Email Client Read Only Sub Network Read Only Fieldbus Read Write Email Client Read Only Sub Network Read Write Fieldbus Email Client SSI Read Only SSI Read Write SSI Ox1FF 0x3FF 0x22 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Basic Operation 20 2 2 2 Data Exchange Example In the following example a temperature regulator on the subnetwork exchanges information with a PLC on the higher level network via the internal memory buffers in the Anybus Communicator PLC EtherNet IP Scanner PLC Memory Inputs PLC Memo
12. o O To edit parameters associated with a particular frame object select the frame object in the Navigation Section The settings for that frame object will be displayed in the Parameter Section It is also possible to edit the frame objects in a transaction in a more visual manner using the Transaction Editor see Transac tion Editor on page 74 Data Object Parameters Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Frame Objects 76 14 3 Constant Objects Byte Word Dword Constant Objects have a fixed value and come in three sizes e Byte 8 bits e Word 16 bits e Dword 32 bits Constants are handled differently depending on the direction of the transaction e Produce Quetry Transactions The gateway will send the value as it is without processing it e Consume Response Transactions The gateway will check if the received byte word dword matches the specified value If not the message will be discarded To set the value of the object select it in the Navigation Section and enter the desired value in the Pa rameter section Parameter Description Value Constant value Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Frame Objects 77 14 4 Limit Objects Byte Word Dword Limit Objects have a fixed range and come in three sizes Byte 8 bits Word 16 bits Dword 32 bits Limit Objects are handled differently depending on the direction of
13. y Checksum Objects Byte constant Transz on Editor TOX File Byte constant Ward constant Data Checksum Byte constant Value Value Data location Data length Byte swap Error check type Error check start byte Walue 0x00 0x0000 0x0200 0x0010 No swapping CRC 0x0000 0x00 To edit the value of a parameter click on 1t and enter a new value using the keyboard When editing transactions which are based on predefined commands certain parts of the transaction may not be ed itable The File menu features the following entries Hen Apply Changes Apply Changes i This will save any changes and exit to the main Exit Ctrl Q window e Exit Exit without saving Example Transaction Editor File Byte constant Word constant Data Checksum Byte constant Value Value Data location Data length Byte swap Error check type Error check start byte Value 0x02 0x0008 Ox0202 0x0008 No swapping CRC 0x0001 0x03 The transaction created in this example are built up as follows The first byte holds the STX 0x02 followed by two bytes specifying the length of the data field in this case 8 The next 8 bytes are data and since this is a query transaction the data is to be fetched from the Output Area which starts at address location 0x202 No swapping will be per formed on the data This is followed by a two byte checksum The checksum calculation starts with the second byte in the transaction The transaction end
14. In ABC Config Tool a node represents a single device on the network While the gateway doesn t fea ture a scanlist in the traditional sense all nodes and their transactions will be processed in the order they have been defined in the ABC Config Tool The maximum number of nodes that can be created in the ABC Config Tool is 31 12 2 Adding amp Managing Nodes Right click on Sub Network in the Navigation Section to gain access to these functions Function Paste Description Paste a node from the clipboard z Subnetwork Monitor Launch the subnet monitor Subnetwork Monitor on page 94 Subnetwork Status Add Node Add a node to the configuration Add Broadcaster Add a broadcaster node to the configuration Load Node Add a previously saved node View diagnostic information about the subnetwork a This function is only available in Master Mode 12 3 Node Parameters 12 3 1 Master Mode and Generic Data Mode To gain access to the parameters described in this section select a node in the Navigation Section Parameter Slave Address Description The value entered here may be used to set the node address in certain commands For more information see The Command Editor on page 83 Anybus Communicator for EtherNet IP Doc Rev 3 00 SY Fieldbus ABC e Sub Network Sub Network Monitor Add Node Add Broadcaster Load Node Sub Network Status S
15. All rights reserved License to copy and use this software is granted provided that it is identified as the RSA Data Security Inc MD5 Message Digest Algorithm in all material mentioning or referencing this software or this function License is also granted to make and use derivative works provided that such works are identified as derived from the RSA Data Security Inc MD5 Message Digest Algorithm in all material mentioning or referencing the derived work RSA Data Security Inc makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose It is provided as is without express or implied warranty of any kind These notices must be retained in any copies of any part of this documentation and or software Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096
16. Depending on the configuration specified in the ABC Config Tool different signals are activated in the subnetwork con nectot B 4 2 Bias Resistors RS485 Only When idle RS485 enters an indeterminate state which may cause the serial receivers to pick up noise from the serial lines and interpret this as data To prevent this the serial lines should be forced into a known state using pull up and pull down resistors commonly known as bias resistors The bias resistors form a voltage divider forcing the voltage between the differential pair to be higher than the threshold for the serial receivers typically gt 200mV Note that bias resistors shall only be installed on one node installing bias resistors on several nodes may compromise the signal quality on the network and cause transmission problems B 4 3 Termination RS485 amp RS422 Only To avoid reflections on the serial lines it is important to properly terminate the subnetwork by placing termination resistors between the serial receivers near the end nodes The resistor value should ideally match the characteristic impedance of the cable typically 100 120R B 4 4 Connector Pinout DB9F Pin Description RS232 RS422 RS485 1 5V Output 100mA max Y Y Y 2 RS232 Rx V 3 RS232 Tx Y 4 reserved 5 female 1 5 Signal Ground Y Y Y 6 RS422 Rx Y 7 RS422 Rx Y 8 RS485 RS422 Tx Y Y 9 RS485 RS422 Tx Y Y housing Cable Shield Y Y Y
17. Parameter Offline options for fieldbus Description This parameter specifies the action to take for this transaction if the higher level net work goes offline This affects the data that is sent to the subnetwork e Clear Data is cleared 0 on the subnetwork if the higher level network goes offline e Freeze Data is frozen on the subnetwork if the higher level network goes offline NoScanning Stop subnet scanning for this transaction if the higher level network goes offline Update mode Update time 10ms Anybus Communicator for EtherNet IP Doc Rev 3 00 The update mode for the transaction e Cyclically The transaction is sent cyclically at the interval specified in the Update Time parameter e On data change The data area is polled for changes at the time interval defined by Update time A transaction is issued when a change in data is detected Single shot The transaction is sent once at startup e Change of state on trigger The transaction is sent when the trigger byte has changed This feature enables the control system to notify the gateway when to issue a particular transaction To use this feature correctly the control system must first update the data area asso ciated with the transaction then increase the trigger byte by one The location of the trigger byte is specified by the Trigger byte address parameter This parameter specifies how often the transaction will be issued in steps
18. Try again The Config Line LED turns red in the ABC Config Tool The serial port seems to be available but it is not possible The serial port may be in use by another application to connect to the gateway Exit the ABC Config Tool and close all other applica tions including the ones in the system tray Try again e Select another serial port Try again Poor performance e Right click subnetwork in the Navigation window and select subnetwork Status to see status diagnostic information about the subnetwork If the gateway reports very many retransmissions check your cabling and or try a lower baud rate setting for the subnetwork if possible e Is the Subnet Monitor in the ABC Config Tool active The subnetwork monitor has a negative influence on the overall performance of the gateway and should only be used when necessary e Is the Node Monitor in the ABC Config Tool active The node monitor has a negative influence on the overall performance of the gateway and should only be used when necessary No subnetwork functionality e Use the Data logger functionality to record the serial data communication on the subnetwork e If no data is being transmitted check the configuration in ABC Config Tool e If no data is received check the subnetwork cables Also verify that the transmitted data is correct Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096
19. lt address gt with the IP address of the Anybus Communicator Substitute lt user gt with the username Substitute lt password gt with the password 3 Press enter The Explorer will now attempt to connect to the gateway using the specified settings If successful the built in file system is displayed in the Explorer window File Edit View Favorites Tools Help Qy Back Y GQ 7 gt y Search Folders ja Address ftp user password lt address gt g Go Name Size T Date Modified File and Folder Tasks a JD Make a new folder Publish this folder to the Web tad Share this folder gt gt Other Places LJ My Documents My Computer 2 My Network Places Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 6 6 Telnet Server 6 1 General The built in Telnet server provides a way to access the file system using a standard Telnet client The server communicates through TCP port 23 Security Levels Just like the FTP server the Telnet server features two security levels admin and normal e Normal level users The root directory will be user e Admin level users The root directory will be i e the user has unrestricted access to the file system User Accounts The Telnet server shares user accounts with the FTP server If no valid user accounts have been defined the gateway will grant admin level access to all users I
20. xx or m ddddddE xx where the number of d s specified by the precision The default precision is 6 a precision of 0 suppresses the decimal point g G float e or E is used if the exponent is less than 4 or greater than or equal to the precision oth erwise f is used Trailing zeros and trailing decimal point are not printed no argument is converted print a The arguments that can be passed to the SSI function printf are String class inst attr Anybus Communicator for EtherNet IP Doc Rev 3 00 Argument Description InReadSByte offset Read a signed byte from position offset in the Input Data area InReadUByte offset Read an unsigned byte from position offset in the Input Data area InReadSWord offset Read a signed word from position offset in the Input Data area InReadUWord offset Read an unsigned word from position offset in the Input Data area InReadSLong offset Read a signed longword from position offset in the Input Data area InReadULong offset Read an unsigned longword from position offset in the Input Data area InReadString offset Read a string char from position offset in the Input Data area InReadFloat offset Read a floating point float value from position offset in the Input Data area OutReadSByte offset Read a signed byte from position offset in the Output Data area OutReadUByte offset Read an unsigned byte from position offset in the Output Data area Ou
21. 1200 096 Parameter Data Initialization Explicit Data 123 A 4 Mapping Output Parameter Data to EtherNet IP Example Mapping output data is similar to mapping input data in the following example a total of 144 bytes of data will be mapped to the Parameter Data Output Mapping Object The data is made up of 4 separate blocks each associated with a a particular instance attribute To achieve this perform the following steps 1 Add a new mailbox message to the configuration see Add a Mailbox Message on page 120 2 Change the Command value in the mailbox header to 0085h 3 Adjust the Data Size value in the mailbox header left column In this example the size shall be set to 16 0010h since each mapped attribute occupies 4 bytes of mailbox data 4 Specify the mapping locations for the attributes in the mailbox data section As mentioned above each mapping entry needs 4 bytes two bytes specifying the offset of the data block followed by two bytes which specify the length of the data block Note that these values must be entered in big endian Motorola format In this example this gives us the following mailbox data Mailbox Data Attribute no Comments Location Data 0x00 0x00 1 Offset 0020h 0x01 0x20 0x02 0x00 Size 16 bytes 0x03 0x10 0x04 0x00 2 Offset 0050h 0x05 0x50 0x06 0x00 Size 32 bytes 0x07 0x20 0x08 0x00 3 Offset 0070h 0x09 0x70 0x0A 0x00 Size
22. 32 bytes 0x0B 0x20 0x0C 0x00 4 Offset 00D0h 0x0D OxDO Ox0E 0x00 Size 64 bytes Ox0F 0x40 As shown in the table above the attributes are numbered in the order they are mapped Le it is possible to rearrange the attribute numbering by physically changing the mapping order in the mailbox data 5 To save the new mailbox select Apply changes in the File menu 1 The offset is specified from the start of the parameter data not from the physical memory location in the Anybus Communicator Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Parameter Data Initialization Explicit Data 124 Resulting Attribute Mapping Output Data I O Data Output IO Size Out 128 bytes Parameter Data Output Mapping Object Attributes not mapped os l 16 bytes not mapped Offset 0x0000h Instance 1 Attributes 32 bytes 32 bytes not mapped 64 bytes not mapped Mailbox Editor Screenshot iol x Fie Header Message Message ID 0x0001 0x00 0x00 Message information 0x4002 0x01 0x20 Command 0x0005 0x02 0x00 Data size 0x0010 0x03 0x10 Frame count 0x0001 0x04 0x00 Frame number 0x0001 0x05 0x50 Offset high Ox0000 0x06 0x00 Offset low 0x0000 0x07 0x20 Extended Word 1 0x0000 0x08 0x00 Extended Word 2 Ox0000 0x09 0x70 Extended Word 3 0x0000 0x0A 0x00 Extended Word 4 0x0000 0x0B 0x20 Extended Word 5 Ox0000 0x
23. 8 gt g pag A Ethernet Connector This connector is used to connect the Anybus Communi cator to the network See also Ethernet Connector on page 125 B Configuration Switches See also Configuration Switches on page 15 C Status LEDs See also Status LEDs on page 14 D PC connector This connector is used to connect the gateway to a PC for configuration and monitoring purposes See also PC Connector on page 126 E Subnetwork Connector This connector is used to connect the gateway to the serial subnetwork See also PC Connector on page 126 F Power Connector This connector is used to apply power to the gateway See also Power Connector on page 125 G DIN rail Connector The DIN rail mechanism connects the gateway to PE Protective Earth See also Hardware Installation on page 16 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 1 2 Status LEDs About the Anybus Communicator for EtherNet IP 14 State Status O O 1 Module Status Off no power as only relevant for an Eth O E ve i 0 Green Normal operation ge erNet IP connection P e Green flashing Not configured or scanner not in run state O QO Red Major fault Red flashing Minor fault Alternating Red Green _ self test 2 Network Status Off No IP address or no power pote
24. D Information Section This section holds information related to the currently se lected parameter Anybus Communicator for EtherNet IP Doc Rev 3 00 Config Line QA This menu entry is expanded Eg Fieldbus lt A Starthnit l aan hs Fieldbus specific Sub entries _ Ea Endinit A ABC This menu entry holds additional sub entries parameters Configuration Alphabetic Categorized E Communication Bitrate bits s Data bits Parity Physical standard Start bits Stop bits E Timing Message delimiter 10ms Parameter Section Message delimiter 10ms The time between transaction Information Section Doc Id SCM 1200 096 10 1 1 Pull down Menu File This menu features the following entries e New Create a new configuration See also Configuration Wizards on page 101 e Open Open a previously created configuration e Save Save the current configuration e Save As Save the current configuration under a new name e Print Navigating the ABC Config Tool 60 Mew Open Save Save ds Print Properties Exit Ctrl N Ctrleo Ctrl s Ctrl P Send details about the current configuration to a printer e Properties This brings out the following window Item Description Select a Name for the A name for the configuration Configuration may be entered here Download Password 6 These fields can be used to Upload Password
25. Data Checksum ObjectType Byte Byte Data Checksum Value SlaveAddress ID User User Response 1 2 4 DisplayName Slave Address Function Checksum ObjectType Byte Byte Checksum Value SlaveAddress ID Depend A Pull down Menu See Pull down Menu on page 84 B Name of Command Actual name of the command in text form C Command Transactions This section holds the actual transactions associated with the command This can either be a que ry response pair or a single transaction depending on the protocol mode etc D Command ID This can be used as desired when building the command e g to specify the function code E Other Settings Setting Description Allow Broadcasting Specifies if it is allowed to broadcast the command only relevant in Master Mode Produce The command is producing data Generic Data Mode only Consume The command is consuming data Generic Data Mode only Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Commands 84 15 3 3 Pull down Menu File This menu features the following entries e Apply Changes Fie M Save changes and exit to the main window Apply Changes Exit Exit Ctr Q Exit without saving Column The functions in this menu alters the structure of the command e Append Column Column h Add another column to the command Append Column Insert Column Shift Ins Delete Column Shift Del e Insert Col
26. EN Contents Search For Help On e Contents Display the table of contents of the online help system Note At the time of writing no online help sys About tem exists e Search For Help On Search for a particular topic in the online help sys tem Note At the time of writing no online help system exists e About Display general information about the gateway and the current build of ABC Config Tool 10 1 2 Toolbar Icons The toolbar features icons for the most commonly used functions e New Open amp Save D See File on page 60 e Upload from ABC amp Download to ABC See Tools on page 61 e Up one Level P Clicking on this icon will move the selection in the navigation section Up one Level e Cut Copy Paste Delete Insert x J These icons are used for common editing func ae E Cut Copy Paste Delete Insert tions in the navigation section Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Navigating the ABC Config Tool 63 e Connect fe Clicking on this icon will cause the ABC Config Tool to attempt to connect to the gateway a e Disconnect fe Clicking on this icon will cause the ABC Config Tool to disconnect from the gt gateway Disconnect e Start Logging amp Stop Logging 99 4 29 EF d See Tools on page 61 amp Data Logger on page 99 ES Start Log Stop Log e Subnetwork Monitor Clicking on this icon will launch the subne
27. ID in format Xx XX XX XX XX XX Syntax lt exec cmd_argument DisplayMacId gt DisplaySerial This function returns the serial number of the network interface Syntax lt exec cmd_argument DisplaySerial gt DisplayFWVersion This function returns the main firmware revision of the network interface Syntax lt exec cmd_argument DisplayFWVersion gt DisplayBLVersion This function returns the bootloader firmware revision of the network interface Syntax lt exec cmd_argument DisplayBLVersion gt DisplaylP This function returns the currently used IP address Syntax lt exec cmd_argument DisplayIP gt DisplaySubnet This function returns the currently used Subnet mask Syntax lt exec cmd_argument DisplaySubnet gt DisplayGateway This function returns the currently used Gateway address Syntax lt exec cmd_argument DisplayGateway gt Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Server Side Include SSI 47 DisplayDNS1 This function returns the address of the primary DNS server Syntax lt exec cmd_argument DisplayDNS1 gt DisplayDNS2 This function returns the address of the secondary DNS server Syntax lt exec cmd_argument DisplayDNS2 gt DisplayHostName This function returns the hostname Syntax lt exec cmd_argument DisplayHostName gt DisplayDomainName Thi
28. Serial Number UDINT Serial number set at production 7 Get Product Name SHORT_STRING Anybus C EtherNet IP Name of product Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Device Status bit s Name Module Owned CIP Object Implementation 110 reserved reserved 0 1 2 Configured 3 4 7 Extended Device Status 0000b Unknown 0010b Faulted I O Connection 0011b No I O connection established 0100b Non volatile configuration bad 0110b Connection in Run mode 0111b Connection in Idle mode other reserved 8 Set for minor recoverable faults 9 Set for minor unrecoverable faults 10 Set for major recoverable faults 11 Set for major unrecoverable faults 12 15 reserved 22 3 Message Router Class 02h 22 3 1 General Information Object Description Supported Services Class services Instance services 22 3 2 Class Attributes 22 3 3 Instance Attributes Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 CIP Object Implementation 111 22 4 Assembly Object Class 04h 22 4 1 General Information Object Description This object provides access to the I O Data in the input and output data areas in the Anybus Commu nicator See also e EtherNet IP on page 24 e Fieldbus Settings on page 64 Supported Services Class services Get Attribute Single Instance services Get Attribu
29. SetHostName SetDomainName SetSMTPUsSer SetSMTPPswd Default output Invalid IP address Invalid Subnet mask Invalid Gateway address Invalid IP address or Subnet mask Invalid Email Server IP address Invalid DHCP state Invalid DNS1 Invalid DNS2 Configuration stored correctly Failed to store configuration Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Server Side Include SSI 49 GetText Note This function cannot be used in e mail messages This function retrieves a text string from an object and stores it in the output data area Syntax lt exec cmd_argument GetText ObjName OutWriteString offset n gt ObjName Name of object offset Specifies the destination offset from the beginning of the output data area n Specifies maximum number of characters to read optional Default output Success Write succeeded Failure Write failed printf This function includes a formatted string which may contain data from the input and output data areas on a web page The formatting of the string is similar to the C language function printf Syntax lt P Fexee cmd argument printi String to write Argl Arg2 vesp ALON s Like the C language function print the String to write for this SSI function contains two types of objects Ordinary characters which are copied to the output stream and conversion specifications each of which causes conv
30. Settings enabled the gateway will use the settings from the configuration created using ABC Config Tool Note that in such cases the contents of the system file ethcfg cfe will be ignored completely causing the following behavior DNS services will not be available Domain and Host name cannot be set E mail services will not be available Settings received from the network i e via HICP or DCP will be lost in the event of a power loss or reset e Settings specified in ethcfg cfg If the on board switches are set to 0 zero and no settings have been specified in ABC Config Tool i e TCP IP Settings disabled the gateway will use the settings stored in the system file ethcfg cfo If this file is missing the gateway will attempt to retrieve the settings via DHCP or HICP for 30 seconds If no configuration has been received within this period the gateway will halt and indi cate an error on the on board LEDs EtherNet IP The TCP IP settings can be accessed from EtherNet IP through the TCP IP Interface Object See also e TCP IP Interface Object Class F5h on page 116 DHCP BootP The Anybus Communicator can retrieve the TCP IP settings from a DHCP or BootP server If no DHCP server is found the gateway will fall back on its current settings 1 e the settings currently stored in ethcfg cfe If no current settings are available i e ethcfg cfg is missing or contains in
31. Type Register Match Value Mask Operand To recipient From sender Subject subject line Headers Optional extra headers Message message body Key Value Scanned for SSI Area Source area Possible values IN Input Data area or OUT Output Data area No Offset Source offset written in decimal or hexadecimal Type Source data type Possible values are byte word and long Value Used as a reference value for comparison Mask Mask value applied on the trigger source prior to comparison logical AND Operand Possible values are lt or gt To E mail recipient Yes From Sender e mail address Subject E mail subject One line only Headers Optional may be used to provide additional headers Message The actual message Note Hexadecimal values must be written with the prefix Ox in order to be recognized by the Anybus Communicator Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 10 10 Navigating the ABC Config Tool 10 1 Main Window The main window in the ABC Config Tool can be divided into 4 sections as follows mS ABC Config Tool Untitled File Fieldbus Tools View Help D SHS Configuration Devices D Alphabetic Categorized N Fieldbus ABC E Ethernet TCP IP configuration Communicator IP address 192 168 0 1 Default Gateway 0 0 0 0 255 255 255 0 Enabled
32. a ae Green EtherNet IP connection s established Green flashing No EtherNet IP connections established Red Duplicate IP address detected Red flashing One or several connections timed out Alternating Red Green _ self test 3 Link Off No link or no power Green Connected to an ethernet network 4 Activity Off No ethernet activity or no power Green Receiving or transmitting ethernet packet 5 Subnet Status Off no power Green flashing Running correctly but one or more trans action error s have occurred Green Running Red Transaction error timeout or subnet Stopped 6 Device Status Off no power Alternating Red Green Invalid or missing configuration Green Initializing Green flashing Running Red Bootloader mode Red flashing If the Device Status LED is flashing in a sequence starting with one or more red flashes please note the sequence pattern and contact the HMS support department a This led turns green when all transactions have been active at least once This includes any transactions using change of state or change of state on trigger If a timeout occurs on a transaction this led will turn red b The gateway is in bootloader mode and firmware must be restored in order for it to work properly Start up the ABC Config Tool and connect to the Anybus Communi cator Choose Tools Options ABC Click Factory Restore to restore firmware See Tools
33. bits of a register by accessing coils associated with the same memory location See also Anybus Addressing Mode on page 28 2 5 3 Supported Exception Codes Code Name Description 0x01 Illegal function The function code in the query is not supported 0x02 illegal data address The data address received in the query is outside the initialized memory area 0x03 Illegal data value The data in the request is illegal Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 2 5 4 Modbus Addressing Mode Supported Function Codes Basic Operation 27 The following function codes can be used in this mode Modbus Function Function Code Associated with Area Read Holding Registers 3 Output Data area 0x200 0x3FF Read Input Registers 4 Input Data area 0x000 0x1FF Write Single Register 6 Output Data area 0x200 0x3FF Force Multiple Registers 16 Output Data area 0x200 0x3FF Mask Write Register 22 Output Data area 0x200 0x3FF Read Write Registers 23 Output Data area 0x200 0x3FF Input Register Map The input data area is mapped to input registers as follows Register Memory Location in the gateway 0x000 0x001 Comments Each register corresponds to two bytes in the input 0x002 0x003 data area 0x004 0x005 0x006 0x008 0x007 0x009 Oo O1 GW P 0x00A 0x00B 255 0x1FC 0x1FD
34. changing the mapping order in the mailbox data 5 To save the new mailbox select Apply changes in the File menu 1 The offset is specified from the start of the parameter data not from the physical memory location in the Anybus Communicator Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Parameter Data Initialization Explicit Data 122 Resulting Attribute Mapping Input Data Parameter Data Input Mapping Object I O Data Input lO Size In Attributes 256 bytes Instance 1 Attributes 32 bytes one 0x0000h not mapped 64 bytes 16 bytes 32 bytes not mapped Ox1FF 16 bytes Offset OxOOFFh Mailbox Editor Screenshot ioj x File Header Message Message ID 0x0001 0x00 0x00 Message information 0x4002 0x01 0x00 Command 0x0004 0x02 0x00 Data size 0x0014 0x03 0x20 Frame count 0x0001 0x04 0x00 Frame number 0x0001 10x05 0x40 Offset high 0x0000 0x06 0x00 Offset low 0x0000 0x07 0x40 Extended Word 1 0x0000 0x08 0x00 Extended Word 2 0x0000 0x09 0x80 Extended Word 3 Ox0000 0x04 0x00 Extended Word 4 Ox0000 0x08 0x10 Extended Word 5 0x0000 Ox0C 0x00 Extended Word 6 0x0000 0x00 0x90 Extended Word 7 Ox0000 0x0E 0x00 Extended Word 8 Ox0000 Ox0F 0x20 0x10 0x00 0x11 0xF0 0x12 0x00 0x13 0x10 Allow user to enable disable EE E Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM
35. commands exist but custom ones may be implemented as desired 15 2 Adding amp Managing Commands To add a command to a node right click on the node in the Navigation Section and select Add Com mand A list of commands will appear amp Select Command X File Command D we Command Name Select the desired command in the list and select Add Command Command Name in the Command menu The specified command will be added Read Input Status soa Holding Registers to the node Aea Just like other transactions the frame objects of added command x0B Fetch Comm Event Ctr a o may be edited in the Navigation Parameter Section or using the p Transaction Editor Note however that certain frame objects may be locked for editing 99 My Custom Command 1 AD My Custom Command 2 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 15 2 1 Pull Down Menu File This menu features the following entries Select Add the currently selected Command to the node Exit Exit without adding a command to the node Command This menu is used to manage the commands in the list Add Command Add a custom command to the list and open the new command in the Command Editor See also The Command Editor on page 83 Edit Command Edit the currently selected command using the Command Editor See also The Command Editor on page 83 Delete C
36. disconnected in case the maximum number of retries below has been reached The unit is milliseconds ms and the entered value is multiplied by 10 which means that the shortest time is 10 ms Note This setting is not relevant for the Broadcaster node This parameter specifies how many times a timeout may occur in sequence before the node is disconnected Timeout time 10ms This parameter specifies how long the gateway will wait for a response from a node If this time is exceeded the gateway will re transmit the Query until the maximum number of retries see above has been reached The unit is milliseconds ms and the entered value is multiplied by 10 which means that the shortest time is 10 ms Anybus Communicator for EtherNet IP Doc Rev 3 00 Trigger byte address This parameter specifies the location of the trigger byte in internal memory only relevant when Update mode is set to Change of state on trigger Update mode This parameter is used to specify when the transaction shall be sent to the slave e Cyclically The transaction is issued cyclically at the interval specified in the Update time parameter e On data change The data area is polled for changes at the time interval defined by Update time A transac tion is issued when a change in data is detected Single shot The Query is issued once at start up e Change of state on trigger The Query is issued when the trigger byte value has chan
37. from a CIP object ray class inst attr CipReadULongAr Read an unsigned longword array from a CIP object ray class inst attr Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 scanf Server Side Include SSI 52 Note This function cannot be used in e mail messages This function reads a string passed from an object in a HTML form interprets the string according to the specification in format and stores the result in the output data area according to the passed argu ments The formatting of the string is equal to the standard C function call scanf Syntax lt eExeCc cmd argument scani ObjName format Argl ss ArFON Errvall ErrvalN gt ObjName The name of the object with the passed data string format Specifies how the passed string shall be formatted Argl ArgN Specifies where to write the data ErrVall ErrValN Optional specifies the value string to write in case of an error Character Input Argument Type d Decimal number byte short Number byte short The number may be in octal leading 0 zero or hexadecimal leading 0x or 0X 0 Octal number with or without leading zero byte short u Unsinged decimal number unsigned byte unsigned short X Hexadecimal number with or without leading 0x or 0X byte short C Characters char The next input characters default 1 are placed at the indicated spot The normal skip over white
38. la EtherN et IP i on page 24 special features that can be configured Click the list below to see available settings and their 44 293 h i e meaning Only fieldbuses with IO Sizes on page 64 specific settings are listed here or e al nico Step 2 Physical Settings Select the physical properties of the sub mms Wizard Modbus RTU Master net W ork Physical standard R5232 v Step 2 of 6 Bitrate bits esoo Select sub network c gt properties Click Next to continue Patty None a Data bits g x Stop bits 4 y 5 ls maus Sub 3 I E ae ta l Steps 3 6 a OO This is where the properties for the sub network are selected Please see the sub network 4 device s manual to determine Consult the online help system for fur ear rales particular serial device lt Back Next gt Please see the manual for the ther information sub network device to determine _ Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 21 21 Control and Status Registers 21 1 General The Control and Status Registers are disabled by default but can be enabled using the ABC Config Tool see Status Control Word on page 65 These registers form an interface for exchanging status in formation between the subnetwork and the fieldbus control system The main purpose of these registers is to e Report subnetwork relat
39. of state on trigger Timing Parameter Description Default Retries The number of times to resend this service before the node is disconnected 3 Timeout time 10 ms The time to wait before resending this service in steps of 10 ms 1000 ms Update time 10 ms The minimum time between two services of this kind in steps of 10 ms 1000 ms a The default value is given as 100 in the parameter window Each change of 10 ms either increases or decreases this value by 1 i e 99 represents a poll time of 990 ms and 101 represents a poll time of 1010 ms Trigger Parameter Description Default Request Trigger byte The memory location of the trigger byte this service uses for updates on trigger Ox05FF address byte changes Response Trigger byte Enables disables the trigger byte Disabled Response Trigger byte The memory location of the trigger byte this service uses for updates on trigger Ox05FF address byte changes Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 DF1 Protocol Mode 92 16 6 Integrity Check This service checks that a node is up and running correctly A telegram is sent to the node The node mirrors and returns the telegram No configuration is needed apart from the general parameters com mon to all services 16 7 Read Diagnostics This service reads diagnostic information from the module ABC DF 1 Master Untitled Devices Configuration Alphabetic Categorized E Command Param
40. on page 68 other settings Other settings are no longer supported Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Commands 86 15 3 5 Example Specifying a Modbus RTU Command in Master Mode In the following example a Modbus RTU command is created in Master Mode In Modbus RTU a transaction always feature the following parts e Slave Address 1 byte e Function Code 1 bytes e A data field e CRC CRC 16 Furthermore each command always consists of a query and a response e Example Query DisplayName Slave Address Function Data Checksum Object Type Byte Object Byte Object Data Object Checksum Object Value SlaveAddress ID User User The value of this byte The value of this byte The size and location The checksum type constant will be set using the SlaveAd dress parameter see Node Parameters on page 68 e Example Response Response DisplayName Slave Address constant will be set using the Command ID field Function of the data associated with this object is determined by the user Data etc can be selected by the user By default this is set to match the Modbus RTU stan dard Checksum Object Type Byte Object Byte Object Data Object Checksum Object Value SlaveAddress ID User Depend This value is linked to the SlaveAddress parameter in the parameter window
41. on page 61 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 About the Anybus Communicator for EtherNet IP 15 1 3 Configuration Switches If set to a nonzero value the configuration switches forces the Anybus Communicator to use an IP address in the range 192 168 0 1 192 168 0 255 If set to zero these settings are specified by the system file ethcfg cfe or by settings in ABC Config Tool Note that the switches are read once during startup any changes require a reset in order to have effect SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 DHCP Subnet Gateway IP OFF OFF OFF OFF OFF OFF OFF OFF settings determined by ethcfg cfg OFF OFF OFF OFF OFF OFF OFF ON OFF 255 255 255 0 192 168 0 255 192 168 0 1 OFF OFF OFF OFF OFF OFF ON OFF OFF 255 255 255 0 192 168 0 255 192 168 0 2 ON ON ON ON ON ON ON OFF OFF 255 255 255 0 192 168 0 255 192 168 0 254 ON ON ON ON ON ON ON ON invalid setting See also e Basic Network Configuration on page 31 e Fieldbus Settings on page 64 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 About the Anybus Communicator for EtherNet IP 16 1 4 Hardware Installation Perform the following steps when physically installing the Anybus Communicator module 1 Snap the gateway on to the DIN rail The DIN rail mechanism works as fol
42. page 105 This bit controls data consistency see Data Consistency on page 103 1 Output Area valid exchange data on the subnetwork 0 Output Area not valid do not exchange data on the subnetwork Note This bit is only relevant if the Control Status Registers are set as Enabled Execute Command If set the specified command will be executed by the gateway see below Control Code Data This field holds commands which can be executed by the gateway see below See also Control Codes in Master Mode and DF1 Master Mode on page 107 Control Codes in Generic Data Mode on page 107 Note Internally this 1s treated as a Motorola format word 1 e MSB first If the higher level network uses a different byte order the upper and lower bytes will appear to be swapped 21 3 2 Control Codes in Master Mode and DF1 Master Mode This table is valid only in Master Mode and DF1 Master Mode Code 0x00 0x01 0x02 Instruction Disable Node Enable Node Enable Nodes Data Actual node address Description Disables the specified node Actual node address Enables a previously disabled node Enables the specified number of nodes start ing from the first node in the configuration Remaining nodes will be disabled Actual number of nodes to enable 21 3 3 Control Codes in Generic Data Mode No Control Codes are currently supported in this mode Anybus Communicator f
43. space is suppressed to read the next non white space character use 1s S Character string not quoted char pointing to an array of characters large enough for the string and a terminating 0 that will be added e f g Floating point number with optional sign optional decimal point and optional exponent float Liteal no assignment is made The conversion characters d 1 o u and x may be preceded by letter ell to indicate that a pointer to long appears in the argument list rather than a byte or a short The arguments that can be passed to the SSI function scanf are Argument Description OutWriteByte offset Write a byte to position offset in the Output Data area OutWriteWord offset Write a word to position offset in the Output Data area OutWriteLong offset Write a long to position offset in the Output Data area OutWriteString offset Write a string to position offset in the Output Data area OutWriteFloat offset Write a floating point value to position offset in the Output Data area CipWriteByte class inst attr Write a byte value to a CIP object CipWriteWord class inst attr Write a word value to a CIP object CipWriteLong class inst attr Write a longword to a CIP object CipWriteFloat class inst attr Write a floating point value to a CIP object Default output Write succeeded Write failed Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 S
44. the transaction Produce Query Transactions This object shall not be used for such transactions value will be undefined Consume Response Transactions The gateway will check if the received byte word dword fits inside the specified boundaries If not the message will be discarded There are 3 types of interval objects Byte 8 bit interval Word 16 bit interval Dword 32 bit interval To set the range of the object select it in the Navigation Section and enter the desired range in the Pa rameter section as follows Parameter Description Maximum Value This is the largest allowed value for the range Range 0x00 OxFFh byte 0x0000 OXFFFFh word 0x00000000 OxFFFFFFFFh dword Note Value must be larger than the Minimum Value below Minimum Value This is the smallest allowed value for the range Range 0x00 OxFEh byte 0x0000 OXFFFEh word 0x00000000 OxFFFFFFFEh dword Note Value must be less than the Maximum Value above Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Frame Objects 78 14 5 Data Object Data Objects are used to represent raw data as follows e Produce Query Transactions The specified data block is forwarded from the higher level network to the subnetwork e Consume Response Transactions The specified data block is forwarded from the subnetwork to the higher level network To specify the properties of the object selec
45. we Sub Network Y New Node C Read Holding Registers E3 Query E Response Preset Multiple Regs El Query El Response Subnet Mask TCP IP Settings 3 Fieldbus Fieldbus Type A 10 Sizes IO Sizes Automatic Profinet IO 10 Sizes Sets whether the sizes of the IO areas are user defined or automaticly configured 2005 10 24 A Pull down Menus amp Tool Bar The second drop down menu from the left will change de pending on the current context The Tool Bar provides quick access to the most frequently used functions B Navigation Section This section is the main tool for selecting and altering dif ferent levels of the subnetwork configuration Entries preceded by a holds further configuration pa rameters or sub menus To gain access to these parame ters the entry must be expanded by clicking There are three main levels in the navigation window namely Fieldbus ABC and subnetwork Right clicking on entries in this section brings out addi tional selections related to that particular entry C Parameter Section This section holds a list of parameters or options related to the currently selected entry in the Navigation Section The parameter value may be specified either using a selec tion box or manually depending on the parameter itself Values can be specified in decimal form e g 42 or in hexadecimal format e g Ox2A
46. with a particular instance attribute To achieve this perform the following steps 1 Add a new mailbox message to the configuration see Add a Mailbox Message on page 120 2 Change the Command value in the mailbox header to 0084h 3 Adjust the Data Size value in the mailbox header left column In this example the size shall be set to 20 0014h since each mapped attribute occupies 4 bytes of mailbox data 4 Specify the mapping locations for the attributes in the mailbox data section As mentioned above each mapping entry needs 4 bytes two bytes specifying the offset of the data block followed by two bytes which specify the length of the data block Note that these values must be entered in big endian Motorola format In this example this gives us the following mailbox data neue ae Attribute no Comments Location Data 0x00 0x00 1 Offset 0000h 0x01 0x00 0x02 0x00 Size 32 bytes 0x03 0x20 0x04 0x00 2 Offset 0040h 0x05 0x40 0x06 0x00 Size 64 bytes 0x07 0x40 0x08 0x00 3 Offset 0080h 0x09 0x80 0x0A 0x00 Size 16 bytes 0x0B 0x10 0x0C 0x00 4 Offset 0090h 0x0D 0x90 0x0E 0x00 Size 32 bytes 0x0F 0x20 0x10 0x00 5 Offset OOFOh 0x11 OxFO 0x12 0x00 Size 16 bytes 0x13 0x10 As shown in the table above the attributes are numbered in the order they are mapped Le it is possible to rearrange the attribute numbering by physically
47. 0C 0x00 Extended Word 6 0x0000 0x0D OxDd Extended Word Ox0000 Ox0E 0x00 Extended Word 8 Ox0000 0x0F 0x40 Allow userto enable disable EE E Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 B Connector Pin Assignments B 1 Ethernet Connector Housing Cable Shield TD TD RD Termination Termination RD Termination CO NI DD oy Bl N B 2 Power Connector Termination Pin Description 1 24V DC 2 GND Notes e Use 60 75 or 75XC copper CU wire only e The terminal tightening torque must be between 5 7 lbs in 0 5 Anybus Communicator for EtherNet IP Doc Rev 3 00 Appendix B 0 8 Nm Doc Id SCM 1200 096 Connector Pin Assignments 126 B 3 PC Connector Configuration Cable Wiring DP9F PC RJ11 ABC RJ11 4P4C modular ABC Pin Description 1 Signal ground 2 3 RS232 Rx Input 4 RS232 Tx Output DB9F PC Pin Description q 2 RS232 Rx Input 5 female 1 3 RS232 Tx Output 4 5 Signal Ground 6 9 1 The RJ11 4P4C modular is sometimes referred to as an RJ9 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Connector Pin Assignments 127 B 4 Subnetwork Interface B 4 1 General Information The subnetwork interface provides for RS232 RS422 and RS485 communications
48. 1200 096 20 Configuration Wizards 20 1 General Chapter 20 When creating a new subnetwork configuration the ABC Config Tool provides a choice between start ing out with a blank configuration or using a predefined template a k a a wizard The wizard automatically creates a subnetwork configuration based on information supplied by the user i e the user simply has to fill in the blanks Note however that this will only work when the subnetwork fits the wizard profile in all other cases the Blank Configuration option must be used 20 2 Selecting a Wizard Profile The following window appears each time the ABC Config Tool is started or upon selecting the New entry in the File menu unless it has been disabled in the Options menu see Tools on page 61 Currently the following wizards are available e ABCC ExtLink Wizard This wizard is intended for use with the Anybus Com pactCom Modbus RTU fieldbus communication adapter e Wizard Modbus RTU Master This option is suitable for Modbus RTU based net works See also Wizard Modbus RTU Master on page 102 e Blank Configuration This option creates an empty configuration Highlight the desired wizard and click OK to continue Anybus Communicator for EtherNet IP Doc Rev 3 00 LC de 2 Me 4 ja e Cs os Cancel ABCC ExtLink Wizard Wizard Modbus Blank Configuration RTU Master ij Se
49. 6 password protect the configu ration in the gateway CAUTION Always keep a copy of the password in a safe place A lost password cannot be re trieved e Exit Close the ABC Config Tool Anybus Communicator for EtherNet IP Doc Rev 3 00 Download Password 6 ms Name the Configuration Select a Name for the Confiquration My confiquration Upload Password 6 a Doc Id SCM 1200 096 Navigating the ABC Config Tool 61 Tools This menu features the following entries This entry selects the COM port used Port d for the configuration of the gateway Upload configuration from ABC e Upload configuration from ABC Down load configuration to ABC Upload the configuration from the Start Logging gateway to the ABC Config Tool Options e Download configuration to ABC Download the current configuration into the gateway e Start Logging Start the Data Logger see Data Logger on page 99 Note that when the Data Logger is active this menu entry is changed to Stop Logging e Options This will bring out the following window Item Description Warning on Delete A confirmation dialog is displayed each ee time something is deleted road O Warning on unsaved A confirmation dialog is displayed when id sie data closing the ABC Config Tool with unsaved A data Show Wizard when The Wizard is displayed each time a new New menu is selected configuration is cr
50. ABC Sub Network Y Node1 Read Coil Status E Query OX E Response m Diagnostics E Query CQ Response Node2 Sensor a Barcodereader SelectAll DeselectAll Y Sensor Transactions 1 Hms Frame Editor TOX Ele Slave Address Function Starting Address Hi Lo Number of points HiLo Checksum Value Value Value Value Error check type Error check start byte 0x0000 0x0000 CRC 0x0000 Transactions 1 2005 10 27 09 39 Config Line YA E Collision Trigger or Statusbytes Response Reserved Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Basic Operation 19 2 2 Data Exchange Model Internally the data exchanged on the subnetwork and ABC Internal Memory the data exchanged on the higher level network resides in the same memory This means that in order to exchange data with the sub network the higher level network simply reads and writes data to memory locations specified using the ABC Config Tool The very same memory locations can then be exchanged on the subnetwork te es 512 bytes The internal memory buffer is divided into three areas based on their function Sub Network _ e Input Data 512 bytes Higher Level Network This area can be read by the higher level net work the Web server and the E mail client how this data is represented on the higher level General Data network will be described later in this chapter e Output Data 512 bytes
51. Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Basic Operation 23 2 3 4 Generic Data Mode In this mode there is no master slave relationship between the nodes on the subnetwork and the gate way Any node including the gateway may spontaneously produce or consume a message Nodes do not have to respond to messages nor do they have to wait for a query in order to send one Control System Gateway Subnetwork Devices Consume d Produce Node 1 Produce p Consume Produce p Consume Node 2 Consume d Produce In the figure above the Anybus Communicator consumes data that is produced by a node on the sub network This consumed data can then be accessed from the higher level network This also works the other way around the data received from the higher level network is used to produce a message on the subnetwork to be consumed by a node 2 3 5 DF1 Master Mode Please refer to DF 1 Protocol Mode on page 87 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Basic Operation 24 2 4 EtherNet IP 2 4 1 General EtherNet IP is based on the Control and Information Protocol CIP which is also the application layer for DeviceNet and ControlNet The Anybus Communicator acts as a Group 2 and 3 server on the Eth erNet IP network The input and output data is accesse
52. Description Cut Cut a node to the clipboard Copy Copy a node to the clipboard Insert Insert a node from the clipboard Delete Delete a node Node Monitor Launch the node monitor Node Monitor on page 95 Add Transaction s On regular nodes this adds a Query and a Response The two transactions will be grouped in order to increase readability On the Broadcaster a single transaction will be added Add Transaction Consume Add transaction Produce Add a Consume transaction Add a Produce transaction Add Command Insert New Node save Node Insert from File Add predefined transactions to the node Insert a new node above the currently selected one Save the selected node Insert a previously saved node above the currently selected node Rename To increase readability each node can be given a unique name using this function a Only available in Master Mode b Only available in Generic Data Mode Anybus Communicator for EtherNet IP Doc Rev 3 00 38 Fieldbus A ABC 8 Sub Network TP E N Cut Copy Insert Delete Node Monitor Add Transaction Consume Add Transaction Produce Add Command Insert New Node Save Node Insert from File Rename Doc ld SCM 1200 096 Transactions 71 13 3 Transaction Parameters Master Mode 13 3 1 Parameters Query amp Broadcast To gain access to these parameters select a Query or Broadcast transactio
53. E E E 23 a A ENS 24 Ola data dado 24 A haba S aad asl 24 MP ENANA catia Can T A OTR 25 Modbus O o aati 26 CCU A astra asa laste NN A E EE EA E 26 SACS SING MOS AAA A A 26 SAPON CA TE DUO CIA SAA AAA ERA 26 Moarns zA aar ru nE NON i EE EA E lil ches laces T NE 21 TOMS SADO NE VOTO AAA ida 28 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 File System SIN q PE O 29 Pale Sy Stern OVC ON aa heh A E O E E 30 O E E eae 30 Basic Network Configuration CENA A ld 31 EriernetrContoutaton Ple erat a ai 32 A EE O EE LAO 32 PAE Ono 33 Abas Peon ALO rastrillo 34 FTP Server A O aes eee 35 FIR Connection Esample Windows Exploro add dea a e a 36 Telnet Server General A EN 37 General COn 38 Diasnosue COM AAA AA AI AA aocaatinsaiins 39 O A E T T E E E E T 39 Web Server Genet EE E E E E E A E E E E E EET E E ETE E A T 42 ADONAI Ale a RR O 43 Content Tesi idol 44 Server Side Include SSI Gene aea NS 45 POUNCHO AAA 46 Chade nieo o OU OU ae E E N 55 ORO T R A R E E ai 55 PDA ADECUA EE AA A EE EN 56 E mail Client BA Re Nt ott en Ter PON DAE ESNS AES A Ts OR JOT MPR ATER NORA TRIOS OTE Cite Oe meyer rar ee Se 57 O o ci ee ed on ence ad eed aan wed Aen al tate vasa ede 58 Navigating the ABC Config Tool MATNA AA A A are ees A 59 E E A O O 60 GOUGH COTS hak RI CRE PE PE OE A A vateaed 62 An
54. EXEMPLARY OR CONSEQUENTIAL DAMAGES INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE DATA OR PROFITS OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Copyright C 1990 2 RSA Data Security Inc All rights reserved License to copy and use this software is granted provided that it is identified as the RSA Data Security Inc MD4 Message Digest Algorithm in all material mentioning or referencing this software or this function License is also granted to make and use derivative works provided that such works are identified as derived from the RSA Data Security Inc MD4 Message Digest Algorithm in all material mentioning or referencing the derived work RSA Data Security Inc makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose It is provided as is without express or implied warranty of any kind These notices must be retained in any copies of any part of this documentation and or software kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Copyright C 1991 2 RSA Data Security Inc Created 1991
55. FTP communication e TCP port 20 FTP data port e TCP port 21 FTP command port Security Levels The FTP server features two security levels admin and normal e Normal level users The root directory will be user e Admin level users The root directory will be 1 i e the user has unrestricted access to the file system User Accounts The user accounts are stored in two files which are protected from web access e user pswd sys_pswd cfg This file holds the user accounts for normal level users e pswd ad_pswd cfg This file holds the user accounts for admin level users File Format The format of these files are as follows Usernamel Passwordl Username2 Password2 Username3 Password3 Note 1 If no valid user accounts have been defined the gateway will grant admin level access to all us ers In such cases the FTP accepts any username password combination and the root directory will be e Note 2 The FIP server shares user accounts with the Telnet server Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 FTP Server 36 5 2 FTP Connection Example Windows Explorer The built in FTP client in Windows Explorer can easily be used to access the file system as follows 1 Open the Windows Explorer by right clicking on the Start button and selecting Explore 2 Inthe address field type FTP lt user gt lt password gt lt address gt Substitute
56. Get Attribute Single 22 6 2 Class Attributes Access Name iwpe Value Description 1 Get Revision UINT 0001h Revision 1 22 6 3 Instance Attributes Instance 01h Each attribute corresponds to a block of Input Data Note that the size and location of each block must be specified using the ABC Config Tool For more information see A 120 Parameter Data Initialization Explicit Data Access Name Type Description 01h Get Data Array of USINT Mapped block if Input Data 02h Get Data Array of USINT Mapped block if Input Data 02h Get Data Array of USINT Mapped block if Input Data 02h Get Data Array of USINT Mapped block if Input Data 02h Get Data Array of USINT Mapped block if Input Data 02h Get Data Array of USINT Mapped block if Input Data 32h Get Data Array of USINT Mapped block if Input Data Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 CIP Object Implementation 114 22 7 Parameter Data Output Mapping Object Class B1h 22 1 General Information Object Description This object can be used to access output data acyclically and is set up dynamically based on the Param eter Data Mailbox initialization see Parameter Data Initialization Explicit Data on page 120 See also e EtherNet IP on page 24 e Fieldbus Settings on page 64 e Parameter Data Input Mapping Object Class BOh on page 113 e Parameter Data Initialization Explici
57. H C 2 Electrical Characteristics Power Supply Power 24V 10 Power Consumption Maximum power consumption is 280mA on 24V Typically around 100mA C 3 Environmental Characteristics Relative Humidity The product is designed for a relative humidity of 0 to 95 non condensing Temperature Operating 0 C to 55 C Non Operating 25 C to 85 C Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Technical Specification 130 C 4 Regulatory Compliance EMC Compliance CE This product is in accordance with the EMC directive 89 336 EEC with amendments 92 31 EEC and 93 68 EEC through conformance with the following standards EN 50082 2 1993 EN 55011 1990 Class A e EN 61000 6 2 1999 EN 61000 4 3 1996 10V m EN 61000 4 6 1996 10V m all ports EN 61000 4 2 1995 8kV Air Discharge 4kV Contact discharge EN 61000 4 4 1995 2kVPower port 1kVOther ports EN 61000 4 5 1995 0 5kVPower ports DM CM 1kVSignal ports UL c UL compliance The certification has been documented by UL in file E214107 Galvanic isolation on subnetwork interface e EN 60950 1 2001 Pollution Degree 2 Material Group IIIb 250 Vrms or 250 VDCWorking voltage 500 VSecondaty circuit transient rating Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Appendix D D Troubleshooting Problem Solution Problem during configuration Upload Download Serial communication failed
58. Hi Lo Checksum Value Value Value Error check type Error check start byte 0x0000 Ox0000 CRC 0x0000 Read Coil Status Response Slave Address Function Byte count Checksum In Area 4 bytes 512 Out Area 16 bytes 512 General Area 0 bytes 1004 0 00 00 00 00 DD DD DO DO DO DD 0D DO DO DO DD DD DO DO DO DO ocoocoooco0ooo oe Ha Ha an Pull down Menu amp Toolbar Icons See Pull Down Menu on page 96 and Toolbar Icons on page 97 Command Section This section holds the currently selected command The individual frame objects in the com mand can be edited in a similar way as in the Transaction and Command Editors Response Section Master Mode and DF1 Master Mode only This section holds the response to the selected Command Monitor Section This section displays the data associated with the node Areas in dark grey are reserved for the Status amp Control Registers and areas displayed in light grey represent the data that is used by the node The data displayed in this section will be refreshed based on the refresh icons in the toolbar For more information see Toolbar Icons on page 97 18 2 1 Pull Down Menu File There is only one entry in this menu Exit EA This will close the Node Monitor Note however that if the node has Exit j been disabled using Stop Node see below it will not resume data exchange until enabled again using Start n
59. N Fieldbus df ABC wi Sub Network Y Broadcaster Y ew Mode Doc Id SCM 1200 096 Chapter 13 13 Transactions 13 1 General As mentioned previously transactions are representations of the actual serial telegrams exchanged on the serial subnetwork While the gateway doesn t feature a scanlist in the traditional sense all nodes and their transactions will be processed in the order they have been defined in the ABC Config Tool Transactions are handled slightly differently in the three protocol modes e Master Mode For regular nodes transactions always come in pairs a query and a response The query is issued by the gateway while responses are issued by the slaves on the subnetwork The Broadcaster can only send transactions e Generic Data Mode Transactions can be added as desired for both directions Transactions sent to the subnetwork are called Transaction Produce and transactions issued by other nodes are called Transaction Consume e DFi Master Mode Please refer to DF1 Protocol Mode on page 87 Theoretically the gateway supports up to 100 transactions The actual number may however be less de pending on the memoty requirements of the defined transactions Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 13 2 Adding amp Managing Transactions Transactions 70 Right click on a node in the Navigation Section to gain access to these functions Function
60. Y Select Command es that are available File Command e Integrity check 7 gt e Read diagnostics el ee ere e Read data Integrity Check 002 Read Diagnostics 003 Read Data 004 Write Data e Write data EE amp amp A maximum of 50 services in total for all nodes can be selected The predefined services can be configured to suit the application Select a service to show the parameters General Configuration Parameters These parameters are common to all services but the settings Is are individual to each instance of a service Configuration Alphabetic Categorized E General Offline options for fieldbus Clear Offline options for sub network Clear Gener al Update mode Cyclically E Timing a 0 AA 2202222 Retries 3 Parameter Description Valid settings Timeout time 1Oms 100 i Update time 10ms 100 Offline options for The action to take for this service Clear E Trigger i i Request Trigger byte address OxD5FF fieldbus if the fieldbus goes offline This Freeze Response Trigger byte Disabled option affects the data that is sent Noscanning Response rigger byte acess DAS out to the subnetwork Offline options for The action to take for this service Clear subnetwork if the subnetwork goes offline Freeze This option affects the data that is reported to the fieldbus master Update mode The update mode for this service Cyclically On data change Single shot Change
61. a particular Modbus command required by a device it is possible to specify this command manually as a transaction in the ABC Config Tool Using this wizard involves the following steps Step 1 Communicator Type Wizard Modbus RTU Master c jf gt Step 1 of 6 Select EtherNet IP ae Siet che cab Fieldbus Type type The type of the Fieldb ected to the Click N ext to continue ena eee res The purpose of this wizard is to help you through the process of Ethemet IP creating a project with a Modbus DeviceNet F RTU sub network When the 4 4 1 FIPIO Wizard is finished it is possible to Tip It is possible to return to a previous TO a percal nitah eetk 5 z h ei the Configuration Tool 2 A ypu Modbus TCP The fieldbus is the higher layer menu at any time wit out osing any set eg E network that communicates with a x c a gt Installation Wizard Profinet lO the serial device s on the sub tings by clicking Previous network via the Communicator Wizard Modbus RTU Master Version 1 14 Revision 1 ieldbus Master fie PLC HMI Etc Next gt Cancel li Step 1a I O Sizes Specify the sizes of the input and output Wizard Modbus RTU Master data areas Version 2 Enabled y Step la of 6 Select settings for z 5 a Ed the chosen fieldbus Click Next to continue erates woe See also The fieldbus used might offer
62. annerMode This function returns the current scanner mode run or idle state Syntax lt exec cmd_argument DisplayScannerMode Output when Run Output when Idle gt Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Server Side Include SSI 54 SetScannerMode Note This function cannot be used in e mail messages This function is used to set the EtherNet IP Scanner to Run or Idle A variable called scanner_state shall be sent to the page with the value run or idle other values will be ignored Syntax lt exec cmd_argument SetScannerMode gt Default output Failure Change scanner mode not possible See also e Identity Object Class 01h on page 109 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Server Side Include SSI 55 8 3 Changing SSI output There are two methods of changing the output strings from SSI functions 1 Changing SSI output defaults by creating a file called ssi_str cfg containing the output strings for all SSI functions in the system 2 Temporarily changing the SSI output by calling the SSI function SsiOutput 8 3 1 SSI Output String File If the file ssi_str cfg is found in the file system and the file is consistent with the specification below the SSI functions will use the output strings specified in this file instead of the default strings The files shall have the follo
63. be logged until the log buffer is full Select Log Mode Log until full e Log continuously Data will be logged continuously until logging is stopped by clicking Stop Logging The log buffer will contain the most recent data Log Window The logged data is displayed in hexadecimal decimal and AS CII format for both directions The time between the log en tries is displayed in a separate column The data may optionally be saved in ASCII text format by clicking Create Text file Click Close to exit x zj se E Create Text file Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Data Logger 100 19 3 Configuration By default the log buffer can hold 512 bytes of data in each r a i Hms Options direction To specify a different size for the buffer select Options in the Tools menu Size ofloghuter it Oo aw Firmware Download A window with various settings will appear Select the ABC Peele Firmware to the Anybus tab and enter the desired number of buffer entries under Size of logbuffer valid settings range from 1 512 Restores Communicator firmware Factory Restore Block the current configuration in the NA Block Configuration Click Apply to validate the new settings Creates an error log file Create Error Log Click OK to exit Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM
64. ble to make links from a web page to the virtual configuration page In such case the link shall point to config htm These virtual files are index htm config htm configform htm configform2 htm store htm logo jpg Points to the Configuration Configuration Configuration Configuration HMS logo contents of config htm frame page form page form page store page configuration gif Configuration picture boarder bg gif picture boarder m bg gif picture index htm 1 Points to the contents of config htm eth_stat html cip_stat html ip_config shtm smtp_config shtm style css arrow_red gif Anybus Communicator for EtherNet IP Doc Rev 3 00 Configuration Configuration Configuration Configuration HMS logo Configuration frame page form page form page store page picture Doc Id SCM 1200 096 Web Server 43 7 2 Authorization Directories can be protected from web access by placing a file called web_accs cfe in the directory to protect This file shall contain a list of users that are allowed to access the directory and its subdirectories File Format Usernamel Passwordl Username2 Password2 List of approved users UsernameN PasswordN Optionally a login message can be specified by including the AuthName key AuthName This message will be displayed by the web message goes her browser upon accessing the protected directory The list of approved users can optio
65. cfg See also e Rthernet Configuration File ethcfg cfe on page 32 Event Triggered Messages As mentioned previously the e mail client can send predefined messages based on events in the input and output data areas In operation this works as follows The trigger source is fetched from a specified location A logical AND 1s performed between the trigger source and a mask value The result is compared to a reference value ae ae ee If the result is true the e mail is sent to the specified recipient s Which events that shall cause a particular message to be sent is specified separately for each message For more information see E mail Definitions on page 58 Note that the input and output data areas are scanned twice per second i e to ensure that an event is detected by the gateway it must be present longer than 0 5 seconds Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 E mail Client 58 9 2 E mail Definitions The e mail definitions are stored in the following two directories user email This directory holds up to 10 messages which can be altered by normal level FTP users email This directory holds up to 10 messages which can be altered by admin level FTP users E mail definition files must be named email_1 cfg email_2 cfg email_10 cfe in order to be properly recognized by the gateway File Format Register Area Offset
66. communication with the sub network by allowing individual commands to be issued manually and monitoring the response if ap plicable It also provides an overview of the memoty used by a particular node Note The node monitor has a negative influence on the overall performance of the gateway 1 e it should be used only when necessary The Node Monitor behaves somewhat differently in the three protocol modes e Master Mode and DF1 Master Mode The selected Command Query Transaction or Service is sent to the subnetwork The response to the Query can be monitored in the Response Section Monitor New Node File Node Command Columns View 8sg2 mo Command Section Query Subnetwork Response Section In Area 1 bytes 512 Out Area 1 bytes 512 General Area 0 bytes 1022 e Generic Data Mode The selected command Transaction Produce is sent to the subnetwork It is not possible to monitor any responses etc generated by other nodes Monitor New Node File Node Command Columns View 82 Bs Command Section Produce Subnetwork Not used In Area 1 bytes 512 Out Area 1 bytes 512 General Area 0 bytes 1022 000 oo Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Node Monitor 96 18 2 Navigating the Node Monitor Monitor New Node File Node mmand Columns View EES WS Read Coil Status Query Slave Address Function Starting Address Hi Lo Number of points
67. cw s ie 116 E AD TOR AIO cite titan ts A AE O EE E T ATE 116 CI U ET O A N 116 TRIANO TOUTS A as Dita AS 116 thermer Vink Object Clase Pao 117 COOP AUT OVI CLOT easiest atest AS sans a eee essed E ba mat TEEN Ll AAA A A O I7 I A ATAN EAE A IO EE AA AA 118 Anybus Communicator for EtherNet IP Doc Rev 3 00 VII Doc ld SCM 1200 096 Vill Chapter 23 Advanced Fieldbus Configuration Gar a as ssc ae taste cae acme ean ses it Gala arc I EN eG et nate ase E 119 MAlbox Editorea ean Aaa Acacia rad es Sand aa id A O 119 Appendix A Parameter Data Initialization Explicit Data Ere E e E E E a E E E E E E 120 dd a Mall Ox MOSSIE araia E A tata tae laueess 120 Mappine Input Parameter Datato EtherNet TP oruinn ia a a ORE 121 Mappine Output Parameter Data to EtherNet Td ia 123 Appendix B Connector Pin Assignments did avers le teon Oane a a E T ere ea ee 125 Lower CONE CO T on R NEE E A A A 125 A SS E 126 SUES mor tera ida NS E UE 127 GAVE LOU ASA AAA AAA NO ty TITAS SIR OSIGIOTS AS DAI EA AA EEEE 127 TAAA ESAE I CO ARN AL OO A IAE 127 SOIL TOD a Sa Ae 127 TIPA TIO IRS ASI AAA AAA AO 128 Typical Connection R3422 CP 4 Wire RSA SD A a a 128 O dd As AA ate N E N E E iueeituastetisat tax 128 Appendix C Technical Specification Mechanical Prope ries aii 20 Hlectical Character 129 Povitoamental Caracter ron olas 129 Resulatory Compliance 130 Appendix D Troubleshooting Appendix E ASCII Table Appendix F Copyright Notices Anybu
68. d in the internal memory buffer End Character Value End Character value Maximum Data Length The maximum allowed length in bytes of the variable data object If the actual length of the data exceeds this value the message will be discarded The value must not exceed 300 bytes which is the maximum data length allowed for one frame a Only relevant for Consume Response transactions b Only used if Object Delimiter is set to End Character or End Character Visible Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Frame Objects 80 14 7 Checksum Object Most serial protocols features some way of verifying that the data has not been corrupted during trans fer The Checksum Object calculates and includes a checksum in a transaction Parameter Description Error Check Start byte This parameter specifies the byte offset in the transaction to start checksum calculations on Error Check Type This parameter specifies which type of algorithm to use Anybus Communicator for EtherNet IP Doc Rev 3 00 e CRC 2 bytes CRC 16 with OxFFFF polynome Modbus RTU standard e LRC 1 byte All bytes are added together as unsigned 8 bit values The 2 s complement of the result will be used as a checksum e XOR 1 byte All bytes are logically XOR ed together The resulting byte will be used as a checksum e ADD 1 byte All bytes are added together as unsigned 16 bit values The
69. d using I O connections or explicit messages towards the assembly object and the parameter input output mapping objects See also e CIP Object Implementation on page 108 2 4 2 Data Types The input and output data hold two types of data I O data and parameter data I O data is exchanged on change of value and can be accessed using I O connections towards the assembly object Parameter data can be accessed acyclically via the parameter input and output mapping objects Note however that each instance attribute within these objects must be created manually using the ABC Con fig Tool For more information see Parameter Data Initialization Explicit Data on page 120 See also e Assembly Object Class 04h on page 111 e Parameter Data Input Mapping Object Class BOh on page 113 e Parameter Data Output Mapping Object Class B1h on page 114 e Fieldbus Settings on page 64 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Basic Operation 25 2 4 3 Memory Layout The I O sizes are specified using the ABC Config Tool and correlates to Anybus Communicator mem ory as follows Example In this example the I O Sizes for the gateway has been set to the following values IO Size In 256 bytes 0x0100 IO Size Out 64 bytes 0x0040 Resulting memory layout Input Data Output Data General Data 0x200 0x400 0x000 1 O Data Output 0x27F I O Data Input 0x280
70. described in this section select a node in the navigation section For more information about nodes see Nodes on page 68 amp ABC Config Tool Untitled File Node 1 Tools View Help ABC DF 1 Master Untitled Devices Fieldbus ABC el Subnetwork TUN TT Node 2 Configuration Alphabetic Categorized E General Checksum CRC Slave address 2 Type PLC 5 Slave address The address of the slave 2010 05 07 10 38 Config Line DF1 Protocol Mode 90 Fieldbus ABC pe S ubnetwork Ti Ej Node 2 Parameter Description Valid Settings Checksum Selects the type of checksum on the network BCC CRC default Slave Address The value entered here sets the node address 0 254 Type The PLC type of the slave PLC 5 SLC500 MicroLogix 16 5 Services Services are commands that can be stored and reused The user configures each slave with services that can be issued from the master A total of 50 services are allowed The Anybus Communicator supports a selection of DF1 commands When the gateway is going to ex ecute a service it automatically chooses the appropriate DF1 command s that are used to perform the service on the selected DF1 node type Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 DF1 Protocol Mode 91 16 5 1 Available Services Right click on the node and choose Add Command A pop up window will show the four different servic
71. does not include discards 5 Get Media Counters Struct Alignment Errors UDINT Frames received that are not an integral number of octets in length FCS Errors UDINT Frames received that do not pass the FCS check Single Collisions UDINT Successfully transmitted frames which experi enced exactly one collision Multiple Collisions USINT successfully transmitted frames which experi enced more than one collision SQE Test Errors UDINT 0 Deferred Transmis UDINT Frames for which first transmission attempt is sions delayed because the medium is busy Late Collisions UDINT Number of times a collision is detected later than 512 bit times into the transmission of a packet Excessive Collisions UDINT Frames for which a transmission fails due to excessive collisions MAC Transmit UDINT Frames for which transmission fails due to an Errors internal MAC sublayer receive error Carrier Sense UDINT Times that the carrier sense condition was lost Errors or never asserted when attempted to transmit a frame Frame Too Long UDINT Frames received that exceed the maximum permitted frame size MAC Receive Errors UDINT Frames for which reception on an interface Anybus Communicator for EtherNet IP Doc Rev 3 00 fails due to an internal MAC sublayer receive error Doc Id SCM 1200 096 Chapter 23 23 Advanced Fieldbus Configuration 23 1 General The fieldbus interface of the gateway consists of a
72. e Header con sists of 16 words 32 bytes and the data section consists of up to 128 words 256 bytes All fields are editable except the Mes sage information field that is fixed to 0x4002 which means that only fieldbus specific mail box messages can be entered here a nan The mailbox message is presented as two col umns one contains header information A Allow user to enable disable the other one contains the message data B To add message data simply change the Data size parameter in the header column A and the corresponding number of bytes will ap pear in the message data column B For more information about fieldbus specific mailbox messages consult the separate Anybus S Fieldbus Appendix for the fieldbus you are using For general information about the Anybus S platform consult the Anybus S Design Guide Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Appendix A A Parameter Data Initialization Explicit Data A 1 General The portion of the input and output data that is declared as parameter data cannot be accessed from the network unless it has been properly initialized The purpose of this procedure is to specify which data blocks in the input and output data areas to as sociate with the instance attributes in the Parameter Data Input Mapping Object and the Parameter Data Output Mapping Object To achieve this it is required to set up two mailbox m
73. e Hexadecimal values are written in the format OxNNNN where NNNN is the hexadecimal value e Decimal values are represented as NNNN where NNNN is the decimal value e As in all communication systems the terms input and output can be ambiguous because their meaning depend on which end of the link is being referenced The convention in this doc ument is that input and output are always being referenced to the master scanner end of the link Glossary Term Meaning ABC Anybus Communicator EIP EtherNet IP Broadcaster A protocol specific node in the subnetwork scan that hold transactions destined to all nodes Command A protocol specific transaction Configuration List of configured nodes with transactions on the subnetwork Fieldbus The network to which the communicator is connected Frame Higher level series of bytes forming a complete telegram on the subnetwork Monitor A tool for debugging the Anybus Communicator and the network connections Node A device in the scan list that defines the communication with a slave on the subnetwork Scan list List of configured slaves with transactions on the subnetwork The network that logically is located on a subsidiary level with respect to the fieldbus and to SURE WON which the Anybus Communicator acts as a gateway A generic building block that is used in the subnetwork scan list and defines the data that is Transaction sent out the subnetwork Fieldbus Co
74. eType2 FileTypeN Note Up to 50 content types and 50 SSI file types may be specified in this file Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 8 8 Server Side Include SSI 8 1 General Server Side Include from now on referred to as SSI functionality enables dynamic content to be used on web pages and in e mail messages SSI are special commands embedded in the source document When the Anybus Communicator en counters such a command it will execute it and replace it with the result when applicable Syntax The X s below represents a command opcode and parameters associated with the command lt exec cmd _argument XXXXXXXXXXXXXXXXXXXXXX gt Example The following example causes a web page to display the Ethernet Mac ID of the gateway lt HTML gt lt HEAD gt lt TITLE gt SSI Test lt TITLE gt lt HEAD gt lt BODY gt The Ethernet Mac ID of the ABC is lt exec cmd_argument DisplayMacID gt lt BODY gt lt HTML gt Resulting webpage 01 File Edit View Favorites Tools Help J Back y GQ 7 Search Ki Favorites a Media lt lt Lig Address http 192 168 1 125 v E2 Go The Ethernet Mac ID of the ABC is 00 30 11 78 9A BC zl 4 43 My Computer Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Server Side Include SSI 46 8 2 Functions DisplayMaciD This function returns the MAC
75. eated Language next time the Selects which language to use The new program is launched setting will be active the next time the pro gram is launched Selecting the ABC tab will reveal additional properties Item Description Size of logbuffer By default the Data Logger can log up to 512 entries in each direction If necessary Apply it is possible to specify a different number of entries valid settings range from 1 512 Click Apply to validate the new i a esa ee settings See also Data Logger on page 99 Firmware Download Download firmware to the embedded field bus interface Warning Use with caution Factory Restore Restores the gateway firmware to it s orig inal state does not affect the embedded fieldbus interface Block Configuration When selected the downloaded configu ration will not be executed by the gateway Warning Use with caution Create Error log Creates an error log file Firmware Download Block Configuration Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Navigating the ABC Config Tool 62 View This menu features the following entries e Toolbar View This entry enables disables the toolbar icons at the top of the v Toolbar main window we Status Bar e Status Bar This entry enables disables the status bar at the bottom of the main window Help This menu features the following entries
76. ed problems to the fieldbus control system e Ensure that only valid data is exchanged in both directions e Enable the fieldbus control system to start stop data exchange with selected nodes on the sub network If enabled these registers occupy the first two bytes in the input and output data areas 0x000 0x001 and 0x200 0x201 respectively which means they can be accessed from the fieldbus just like any other data in these areas Note Internally these registers are stored in Motorola format 1 e MSB first If the higher level net work uses a different byte order the upper and lower bytes will appear swapped 21 1 1 Handshaking Procedure A special handshaking procedure which is illustrated in the two flowcharts below must be followed when accessing these registers to ensure that both parts receive proper information Read Status Register Write to Control Register 21 1 2 Data Consistency The Data Valid bits in the Control and Status Registers are used to ensure data consistency during start up and fieldbus offline online transitions Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Control and Status Registers 104 If the Status Control Word parameter in ABC Config Tool is set to Enabled the gateway will wait for the fieldbus control system to set the Data Valid bit in the Control Register before it starts exchang ing data on the subnetwork If the same parameter is set
77. ed to coils and registers as follows Register Coil Memory Location in ABC Area Comments 1 1 16 0x000 0x001 Input Data area 2 17 32 0x002 0x003 3 33 48 0x004 0x005 4 49 64 0x006 0x007 255 4065 4080 0x1FC 0x1FD 256 4081 4096 0x1FE Ox1FF 257 4097 4112 sas sis reserved 1024 16369 16384 1025 16385 16400 0x200 0x201 Output Data area 1026 16401 16416 0x202 0x203 1027 16417 16432 0x204 0x205 1028 16433 16448 10x206 0x207 1279 20449 20464 0x3FC Ox3FD 1280 20465 20480 0x3FE Ox3FF Note 1 The table above applies to all function codes Note 2 Coils are mapped MSB first 1 e coil 0 corresponds to bit 15 of register 0 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 3 3 File System 3 1 General General The Anybus Communicator features a built in file system which is used to store information such as web files network communication settings e mail messages etc Storage Areas The file system consists of the different storage areas Non volatile area approx 1 4 Mb This section is intended for static files such as web files configurations files etc Volatile area approx 1 Mb This area is intended for temporary storage data placed here will be lost in case of power loss or reset Conventions A backslash is used as a path sepa
78. ed trademark of HMS Industrial Networks AB All other trademarks are the property of their respective holders Warning This is a class A product in a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures ESD Note This product contains ESD Electrostatic Discharge sensitive parts that may be damaged if ESD control procedures are not followed Static control precautions are required when handling the prod uct Failure to observe this may cause damage to the product EtherNet IP protocol mode for Anybus Communicator Rev 3 00 Copyright HMS Industrial Networks AB Feb 2011 Doc Id SCM 1200 096 Table of Contents Table of Contents Preface About This Document Related DOC a 9 Document FUROT A A E dc od a A A AA R 2 Conventos ein tdci oa 10 IS a E 10 UP PO tias 11 Chapter 1 About the Anybus Communicator for EtherNet IP Da E Me Oe ner ree Pr er ern een E ne me nr ee ern eae 13 SSCA A Ng ceeds O O A a tena aaa rat O A 14 Contisutatioh owitcnes dit 15 Hardware Tastalla toa aras 16 SOA Le aros es UE Lo y PACA EP OT 17 ADCS CON A OOl EEE E O OR RN E Chapter 2 Basic Operation Eae E E E E E EA E E A E eccentric 18 Dita E chance Model a 19 US E N EEE EEE E A O T EEE A A A A E ey 19 Para C Ran L UI A cia 20 Subs LW OPP LOCOCO aroraa a A E NOO Ze A O AO al TEA A EET AAA AAA AAA 24 A A OO 2a Cne TD GTA N OLO AA cedars indice A O AEEA 23 DET AMO E A E E A E
79. ersion and printing of the next successive argument to printf Each conversion specification begins with the character and ends with a conversion character Between the and the conversion character there may be in order e Flags in any order which modify the specification which specifies left adjustment of the converted argument in its field which specifies that the number will always be printed with a sign space if the first character is not a sign a space will be prefixed 0 for numeric conversions specifies padding to the field with leading zeroes H which specifies an alternate output form For o the first digit will be zero For x or X Ox or 0X will be prefixed to a non zero result For e E f g and G the output will always have a decimal point for g and G trailing zeros will not be removed e A number specifying a minimum field width The converted argument will be printed in a field at least this wide and wider if necessary If the converted argument has fewer characters than the field width it will be padded on the left or right if left adjustment has been requested to make up the field width The padding character is normally space but can be 0 if the zero padding flag is present e A period which separates the field width from the precision e A number the precision that specifies the maximum number of characters to be printed from a string or the number of digits to be printed after the decimal poi
80. erver Side Include SSI 53 IncludeFile This function includes the contents of a file on a web page Syntax lt exec cmd arqument Includerile File name gt Default output Success lt File content gt Failure Failed to open lt filename gt Save ToFile Note This function cannot be used in e mail messages This function saves the contents of a passed form to a file The passed name value pair will be written to the file File name separated by the Separator string The Append Overwrite parameter deter mines if the specified file shall be overwritten or if the data in the file shall be appended Syntax lt exec cmd_argument SaveToFile File name Separator Append Over write gt Default output Success Form saved to file Failure Failed to save form SaveDataToFile Note This function cannot be used in e mail messages This function saves the data of a passed form to a file The Object name parameter is optional if spec ified only the data from that object will be stored If not the data from all objects in the form will be stored The Append Overwrite parameter determines if the specified file shall be overwritten or if the data in the file shall be appended Syntax lt exec cmd_argument SaveDataToFile File name Object name Ap pend Overwrite gt Default output Success Form saved to file Failure Failed to save form DisplaySc
81. essages in the Mailbox Editor of the ABC Config Tool For more information about the Mailbox Editor see Mailbox Editor on page 119 A 2 Add a Mailbox Message Eg Fieldbus l l l l Y Startinit To add a mailbox message to the configuration right click on 13 Fieldbus specific EndInit and select Insert New Mailbox 4 E Insert New Mailbox E we Sub Netwark This causes the following window to appear lol x File Header Message Message ID Message information Command xX X XX ojejojolololojeoljoljejejelojo This window a k a the Mail box Editor will be used in the examples later in this chapter Data size cejajla o o 2 3 Frame count Frame number Offset high Offset low Extended Word 1 Extended Word 2 Extended Word 3 Extended Word 4 Extended Word 5 Extended Word 6 Extended Word Extended Word 8 ooo 2000000 See also Mailbox Editor on page 119 x XX KX KX KX KX X 50000050 o O IO IO IO IO IO IO O IO IO O IO IO O O O x Xx x So o o o o Allow userto enable disable Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Parameter Data Initialization Explicit Data 121 A 3 Mapping Input Parameter Data to EtherNet IP Example In the following example a total of 160 bytes of data will be mapped to the Parameter Data Input Map ping Object The data is made up of 5 separate data blocks each associated
82. ged This feature enables the control system to notify the gateway when to issue a particular Query To use this feature correctly the control system must first update the data area associated with the Query transaction then increase the trigger byte by one The location of the trigger byte is spec ified by the Trigger byte address parameter Update time 10ms This parameter specifies how often the transaction will be issued in steps of 10ms only rele vant when Update mode is set to Cyclically Doc Id SCM 1200 096 Transactions 72 13 3 2 Parameters Response To gain access to these parameters select a Response transaction in the Navigation Section Parameter Trigger byte Description This parameter is used to enable disable the trigger functionality for the response If enabled the gateway will increase the trigger byte by one when the gateway receives new data from the subnetwork This can be used to notify the control system of the updated data The location of the trigger byte is specified by the Trigger byte address parameter below Trigger byte address 13 4 Transaction This parameter specifies the location of the trigger byte in the internal memory buffer Valid settings range from 0x000 Ox1FF and 0x400 OXNNN Parameters Generic Data Mode 13 4 1 Produce Transactions To gain access to these parameters select a Produce Transaction in the Navigation Section
83. ile or directory from the source location to a specified destination rd e Syntax rd directory e Description Removes a directory The directory can only be removed if it is empty ren e Syntax ren old name new name e Description Renames a file or directory type e Syntax type filename e Description Types the contents of a file Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 7 Web Server 7 1 General Chapter 7 The Anybus Communicator features a flexible web server with SSI capabilities The built in web pages can be customized to fit a particular application and allow access to I O data and configuration settings The web server communicates through port 80 See also e Server Side Include SSI on page 45 e IP Access Control on page 33 Protected Files For security reasons the following files are protected from web access e Files located in user pswdcfg pswd e Files located in pswd e Files located in a directory which contains a file named web_accs cfe Default Web Pages The Anybus Communicator contains a set of virtual files which can be used when building a web page for configuration of network parameters These virtual files can be overwritten not erased by placing files with the same name in the root of disc 0 This makes it possible to for example replace the HMS logo by uploading a new logo named logo jpg It is also possi
84. ion 1 2 Get Max Instance UINT 0002h 2 is the highest instance number 3 Get No of instances UINT 0001h 1 instance is implemented 8 Get Entry Port UINT 0002h Returns the instance of the Port object that describes the port 9 Get All Ports Array of STRUCT 0000h 0000h Array of structure containing attributes 1 and UINT UINT 0000h 0000h 2 from each instance Instance 1 is at byte 0004h 0002h _ offset 4 Instance 2 is at byte offset 8 etc The 4 bytes at offset 0 shall be 0 Default 22 8 3 Instance Attributes Instance 02h Access Name Type Value Comments 1 Get Port Type UINT 0004h TCP IP 2 Get Port Number UINT 0002h Port 2 3 Get Port Object Struct of Path Size UINT 0002h Path Padded EPATH 20F524 01h TCP class Instance 1 4 Get Port Name SHORT_STIRNG TCP IP Name of port 8 Get Node Address Padded EPATH Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 CIP Object Implementation 116 22 9 TCP IP Interface Object Class F5h 22 9 1 General Information Object Description This object groups TCP IP related settings See also e Basic Network Configuration on page 31 e Fieldbus Settings on page 64 Supported Services Class setvices Get Attribute All Get Attribute Single Instance services Get Attribute All Get Attribute Single Set Attribute Single 22 9 2 Class Attributes
85. kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Copyright 1983 1984 1985 by the Massachusetts Institute of Technology kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Copyright c 1988 Stephen Deering Copyright c 1982 1985 1986 1992 1993 The Regents of the University of California All rights reserved This code is derived from software contributed to Berkeley by Stephen Deering of Stanford University Redistribution and use in source and binary forms with or without modification are permitted provided that the following conditions are met e Redistributions of source code must retain the above copyright notice this list of conditions and the fol lowing disclaimer e Redistributions in binary form must reproduce the above copyright notice this list of conditions and the following disclaimer in the documentation and or other materials provided with the distribution e Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS AS IS ANDANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANT ABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED IN NO EVENT SHALL THE RE GENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL
86. l network The End or Length character will be generated by the gateway automatically if applicable The End or Length character itself may either be forwarded to the higher level network or dis carded Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Frame Objects 79 To specify the properties of the object select it in the Navigation Section enter the desired settings in the Parameter section as follows Parameter Description Byte Swapping e No Swapping No swapping will be performed on the data e Swap 2 bytes A B C D becomes B A D C e Swap 4 bytes A B C D becomes D C B A Fill unused bytes Enabled Fill unused data with the value specified in Filler byte e Disabled Don t fill Filler byte Filler byte value Only used if Fill unused bytes has been enabled Data Location The offset in the internal memory buffer where the data shall be read from written to Object Delimiter e Length Character Length character is visible in the internal memory buffer but not on the subnetwork Length Character Visible The length character is visible both in the internal memory buffer and on the subnetwork End Character The end character is visible in the internal memory buffer but not on the subnetwork e End Character Visible The end character is visible both in the internal memory buffer and on the subnetwork No Character No End or Length character is generate
87. lect All SelectAll DeselectAll SelectAll Deselect All SelectAll Deselect All Read Coil Status Read Coil Status Transactions 1 M trans actions 1 atus a 32 Mr atus ead Coil Status Out Area 0 bytes 512 General Area 0 bytes 989 ooo0oo0oo0ooooooooooooooooo e Response Collision Trigger or Statusbytes Reserved A Start Network amp Stop Network Icons These icons controls the subnetwork activity To stop all subnetwork gi activity click on the red light To start the subnetwork again click on the green light Start B Nodes Transactions To view data blocks associated with a transaction select the transaction in the list The corre sponding data will then appear in the Monitor Section C C Monitor Section This section visualizes how data is allocated in the Input Output and General Data areas Color Meaning White Not allocated Yellow Data allocated by a Response or Consume transaction Blue Data allocated by a Query or Produce transaction Red Collision area has been allocated more than once Grey Reserved illustrates memory consumption area can be allocated if necessary Green Data allocated by Trigger byte Transmit Receive Counter or Control Status Registers Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 18 18 Node Monitor 18 1 General The Node Monitor can provide valuable information when setting up the
88. lect the desired topic to do and press the OK button A Wizard option will guide you through and explain all steps of a configuration The output from a wizard will result in a working configuration ready to download It is also possible to edit the configuration in th indard configuration tool after Wizard completion The Blank Configuration option will open the standard configuration tool and a configuration can be created from scratch Here it is also possible to open an existing configuration from file or via upload from a Communicator module Dont show this Window again Doc Id SCM 1200 096 Configuration Wizards 102 20 3 Wizard Modbus RTU Master This wizard can be used to create a Modbus RTU based network configuration based on certain infor mation about the subnetwork The online help system explains each configuration step in detail e Important Notes Many OEM devices do not fully comply with the Modbus standard For example they may im plement a variation of this standard or be limited to the use of specific Modbus commands other than the ones used by this wizard In all cases the user should consult the documentation of the devices that shall be used on the sub network for information about their serial communication requirements and if necessary contact the manufacturer of the device to obtain further informa tion about the serial communication protocol In the event that the wizard doesn t handle
89. lowest 8 bits in the result will be used as a checksum e AddinvASCll 2 bytes All bytes are added together as unsigned 8 bit values The lowest 8 bits in the result are inversed and used as a checksum represented as hexadecimal ASCII 2 bytes Doc Id SCM 1200 096 Chapter 15 15 Commands This information is only valid for master mode and generic mode For DF1 master mode please refer to Services on page 90 15 1 General As mentioned previously commands are actually predefined transactions that can be stored and reused Just like regular transactions commands consist of frame objects and are representations of the actual serial telegrams exchanged on the serial subnetwork Adding a command to a node actually results in a transaction s being added according to the directions specified in the command The frame objects in such a transaction may retrieve their values not only from parameters in the parameter section but also from other sources such as the SlaveAddress pa rameter see Node Parameters on page 68 In such case the parameters in the parameter section will be greyed out and cannot be edited directly In Master Mode ABC Config Tool comes preloaded with commands for most common Modbus RTU functions Additional commands can easily be added using the Command Editor see The Command Editor on page 83 For DF1 Master Mode see Services on page 90 In Generic Data Mode no pre defined
90. lows To snap the ABC oz first press it downwards 1 to compress the spring in the DIN rail mechanism then push it against the DIN rail as to make it snap on 2 To snap the ABC off push it downwards 1 and pull it out from the DIN rail 2 as to make it snap off from the DIN rail Connect the gateway to ethernet Connect the gateway to the serial subnetwork Connect the gateway to the PC via the configuration cable Connect the power cable and apply power SS Start the ABC Config Tool program on the PC The ABC Config Tool software attempts to detect the serial port automatically If not success ful select the correct port manually in the Port menu 7 Configure the gateway using the ABC Config Tool and download the configuration 8 Set up the EtherNet IP communication in accordance with the gateway configuration Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 About the Anybus Communicator for EtherNet IP 17 1 5 Software Installation 1 5 1 ABC Config Tool System requirements Pentium 133 MHz or higher 10 MB of free space on the hard drive 8 MB RAM Screen resolution of 800x600 16 bit colour or higher Microsoft Windows NT4 2000 XP Vista 7 32 bit Internet Explorer 4 01 SP1 or newer Installation Anybus Communicator resource CD Insert the CD and follow the on screen instructions If the installation does not start automati cally right click on the CD d
91. ly any serial application protocol and a EtherNet IP based network Integration of industrial devices is enabled without loss of functionality control and reliability both when retro fitting to existing equipment as well as when set ting up new installations 1 EtherNet IP Scanner e g a PLC N EtherNet IP Scanner e g a PLC PC web SCADA INVERTER Ethernet PC configuration PC configuration and monitoring and monitoring Multi drop up to 31 nodes Serial communication 3 device ae Serial communication devices Single Node Serial Sub Network Multi Node Serial Sub Network Subnetwork The Anybus Communicator can address up to 31 nodes and supports the following physical standards e RS 232 e RS 422 e RS 485 Ethernet Interface Ethernet connectivity is provided through the patented Anybus technology a proven industrial commu nication solution used all over the world by leading manufacturers of industrial automation products e EtherNet IP group 2 and 3 server e Modbus TCP slave functionality e Server Side Include SSI functionality e Web server and E mail client capabilities e FTP amp Telnet servers e 10 100 Mbit s twisted pair Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 About the Anybus Communicator for EtherNet IP 13 1 1 External View For wiring and pin assionments see Connector Pin Assienments on page 125 8 p
92. municator for EtherNet IP Doc Rev 3 00 Yos includes the filename in the string Doc Id SCM 1200 096 Server Side Include SSI 56 8 3 2 Temporary SSI Output change The SSI output for the next called SSI function can be changed with the SSI function SsiOutput The next called SSI function will use the output according to this call Thereafter the SSI functions will use the default outputs or the outputs defined in the file ssi_str cfg The maximum size of a string is 128 bytes Syntax lt exec cmd_argument SsiOutput Success string Failure string gt Example This example shows how to change the output strings for a scanf SSI call lt exec cmd _argument SsiO0utput Parameterl updated Error gt lt exec cmd _argument scanf Parameterl d OutWriteByte 0 gt Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 9 9 E mail Client 9 1 General The built in e mail client can send predefined e mail messages based on trigger events in input and out put data areas The client supports SSI however note that some SSI functions cannot be used in e mail messages specified separately for each SSI function See also e Server Side Include SSI on page 45 Server Settings The Anybus Communicator needs a valid SMTP server configuration in order to be able to send e mail messages These settings are stored in the system file A ethcfg
93. n embedded Anybus S communication interface Nor mally the Anybus S configuration settings are set up automatically by the gateway However advanced users can configure the Anybus S card for specific features This chapter assumes that the reader is fa miliar with the Anybus S and it s application interface For more information about the Anybus S plat form consult the Anybus S Parallel Design Guide The standard initialization parameters are determined by the subnetwork configuration Information about the amount of input and output data used for subnetwork communication is used by ABC Config Tool to create the configuration message that sets the sizes of the input and output data areas in the Dual Port RAM of the embedded Anybus S interface It is possible to add fieldbus specific mailbox messages to customize the initialization This is done in the Mailbox Editor see below A mailbox message is a HMS specific command structure used for low level communication with an Anybus S interface Consult the Anybus S Parallel Design Guide and the fieldbus appendix for the de sired fieldbus for further information 23 2 Mailbox Editor 88 Fieldbus To add a mailbox message to the configuration right click on Y atartinit c we c gt a Field ifi EndInit and select Insert New Mailbox e Fieldbus specific Pal Insert New Malbox Sub Network A mailbox message consists of a Header sec germ all tion and a data section where th
94. n in the Navigation Section Parameter Minimum time between broadcasts 10ms Description This parameter specifies how long the gateway shall wait after transmitting a broadcast trans action before processing the next entry in the scanlist The value should be set high enough to allow the slave devices time to finish the handling of the broadcast The unit is milliseconds ms and the entered value is multiplied by 10 which means that the shortest time is 10 ms Note This setting is only relevant for the Broadcaster node Offline options for field bus This parameter specifies the action to take for this transaction if the higher level network goes off line This affects the data that is sent to the subnetwork e Clear The data destined for the slave devices is cleared set to zero e Freeze The data destined for the slave device is frozen e NoScanning The updating of the subnetwork is stopped Offline options for sub network This parameter specifies the action to take for this transaction if the subnetwork goes off line This affects the data that is reported to the control system e Clear Data is cleared 0 on the higher level network if the subnetwork goes offline e Freeze Data is frozen on the higher level network if the subnetwork goes offline Reconnect time 10ms Retries This parameter specifies how long the gateway shall wait before attempting to reconnect a dis connected node A node will be
95. n such case no login is required and the root di rectory will be V For more information see User Accounts on page 35 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Telnet Server 38 6 2 General Commands admin e Syntax admin e Description Provided that the user can supply a valid admin username password combination this command provides admin access rights to normal level users exit e Syntax exit e Description This command closes the Telnet session help e Syntax help general diagnostic filesystem e Description If no argument is specified the following menu will be displayed General commands help Help with menus version Display version information exit Exit station program Also try help general diagnostic filesystem version e Syntax version e Description This command will display version information serial number and MAC ID of the Ethernet module in the Communicator Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 6 3 Diagnostic Commands arps iface Syntax arps Description Display ARP stats and table Syntax iface Description Display net interface stats routes Syntax routes Description Display IP route table sockets 6 4 File System Operations Syntax sockets Description Display socket list Telnet Server 39 For commands where filenames direc
96. nally be redirected to one or several other files Example In this example the list of approved users will be loaded from the files here cfg and too cfg File path i put it over here cfg i actually put some of it over here too cfg AuthName Yeah Whatsda passwoid Note that when using this feature make sure to put the user password files in a directory that is pro tected from web access see Protected Files on page 42 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 7 3 Content Types Web Server 44 By default the following content types are recognized by their file extension Content Type File Extension text html htm html shtm image gif gif image jpeg jpeg jpg jpe image x png png application x javascript js text plain bat txt c h cpp hpp application x zip compressed zip application octet stream exe com text vnd wap wml wml application vnd wap wmlc wmic image vnd wap womp womp text vnd wap wmlscript wmls application vnd wap wmlscriptc wmlsc text xml xml application pdf pdf It is possible to configure reconfigure the reported content types and which files that shall be scanned for SSI This is done in the system file http cfg File Format FileTypes FileTypel ContentTypel FileType2 ContentType2 FileTypeN ContentTypeN SSIFileTypes FileTypel Fil
97. nt for e E or F conversions ot the number of significant digits for g or G conversion or the minimum number of digits to be printed for an integer leading Os will be added to make up the necessary width e lt A length modifier h 1 letter ell or L h Indicates that the corresponding argument is to be printed as a short or unsigned short 1 indicates that the argument is along or unsigned long Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Server Side Include SSI 50 The conversion characters and their meanings are shown below If the character after the is not a con version character the behavior is undefined Character Argument type Converted to d byte short decimal notation For signed representation Use signed argument O byte short octal notation without a leading zero X X byte short hexadecimal notation without a leading 0x or 0X using abcdef for 0x or ABCDEF for 0X u byte short decimal notation C byte short single character after conversion to unsigned char S char characters from the string are printed until a 0 is reached or until the number of characters indicated by the precision have been printed f float decimal notation of the form mmm ddd where the number of d s is specified by the preci sion The default precision is 6 a precision of 0 suppresses the decimal point e E float decimal notation of the form m dddddd e
98. ntrol System Fieldbus master Higher Level Network In this case Ethernet including EtherNet IP and Modbus TCP Network Fieldbus Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 About This Document P 11 Support For technical support consult the online FAQ www anybus com or contact the nearest support center HMS Sweden Head Office E mail support hms networks com Phone 46 0 35 17 29 20 Fax 46 0 35 17 29 09 Online www anybus com HMS North America E mail us support hms networks com Phone 1 312 829 0601 Toll Free 1 888 8 Anybus Fax 1 312 629 2869 Online www anybus com HMS Germany E mail ge support hms networks com Phone 49 721 96472 0 Fax 49 721 964 7210 Online www anybus com HMS Japan E mail jp support hms networks com Phone 81 45 478 5340 Fax 81 45 476 0315 Online www anybus com HMS China E mail cn support hms networks com Phone 86 10 8532 3023 Online www anybus com HMS Italy E mail it support Whms networks com Phone 39 039 59662 27 Fax 39 039 59662 31 Online www anybus com HMS France E mail fr support hms networks com Phone 33 0 3 89 32 76 41 Fax 33 0 3 89 32 76 31 Online www anybus com Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 1 1 About the Anybus Communicator for EtherNet IP The Anybus Communicator for EtherNet IP acts as a gateway between virtual
99. ntrol system should not wait for this bit to be set before communicating with the subnetwork devices it should be considered as an aid for the fieldbus control system to know when all data has been updated Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Control and Status Registers 105 21 2 Status Register Contents Gateway to Control Sys tem 21 2 1 General Information The Status Register is if enabled located at 0x000 0x001 and constitutes a bit field as follows bit s Name 15 Send SR_HS_SEND 14 Confirm SR_HS_CONFIRM Description These bits control the handshaking towards the fieldbus control system See also Handshaking Procedure on page 103 Control Register Contents Control System to Gateway on page 107 13 Data Valid This bit is set when all transactions have been executed successfully at least once Master Mode and DF1 Once set it will not change Master Mode Only 1 Data Valid 0 Data not Valid Note This bit is not used in Generic Data Mode 12 8 Status Code This field holds the last status report from the gateway 7 0 Dat See also Status Codes in Master Mode and DF1 Master Mode on page 105 Status Code in Generic Data Mode on page 106 Note Internally this is treated as a Motorola format word i e MSB first If the higher level network uses a different byte order the upper and lower bytes will appear swapped
100. ode Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Node Monitor 97 Node This menu controls the data exchange for the node This feature can rade help isolate problems associated with a particular node Start Node Stop Node e Start Node Enable the transactions associated with the node e Stop Node Disable the transactions associated with the node Command This menu is used to specify and issue a command manually e Select Command Select a command to be sent to the subnetwork Command Send Command Select Command Send the specified command to the subnetwork Send Command Columns This menu specifies the number of columns in the Monitor Section Columns Free e Free 8 Multiple The number of columns depends on the width of the window e 8 Multiple The number of columns will be fixed to 8 View This menu specifies the data representation in the Monitor Section T CA Display the data in hexadecimal format we Hex Decimal e Decimal Display the data in decimal format 18 2 2 Toolbar Icons The toolbar features icons for the most commonly used functions e Start Node amp Stop Node These icons corresponds to the functions in the Node menu See also Node on page 97 Start Stop Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Node Monitor 98 e Select Command amp Send Command These icons c
101. of 10ms only relevant when Update mode is set to Cyclically Doc Id SCM 1200 096 Parameter Trigger byte address Transactions 73 Description This parameter specifies location of the trigger byte in the internal memory buffer If Update mode is set to Change of state on trigger the memory location specified by this parameter is monitored by the gateway Whenever the trigger byte is updated the gateway will produce the transaction on the subnetwork This way the control system can instruct the gateway to produce a specific transac tion on the subnetwork by updating the corresponding trigger byte The trigger byte should be incremented by one for each activation Please note that the trigger byte address must be unique to each transaction It can not be shared by two or more transactions Note This parameter has no effect unless the Update mode parameter is set to Change of state on trigger 13 4 2 Consume Transactions To gain access to these parameters select a Consume Transaction in the Navigation Section Parameter Offline options for subnetwork Description This parameter specifies the action to take for this transaction if the subnetwork goes offline This affects the data that is sent to the higher level network e Clear Data is cleared 0 on the higher level network if the subnetwork goes offline e Freeze Data is frozen on the higher level network if the
102. ommand Commands 82 Ee Select Exit Cti Q Add Command Edit Command Delete Command Delete the currently selected command from the list Note that some commands are fixed and cannot be deleted 15 2 2 Toolbar Icons The toolbar features icons for the most commonly used functions Add Command Same as Add Command in the Command menu Edit Command Same as Edit Command in the Command menu Delete Command Same as Delete Command in the Command menu Anybus Communicator for EtherNet IP Doc Rev 3 00 Add Command Edit Command Delete Command Doc Id SCM 1200 096 Commands 83 15 3 The Command Editor 15 3 1 General The Command Editor is used to define new commands and edit existing ones This makes it possible to build a library of commands which can be stored and reused at a later stage Note that the Command Editor is somewhat protocol dependent in the sense that certain frame objects may not be deleted or altered The examples in this section use Master Mode The procedures involved are similar in Generic Data Mode but without the limitations imposed by the Modbus RTU protocol 15 3 2 Basic Navigation Open the Command Editor by selecting Edit Command or Add Command from the Command menu Command Editor Fil lumn Command Name New com Command ID 0x3 Allow O Query 1 2 3 4 DisplayName Slave Address Function
103. onfiguration has increased 0x01 Frame Error Warning End character is enabled but a message delimiter timeout occurs prior to receiving it 0x02 Offline Timeout Error Counter The of number of timed out consume transactions has Counter Updated increased See also Consume Transactions on page 73 Offline timeout time 0x03 Buffer Overrun Warning A node returned more data than expected or the gate way was unable to finish processing a message prior to receiving a new one 0x04 Other Error Error Undefined error Ox1F No Error Warning No errors Note Conditions of type Error will eventually be followed by a No Error condition when the cause no longer is detected Conditions of type Warning are however considered informational and may not necessarily be followed by a No Error condition later on Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Control and Status Registers 107 21 3 Control Register Contents Control System to Gate way 21 3 1 General Information The Control Register is if enabled located at 0x200 0x201 and constitutes a bit field as follows bit s Name 15 Confirm CR_HS_CONFIRM 14 Send CR_HS_ SEND Data Valid Description These bits control the handshaking towards the gateway See also Handshaking Procedure on page 103 Status Register Contents Gateway to Control System on
104. or EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 22 22 CIP Object Implementation 22 1 General The following CIP objects are implemented in this product Mandatory Objects Object Page Identity Object Class 01h 109 Message Router Class 02h 110 Assembly Object Class 04h 111 Port Object Class F4h 115 TCP IP Interface Object Class F5h 116 Ethernet Link Object Class F6h 117 Vendor Specific Objects Object Page Diagnostic Object Class AAh 111 Parameter Data Input Mapping Object Class BOh 113 Parameter Data Output Mapping Object Class B1h 114 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 CIP Object Implementation 109 22 2 Identity Object Class 01h 22 2 1 General Information Object Description Supported Services Class setvices Get Attribute All Get Attribute Single Instance services Get Attribute All Get Attribute Single Reset 22 2 2 Class Attributes Access Name Tye Value Description 1 Get Revision UINT 0001h Revision 1 22 2 3 Instance Attributes Access Name Type Value Description 1 Get Vendor ID UINT Default 005Ah HMS Industrial Networks AB 2 Get Device Type UINT Default 000Ch Communication Adapter 3 Get Product Code UINT Default 0002h Anybus Communicator 4 Get Revision Struct of USINT Major fieldbus version USINT Minor fieldbus version 5 Get Status WORD Device status see table below 6 Get
105. ored in a list in the ABC Config Tool This simplifies common operations by allowing transactions to be stored and reused Frame Object Frame objects are low level entities used to compose a transaction see above A frame object can represent a fixed value a constant a range of values limit objects a block of data or a cal culated checksum Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Basic Operation 22 2 3 3 Master Mode In this mode the communication is based on a query response scheme when the gateway issues a query on the subnetwork the addressed node is expected to issue a response to that query Nodes are not per mitted to issue responses spontaneously i e without first receiving a query There is one exception to this rule the broadcaster Most protocols offer some way of broadcasting mes sages to all nodes on the network without expecting them to respond to the broadcasted message This is also reflected in the gateway which features a dedicated broadcaster node Control System Gateway Subnetwork Devices Node 1 Node 2 In Master Mode ABC Config Tool comes preloaded with most commonly used Modbus RTU com mands which can conveniently be reached by right clicking on a node in the ABC Config Tool and se lecting Insert New Command Note however that this does not in any way prevent other protocols based on the same query response message scheme to be implemented
106. orresponds to the functions in the Command menu ay See also Command on page 97 Select Send Resume Refresh amp Stop Refresh When enabled the data displayed in the Monitor Section will be re freshed cyclically When disabled 1 e stopped the data will have to be pe refreshed manually using the Refresh icon see below Stop Resime e Refresh When clicking on this icon the data displayed in the Monitor Section will be re i j freshed Refresh Anybus Communicator for EtherNet IP Doc ld SCM 1200 096 Doc Rev 3 00 Chapter 19 19 Data Logger 19 1 General This feature allows the subnetwork traffic to be logged into a buffer for examination This may provide valuable information when debugging the lowest levels of the subnetwork communication Note that the logger function is part of the gateway itself and is separate from the ABC Config Tool This means that logging can be performed even if the gateway is physically disconnected from the PC running the ABC Config Tool 19 2 Operation Start amp Stop Logging e Start logging Select Start Logging in the Tools menu ABC Config Tool will then prompt for the desired mode of operation see below e Stop logging Select Stop Logging in the Tools menu This will open the log window see below Modes of Operation Select the desired mode of operation and click OK to start logging data e Log until full Data will
107. ration file ethcfe cfg Upon starting the program the network l E 1S scanned for Anybus products The net Ethernet configuration IP address 10 10 12 246 DHCP work can be rescanned at any time by Con Subnetmask 25 255 255 0 Off clicking Scan In the list of detected de vices the gateway will appear as ABC EIP To alter its network settings dou ble click on its entry in the list Default gateway 0 0 0 0 A window will appear containing the IP configuration and password settings Validate the new settings by clicking Set or click Cancel to abort Optionally the configuration may be protected from unauthorized access by a password To enter a password click on the Change password checkbox and enter the password under New password When protected any changes in the configu ration requires that the user supplies a valid password When done click Set The new IP configuration will now be stored in the configuration file eth cfe cfo Note that if TCP IP Settings has been enabled in the ABC Config Tool any settings received via HICP will be lost in the event of a power loss or reset Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 5 5 FTP Server 5 1 General The built in FTP server provides a way to access the file system using a standard FTP client The following port numbers are used for
108. rator A path originates from the system root and as such must begin with a VY A path must not end with a VY Names may contain spaces but must not begin or end with one Names must not contain one of the following characters A lt gt Names cannot be longer than 48 characters plus null termination A path cannot be longer than 256 characters filename included The maximum number of simultaneously open files is 40 The maximum number of simultaneously open directories is 40 Important Note The non volatile storage is located in FLASH memory Each FLASH segment can only be erased ap proximately 100000 times due to the nature of this type of memory The following operations will erase one or more FLASH segments Deleting moving or renaming a file or directory Writing or appending data to an existing file Formatting the file system Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 File System 30 3 2 File System Overview admin root user root ssi_str cfg ethcfg cfg ip_accs cfg sys_pswd cfg MOS volatile optional emaii cfg email_1 0 cfg NS protected ad_pswd cfg de email_1 cfg email_1 0 cfg 3 3 System Files The file system contains a set of files used for system configuration These files known as system files are regular ASCII files which can be altered using a standard text editor such as the Notepad in Micro soft Windows No
109. rial communication takes place in a query response fashion The nodes on the network are not permitted to issue messages unless they have been addressed by the gateway first For more information about this mode see Master Mode on page 22 DF1 Master Mode In this mode the gateway acts as a master on the subnetwork using the DF1 protocol The serial communication takes place in a query response fashion For more information about this mode see DF 1 Protocol Mode on page 87 Generic Data Mode In this mode there is no master slave relationship between the subnetwork nodes and the gate way any node on the subnetwork including the gateway may spontaneously produce or con sume messages For more information about this mode see Generic Data Mode on page 23 2 3 2 Protocol Building Blocks The following building blocks are used in ABC Config Tool to describe the subnetwork communication How these blocks apply to the three protocol modes will be described later in this document Node A node represents a single device on the subnetwork Each node can be associated with a number of transactions see below Transaction A transaction represents a complete serial telegram and consists of a number of frame objects see below Each transaction is associated with a set of parameters controlling how and when to use it on the subnetwork Commands A command is simply a predefined transaction st
110. ribute All 22 5 2 Class Attributes Access Name Type Vale Description I Ge Revs UNT 00h Revision 22 5 3 Instance Attributes Instance 01h Get Attribute Single Access Name Type Description 01h Get Module serial number UDINT Serial number 02h Get Vendor ID UINT Manufacturer Vendor ID 03h Get Fieldbus Type UINT Fieldbus Type 04h Get Module Software version UINT Module software version OAh Get Module Type UINT Module Type OFh Get IN cyclic 1 0 length UINT Size of I O Input area in bytes 11h Get IN total length UINT Total number of IN bytes supported 12h Get OUT cyclic I O length UINT Size of I O Output area in bytes 14h Get OUT total length UINT Total number of OUT bytes supported Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 CIP Object Implementation 113 22 6 Parameter Data Input Mapping Object Class BOh 22 6 1 General Information Object Description This object can be used to access input data acyclically and is set up dynamically based on the Parameter Data Mailbox initialization see Parameter Data Initialization Explicit Data on page 120 See also e EtherNet IP on page 24 e Fieldbus Settings on page 64 e Parameter Data Output Mapping Object Class B1h on page 114 e Parameter Data Initialization Explicit Data on page 120 Supported Services Class services Get Attribute All Instance services
111. ribute All Get Attribute Single Get Attribute All Get Attribute Single 22 10 2 Class Attributes Anybus Communicator for EtherNet IP Doc Rev 3 00 Access Name Type Value Description 1 Get Revision UINT 0001h Revision 1 2 Get Max Instance UINT 0001h 1 is the highest instance number 3 Get No of instances UINT 0001h 1 instance is implemented Doc Id SCM 1200 096 22 10 3 Instance Attributes CIP Object Implementation 118 Access Name Type Value Comments 1 Get Interface Speed UDINT 10 or 100 Actual ethernet interface speed 2 Get Interface Flags DWORD 3 Get Physical Address Array of 6 USINTS MAC ID Physical network address 4 Get Interface Counters Struct In Octets UDINT Octets received on the interface In Ucast Packets UDINT Unicast packets received on the interface In NUcast Packets UDINT Non unicast packets received on the interface In Discards UDINT Inbound packets with unknown protocol In Errors UDINT Inbound packets that contain errors does not include discards In Unknown Protos UDINT Inbound packets with unknown protocol Out Octets UDINT Octets sent on the interface Out Ucast Packets UDINT Unicast packets sent on the interface Out NUcast Packets UDINT Non unicast packets sent on the interface Out Discards UDINT Outbound packets with unknown protocol Out Errors UDINT Outbound packets that contain errors
112. rive icon and select Explore Execute setup exe and follow the on screen instructions From website Download and execute the self extracting exe file from the HMS website www anybus com Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 2 2 Basic Operation 2 1 General The Anybus Communicator is designed to exchange data between a serial subnetwork and a higher level network Unlike most other gateway devices of similar kind it does not have a fixed protocol for the subnetwork and can be configured to handle almost any form of serial communication The gateway can issue serial telegrams cyclically on change of state or based on trigger events issued by the control system of the higher level network i e the fieldbus master or PLC It can also monitor cer tain aspects of the subnetwork communication and notify the higher level network when data has changed An essential part of the Anybus Communicator package is the ABC Config Tool a Windows appli cation which is used to supply the gateway with a description of the subnetwork protocol No program ming skills are required instead a visual protocol description system is used to specify the different parts of the serial communication ME ABC Config Tool Untitled DEAK i File Transactions1 Tools View Help De amp x Devices Configuration g Fieldbus Alphabetic Categorized
113. rver Side Include SSI on page 45 See also e FTP Server on page 35 e Fieldbus Settings on page 64 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 4 3 IP Access Control Basic Network Configuration 33 It is possible to specify which IP addresses that are permitted to connect to the Anybus Communicator This information is stored in the system file ip_accs cfg File Format Web XXX oo XKK o FTP XXX XXX XxXx xxx__ Modbus TCP x gt o o e o o A EtherNet IP XXX XXX XXxX xxx_ _ A11 XXX XXX XXX xk A Nodes listed here may access the web server Nodes listed here may access the FTP server Nodes listed here may access the gateway via Modbus TCP Nodes listed here may access the gateway via EtherNet IP Fallback setting used by the gateway when one or several of the keys above are omitted Note may be used as a wildcard to select IP series Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Basic Network Configuration 34 4 4 Anybus IPconfig HICP The Anybus Communicator supports the HICP protocol used by the Anybus IPconfig utility from HMS which can be downloaded free of charge from the HMS website This utility may be used to con figure the network settings of any Anybus product connected to the network Note that 1f successful this will replace the settings currently stored in the configu
114. ry Outputs Actual Temperature Temperature Setpoint The PLC exchange data between the internal PLC memory and the slaves in this case the ABC on the EtherNet IP network The PLC Memory associated with the ABC is exchanged Data from the Input Data area is copied to PLC Input Memory and PLC Output Memory is copied to the Output Data area EtherNet IP Input Data General Data Actual Temperature Temperature Setpoint not used in this example The ABC copies the Output Register of the Temperature Regulator to the Input Data area The ABC copies the Temperature Setpoint from the Output Data area to the Input Register in the Temperature Regulator _ Serial Device Temperature Regulator Sub Network Output Register Input Register The Temperature Regulator has two Actual Temperature Temperature Setpoint registers holding the Setpoint Temperature and the Actual Temperature respectively Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Basic Operation 21 2 3 Subnetwork Protocol 2 3 1 Protocol Modes The Anybus Communicator features three distinct modes of operation regarding the subnetwork com munication called Master Mode DF1 Master Mode and Generic Data Mode Note that the protocol mode only specifies the basic communication model not the actual subnetwork protocol Master Mode In this mode the gateway acts as a master on the subnetwork and the se
115. s Size 0x02 EY Integrity Check El Data Options Co A ead Diagnostics Byte swap No byte swap T Node 2 Data Length 0x02 Offset 0x0000 E General Offline options for fieldbus Clear Offline options for sub network Clear Update mode Cyclically E Timing Retries Timeout time 10ms Update time 10ms BE Trigger Request Trigger byte address OxD5FF Response Trigger byte Disabled Response Trigger byte address OxD5FF Read Diagnostics 2010 05 07 10 53 Config Line Command parameters The command parameter Size decides the amount of data that can be read The size is given in bytes which means that it always has to be an even number as only whole elements can be read from the slave One bit integer element is 2 bytes and one float element is 4 bytes The range of the size differs de pending on node type PLC 5 SLC500 Size range in bytes 1 28 Data options Parameter Description Valid settings Byte swap Determines if the data shall be swapped No byte swap Swap words Swap double words Data length The number of bytes read from the DF1 network to write to the area determined lt Size by the Offset parameter Offset The offset in the internal memory buffer in the module where the data shall be read See Memory Map on page 19 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 16 8 Read Data This service is used to read data from the nodes in the subnetwork ABC DF 1 Ma
116. s Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 About This Document Preface For more information documentation etc please visit the HMS website www anybus com Related Documents Document name Author ABC EIP Installation Leaflet HMS DF1 Protocol and Command Set Reference Manual 1770 6 5 16 October 1996 Allen Bradley Document History Summary of Recent Changes 2 04 3 00 Change Page s Minor corrections and updates New template added to document DF1 functionality information added to document Revision List Revision Date Author Chapter Description 2 00 2006 03 27 PeP All 1st release 2 01 2006 12 22 PeP All Misc minor corrections 2 02 2008 02 08 PeP 2 8 A Minor update 2 03 2008 11 03 Hes 1 Minor update 2 04 2009 04 24 KeL All Misc minor corrections and updates 3 00 2011 02 01 KaD All Misc corrections new template and DF1 functionality Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 About This Document P 10 Conventions amp Terminology The following conventions are used throughout this document e Numbered lists provide sequential steps e Bulleted lists provide information not procedural steps e The term user refers to the person or persons responsible for installing the Anybus Communi cator in a network e The term ABC refers to the Anybus Communicator
117. s function returns the default domain name Syntax lt exec cmd_argument DisplayDomainName gt DisplayDhcpState This function returns whether DHCP BootP is enabled or disabled Syntax lt exec cmd_argument DisplayDhcpState Output when ON Output when OFF Lv DisplayDhcpSupport This function returns Argel if DHCP is supported and Arg2 if it is not Syntax lt exec cmd_argument DisplayDhcpSupport Argl Arg2 gt DisplayEmailServer This function returns the currently used SMTP server address Syntax lt exec cmd_argument DisplayEmailServer gt Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Server Side Include SSI 48 DisplaySMTPUser This function returns the username used for SMTP authentication Syntax lt exec cmd_argument DisplaySMTPUser gt DisplaySMTPPswd This function returns the password used for SMTP authentication Syntax lt exec cmd_argument DisplaySMTPPswd gt StoreEtnIPConfig Note This function cannot be used in e mail messages This function stores a passed IP configuration in the configuration file ethcfeIP cfe Syntax lt exec cmd _argument StoreEtnIPConfig gt Include this line in a HTML page and pass a form with new IP settings to it Accepted fields in form SetIp SetSubnet SetGateway SetEmailServer SetDhcpState value on or off SetDNS1 SetDNS2
118. s with a byte constant the ETX 0x03 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 14 14 Frame Objects 14 1 General Each transaction consists of Frame Objects which makes up the serial telegram frame Each Frame Ob ject specifies how the gateway shall interpret or generate a particular part of the telegram There are 5 types of frame objects which are described in detail later in this chapter e Constant Objects e Limit Objects e Data Objects e Variable Data Objects e Checksum Objects Example The following Transaction consists of several frame objects three constants a data object and a checksum object Transaction 14 2 Adding and Editing Frame a a W Sub Network Objects T New Node Transactions 1 ER Edt Transaction Add Data To add a frame object to a Transaction right click on the Transac Add Variable Data tion in the Navigation Section and select one of the entries in the a Add Byte Constan menu that appeats Add Word Constant Add DWord Constant The entry called Transaction Editor will launch the Transaction Add Byte Limits y Add Word Limits Editor which is used to edit transactions and frame objects in a aa mote visual manner For more information see Transaction Edi Rename tor on page 74 Configuration Alphabetic Categorized 3 General Data length 0x0001 Data location 0x0200 oO Operations
119. scribed in this section A 4 Sub Network Interface Currently only serial communication is supported Status Control Word See Control and Status Registers on page 103 Value Description Enabled Enable the Control and Status Registers The Data Valid bit in the Control Register must be set to start the subnetwork communication Enabled but no startup lock This setting is similar to Enabled except that the control system is not required to set the Data Valid bit to start the subnetwork communication Disabled This setting completely disables the Control and Status Registers Module Reset This parameter specifies how the gateway will behave in the event of a fatal error Value Description Enabled The gateway will be restarted and no error will be indicated to the user Disabled The gateway will halt and indicate an error Protocol Mode This parameter specifies which protocol mode to use for the subnetwork Value Description Generic Data Mode This mode is primarily intended for Produce amp Consume based protocols where there are no Master Slave relationship between the gateway and the nodes on the subnetwork Master Mode This mode is intended for Query amp Response based protocols where a single Master exchanges data with a number of Slaves DF1 This mode is intended for the DF1 protocol The Anybus Communicator can only be con figured as a Mas
120. ster Untitled Configuration Alphabetic Categorized E Comman d Params File Type Siz e E Data Options ine options for fieldbus Clear ine options for sub network Clear Update mode Cyclically 3 100 Update time 10ms 100 E Trigger Request Trigger byte address OUx05FF Renante Trinner hute Misahled Type The file type of the data file to be accessed DF1 Protocol Mode 93 2010 05 07 10 55 Config Line Command Parameters Parameter Description Element Number The element number of the data file to be accessed within the slave Valid settings PLC 5 0 999 SLC500 0 255 MicroLogix 0 255 File number The file number of the data file to be accessed PLC 5 3 7 8 10 999 SLC500 3 7 8 10 255 MicroLogix 3 7 8 10 255 File type The file type of the data to be accessed Integer Bit Float Size The number of bytes to read from the slave One bit integer element is 2 bytes and one float element is 4 bytes The parameter must have an even value as only whole elements can be read from the slave Data Options Parameter Byte swap Description Determines if the data shall be swapped PLC 5 2 240 SLC500 2 236 MicroLogix 2 242 Valid settings No byte swap Swap words Swap double words Data length The number of bytes read from the DF1 network to write to the area determined lt Size by the Offset parameter Offset The offset in the in
121. ster Mode and DF1 Master Mode ooommnionnnnniicninnaninnnnannannnronnarnnrcnnarana conan 107 Control Goad an Generic cada 107 Anybus Communicator for EtherNet IP Doc Rev 3 00 VI Doc ld SCM 1200 096 Chapter 22 CIP Object Implementation SENA A EN A las 108 Niemi ty Obiect CIRS O Mea lala 109 CORTADA A AAA 109 CAES FATT IOC AA Al 109 TST AICO TAIT IOS A NA AON 109 INVES CAD COUN CC AG Ae OZ agit a at cece daa 110 COAT OVI A A sae E acid ca O E EI A cian 110 ROA ELL iio 110 VITARA UTIL A A ds 110 Assembly Ob ect Class DD iii 111 OMA TOP T E E A E E E 41 UA A II A E A ease eas 111 Instance Attributes Instance Connection Point 64D vccccccccsccccsscccccsscsccessccesssccessscccsssnccensncceseanees 111 Instance Attributes Instance Connection Point 96h ooooocnocananonanonanannonanannnnnaconnnnrconnnarnonnnncnonn anos 111 Dienos Object lAs cana 111 AAA ies 112 AAA A OPE REET Oe PRP RE CRE SE 112 TARRO PATIO UTE TSAI O N eet a ile by Parameter Data Input Mapping Object Class Dad 113 E E U a I ests EEA AAA AA ds 113 CLASS a O AS AE AE AENA AN NE 113 TSG LA LLOSA TNE O TIE etd ti teh ah wali leh tet nk alien E 113 Parameter Data Output Mapping Object Class Dll a 114 GOAL A das 114 CTS AAA hus Bae ahha a serenade av aie da nasi dna Meese 114 TSE LITIO INTA ds 114 Dre jeer Glass Att daa H5 CN AA ARAS TE EI T E A TRA 115 CESA A PRISE PETE NET ET Re ora da oT eo 115 Ts aCe IA RITOS ANTAD dido Nado 115 TOPUP Iaer ee OO Ec Gl e
122. subnetwork goes offline Offline timeout time 10ms Trigger byte Trigger byte address Anybus Communicator for EtherNet IP Doc Rev 3 00 This parameter specifies the maximum allowed time between two incoming mes sages in steps of 10ms If this time is exceeded the subnetwork is considered to be offline A value of 0 disables this feature i e the subnetwork can never go offline e Enable Enables the trigger byte The location of the trigger byte must be specified in the Trigger byte address below The trigger byte value will be increased each time a valid transaction has been consumed by the gateway This feature enables the control system to be notified each time new data has been consumed on the subnetwork Disable Disables the trigger byte functionality This parameter specifies the location of the trigger byte in the internal memory buffer Valid settings range from 0x000 Ox1FF and 0x400 OXNNN Please note that the trigger byte address must be unique to each transaction It can not be shared by two or more transactions Doc Id SCM 1200 096 Transactions 74 13 5 Transaction Editor The Transaction Editor can be used to edit the individual frame objects of a transaction The same set tings are also available in the parameter section of the main window however the Transaction Editor presents the frame objects in a more visual mannet Transaction Y Byte constant T f Ea constant Frame
123. t Data on page 120 Supported Services Class services Get Attribute All Instance services Get Attribute Single Set Attribute Single 22 7 2 Class Attributes Access Name iye Value Description 1 Get Revision JUNT 0001h Revision 1 22 7 3 Instance Attributes Instance 01h Each attribute corresponds to a block of output data Note that the size and location of each block must be specified using the ABC Config Tool For more information see Parameter Data Initialization Explicit Data on page 120 Access Name Type Description 01h Get Set Data Array of USINT Mapped block of Output Data 02h Get Set Data Array of USINT Mapped block of Output Data 01h Get Set Data Array of USINT Mapped block of Output Data 02h Get Set Data Array of USINT Mapped block of Output Data 01h Get Set Data Array of USINT Mapped block of Output Data 02h Get Set Data Array of USINT Mapped block of Output Data 32h Get Set Data Array of USINT Mapped block of Output Data Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 CIP Object Implementation 115 22 8 Port Object Class F4h 22 8 1 General Information Object Description Supported Services Class services Get Attribute All Get Attribute Single Instance services Get Attribute All Get Attribute Single 22 8 2 Class Attributes Access Name Type Value Description 1 Get Revision UINT 0001h Revis
124. t bits 1 Stop bits Number of stop bits 1 2 Start and End Character Note These parameters are only available in Generic Data Mode Start and end characters are used to indicate the beginning and end of a serial message For example a message may be initiated with lt ESC gt and terminated with lt LF gt In this case the Start character would be 0x1B ASCII code for lt ESC gt and the End character 0xOA ASCII code for lt LF gt Parameter Description Valid settings End Character Value End character for the message ASCII 0x00 OxFF Use End Character Determines if the End character shall be used or not Enable Disable Start Character Value Start character for the message ASCII 0x00 OxFF Use Start Character Determines if the Start character shall be used or not Enable Disable Timing Message Delimiter The parameters in this category differs slightly between the different protocol modes e Master Mode The Message Delimiter specifies the time that separates two messages in steps of 10ms If set to 0 zero the gateway will use the standard Modbus delimiter of 3 5 characters the actual number of ms will be calculated automatically based on the currently used communication settings e Generic Data Mode The Message Delimiter specifies the time that separates two messages in steps of 10us Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 12 Nodes 12 1 General Chapter 12
125. t it in the Navigation Section and enter the desired settings in the Parameter section as follows Parameter Description Byte Swapping e No Swapping No swapping is performed on the data e Swap 2 bytes A B C D becomes B A D C e Swap 4 bytes A B C D becomes D C B A Data Length The length of the data block in bytes In case of a Response or Consume transaction incom ing messages where the data size differs from the value specified here will be discarded Max imum data length allowed for one frame is 300 bytes Data Location The location of the data block in the internal memory buffer 14 6 Variable Data Object Note Only one Variable Data Object is permitted for each transaction This object is similar to the Data Object except that it has no predefined length Instead an End or Length character specifies the size of the data block as follows Variable Data Object Variable Data Object Data of arbitrary length End Character Length Character bytes of data e Produce Quety Transactions The specified data block will be forwarded from the higher level network to the subnetwork The control system must supply an End or Length character in order for the gateway to know the size of the data block The End or Length character itself may either be forwarded to the subnetwork or discarded e Consume Response Transactions The specified data block is forwarded from the subnetwork to the higher leve
126. tReadSWord offset Read a signed word short from position offset in the Output Data area OutReadUWord offset Read an unsigned word short from position offset in the Output Data area OutReadSLong offset Read a signed longword long from position offset in the Output Data area OutReadULong offset Read an unsigned longword long from position offset in the Output Data area OutReadString offset Read a null terminated string from position offset in the Output Data area OutReadFloat offset Read a floating point float value from position offset in the Output Data area CipReadSByte class Read a signed byte from a CIP object inst attr CipReadUByte class Read an unsigned byte from a CIP object inst attr CipReadSWord class Read a signed word from a CIP object inst attr CipReadUWord class Read an unsigned word from a CIP object inst attr CipReadSLong class Read a signed longword from a CIP object inst attr CipReadULong class Read an unsigned longword from a CIP object inst attr CipReadFloat class Read a floating point value from a CIP object inst attr CipReadShort Read a short string from a CIP object Doc Id SCM 1200 096 Server Side Include SSI 51 Argument Description CipReadString class Read a null terminated string from a CIP object inst attr CipReadUByteAr Read an unsigned byte array from a CIP object ray class inst attr CipReadUWordAr Read an unsigned word array
127. te Single Set Attribute Single 22 4 2 Class Attributes Access Name Type Value Description 1 Get Revision UINT 0002h Revision 2 2 Get Max Instance UINT The highest initiated instance no 22 4 3 Instance Attributes Instance Connection Point 64h This instance corresponds to I O Data Input in the gateway Note If the I O input data size is set to 0 this instance will NOT be initialized F ess Wave Tipe Vas sin 3 Array of BYTE Data produced by the gateway 22 4 4 Instance Attributes Instance Connection Point 96h Note If the I O output data size is set to 0 this instance will NOT be initialised Recess Name Type Vae Description 3 Set Data jAmayofBYTE Data consumed by the gateway a Rockwell Automation PLCs have the first four bytes consumed by a device defined as status information This behavior is specific to devices from Rockwell Automation and is not defined in the EtherNet IP specification However since all known PLCs are implemented this way the Anybus Communicator adopts this behavior and strips off the corresponding four bytes from the consumed data 22 5 Diagnostic Object Class AAh Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 22 5 1 General Information Object Description CIP Object Implementation 112 This object groups diagnostic information for the fieldbus interface Supported Services Class services Instance services Get Att
128. te that some of these files may also be altered by the gateway itself e g when using SSI see Server Side Include SSD on page 45 The format of the system files are based on the concept of keys where each key can be assigned a value see example below Example Key 1 value of keyl Key2 value of key2 The exact format of each system file is described in detail later in this document The contents of the above files can be redirected Example In this example the contents will be loaded from the file here cfe file path i put it over here cfg Note Any directory in the file system can be protected from web access by placing the file web accs cfg in the directory see Authorization on page 43 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 4 4 Basic Network Configuration 4 1 General Information The Anybus Communicator offers three modes of operation regarding the network settings e Settings specified by configuration switches If the on board switches are set to a non zero value the gateway 1s locked to the following set tings IP Address 192 168 0 x x switch value Gateway 255 255 255 0 Subnet 255 255 255 0 DHCP OFF For more information see Configuration Switches on page 15 e Settings specified in ABC Config Tool If the on board switches are set to 0 zero and valid settings have been specified in ABC Config Tool i e TCP IP
129. ter with half duplex communication Note This is the only mode available if you intend to configure an ABC module for DF See also Protocol Modes on page 21 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 66 Statistics The Transmit and Receive Counters indicate how many transactions that have successfully been ex changed on the subnetwork This feature is primarily intended for debugging purposes e Receive Counter Location Specifies the location of the Receive Counter in the internal memory buffer e Transmit Counter Location Specifies the location of the Transmit Counter in the internal memory buffer Both counters are enabled by setting Statistics to Enabled Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 67 11 3 Subnetwork Parameters Fieldbus A ABC Seg al Sub Metwaork To gain access to the parameters described in this section select Subnet work in the Navigation Section Communication These parameters specify the actual communication settings used for the subnetwork Parameter Description Master Mode and Generic Mode Bit rate baud rate Selects the bit rate 1200 2400 4800 9600 19200 35700 38400 57600 Data bits Selects the number of data bits 7 8 Parity Selects the parity mode None Odd Even Physical standard Selects the physical interface type RS232 RS422 RS485 Start bits Number of star
130. ternal memory buffer in the module where the data shall be read See Memory Map on page 19 Note If the control and status registers are enabled default first available data location will be Input area 0x002 Output area 0x202 16 9 Write Data This service is used to write data to the nodes in the subnetwork The parameters to be configured are the same as for the service Read Data The only difference is that data is read from the internal memory buffer in the Anybus Communicator and written to the subnetwork bus instead of being written to the internal memory buffer Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 17 17 Subnetwork Monitor General The Subnetwork Monitor is intended to simplify configuration and troubleshooting of the subnetwork Its main function is to display the data allocated for subnetwork communication and detect if any area has been allocated twice 1 e if a collision has occurred All configured nodes and their transactions are listed in the middle of the screen B Selecting and de selecting single transactions makes 1t possible to view any combination of allocated data Note The subnetwork monitor has a negative influence on the overall performance of the gateway Therefore the monitor functionality should be used with care Operation Hms Sub network Monitor File Columns Y Y Nodel Node2 Barcodereader Sensor SelectAll Dese
131. to Disabled or Enabled but no startup lock communication will start as soon as the fieldbus goes online State Machine The fieldbus network participation can be described using a state machine as described below A Offline No data exchange 1 Clear the Data Valid bit in the Con trol Register A Offline no data exchange 2 Write initial data to the Output Area according to the subnetwork configu ration 3 Wait until the fieldbus control system B Online not yet exchanging data and the gateway are online on the field bus network and shift to state B B Online Not yet exchanging data 4 Wait until the Data Valid bit in the Status Register is cleared by the gate C way Online Er exchanging data 5 Set the Data Valid bit in the Control Register 6 When the Data Valid bit in the Status Register is set by the gateway shift to state C 7 If the gateway goes offline on the fieldbus shift to state A C Online Exchanging data Exchanging valid data in both directions If the gateway goes offline on the fieldbus shift to state A Note The gateway cannot spontaneously clear the Data Valid bit in the Status Register Latency The Data Valid bit in the Status Register may in some cases be delayed This latency can be caused by a missing node or a bad connection to a node with a long timeout value assigned to it Therefore the fieldbus co
132. tory names or paths shall be given as an argument the names can be written directly or within quotes For names including spaces the filenames must be surrounded by quotes It is also possible to use relative pathnames using append Syntax append file The line to append Description Appends a line to a file Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Telnet Server 40 cd e Syntax cd path e Description Changes current directory copy e Syntax copy source destination e Description This command creates a copy of the source file at a specified location del e Syntax del tiie e Description Deletes a file dir e Syntax dir path e Description Lists the contents of a directory If no path is given the contents of the current directory is listed df e Syntax df e Description Displays filesystem info format e Syntax format e Description Formats the filesystem This is a privileged command and can only be called in administration mode Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Telnet Server 41 md e Syntax md directory e Description Creates a directory If no path is given the directory is created in the current directory mkfile e Syntax mkfile filename e Description Creates an empty file move e Syntax move source destination e Description This command moves a f
133. trial Networks AB HMS Industrial Networks AB assumes no responsibility for any errors that may appear in this document There are many applications of this product Those responsible for the use of this device must ensure that all the necessary steps have been taken to verify that the applications meet all performance and safety requirements in cluding any applicable laws regulations codes and standards HMS Industrial Networks AB will under no circumstances assume liability or responsibility for any problems that may arise as a result from the use of undocumented features timing or functional side effects found outside the documented scope of this product The effects caused by any direct or indirect use of such aspects of the product are undefined and may include e g compatibility issues and stability issues The examples and illustrations in this document are included solely for illustrative purposes Because of the many variables and requirements associated with any particular implementation HMS Industrial Networks AB cannot assume responsibility for actual use based on these examples and illustrations Intellectual Property Rights HMS Industrial Networks AB has intellectual property rights relating to technology embodied in the product de scribed in this document These intellectual property rights may include patents and pending patent applications in the US and other countries Trademark Acknowledgements Anybus is a register
134. twork Monitor see Subnetwork Monitor on page 94 de e Add Command 7 This icon is used to add commands to the currently selected node Add Command e Add Mailbox E Advanced functionality see Mailbox Editor on page 119 We Add Mailbox e Add Node amp Add Broadcaster LA These icons ate used to add nodes to the configuration i i Node Broadcaster e Node Monitor Clicking on this icon will launch the Node Monitor see Node Monitor on page 95 Node Monitor e Add Transaction s E F These icons are used to add transactions to the currently selected node ET F Transactions Transaction Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 11 11 Basic Settings 11 1 Fieldbus Settings Peter aia Select Fieldbus in the Navigation Section to gain access to the param Ae ABC eters described in this section KH Sub Network General During start up the fieldbus interface of the Anybus Communicator is initialized to fit the configuration created in the ABC Config Tool Optionally some initialization parameters can be set manually to pro vide better control over how the data shall be treated by the gateway Fieldbus Settings To be able to participate on the network the following settings must be set properly e Fieldbus Type ABC Config Tool supports a wide range of networking sys tems Make sure this parameter is set to EtherNet TP Config
135. ubnetwork is expected to issue a response to that query Nodes are not permitted to issue responses spontaneously 1 e without first recetving a query Control System Gateway Subnetwork Devices Query y Node 1 mm a Response Query q y mm a Response Node 2 Query b A y 4 In DF1 Master Mode ABC Config Tool comes preloaded with a number of services that can be select ed by the user The actual DF1 commands that perform the services during runtime ate predefined in the Anybus Communicator The configuration of the services is performed by right clicking on a node in the ABC Config Tool and selecting Add Command Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 DF1 Protocol Mode 88 16 2 ABC Parameters im i Select ABC in the Navigation Section to gain access to the parameters se TE described in this section A 4 Sub Network Interface Currently only serial communication is supported Status Control Word See Control and Status Registers on page 103 VENTE Description Enabled Enable the Control and Status Registers The Data Valid bit in the Control Register must be set to start the subnetwork communication Enabled but no startup lock This setting is similar to Enabled except that the control system is not required to set the Data Valid bit to start the subnetwork communication
136. umn Insert a column at the selected position e Delete Command Delete the column at the selected posi tion Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Commands 85 15 3 4 Editing a Command As mentioned previously the transaction section in the Command Editor represents the actual transac tions associated with the command Each column represents a frame object within the transaction Each column features four rows with the following parameters e Query Response Produce Consume The upper right cell indicates the direction of the transaction e DisplayName Each column can be named so that the different parts of the command appears in a more user friendly manner when editing its settings in the Transaction Editor or in the Parameter Section of the Main Window e ObjectType This row specifies the type of frame object that shall be used for the column e Value This row specifies where the frame object shall retrieve its value settings Value Description Depend This setting is only relevant for Responses in Master Mode The value will be retrieved from the corresponding part of the Query transaction Id The value will be retrieved from the Command ID setting see Basic Navigation on page 83 User The settings associated with the object can be edited by the user SlaveAddress The value will be retrieved from the SlaveAddress parameter see Node Parameters
137. uration Alphabetic Categorized e Modbus Address Mode Enabled Use Modbus Address Mode Disabled Use Anybus Address Mode See also Modbus TCP on page 26 e Communicator IP address Gateway Subnet Mask See Basic Network Configuration on page 31 Fieldbus Type Configuration ba TCP IP Settings Alphabetic Categorized Enabled Use settings in ABC Config Tool Beene CGR contiguos ommunicator IP address i Disabled Use settings stored in ethcfg cfg Det Galeey 0000 Subnet Mask 255 255 255 0 TCP IP Settings Enabled See also Basic Network Configuration on page 31 8 Fieldbus Ethernet IP IO Sizes These parameters specify how data from the internal memory buff er shall be exchanged on EtherNet IP This can either be handled automatically based on the subnetwork configuration or specified lO Sizes manually e Automatic All data will be represented as I O Data on EtherNet IP e User defined Additional parameter properties appear IO Size In and IO Size Out The specified amount starting at address 0x0000 of the respective memory buffers will be reserved for and represented as I O Data The remainder will be reserved for Parameter Data See also EtherNet IP on page 24 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 65 11 2 ABC Parameters im i Select ABC in the Navigation Section to gain access to the parameters se TE de
138. valid settings the gateway will halt and indicate an error on the on board status LEDs the network configuration may however still be accessed via HICP see Anybus IPconfig HICP on page 34 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Basic Network Configuration 32 4 2 Ethernet Configuration File ethcfg cfg 4 2 1 General To be able to participate on the network the Anybus Communicator needs a valid TCP IP configura tion These settings are stored in the system file ethcfg cfg File Format IP address Subnet mask XXX XXK XKXK XKK Gateway address XXX XXX XXX XXX DHCP BOOTP ON or OFF g SMTP address XXX XXX XXX XXX SMTP username username SMTP password password DNS1 address XXX XXX XXX XXX DNS2 address XXX XXX XXX XXX Domain name _____ e domain Host A A ee anybus HICP password _____ password IP address Subnet mask Gateway address DHCP BootP ON Enabled OFF Disabled SMTP server login settings Username and Password is only necessaty 1f required by the server Primary and Secondary DNS Needed to be able to resolve host names Default domain name for not fully qualified host names Host name HICP password The settings in this file may also be affected by e EtherNet IP See EtherNet IP on page 31 e HICP See Anybus IPconfig HICP on page 34 e SSI See Se
139. wing format StoreEtnConfig Success String to use on success Invalid IP String to use when the IP address is invalid Invalid Subnet Invalid Gateway Invalid Email server Invalid IP or Subnet not match String to use when the Subnet mask is invalid String to use when the Gateway address is invalid String to use when the SMTP address is invalid String to use when the IP address and Subnet mask does Invalid DNS1 String to use when the primary DNS cannot be found Invalid DNS2 String to use when the secondary DNS cannot be found Save Error String to use when storage fails Invalid DHCP state scanf Success String Failure String IncludeFile Failure String SaveToFile Success String Failure String SaveDataToFile Success String Failure String GetText Success String Failure String on the second Example File path LO to toO to to to to toO to String to use when the DHCP state is invalid use use use use use use use use use user ssi_strings cfg on success on failure when failure on success on failure on success on failure on success on failure The contents of this file can be redirected by placing the line File path on the first row and a file path In this example the settings described above will be loaded from the file user ssi_strings cfg Anybus Com
140. xample Specifying a Modbus RTU Command in Master Mode wisecsccsccsscccssssssesscsssessseseees 86 Anybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 16 Chapter 17 Chapter 18 Chapter 19 Chapter 20 Chapter 21 DF1 Protocol Mode SC A cases ESE 87 FeV OM war TE bos eo we mre Nera er ere E enn a dos do 88 SUBE WOES Paran et ES A teandeatinsstaoatarbu daneinedecsicent 89 Node od 90 DERVICES Sneed ear are eee ta ee ee haere 90 IVA DESEA A A A eda Sta aetna A A 91 Paine uaa aa AO 92 Read Danos id o 92 Radiata AAA AA iS 93 AR 93 Subnetwork Monitor Node Monitor Cet A acacia trade ac conde tnscrnda eacgnce cet ececansacastlcaige ead esue ons Gaui aa te saaua say aouebneda eaeeeeeea avec aaa 95 Navicatinosthe Node MONO unen isis iaa 96 AE a E os dt 96 E A O oF Data Logger Concilio 99 o EN 99 Contour aia 100 Configuration Wizards So 55 AN 101 selectas Wizard Protesta ai 101 Wizard Modbus RLO MAN n a a A 102 Control and Status Registers SN 103 TAGHOSDARIIO LTO OUN ERTE ET ETE N E OO TE 103 D AE I E EOE E E A E cea et E ee vedi 103 Status Register Contents Gateway to Control System wuwdisdeonaedineavaitucuiaciecenardecua dele 105 CnN LI UOUE A A TT E is 105 Status Codes in Master Mode and DFT Master Modesto 105 SUS CODE GEN RN AAA ten ab adueushs toupee ahs a 106 Control Register Contents Control System to Gateway e momomommsmsmmsmmsisincinesiso 107 SOARES A A AS 107 Control Codes in Ma
141. ybus Communicator for EtherNet IP Doc Rev 3 00 Doc Id SCM 1200 096 Chapter 11 Basic Settings Vests allo Mls el A NO 64 APC I AR AIIC TCLS lt ad vata emanated ead aA hed hcl eee et hi yh he Dh eine oh A 65 Subnetwork Parets eS 67 Chapter 12 Nodes Gereral erste ea eae ete ace al al a ate Na a aN a el lt tae elect he ahs eo at aa eat cia ae 68 Pa aii Se Ma acimo Node atrial ito 68 Node PACA eh hee eee a lao 68 Master Mode and Generic Data Mo iaa 68 Chapter 13 Transactions Enri A tad 69 PG GIO Se IATA Oe TV TAN SACH ONS a AA AAA 70 Transaction Parameters Master Mode Ea del AAA US DORA ASA AAA A 71 AN CONS EOE TA 12 Transaction Parameters Generne Dati Mod T2 FOOD CCN TONA SAA E EAEN O EE O TZ COM SUE LIS TOOES AAA AAA AAA AAA AIN IA 73 Transicion Ed Oberea A O aO 74 Chapter 14 Frame Objects Generali A Ad 75 Adde and Editing ane OD EOS ioaea aE REET EE 75 Constant Objects Byte Word DWord evisos 76 imo Objects Byte Word Dota il ida ia DAO B O e ta AA 78 Narable Dar ODECE o E N T E NA N E ne ar 78 Check un OD IEC aaan en n a NA 80 Chapter 15 Commands GN e I cea E tae cae ea eae eee erect eee ee cca ntee cone A E E areata 31 Addie WManasmo Commands nelson cta diante 81 Pan AIONO N OD E DS O O 82 LONA LO AAA A atta eeu een 82 Tie Command o PPP TO 83 A ed e at o tae 83 D IN AVI AE A tes au tana sot ania uae Outage 83 PIO e a teeta 84 E RO OG 017 OIE A TREO ORC RTE TREE ENOL TRONS NOREEN RUS mTOR AUNTS 85 E
Download Pdf Manuals
Related Search
Related Contents
Instructions ePadeira Basic 【74274】テツオト バンククロック山手線 Conceptronic CLLWAPROSPKW Manuel d`utilisation de l`AL842 Afficheur + Gestion process 1D41. 1D42. 1D50. 1D81. 1D90. LD517拡張用 累積加算表示器 BG-550D BATTERY GRIP Remington BKT-1000, BKT-2000 Trimmer User Manual Copyright © All rights reserved.
Failed to retrieve file