background image

 

31 

ICC 

At the end of the log, the studio records statistics for the batch update session. 

The statistics include the following information: 

 

Devices Discovered 

The total number of devices discovered while in batch update mode. 

 

Successful 

The total number of devices that were updated successfully. 

 

Failed 

The total number of devices that the studio failed to update. 

 

Not Updated 

The total number of devices that were not updated. This can occur if a 

device is already up to date, or if a device has limited network 

connectivity and cannot be updated. 

 

Firmware Updated 

The total number of firmware updates performed. 

 

Configuration Updated 

The total number of configuration updates performed. 

 

Errors 

The total number of devices that encountered an error while being 

updated. Note that this does not necessarily imply that the device failed 

to update. 

 

 

8.3

 

Internal Logic Settings 

8.3.1

 

Fail-safe Values 

8.3.1.1

 

Overview 

The gateway can be configured to perform a specific set of actions when network 

communications are lost. This allows each address in the database to have its 

own unique “fail-safe” condition in the event of network interruption. Support for 

this feature varies depending on the protocol: refer to the protocol-specific 

section of this manual for further information. 

 

Note that this timeout feature is only used with slave/server protocols: this is not 

the same as the Timeout time used for service objects in master/client protocols. 

 

There are two separate elements that comprise the timeout configuration: 

  The timeout time 

  Timeout Object configuration 

 

Содержание ECAT-1000

Страница 1: ...January 1 2016 ICC 10757 2016 Industrial Control Communications Inc ICC INDUSTRIAL CONTROL COMMUNICATIONS INC ECAT 1000 Multiprotocol EtherCAT RS 485 Gateway Instruction Manual ...

Страница 2: ...esent in a system of any size In order to prevent danger to life or property it is the responsibility of the system designer to incorporate redundant protective mechanisms appropriate to the risk involved This user s manual may not cover all of the variations of interface applications nor may it provide information on every possible contingency concerning installation programming operation or main...

Страница 3: ...cations that may be subjected to large shocks or vibrations Avoid installation locations that may be subjected to rapid changes in temperature or humidity Operating Environment Proper ground connections are vital for both safety and signal reliability reasons Ensure that all electrical equipment is properly grounded Route all communication cables separate from high voltage or noise emitting cablin...

Страница 4: ...al Interface 14 6 Installation 16 6 1 Mounting the Gateway 16 6 1 1 Panel Wall Mounting 16 6 1 2 DIN Rail Mounting 17 6 2 Wiring Connections 18 6 3 Grounding 18 7 LED Indicators 19 7 1 Gateway Status 19 7 2 RS 485 Network Status 19 7 3 EtherCAT LEDs 19 8 Configuration Concepts 22 8 1 ICC Configuration Studio 22 8 2 General Object Editing Activities 25 8 2 1 Device Settings 26 8 2 2 USB Virtual COM...

Страница 5: ...ix A Database Endianness 42 12 1 Modbus PROFIBUS Example 44 12 2 Modbus DeviceNet Example 45 12 3 BACnet DeviceNet Example 46 12 4 BACnet Modbus Analog Element Example 48 12 5 BACnet Modbus Binary Element Example 49 13 Appendix B Diagnostics Objects 51 14 Appendix C BACnet PICS 53 ...

Страница 6: ...e take a moment to ensure that you have received all materials shipped with your kit These items are ECAT 1000 Gateway in plastic housing Documentation CD ROM DIN rail adapter with two pre mounted screws Four black rubber feet USB cable Note that different gateway firmware versions may provide varying levels of support for the various protocols For optimal performance always ensure that you are us...

Страница 7: ...rmation USB Virtual COM Port Interface The gateway can be configured to enumerate as a USB virtual COM port allowing a PC to directly communicate to the gateway using any supported serial protocol tunnel through the gateway to communicate on the connected RS 485 bus or capture network traffic on the RS 485 port without impacting communications Refer to section 8 2 2 for more information User Confi...

Страница 8: ...om the elemental building block operations provided Refer to section 8 3 2 for more information Flexible Mounting Capabilities The gateway includes all hardware for desktop panel wall and DIN rail mounting capabilities Refer to section 6 1 for more information ...

Страница 9: ...gateway will cycle through the defined service objects in a round robin fashion however the gateway does implement a write first approach This means that the gateway will perform any outstanding write services before resuming its round robin read request cycle Additionally the database and service objects provide the added benefit of data mirroring whereby current copies of data values populated b...

Страница 10: ...signed data type is selected if network data values can be negative For example if 0xFF is written to the database at a location corresponding to a service object with an 8 bit unsigned data type the resultant network value will be 25510 assuming a multiplier of 1 However if 0xFF is written to the database at a location corresponding to a service object with an 8 bit signed data type the resultant...

Страница 11: ...ctrical Installations all regulations of the Occupational Safety and Health Administration and any other applicable national regional or industry codes and standards DO NOT install operate perform maintenance or dispose of this equipment until you have read and understood all of the following product warnings and user directions Failure to do so may result in equipment damage operator injury or de...

Страница 12: ...ure Preventive maintenance and inspection is required to maintain the gateway in its optimal condition and to ensure a long operational lifetime Depending on usage and operating conditions perform a periodic inspection once every three to six months Inspection Points Check that there are no defects in any attached wire terminal crimp points Visually check that the crimp points are not scarred by o...

Страница 13: ...nc or your local distributor 4 7 Disposal Contact the local or state environmental agency in your area for details on the proper disposal of electrical components and packaging Do not dispose of the unit via incineration 4 8 Environmental Specifications Item Specification Operating Environment Indoors less than 1000m above sea level do not expose to direct sunlight or corrosive explosive gasses Op...

Страница 14: ...ay Overview Gateway Overview Front RS 485 TX and RX LEDs Port 1 IN USB connector Gateway status LED EtherCAT ERROR LED EtherCAT RUN LED Port 2 OUT Gateway Overview Back Chassis ground RS 485 terminals Power terminals ...

Страница 15: ...cted to the gateway s terminal block at terminals TB 5 POWER and TB 6 GND as highlighted in Figure 1 Figure 1 Terminal Block Power Supply Connections 5 2 RS 485 Port Electrical Interface In order to ensure appropriate network conditions signal voltage levels etc when using the gateway s RS 485 port some knowledge of the network interface circuitry is required Refer to Figure 2 for a simplified net...

Страница 16: ...15 ICC Figure 2 RS 485 Interface Circuitry Schematic Figure 3 highlights the terminals on the gateway s terminal block that are specific to RS 485 connections Figure 3 Terminal Block RS 485 Connections ...

Страница 17: ...tom of the enclosure A DIN rail adapter with two pre mounted screws is provided for mounting the gateway on a DIN rail The user must choose the appropriate hardware for mounting the gateway on a panel or wall When choosing screws for panel or wall mounting ensure the head size matches the keyhole screw holes on the back of the enclosure The following describes the method for the two mounting optio...

Страница 18: ... clip the DIN rail adapter onto the DIN rail and mount the gateway on the screws the screws should already be seated into the adapter at the proper height Refer to Figure 7 Figure 8 and Figure 9 Figure 6 DIN Rail Adapter Figure 7 DIN Rail Adapter Attachment Figure 8 Unit with Attached DIN Rail Adapter Figure 9 Example Installation ...

Страница 19: ...o the proper polarity 6 3 Grounding Grounding is of particular importance for reliable stable operation Communication system characteristics may vary from system to system depending on the system environment and grounding method used The gateway has one logic ground located on the RS 485 terminal block which serves as the ground reference for both power and RS 485 communication signals The gateway...

Страница 20: ... a red error code The number of sequential blinks followed by 2 seconds of OFF time indicates the error code 7 2 RS 485 Network Status The gateway has one red and one green LED to indicate the status of the RS 485 network Green TX LED Lights when the gateway is transmitting data on the RS 485 port Red RX LED Lights when the gateway is receiving data on the RS 485 port Note that this does not indic...

Страница 21: ...ION state fatal event The ERR LED indicates any communication related errors refer to Table 2 Table 2 EtherCAT ERR LED LED State Indication Off No error no power Red blinking Invalid configuration Red single flash Unsolicited state change Red double flash Sync manager watchdog timeout Red PDI watchdog timeout The port 1 and port 2 link activity LEDs indicate the EtherCAT network link status and co...

Страница 22: ...21 ICC Table 3 EtherCAT Link Activity LED LED State Indication Off No link no power Green Link sensed no activity Green flickering Link sensed activity detected ...

Страница 23: ...s panel Dragging it from the Available Devices panel into the Project panel Selecting it and selecting Add Selected Device from the Edit menu Selecting it and clicking the Add button in the toolbar The device will then be added to the list of Device Configurations Going Online with a Device All connected devices are automatically added to the Discovered Devices panel This panel is shown by selecti...

Страница 24: ...ect Hitting the DELETE key on the keyboard when the device is selected in the Project panel Right clicking on the device in the Project panel and choosing Remove from the context sensitive menu Selecting Remove Selected Item from the Edit menu when the device is selected Clicking on the Remove button in the toolbar when the device is selected Going Offline with a Device To go offline with a device...

Страница 25: ... online device is selected data values are updated from the device in real time and values can be edited by double clicking the desired location in the database Diagnostics To monitor the status of service objects select the device in the Project panel and then select the Diagnostics panel If the Diagnostics panel is not visible it can be enabled via View Diagnostics When an online device is selec...

Страница 26: ... select a parent object to display a summary of all its child objects For example selecting a protocol driver will display the driver s configuration in the Summary panel and list of current objects in the Object List panel Updating an Object To update an object select the object in the Project panel and make any required changes in the Settings panel Deleting an Object An object can be deleted by...

Страница 27: ...an item onto a new location under a different parent object in the Project panel after dragging the item Selecting Paste Item from the Edit menu Clicking on the Paste button in the toolbar After pasting an object the object s configurable fields can then be modified with valid values where applicable Note that the studio allows you to copy and paste items between different locations including diff...

Страница 28: ...device is in this mode all other functionality of the device is disabled regardless of other configuration settings Serial Redirect Select this option to redirect communications from the selected serial port on the device to the USB virtual COM port By selecting this option the device will communicate with the PC over the virtual COM port using the settings configured on the associated serial port...

Страница 29: ... USB Serial Capture Window allows connection to a device s USB Virtual COM port to view and save network packets captured by the device The device s USB Virtual COM port must be configured for Serial Sniffer mode and the Sniffer Output Format must be set to Formatted Data When connected the capture window will display the device s most recent received and transmitted packets All packets captured d...

Страница 30: ... select Pause Display Note that even though the display does not update when paused packets are still being captured in the background Ending a Capture Session The capture session is ended by disconnecting from the selected device To disconnect from the device perform one of the following actions Select Disconnect from the Connection menu Click on the Disconnect button in the toolbar Saving the Ca...

Страница 31: ... Batch Update Mode from the Tools menu After the studio has entered batch update mode pressing the ESC key will exit batch update mode If any devices were discovered while in batch update mode the studio will display a prompt to view the batch update log Launching the Studio in Batch Update Mode The batch update mode can also be started when the studio is launched by using the b or B command line ...

Страница 32: ...formed Errors The total number of devices that encountered an error while being updated Note that this does not necessarily imply that the device failed to update 8 3 Internal Logic Settings 8 3 1 Fail safe Values 8 3 1 1 Overview The gateway can be configured to perform a specific set of actions when network communications are lost This allows each address in the database to have its own unique f...

Страница 33: ...d the designated 8 bit 16 bit or 32 bit value is written to the corresponding database address es To add a timeout object to a device select the device in the Project panel then add Internal Logic Fail safe Values Timeout Object The following paragraphs describe the configurable fields of a timeout object Database Address Enter the starting address in the database where the first data element of t...

Страница 34: ... scaled after operation execution The input is multiplied by the input multiplier and the result is divided by the output multiplier All operations can be dynamically enabled disabled using an optional Enable Trigger element refer to section 8 3 2 3 for more information on Enable Trigger behavior The outputs of all operations must be stored in the internal database The number of bytes taken from t...

Страница 35: ...on cycle and the current execution cycle otherwise it outputs a 0 The Mutiplexer operation outputs one of its two inputs depending on the selection If Selection is zero Input 1 is output If Selection is non zero Input 2 is output The Byte Reverse operation reverses the byte order of the input value and outputs the result Arithmetic Operations The Add operation calculates the expression Input 1 Inp...

Страница 36: ...ean that each operation is guaranteed to execute every scan cycle only that it will be evaluated as to whether or not it should execute Namely if an Enable Trigger element is added to an operation then the trigger must evaluate to true for the operation to execute during that scan cycle Refer to section 8 3 2 3 for more information on Enable Trigger behavior 8 3 2 3 Enable Trigger Each database lo...

Страница 37: ...option is used Auto Reset Allows the enable value to be automatically reset upon completion of the operation The actual value written to the enable value depends on the other trigger options selected If no options are selected a value of 0 is written to the enable value If the inverted option is used a value of 1 is written to the enable value If the bitmask option is used each bit selected in the...

Страница 38: ...nostics Objects Because the diagnostics object resides in the database alongside the service object s process data it can also be accessed over any supported network by mapping appropriate network elements to the corresponding database addresses Alternatively the diagnostics objects can be viewed within the Configuration Studio by selecting a device in the Project panel and then either clicking on...

Страница 39: ...ay supports a variety of serial drivers on its RS 485 port For a list of supported protocols refer to the Millennium Series Supported Drivers List For detailed information on each protocol refer to the specific protocol s driver manual ...

Страница 40: ...39 ICC 10 EtherCAT Driver For detailed information on the EtherCAT protocol driver refer to the separate EtherCAT protocol driver manual ...

Страница 41: ...ientation of wiring between the network and the gateway Confirm that the protocol baud rate parity and address settings on the RS 485 port match your network configuration No communication between the RS 485 network and the gateway The gateway s RS 485 RX LED is solid ON The RS 485 signal wires are reversed Ensure that a network reference ground wire is in place No communication between the EtherC...

Страница 42: ...both the PC and the device but the module status LED is not flashing green the Configuration Studio may indicate a communication error Unplug and reconnect the USB cable Try a different USB cable Try a different USB port on the computer Reinstall the Configuration Studio Reinstall the USB device drivers contact ICC for assistance ...

Страница 43: ...retrieves multi byte data to and from the database Data is stored into the database starting at the low address and filled to higher addresses The endianness determines whether the most significant or least significant bytes are stored first Let s look at some examples that demonstrate this Figure 11 shows how the hex value 0x12345678 is stored into the database using a big endian byte order Since...

Страница 44: ...ment to and from the gateway s internal database This idea helps explain the data movement as a whole from one port to the other on the gateway between two different networks Because networks vary in the manner that they exchange data endianness selection must be part of the gateway s configuration in order to ensure coherent multi byte data exchange There are two data exchange methods used by the...

Страница 45: ...amples of how the database endianness affects end to end communication between networks and when each byte ordering scheme should be used 12 1 Modbus PROFIBUS Example This example shows the interaction between a network using an object value method Modbus and one using a bag of bytes method PROFIBUS to exchange data The gateway reads holding registers 1 and 2 from the Modbus network stores the dat...

Страница 46: ...This example shows the interaction between a network using an object value method Modbus and one using a bag of bytes method DeviceNet to exchange data The gateway reads holding registers 1 and 2 from the Modbus network stores the data into the database and then sends the 4 bytes of input data onto the DeviceNet network Figure 17 shows this data movement for the gateway s database configured as li...

Страница 47: ...e that in both examples the DeviceNet network data is always identical byte for byte to the gateway s database For this reason it is important to configure gateways that use a bag of bytes style network such as the DNET 1000 to use the same endianness as defined for that network Figure 18 Modbus DeviceNet Big Endian 12 3 BACnet DeviceNet Example This example is quite similar to the previous one as...

Страница 48: ... the gateway interprets the 4 bytes the resulting 4 byte value will be 0x12345678 thus successfully receiving the original value of the BACnet analog value object Figure 19 BACnet DeviceNet Little Endian Conversely Figure 20 illustrates the consequences of configuring the database for big endian byte order using this scenario Once again Analog Value 0 has a value of 0x12345678 But now when the Dev...

Страница 49: ...the values from the BACnet network are stored into the database with big endian byte ordering Figure 22 shows the values from the BACnet network being stored into the database with little endian byte ordering Regardless of the byte ordering scheme used the two holding registers on the Modbus network receive the same values Notice that in both cases analog values 1 and 2 have values of 0x1234 and 0...

Страница 50: ...nput statuses are mapped to registers not addresses refer to the Modbus driver documentation for more information Since registers are 16 bit entities the byte order of the registers and by association the coils is affected by the endianness configured for the database BACnet binary objects however are mapped on a byte wise basis into the database When the database is configured for a little endian...

Страница 51: ... to coils 1 8 and so on This can be seen in Figure 24 Since the most significant bytes of the Modbus registers that the coils map to are now mapped to lower addresses the alignment between the two networks bit wise data is byte swapped While this alignment can still be used it is much more intuitive when the database is configured to be little endian Figure 24 BACnet Modbus Binary Objects Discrete...

Страница 52: ...r that increments when the driver transmits a packet RX Counter A 32 bit counter that increments when the driver receives a valid packet RX Error Counter A 32 bit counter that increments when the gateway receives an error response packet or when an error occurs upon reception of a packet Current Status Indicates the status of the most recently received packet This field is updated each time the RX...

Страница 53: ... Address 0xF1 Data Error 0xF2 Write To Read Only 0xF3 Read From Write Only 0xF4 Target Busy 0xF5 Target Error 0xF6 Cannot Execute 0xF7 Mode Error 0xF8 Other Error 0xF9 Memory Error 0xFA Receive Error 0xFB Invalid Function 0xFC Invalid Packet 0xFD Security Error 0xFE Checksum Error 0xFF Timeout Error ...

Страница 54: ... BACnet Building Controller B BC BACnet Advanced Application Controller B AAC BACnet Application Specific Controller B ASC BACnet Smart Sensor B SS BACnet Smart Actuator B SA BACnet Interoperability Building Blocks Supported Annex K Data Sharing ReadProperty A DS RP A Data Sharing ReadProperty B DS RP B Data Sharing ReadPropertyMultiple B DS RPM B Data Sharing WriteProperty A DS WP A Data Sharing ...

Страница 55: ...binding supported This is currently for two way communication with MS TP slaves and certain other devices Yes No Networking Options Router Clause 6 List all routing configurations Annex H BACnet Tunneling Router over IP BACnet IP Broadcast Management Device BBMD Does the BBMD support registrations by Foreign Devices Yes No Network Security Options Non secure Device is capable of operating without ...

Страница 56: ...55 ICC If this product is a communication gateway describe the types of non BACnet equipment networks s that the gateway supports Refer to protocol specific manuals for other supported protocols ...

Страница 57: ...ion R Services Supported R Object Types Supported R Object List R Max APDU Length R Segmentation Support R APDU Timeout W 10 65535 Number APDU Retries W 0 10 Max Master W 1 127 Max Info Frames R Device Address Binding R Database Revision R Present Value R W W R W W R W W Status Flags R R R R R R R R R Event State R R R R R R R R R Reliability R R R R R R R R R Out of Service R R R R R R R R R Numb...

Страница 58: ...ICC INDUSTRIAL CONTROL COMMUNICATIONS INC 1600 Aspen Commons Suite 210 Middleton WI USA 53562 4720 Tel 608 831 1255 Fax 608 831 2045 http www iccdesigns com Printed in U S A ...

Отзывы: