GFK1533-VersaMax DeviceNet Communication Modules
GFK1533-VersaMax DeviceNet Communication Modules
GFK1533-VersaMax DeviceNet Communication Modules
GFL-002
Caution
Caution notices are used where equipment might be damaged if care is not taken.
Note
Notes merely call attention to information that is especially significant to understanding and operating the equipment. This document is based on information available at the time of its publication. While efforts have been made to be accurate, the information contained herein does not purport to cover all details or variations in hardware or software, nor to provide for every possible contingency in connection with installation, operation, or maintenance. Features may be described herein which are not present in all hardware and software systems. GE Fanuc Automation assumes no obligation of notice to holders of this document with respect to changes subsequently made. GE Fanuc Automation makes no representation or warranty, expressed, implied, or statutory with respect to, and assumes no responsibility for the accuracy, completeness, sufficiency, or usefulness of the information contained herein. No warranties of merchantability or fitness for purpose shall apply. The following are trademarks of GE Fanuc Automation North America, Inc.
Alarm Master CIMPLICITY CIMPLICITY 90ADS CIMSTAR Field Control GEnet Genius Helpmate Logicmaster Modelmaster Motion Mate PowerMotion PowerTRAC ProLoop PROMACRO Series Five Series 90 Series One Series Six Series Three VersaMax VersaPro VuMaster Workmaster
Copyright 1999 GE Fanuc Automation North America, Inc. All Rights Reserved.
Contents
Chapter 1
Introduction................................................................................... 1-1
DeviceNet ................................................................................................ 1-2 VersaMax Modules for DeviceNet Networks............................................ 1-3
Chapter 2
Installation..................................................................................... 2-1
Preinstallation Check................................................................................ 2-1 DeviceNet Network Interface Unit Installation ......................................... 2-2 DeviceNet Network Control Module Installation ...................................... 2-5 Installing the DeviceNet Cable ................................................................. 2-8 Bus Connectors and Termination.............................................................2-10 Bus Power Supply and Grounding...........................................................2-11
Chapter 3
Chapter 4
Appendix A NIU DeviceNet Statement of Compliance.................................... A-1 Appendix B NCM DeviceNet Statement of Compliance ................................. B-1 Appendix C Electronic Datasheet (EDS) for the NIU Module ........................ C-1 Appendix D Electronic Datasheet (EDS) for the NCM Module...................... D-1
GFK-1533
iii
Chapter
Introduction
1
This manual describes the installation and operation of the VersaMax DeviceNet Communications modules. Chapter 1 is a basic introduction. Module and cable Installation procedures are described in Chapter 2. The DeviceNet Network Interface Unit is described in chapter 3. This chapter explains how the NIU is configured and how it operates. The DeviceNet Network Control Module is described in chapter 4. This chapter explains how the NCM is configured and how it operates. The NIU Statement of Compliance is shown in appendix A. The NCM Statement of Compliance is shown in appendix B. The NIU Electronic Datasheet (EDS) File is detailed in appendix C. The NCM EDS File is detailed in appendix D.
GFK-1533
1-1
DeviceNet
DeviceNet supports a variety of communication structures including peer to peer, multimaster and master/slave with broadcasting capabilities. This allows DeviceNet to fill a broad range of control system needs. Up to 64 nodes can be connected to a DeviceNet network without bridging or routing. Nodes can range from single-bit devices, such as a limit switch or solenoid valve, to intelligent I/O stations with several I/O modules. The maximum amount of I/O data that can be transferred from or to an individual node is theoretically not limited. Practical limitations should be based on the response time requirements of the application.
DeviceNet Messages
The DeviceNet message field can range between 0 and 8 bytes. Messages longer than 8 bytes are fragmented into packets. Packetizing does increase overhead and reduce data transmission throughput. DeviceNet supports two types of messaging: I/O messaging and Explicit messaging. I/O messaging is time-critical and is of high priority. Explicit messages are typically used between two devices for configuration and diagnostic data transfer. They are usually of low priority and not time-critical. DeviceNet I/O messages are of three basic types. Strobe messages are associated with a polling request from a master. Strobe messages can be used for communication between two devices or where there are several consumers of a single message. Cyclical messaging transfers data between devices at regular time intervals. Devices may use cyclical messages to report their status to a master at regular time intervals. The third type of I/O messaging is unsolicited messaging from slave devices, commonly referred to as change-of-state messaging. This type of I/O message allows I/O to report information without token passing or polling. Repetitive information is transmitted less frequently, which frees up the available bandwidth. This type of messaging offers more responsive control when network traffic is light. However, it can be more difficult to make sure that data collisions do not reduce network throughput.
GFK-1533
Chapter 1 Introduction
1-3
Chapter
Installation
2
This section gives instructions for installing the DeviceNet modules and the DeviceNet cable. System installation instructions are located in the VersaMax Modules, Power Supplies, and Carriers Manual, GFK-1504. DeviceNet Network Interface Unit Installation DeviceNet Network Control Module Installation DeviceNet Cable Installation
Preinstallation Check
Carefully inspect all shipping containers for damage. If any equipment is damaged, notify the delivery service immediately. Save the damaged shipping container for inspection by the delivery service. After unpacking the equipment, record all serial numbers. Save the shipping containers and packing material in case it is necessary to transport or ship any part of the system.
Static Protection
The Network Interface Unit has CMOS components that are susceptible to static damage. Use proper static prevention techniques when handling this module.
Conformance to Standards
Before installing VersaMax products in situations where compliance to standards or directives from the Federal Communications Commission, the Canadian Department of Communications, or the European Union is necessary please refer to GE Fanucs Installation Requirements for Conformance to Standards, GFK-1179.
GFK-1533
2-1
2.
3.
4.
2-2
U 0 1 2 3 6 5 4 9 0 1 2 8 3 7 6 5 4 0 1 2
X1
DATA RATE
When the NIU is in boot mode, its OK and FAULT LEDs blink simultaneously at second intervals. Once the NIU is in boot mode, the upper switch can be returned to its original position.
GFK-1533
Chapter 2 Installation
2-3
green when power is applied to the NIU. green when the NIU is operational. amber if the NIU has detected one or more faults. OFF when the NIU is not powered. blinks red and green during NIU self-test. blinks green if the NIU configuration is missing, incomplete, or incorrect. The NIU may be in Standby state. green when the NIU is operating normally. blinks red if there is a recoverable fault. red if there is an unrecoverable fault. The NIU may need replacing.
OK FAULTS MOD
NET
OFF when the NIU is not online or not powered. blinks red and green if the NIU detects a Network Access error and is in the Communications Faulted state. It has subsequently received and accepted an Identify Communications Fault Request-Long Protocol message. blinks green if the NIU is online but has no connections in the established state. It is online but has no established connections to other nodes. It is not allocated to a master. green when the NIU us inline and has connections in the established state. The NIU is allocated to a master. blinks red if one or more I/O Connections are in the Timed-Out state. red if an error renders the NIU incapable of communicating on the network.
FORCE
(future) indicates the presence of any forced I/O value. Always OFF.
2-4
GFK-1533
GFK-1533
Chapter 2 Installation
2-5
Network Control Module Installation: Installing the NCM on the Communications Carrier
1. The latch on the Network Control Module must be in the unlocked position.
2.
Align the connectors and the latch post and press the Network Control Module down firmly, until the two tabs on the bottom of the NCM click into place. Be sure the tabs are fully inserted in the holes in bottom edge of the Communications Carrier. Turn the latch to the locked position to secure the Network Control Module to the top of the carrier.
3.
3.
4.
2-6
GFK-1533
OFF when the NCM has not yet started its powerup sequence. Blinking green indicates the NCM is performing its powerup sequence and has not yet finished successfully. Green indicates the NCM has successfully completed powerup diagnostics. Amber when the NCM has either failed powerup diagnostics or has not yet received a valid configuration from the CPU. Blinking amber means the NCM has failed powerup diagnostics. The number of blinks indicates the fault type.
MOD
OFF when the NCM is not powered. blinks green if the NCM configuration is missing, incomplete, or incorrect. The NCM may be in Standby state. green when the NCM is operating normally. blinks red if there is a recoverable fault. red if there is an unrecoverable fault. The NCM may need replacing. blinks red and green during NCM self-test.
NET
OFF when the NCM is not online or not powered. blinks red and green if the NCM detects a Network Access error and is in the Communications Faulted state. blinks green if the NCM is online but has no connections in the established state. It has no established connections to other nodes. green when the NCM us inline and has connections in the established state. blinks red if one or more I/O Connections are in the TimedOut state. red if an error renders the NCM incapable of communicating on the network.
GFK-1533
Chapter 2 Installation
2-7
DeviceNet Cable Specifications Thick Cable General Specifications Two shielded pairs - Common axis with drain wire in center Overall braid shield - 65% coverage; 36 AWG or 0.12mm tinned Cu braid minimum (individually tinned) Drain wire- #18 Copper min.; 19 strands minimum (individually tinned) Outside diameter - 0.410 inches (min) to 0.490 inches (max.) roundness -radius delta to be within 15% of 0.5 O.D. Thin Cable General Specifications Two shielded pairs - Common axis with drain wire in center Overall braid shield - 65% coverage; 36 AWG or 0.12mm tinned Cu braid minimum (individually tinned) Drain wire - #22 Copper; 19 strands minimum (individually tinned) Outside diameter - 0.240 inches (min.) to 0.280 inches (max.) roundness -radius delta to be within 20% of 0.5 O.D. Network Topology Redundancy Network Power for Node devices Allowed Nodes (Bridging excluded) Data Packet Size Duplicate Address Detection Error Detection / Correction Bus with limited branching (trunkline/dropline) Not Supported Nominal 24 volt DC 4% 64 nodes 0-8 bytes with allowance for message fragmentation Addresses verified at power-up CRC - retransmission of message if validity not acknowledged by recipient
2-8
GFK-1533
2 Bus Length
The maximum length of the bus is limited by the cable type, transfer rate, and number and accumulated length of drop lines. Individual branch lengths may not exceed 6 meters and are limited to one network node per drop. However, the node may be a node offering multiple ports. With Thin cable, the maximum bus length, regardless of data rate, is 100m. With Thick cable used as the trunk line, the maximum bus length is as shown in the following table.
Data Rate 500Kbps 250Kbps 125Kbps Bus length and drop length restrictions 100m bus length and branches totaling < 39m 250m bus length and branches totaling < 78m 500m bus length and branches totaling < 156m
GFK-1533
Chapter 2 Installation
2-9
Bus Connectors
The NIU and NCM both have the same 5-pin standard Phoenix open-style pluggable connector, although in different orientations. The illustration below shows the connector orientation on both modules:
Network Interface Unit (NIU) 5 - V+ 4 - CAN_H 3 - Shield 2 - CAN_L 1 - VNetwork Communications Module (NCM) 1 - V2 - CAN_L 3 - Shield 4 - CAN_H 5 - V+
The connectors are keyed, so that a mating connector may attach to either module without modification.
Termination
Termination of a DeviceNet network is passive and includes one resistor at each end of the network, i.e. exactly two resistors per DeviceNet network. A terminating resistor is placed across the data communication signals at pin 2 (CAN_L) and pin 4 (CAN_H). The correct terminating resistor is a 121 ohm 1% watt resistor.
2-10
GFK-1533
GFK-1533
Chapter 2 Installation
2-11
Chapter
3
The DeviceNet Network Interface Unit (IC200DBI001) can be used to interface VersaMax I/O modules to a DeviceNet network. Together, the NIU and its modules form an I/O station capable of handling up to 128 bytes of discrete and analog input data and up to 128 bytes of discrete and analog output data. The system host can be any device capable of operating as a bus master. The NIU operates as a Group 2 Only Slave, automatically exchanging I/O, status, control, and diagnostic data with a master device. The NIU conforms to the DeviceNet Specification Volumes I and II, version 2.0, Open DeviceNet Vendors Association.
DBI001
PWR OK FAULT MOD MOD MOD NET FORCE MOD
IC200DBI001-AA
DeviceNet NIU
THIS DEVICE COMPLIES WITH PART 15 OF THE FCC RULES. OPERATION IS SUBJECT TO THE FOLLOWING CONDITIONS: 1) THIS DEVICE MAY NOT CAUSE HARMFUL INTERFERENCE. 2) THIS DEVICE MUST ACCEPT ANY INTERFERENCE RECEIVED, INCLUDING INTERFERENCE THAT MAY CAUSE UNDESIRED OPERATION. THIS DIGITAL APPARATUS DOES NOT EXCEED THE CLASS A LIMITS FOR RADIO NOISE EMISSIONS FROM DIGITAL APPARATUS SET OUT IN THE RADIO INTERFERENCE REGULATIONS OF THE CANADIAN DEPARTMENT OF COMMUNICATIONS. FOR USE IN A CONTROLLED ENVIRONMENT. REFER TO MANUALS FOR ENVIRONMENTAL CONDITIONS. ENCAD D'UTILISATION EN ATMOSPHERE CONTROLEE. CONSULTER LA NOTICE TECHNIQUE.
2 3 5 4 9 0 1 2 8 3 7 6 5 4 6 9 012
U 0 1
X1
DATA RATE
IND CONT EQ FOR HAZ LOC CLASS I DIV 2 GROUPS ABCD Temp Code T4A Ambient 60C CLASS I ZONE 2 GROUP IIC T4A CLASS I ZONE 2 Ex nA IIC T4A 0C Ta 60C Ex nV II T4 Demko No MADE IN USA
The Network Interface Unit installs on a 35mm x 7.5mm conductive DIN rail. A VersaMax power supply module mounts directly on the righthand side of the NIU. LEDs on the lefthand side indicate the presence of power and show the operating mode and status of the NIU. Three rotary dials beneath a clear protective door are used to configure the NIUs address and data rate on the DeviceNet network. The connector is used to connect the bus cable.
GFK-1533 3-1
NIU Specifications
Number of VersaMax modules I/O data DeviceNet network address Indicators (6) 8 I/O Modules per station. Up to 128 bytes of inputs + 2-byte status word Up to 128 bytes of outputs + 2-byte control word. 0 to 63. Default is 63. Power LED to indicate presence or absence of power. OK LED to indicate the status of the NIU powerup. Fault LED to indicate presence of faults. Mod LED to indicate the status of the NIU module. Net LED to indicate health of the DeviceNet network. Force LED (not used) . 160mA at 5V, 10mA at 3.3V Master/Slave CSMA with non-destructive bit-wise arbitration
3-2
GFK-1533
Autoconfiguration
The NIU stores data internally as discrete input bits, discrete output bits, analog input words, and analog output words.
The NIU Data Memories
I discrete input bits AI analog input words Q discrete output bits AQ analog output words
At powerup the NIU automatically looks at the modules installed in the I/O Station and assigns them to addresses in this internal I/O map. For modules with multiple data types, each data type is assigned individually. The process of assigning addresses is referred to as autoconfiguration.
Autoconfiguration Sequence
Autoconfiguration assigns memory addresses by data type, in the same order the modules occupy in the I/O Station. Each module is considered to occupy a slot. The position adjacent to the NIU is slot #1. Booster power supplies do not count as occupying slots.
Autoconfiguration stops at the first empty slot or faulted module. For example, if there are modules in slots 1, 2, 3, and 5 but slot 4 is empty, the module in slot 5 is not autoconfigured. The NIU generates an Extra I/O Module fault for it.
GFK-1533
3-3
3-4
GFK-1533
EDS File
Every DeviceNet device certified by the Open DeviceNet Vendors Association is required to define an EDS file (electronic data sheet). The EDS file may be needed by DeviceNet network configuration tools to correctly configure and/or operate a DeviceNet device. The EDS file is a simple text file filled with keywords and values that together define the specific characteristics, features, and limitations of the slave device. In Appendix C is a printout of the initial version of the EDS file for the VersaMax DeviceNet Network Interface Unit. In Appendix D is a printout of the initial version of the EDS file for the VersaMax Network Control Module. They are included only for reference; an electronic version of the EDS file is included on a diskette with each VersaMax DeviceNet device.
GFK-1533
3-5
To Master
Maximum Input Data Length = 128 bytes Maximum Total Length = 130 bytes
3-6
GFK-1533
3
Output Data Sent by the Master to the NIU
The master sends the NIU one output message containing all of the output data for the configured discrete output (Q) and analog output (AQ) areas configured in the NIUs network I/O map. The data must be placed in the same sequence the modules physically occupy in the I/O Station. For example, if the first I/O module provides discrete output data, that data will appear first in the Discrete Output Data area. If the second module also provides discrete output data, that data will appear next, and so on. The same rule applies for the Analog Output Data area. If a single module receives both discrete and analog output data, its discrete data is placed in the discrete area and the analog data in the analog area. The maximum overall length of this output data is 128 bytes. An additional 2 bytes at the start of the message are used by the master for control operations. So the total maximum length of the output message from the master is 130 bytes.
To NIU
Last byte
Maximum Output Data Length = 128 bytes Maximum Total Length = 130 bytes
Output Defaults
On powerup, when the bus is broken, or when communications errors occur, all outputs go to their auto-configured default state. Outputs remain at the Output Default State until the module receives output data from the master. Discrete output data defaults to 0 while analog output data holds its last state.
GFK-1533
3-7
Reporting Faults
The NIU reports faults to the master automatically as part of its regular I/O data. Normally, in the absence of any faults in the NIU, the NIU Diagnostic Status Word is always 0. When the first fault is logged into an empty fault table, the NIU updates the Diagnostic Status Word to indicate both the presence of a fault and the specified information for that fault. The NIU continues to report the fault until either a power-cycle occurs or a DeviceNet master requests to acknowledge the fault or clear all the faults.
3-8
GFK-1533
2-7
0 to 63
Meaning Format identifier 0 = Format 1 of NIU Diagnostic Status Data 1 = Format 2 of NIU Diagnostic Status Data 2,3 = Reserved The fault code that identifies the fault. 0 Unknown Fault 11 High Alarm 1 Corrupted Configuration 12 Low Alarm 2 Unsupported Feature 13 Overrange 3 -14 Underrange 4 Config Mismatch 15 Short Circuit 5 Fuse Blown 16 Nonvolatile Store 6 Loss of I/O Module 17 Loss of Non I/O Module 7 Addition of I /O Module 18 Addition of Non I/O Module 8 Extra I/O Module 19 Insufficient Config Memory 9 Loss of User Power 20 Module Not Configured 10 Open Wire -7 Fault 6 5 4 3 2 1 0
21 22 23 24 25 26 27 28 29 30
Input Point Fault Wiring Fault Thermistor Fault A To D Convertor Fault Mail Queue Full -------
Byte 2
Reserved (always 0)
Bit(s) 0-6 7
Value always 0 0 or 1
Meaning Reserved (always 0) 0 = no fault data present. The remaining fields in byte 1 and 2 may be ignored. 1= a fault is present. The remaining fields in byte 1 provide the fault code and format identifier. Use the Fault fragment acknowledge command (FRG) bit in the NIU Control bytes to obtain the rack, slot, and point location of the fault.
GFK-1533
3-9
3
Status Data Format 2
Byte 1 7 6 5 4 3 2 1 0 Point (0-63) Format (0-3)
Bit(s) 0-1
Value 1
2-7 Byte 2
0 to 63
Meaning Format identifier 0 = Format 1 of NIU Status Data 1 = Format 2 of NIU Status Data 2,3 = Reserved The physical point location of the fault. 0-63 correspond to points 1-64. 7 Fault 6 5 Rack (0-7) 4 3 2 Slot (0-8) 1 0
Meaning The slot location of the faulted module. The value 0 indicates the NIU itself. The physical rack location of the faulted I/O module. The value 0 refers to the NIU main rack. 0 = no fault data present. The remaining fields in byte 1 and 2 may be ignored. 1 = a fault is present. The remaining fields in byte 1 and 2 provide the format identifier and rack, slot, and point location of the fault.
3-10
GFK-1533
Bit(s) 0
0 or 1
2-6 7
always 0 0 or 1
Meaning Fault fragment acknowledge command. When this bit changes to 1, the NIU updates the NIU status data to contain either the Format 2 bytes of a fault or the Format 1 bytes of the next fault. When the Format 2 bytes of the last fault in the NIU has been acknowledged, the NIU clears the NIU status data. This bit is used when retrieving faults with the NIU Status service. Fault acknowledge command. When this bit changes to 1, the NIU updates the NIU status data to contain the Format 1 bytes of the next fault. The Format 2 bytes of the fault are skipped. This bit is used when retrieving faults with the Read_DP_Slave_Diagnostics_Information service (see appendix A for more information.) If there is no next fault, the NIU clears the NIU status data. Reserved (always 0) Clear all faults command. Setting this bit to 1 clears the NIUs internal fault table. The NIUs FAULT LED goes OFF unless a new fault is immediately logged or an existing fault condition continues to exist. This command can be sent at any time. 7 6 5 4 Reserved (always 0) 3 2 1 0
Byte 2
GFK-1533
3-11
Chapter
4
The DeviceNet Network Control Module (IC200BEM103) interfaces a VersaMax PLC CPU to a DeviceNet network. The NCM operates as a Group 2 Only Client (master) and can communicate only with Group 2 Slave devices. It can also operate as a Group 2 Only or a UCMM-capable Server (Slave), or as a master and slave simultaneously. When configured as a master, the NCM provides Unconnected Message Manager Proxy (UCMM) capability on behalf of its Group 2 Only Server slave devices. The UCMM Proxy service allows a commercially available DeviceNet monitor utility to communicate with the Group 2 Only Servers owned by the NCM. Multiple NCMs may be present on the same DeviceNet network. The DeviceNet NCM does not supply the power needs of the network. Another device, usually a standalone power supply, must be used for that purpose. Up to 63 additional devices may also reside on the network with the NCM and the power supply. Of these devices, up to 40 may be slaves controlled by the DeviceNet NCM.
IC200BEM103 DeviceNet
NETWORK MASTER
OK
MOD NET
IND CONT EQ FOR HAZ LOC CLASS I DIV 2 GROUPS ABCD Temp Code T4A Ambient 60C CLASS I ZONE 2 GROUP IIC T4A CLASS I ZONE 2 Ex nA IIC T4A 0C to 60C Ex nV II T4 Demko No
MADE INUSA
GFK-1533
4-1
NCM Specifications
Maximum size of input and output buffers (including NCM status area) Address range of master and slave devices Largest number of slave devices when NCM is master. Maximum size of a slave reference type Maximum time to recover a lost slave device Isolation: Network to Frame Ground DeviceNet Network to Backplane: Indicators Current Drawn from Backplane Network Bit Rates 50 VAC continuous, 500 VAC for 1 minute Module Status, Network Status, OK 140 mA max @ 5 Volts 125 Kbps 250 Kbps 500 Kbps Maximum Number of Nodes on a DeviceNet network Signaling Modulation: Encoding: Power supply Media Coupling Absolute maximum voltage range Transmission technology 64 CAN Standard 2.0B Baseband NRZ with bit stuffing 5 Volts +/- 3 DC coupled differential Tx/Rx -25 to +18 Volts (CAN_H, CAN_L) Shielded Twisted pair Linear (trunkline/dropline); power and signal on the same network cable 1K bytes 0-63 40 248 bits of discrete input and output 255 words of analog input and output Varies with size of network <10 seconds on a 10 device network
4-2
GFK-1533
PP LQ
For applications requiring maximum resistance to mechanical vibration and shock, the carrier must also be panel-mounted.
GFK-1533
4-3
T T
A location. The NCM can be placed in any module location in the system. In the selected location, insert a Communication Carrier. On that Carrier, insert a Generic Communications Module. Settings:
Select the Reference Address and Length for an I/O area in each of the 4 reference types: I, AI, Q, and AQ. The length for each must exactly match the total amount of data of that type for all the slave devices controlled by the NCM, including the 64 bits of Communications Status Data provided by the NCM itself. For example, the %I length must equal the total amount of all discrete input data contained in the NCMs input data area, described later in this chapter. And the %AI length must equal the total amount of all analog input data contained in the NCM's input data area. Conversely, the %Q and %AQ lengths must equal the total amount of all discrete and analog output data, respectively. Enter the Module ID: FFFF9808.
T T
Wiring: can be used to enter tags for the different data points. Power Consumption: can be used to enter the power consumption figures for the DeviceNet NCM.
4-4
GFK-1533
GFK-1533
4-5
4
Configuration COMREQ Format
The command block and the data block of the COMREQ are shown below.
2 3 4 5-6
The slave devices can be entered in the COMREQ in any order. The NCM checks that the lengths for the four data areas sent in the PLC configuration file match the sum of the lengths sent in the COMREQ. For convenience, the units of length in the configuration of a Generic Communication Module match the units of length defined in the COMREQ. Any bit length field must be entered as a multiple of 8 bits, such as 8, 16, 24, etc.
4
Slave Communication Mode
There are two possible communication modes for the NCM Slave. Normally, the NCM should be configured as a UCMM-capable slave device. This is the default communication mode and is highly recommended. However, if the NCM must communicate to a DeviceNet master that does not support communication with UCMMcapable slave devices, the Group 2 Only communication mode must be selected. The Slave communication mode field is ignored when the NCM is configured as a Master only or Master/Slave combination. In both of these cases, the NCM is always UCMMcapable.
GFK-1533
4-7
Description Successful Status - Network operation can proceed NCM has already received a COMREQ NCM has not been configured NCM is using the default configuration COMREQ does not include sufficient data (length must be 8 when configured as a Slave Only) Slave information is incomplete (length must be 11,14,17, etc when configured as a Master) COMREQ Command number is invalid (must be 0x1000) Reserved fields (Words 7-8) are not 0 as required Total Discrete Input length does not match the module configuration Total Discrete Output length does not match the module configuration Total Analog Input length does not match the module configuration Total Analog Output length does not match the module configuration NCM network address is invalid (must be 0-63) NCM network data rate is invalid (must be 0,1,2) Slave network address is invalid (must be 0-63) Reserved Slave I/O type is invalid (must be 1,2,4, or 0xC) Multiple I/O types are specified for a slave (must be 1,2,4,or 0xC) When configured as a Strobe device, the output data length must be 0 When configured as a Strobe device, input data length must 1-8 bytes Duplicate configuration for a slave device. There are two or more entries with the same Slave network address. Master or Slave Discrete Input Length must be divisible by 8 (8,16,24, etc) Master or Slave Discrete Output Length must be divisible by 8 (8,16,24, etc) Unknown Configuration error Headend stopped - aborted configuration
If no errors are detected, the COMREQ is successfully acknowledged and the NCM begins the cycle of operations described on the next page.
4-8
GFK-1533
To CPU
First byte Status Data 8 bytes Discrete Input Area %I table Maximum Total Inputs Length = 512 bytes Bit-type Input Data from Network
GFK-1533
4-9
MSB 7 6 5 4 3 2 1
LSB 0
MSB 55 54 53 52 51 50 49 48
Byte 0
Byte 1
Byte 2
Byte 6
Byte 7
Each bit represents the status of the device corresponding to that node address. For example, bit 0 in byte 0 represents the status of the device with node address 0. Bit 1 in byte 0 represents the status of the device with node address 1, and so on. When the NCM is configured as a Slave device, the corresponding bit for the NCM address represents the status of the Slave device. When the NCM is configured as a Master only, the corresponding bit is 0.
Bit Value 0 1 Description The device is NOT successfully exchanging I/O data on the DeviceNet network The device is successfully exchanging I/O data on the DeviceNet network
4-10
GFK-1533
From CPU
Last byte Word-type Output Data to Network Analog Output Area %AQ
GFK-1533
4-11
Fault Handling
When a fault occurs, the NCM sends a fault message to the PLC CPU. The NCM does not relog the fault if the same condition continues to occur. However, if the fault is cleared while the fault condition still exists, the NCM sends another fault message to the PLC CPU. A power-cycle or reset of the NCM resets all fault conditions to a cleared state.
Fault Loss of Communication Description The NCM logs this fault when no communication of any kind is possible on the DeviceNet network. The NCM resets the entire 8 bytes of communications status data to 0, and stops logging Loss of Device faults. The NCM clears this fault when it has successfully communicated at least once with a slave device on the DeviceNet network. The logging of Loss of Device faults is re-enabled. Loss of Device Addition of Device The NCM logs a Loss of Device fault when it is unable to make a connection to a specific slave device. The NCM resets the communications status bit corresponding to the slave device to 0. The network address of the lost device is indicated in the Fault Location field. The particular error is indicated in the first byte of Additional Fault Data. See the following table for a list of error codes. The NCM clears the Loss of Device fault when it has successfully reestablished a connection to a specific slave device. The NCM logs an Addition of Device fault and sets the communications status bit corresponding to the slave device to 1. An Addition of Device fault is only logged if a Loss of Device fault was logged previously for the same device. The network address of the added device is indicated in the Fault Location field. The first byte of the Additional Fault Data will generally contain 0x02 meaning that the slave is again active. Connecting to a slave device for the first time after a power-cycle or reset is not an Addition of Device fault.
4-12
GFK-1533
Appendix
A
This section details the level of compliance required for the DeviceNet Network Interface Unit. For details regarding this form and the items listed, refer to the DeviceNet Protocol Specification.
General Device Data Conforms to DeviceNet Specification Volume I - Release Volume II - Release GE Fanuc Automation Communications Adapter IC200DBI001 1.10 TBDA @11V dc (worst case) Open-Hardwired Yes (transceiver powered by network) Module and Network 2 10-position rotary switches (0-63) 63 1 10-position rotary switch (0-2) 125K, 250K, 500K Yes Yes Yes Yes 2.0 2.0
Vendor Name Device Profile Name Product Catalog Number Product Revision DeviceNet Physical Conformance Data Network Power Consumption (Max) Connector Style Isolated Physical Layer LEDs Supported MAC ID Setting Default MAC ID Communication Rate Setting Communication Rates Supported DeviceNet Communication Data Predefined Master/Slave Connection Set Group 2 Only Server (when selected) UCMM Capable (default) Fragmented Explicit Messaging Implemented
GFK-1533
A-1
A
DeviceNet Required Object Implementation Identity Object 0x01 Object Class Attributes Object Class Services None Supported None Supported ID 1 2 3 4 5 6 7 8 Description Vendor Product Type Product code Revision Status (bits supported) Serial Number Product Name State DeviceNet Services Reset Get_Attribute_Single Vendor Specific Additions No Access Get Get Get Get Get N/A Get Get Value Limit 326 12 (0Chex) 1 1.001 0,2,8,9,10,11 DeviceNet NIU
Yes Yes
A-2
GFK-1533
A
DeviceNet Required Object Implementation Message Router Object 0x02 Object Class Attributes Object Class Services Object Instance Attributes Object Instance Services Vendor Specific Additions None Supported None Supported None Supported None Supported No
DeviceNet Object 0x03 Object Class Attributes Object Class Services Object Instance Attributes Object Instance Services Vendor Specific Additions None Supported None Supported None Supported None Supported No
GFK-1533
A-3
A
DeviceNet Connection Object 0x05 Required Object Class Attributes None Supported Object None Supported Implementation Object Class Services Total Active Connections 2 Possible Object Instance Instance type Information Explicit Message Polled I/O Change of State ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 DeviceNet Services Object Instance Services Get_Attribute_Single Yes Vendor Specific Additions No Description State Instance type Transport class trigger Produced connection ID Consumed connection ID Initial comm. Characteristics Produced connection size Consumed connection size Expected packet rate Unused Unused Watchdog time-out action Produced connection path length Produced connection path Consumed connection path length Consumed connection path Max 1 1 1 Access Get Get Get Get Get Get Get Get Get
A-4
GFK-1533
A
DeviceNet Required Object Implementation Assembly Object 0x04 Object Class Attributes Object Class Services
None Supported None Supported ID Description Data Access Value Limit Get 2-130
Yes
Data
Set
2-130
Yes
GFK-1533
A-5
Appendix
B
This section details the level of compliance required for the DeviceNet Network Control Module. For details regarding this form and the items listed, refer to the DeviceNet Protocol Specification.
General Device Data Conforms to DeviceNet Specification Volume I - Release Volume II - Release GE Fanuc Automation DeviceNet NCM Communications Adapter 1.10 10mA @11V dc (worst case) unknown at this time Open-Hardwired 2.0 2.0
Vendor Name Device Profile Name Product Catalog Number Product Revision DeviceNet Physical Conformance Data Isolated Physical Layer LEDs Supported MAC ID Setting Default MAC ID Communication Rate Setting Communication Rates Supported DeviceNet Communication Data Predefined Master/Slave Connection Set Group 2 Only Client Fragmented Explicit Messaging Implemented Dynamic Connections Supported UCMM Network Power Consumption (Max)
Connector Style
Yes (transceiver powered by network) Module and Network Software selectable 63 Software selectable 125K, 250K, 500K Yes Yes Yes Yes (Group 3)
GFK-1533
B-1
B
DeviceNet Required Object Implementation Identity Object 0x01 Object Class Attributes Object Class Services None Supported None Supported
ID 1
Description Vendor
Access Get
2 3 4 5 6 7 8
Product Type Product code Revision Status (bits supported) Serial Number Product Name State DeviceNet Services Reset
Yes
Yes
B-2
GFK-1533
Message Router Object 0x02 Object Class Attributes Object Class Services Object Instance Attributes Object Instance Services Vendor Specific Additions None Supported None Supported None Supported None Supported No
DeviceNet Object 0x03 Object Class Attributes Object Class Services Object Instance Attributes Object Instance Services Vendor Specific Additions None Supported None Supported None Supported None Supported No
GFK-1533
B-3
Connection Object 0x05 Object Class Attributes Object Class Services Total Active Connections Possible Object Instance None Supported None Supported
40
Instance type
Information Explicit Message Polled I/O ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Description State Instance type Transport class trigger Produced connection ID Consumed connection ID Initial comm. Characteristics Produced connection size Consumed connection size Expected packet rate Undefined Undefined Watchdog time-out action Produced connection path length Produced connection path Consumed connection path length Consumed connection path
Max 1 40 Access Get Get Get Get Get Get Get Get Get
Yes
No
B-4
GFK-1533
Module
This appendix shows the initial version of the EDS file for the VersaMax DeviceNet Network Interface Unit. It is included only for reference; an electronic version of the EDS file is included on a diskette with each NIU. $ IC200DBI001 DeviceNet Network Interface Unit Electronic Data Sheet $ File Description Section [File] DescText ="IC200DBI001 EDS File"; CreateDate =05-05-1999; CreateTime =10:25:00; $ModDate =00-00-00; $ModTime =00:00:00; Revision =1.0; $ Device Description Section [Device] VendCode = 326; VendName = "GE Fanuc Automation"; ProdType = 12; ProdTypeStr = "Communications Adapter"; ProdCode = 1; MajRev = 1; MinRev = 100; ProdName = "DeviceNet NIU"; Catalog = "IC200DBI001"; [IO_Info] Default = 0x0001; $ Bit mapped (0=None) $ Bit 0 = Poll (Default) $ Bit 2 = Change-of-State PollInfo= 0x0001, 1, 1;
GFK-1533
C
COSInfo= 0x0004, 1, 1;
$ -- Input Connections -Input1= 130, $ 130 bytes maximum 0, $ all bits are significant 0x0005, $ Poll or COS Connection "Status + Data", $ Name String 6, $ Path Size "20 04 24 01 30 03",$ Assy Obj Inst 01 Attr 3 "NIU Status and Data"; $ Help String $ -- Output Connections -Output1= 130, $ 130 bytes maximum 0, $ all bits are significant 0x0005, $ Poll or COS Connection "Control + Data", $ Name String 6, $ Path Size "20 04 24 01 30 03",$ Assy Obj Inst 01 Attr 3 "NIU Control and Data";$ Help String
C-2
GFK-1533
Appendix
This appendix shows the initial version of the EDS file for the VersaMax DeviceNet Network Control Module. It is included only for reference; an electronic version of the EDS file is included on a diskette with each NCM.
$ IC200BEM103 DeviceNet Network Communications Module Electronic Data Sheet $ File Description Section [File] DescText ="IC200BEM103 EDS File"; CreateDate =05-10-1999; CreateTime =11:55:00; $ModDate =00-00-00; $ModTime =00:00:00; Revision =1.0; $ Device Description Section [Device] VendCode = 326; VendName = "GE Fanuc Automation"; ProdType = 12; ProdTypeStr = "Communications Adapter"; ProdCode = 1; MajRev = 1; MinRev = 100; ProdName = "DeviceNet NCM"; Catalog = "IC200BEM103";
GFK-1533
D-1
Index
A
Add modules to autoconfiguration, 3-4 Autoconfiguration, 3-3
F
Fault codes, 3-9 Fault table, 3-8 Faults
clear, 3-11
B
Bit-strobed I/O mode, 4-7 Bus
cable specifications, 2-8 connectors, 2-10 grounding, 2-11 length, 2-9 power supply, 2-11 termination, 2-10
G
Grounding
bus, 2-11
H
Hot inserting modules, 3-4
C
Cable specifications, 2-8 Catalog number, 3-1, 4-1 Change of State modes, 4-7 Communications Carrier, 1-3, 2-5, 4-3 COMREQ error codes, 4-8 Configuration
clearing, 3-4
I
I/O data sizes, 3-2 Input data, 3-6 Inserting modules, 3-4 Installation instructions, 2-1
L
LEDs, 3-2
NCM, 2-7 NIU, 2-4
D
Data rate, setting, 2-3 Description, 3-1 DeviceNet messages, 1-2 DIN rail, 2-2 Documentation, 1-1
M
Manuals, 1-1 Module installation, 2-5 Modules per station, 3-2
E
EDS file
NCM, D-1 NIU, C-1
N
NCM, 4-1
communication modes, 4-7 communications status data, 4-9 configuration, 4-5 description, 4-1 DeviceNet Statement of Compliance, B-1
Index-1
Error codes
loss of device, 4-11
Index
ESD File, D-1 fault handling, 4-11 input data format, 4-9 operation, 4-9 o XE "NCM:fault handling" XE "Error codes:loss of device" utput data, 4-11 specifications, 4-2 UCMM-capable slave, 4-7
T
Terminating the bus, 2-10
U
Upgrading firmware, 2-3
Network address, setting, 2-3 Network Control Module. See NCM Network Interface Unit. See NIU NIU
configuration, 3-3 control data, 3-11 description, 3-1 DeviceNet Statement of Compliance, A-1 ESD file, 3-5 ESD File, C-1 inputs and outputs, 3-1 operation, 3-6 specifications, 3-2 status data, 3-8
O
ODVA, 1-2 Open DeviceNet Vendors Association, 1-2 Output data, 3-7 Output defaults, 3-7
P
Polled I/O mode, 4-7 Power supply, 1-3 Power supply installation, 2-2, 2-6 Profibus Trade Organization, 3-5
S
Slave I/O mode, 4-7 Static protection, 2-1 Status data, 3-9
Index-2 VersaMax System DeviceNet Communications Modules User's ManualJune 1999 GFK-1533