GCCS2 CommonTask Module12 Rev6.0
GCCS2 CommonTask Module12 Rev6.0
GCCS-2
Global Common Control Software Design
LMS # 33544
Document Version 6.0
Sponsoring Group:
Document Revisions:
Date Revision By Revision History
Updated graphics. Synchronized DeviceNet
8-26-13 5.0 J. Hocking
to consistent examples.
Synchronized to G16 with Powertrain and
7-9-15 6.0 J. Hocking
EtherNet I/O
This training is based on the Global Common Software Design Standards, GCCS-1.
Please refer to the GCCS-1 manual found on the “GM intranet” or
www.gmsupplypower.com. The GCCS-1 manual is comprehensive and will have the
latest information. This training manual is used as an instructional guide.
Copyright Information
Copyright General Motors Company, 2015, Detroit, Michigan. All rights reserved under
U.S., International, and Universal Copyright Conventions. Published in the United
States of America. These materials may be used only with related printed materials.
In no event will the General Motors Company be responsible or liable for
incidental or consequential damages resulting from the use or application of the
materials in this manual.
The examples, diagrams, and charts in this manual are included solely for illustrative
purposes. Because of the many variables and requirements associated with any
particular safety situation, the General Motors Company expressly disclaims all
express and implied warranties relating to the materials in this manual, including
all examples, diagrams, and charts.
Reproduction of the contents of this manual, in whole or in part, without written
permission of the General Motors Company, is prohibited.
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-1
12.2. DeviceNet Limitations in GCCS-1
• The defined baud rate for DeviceNet in GCCS-1 is 250k in all PLC applications.
Refer to the proper GM Robot Specifications for the speed of the network
between the robot and the end of arm tooling.
• In GCCS-1, the DeviceNet scanner in the MCP is always assigned Node 0 or
Node 1.
• DeviceNet allows for 64 total nodes on a network. However, GCCS-1 allows
fewer nodes on the network, as shown in Figure 1. These node limitations are
due to design considerations such as maximum network length, network
troubleshooting, cumulative drop length, and available bandwidth.
12-2 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
12.3. EDS Files for DeviceNet Devices
Each type of DeviceNet device requires an EDS file registered in RSNetworx to work
properly. EDS files are simple text files used by network configuration tools such as
RSNetworx to help identify products and easily commission them on a network. EDS
files describe a product's device type, product revision, and configurable parameters on
a DeviceNet network. Allen Bradley devices are already registered with RSNetworx by
default. EDS files for the devices typically used by GM MAAC are included with each
GCCS-1 release in the Software directory.
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-3
Item Description Definition
1 EDS Wizard Select the EDS Wizard from the Tools menu.
2 Welcome Screen Read Wizard tasks and click Next.
3 Register an EDS Select to register a single EDS file or a directory of
file(s) EDS files.
4 Next Proceed with the option selected.
Figure 3: Register an EDS File – Descriptions & Definitions
12-4 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
Figure 6: EDS File Installation Test Results
From the EDS File Installation Test Results screen, click Next to continue.
To change the icon, if required, click the desired file in the installation results list.
Then click Next to change to a different icon.
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-5
Figure 8: Change Graphic Image
12-6 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
Figure 10: Select a New Graphic Image (Icon)
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-7
Figure 12: EDS Wizard is Complete
Note: EDS files need only be registered once per computer. RSNetworx will
automatically recognize the devices the next time it is used.
The graphic image (icon) representing the device can be changed from the EDS
Wizard as a separate task or while registering the EDS file for a single device.
12-8 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
12.4. Creating an RSNetworx .DNT Configuration File
1. Begin by opening RSNetworx for DeviceNet.
2. Click the Online button, when working from a new file or to use the current
Online path.
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-9
3
6. Click on the DeviceNet Network that is under the desired scanner module.
7. Click OK.
12-10 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
6
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-11
1
2
3
12-12 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
RSNetworx will scan all of the nodes on the network as shown in Figure 20 and
display them on the screen. If a node is not displayed on the screen, it may be
set with a duplicate address or it may be set with an incorrect baud rate. Devices
with node addresses that are software configured only must be connected to the
network one-at-a-time until the addresses have been set.
Important: Verify against the drawing that all nodes in the network are
represented in the completed online scan.
Once the network scan has been started a *.dnt network file can be saved. As
configuration of the network continues, the file can be saved again at any time.
Use the following procedure to save a *.dnt file:
1. Click File.
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-13
2. Click Save. See Figure 21.
BA_AB030B01DNet06
12-14 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
4. Click Save. See Figure 23.
3 4
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-15
12.5. Configuring a Device
Certain devices may need to be configured inside RSNetworx. The Siemens ET200S
Point IO module is a flexible I/O module that consists of a communication module and a
variable amount of input and output cards.
12-16 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
1 2 3
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-17
1
2
3
12-18 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
Important: Always ensure the module is in Auto Config Mode and the I/O Status Byte
is Enabled. Write down the Data Input Size (Item 1) and the Data Output Size (Item 2)
as shown in
Figure 28. The data sizes are used in the mapping of the device into the scanner since
the .EDS file is generic. Note that the I/O size will vary with the quantity of I/O
connected to the adapter module.
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-19
Figure 31: Accessing Scanner Properties - Descriptions & Definitions
Selecting the Scanlist, Input, or Output tabs will produce the Upload/Download decision
prompt as shown in Figure 34.
12-20 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
Important: When configuring a new network, like this example, the Scanlist is not
configured in RSNetworx so the proper selection is to always Upload from the DNB.
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-21
Figure 35: Move Devices from Available Devices to Scanlist
12-22 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
.
Most devices will be configured automatically when they are added to the Scanlist
because the .EDS file contains the correct info for RSLinx to determine parameters and
settings. Any modules that were configured in Module 12.5 will also have to be
configured at this point before mapping the I/O. After adding the devices to the Scanlist,
highlight the specific device and select the Edit I/O Parameters button as shown in
Figure 38.
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-23
Figure 38: Changing the I/O Parameters for a Configurable Device
12-24 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
As illustrated in Figure 39, the user can input the data that was written down for the
specific device in Module 12.5. The reason this information has to be input like this is
that the .EDS file for a device such as the Siemens ET200S is generic and does not
comprehend the number of input and output cards that have been added to it in the final
configuration.
After all of the configurable nodes have the correct I/O settings, map the scanner.
In Figure 40, all of the devices are now being scanned by the DNB but the mapping of
the actual I/O is not yet complete. Continue by selecting the Input tab. Each device
that contains input data is shown.
The top node window shows each device: Type of connection (polled or Change of
State (COS)), Size (in bytes), and Mapping of the current location in the DNB.
Node 10 is a Change of State Node; 3 bytes of Input data are required, and it is not
currently mapped to any real I/O in the DNB.
The easiest way to map the data for each node is to adjust the Start DWord to Node
number x 2 and click the AutoMap button. Note that this AutoMap button is different
from the AutoMap on Add checkbox on the Scanlist.
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-25
Figure 41: Using AutoMap to Map the I/O for Each DNB Node
In Figure 41 above, Node 10 has been properly mapped into the DNB starting at word
20 in the DNB. In RSLogix 5000, the I/O for Node 10 on a DNB in slot 6 can now be
found at Local:6:I.Data[20]. Continue this same technique for each node in the Inputs
and Outputs until all devices have been correctly mapped.
In Figure 41, it is important to understand that using the Node number x 2 method
allows only 8 bytes in the mapping for each device. If a device contains more than 8
12-26 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
bytes (e.g. RF tag reader/writer) of data, it will utilize the data table area reserved for the
next node. Therefore, that node cannot be used by another device.
Example:
Node 10 contains 24 Bytes of Input Data. When it is mapped starting with word 20, the
data will use up a total of 6-32 bit DNB words, ending at word 25. There cannot be a
Node 11 or 12 on this network since the data location is already being used by Node 10
(Node 11 would have used word 22 and node 12 would have started at word 24).
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-27
12.8. Uploading Parameters from a Device
Most nodes will not need individual configuration in RSNetworx. Examples of nodes
that do not need to be configured individually are Safe Nodes (these are configured
inside RSLogix), Prox Blocks, and Valve Stacks.
After double-clicking on a node that has configurable settings, there will be a prompt to
upload, download, or cancel as shown in Figure 44.
Uploading from a node brings the current configuration from the node into the
RSNetworx software. This is preferred at this point in the configuration since the data in
RSNetworx may not be up to date. After a network is completely set up, individual
nodes can be replaced and downloaded from the saved settings in RSNetworxs.
12-28 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
12.9. Uploading the Entire Network
Before saving the RSNetworx file, it is important to upload all settings from all of the
devices on the Network. This ensures the offline file contains all of the necessary data
to rebuild the network in the event of a device failure. While online, select Network,
then select Upload from Network.
After the network upload has been completed, save it to the computer as a .DNT file.
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-29
12.10. Replacing a Node on the DeviceNet Network
Most DeviceNet nodes can be replaced by simply setting the new node to the same
address and baud rate and plugging it in. In the case of intelligent DeviceNet nodes,
the configuration may have to be downloaded to the device from within RSNetworx for
DeviceNet. Safe nodes receive their configuration from the processor and generally will
not have to be downloaded.
12-30 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
12.12. Troubleshooting a DeviceNet Network
It is important to remember that DeviceNet is a communication network that contains
traffic on the CAN-H and CAN-L wires. Network traffic can be hard to diagnose without
the proper tools.
There are software based tools available that are good at providing the user with
information on the packets of data out on the network. The Net Meter shown below is
the size of a multi-meter, and can be plugged passively into a DeviceNet network to
diagnose issues and take measurements.
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-31
different measurements available at that particular switch position.
A description of the network errors that the NetMeter can help detect is given in the
following sections.
Figure 48: Example DeviceNet Network with Bus-Off Condition or Error Traffic
Begin isolating the trouble node or network section by moving the terminating
resistors to the scanner on the network. Then cycle the network by removing
and re-inserting the DNB in the chassis.
12-32 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
TR TR
TR
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-33
TR
In Figure 51 above, the terminator has been moved out to the first tee in the
problem half of the network. If the meter indicates a problem at this point, the
problem is caused by one of the devices on this tee. In the example network, the
problem is still further downstream, so the meter will still be showing no errors.
Now move the terminator downstream to the next tee.
TR
12-34 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
12.12.2. Bus Traffic
The NetMeter can monitor the message traffic on the network and identify the
amount of bandwidth that is being consumed. Networks in GCCS-1 should be
designed with a maximum bandwidth usage of 80% to allow for future changes or
upgrades to the network that may consume additional bandwidth. Note that
bandwidth usage can be a deceptive number.
DeviceNet will always poll the network as fast as it can for the baud rate. On a
network with all standard nodes, the bandwidth will eventually level out and the
polling time will slow significantly. Safe Nodes are a higher priority than standard
nodes and will preempt the communication of standard nodes. This can
potentially slow down communication to the standard nodes.
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-35
12.12.4. Shield Voltage
The NetMeter can measure live, minimum, and maximum voltages between V- and
shield. The DeviceNet specification requires that the shield and V- be connected to
a single location. In GCCS-1, this location is in the MCP.
The following are characteristics of a properly wired network:
a. There is no current flow in the shield, and it is at the same voltage as V-
throughout the system.
b. Current flow in V- causes a voltage rise in V-.
c. Since the maximum voltage drop in V- is 5V, the negative shift in shield
voltage is between -5V and 0V.
d. Systems connected in accordance to the DeviceNet specifications have a
normal shield voltage between -5V and 0V.
e. If the NetMeter indicates an overload (OL) condition, the shield is not
connected. Make sure the shield is connected at the MCP to V- only.
12-36 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
12.13. Common Mode Voltage
Transceivers in the devices subtract the CANH and CANL signals to determine the
value of the signal as either a 1 or a 0. Noise that is induced into the system is
induced into both wires and therefore is cancelled out. The transceivers require that
the CANH and CANL signals be within specifications so that a 0 or a 1 are not
confused with each other, otherwise errors will result.
DC Common Mode voltage caused by excessive voltage drop in the cabling can
cause a voltage offset on the network and result in errors. The Common Mode
voltage causes a shift in the DC values without a corresponding shift in the
differential voltage. This can cause the Recessive (0) voltage to be confused with
the Dominant (1) voltage.
The NetMeter can measure the maximum total Common Mode Voltage since it was
powered on in the network. The DeviceNet recommendation is not to exceed DC
Common Mode Voltage of 5.0V.
Check for devices that may be requiring more power than expected on the network.
At this time, also double check the cabling in the network for proper length.
12.14. CANH/L Differential Voltage (Recessive – Data 1)
The NetMeter measures differential CANH and CANL signals and displays the
difference. Data (0 and 1) are transmitted as the difference in voltage between
CANH and CANL. This value is a measure of the quality of the signal. Typically this
value is in the low millivolt range. If the recessive, a data 1, voltage differential is
insufficiently small, it can be misinterpreted as a dominant, or a data 0, and errors
will occur.
Check for shorts or opens in the CANH and CANL wires. Ensure there are only two
terminators on the network and they are positioned at each end of the network.
12.15. CANH/L Differential Voltage (Dominant – Data 0)
The measurement of the Dominant voltage levels is important for the same reasons
as shown above in Module 12.14. The typical dominant differential voltage should
be around 2.0 V. If the differential voltage is too small, it can be interpreted as a
recessive voltage and errors will occur.
The NetMeter measures only when a single node is communicating. A measured
dominant voltage of greater than 3.0V when a single node is communicating
indicates a network problem. Check for shorts and opens in the CANH and CANL
wires. Ensure there are only two terminators on the network and they are positioned
at each end of the network.
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-37
12.16. Exercise 1: Configure the DeviceNet Scanlist
1. Scan the network for nodes. Verify against the drawing that all nodes are
present.
2. Obtain I/O parameters for devices that do not automatically map (e.g.
Siemens adapter modules).
3. Configure the Scan list.
4. Upload the entire network and save the network.
5. Download to the DNB module.
END OF EXERCISE
12-38 © 2015 General Motors Company. All Rights Reserved Rev. 6.0
12.17. Review
Rev. 6.0 © 2015 General Motors Company. All Rights Reserved 12-39