Introduction
Starting your first Remote IO application with SmartSlice over DeviceNet may seem difficult with a lot of manuals to read, but this quick start guide will help you with the basics to get your network and DeviceNet master configured quickly and easily. |
Before you start
Before you can configure your DeviceNet Master you should do the following:
- Download the manuals for your PLC, DeviceNet Master and any SIO units to browse for configuration details
- Plug together your PLC, Power Supply, CJ1W-DRM21 DeviceNet Master, any other SIO units and end plate
- Configure the DeviceNet Master "Unit Number" e.g. to 1 (see manual W380-E1-07 CS-CJ OperManual page 53 for explanation and details), and any other SIO Unit Numbers to a unique value
- Configure the DeviceNet Master 2 digit "Node Number", e.g. to 0x101 and 1x100 for node 01. This is the Master's DeviceNet Node number on this network and must be unique (see manual W380-E1-07 CS-CJ OperManual page 53 for explanation and details)
- Wire up the power only and check communication to the PLC. Open the IO Table and "Create" the new IO table for the SIO units. Verify the setup by uploading the IO table and viewing
Steps to configuring your DeviceNet Master
When you're ready to configure your DeviceNet Master follow these steps:
- Wire up all nodes on your DeviceNet network, following all guidelines and correctly terminating
- Ensure all device Node Numbers are set correctly and power up all devices
- Start CX-Integrator
- If you are connecting by serial cable or USB, choose "Auto Online" from the Network menu to find and connect to your PLC
- If you are connecting by Ethernet or other methods, choose "Communication Settings" from the Network menu to enter the same connection details used by CX-Programmer and then "Network->Work Online"
- The "Online Information" window will now look similar to this:
- Double click the "DeviceNet [CJ1W-DRM21]" Master unit to transfer the network details. Be patient while the data is uploaded as on a larger network this can take minutes, then the Workspace and network view show the the network diagram, for example:
- Verify the node numbers (#00, #01 etc) are as expected, and all nodes are shown
- To view and configure GRT1-DRT SmartSlice settings, double click the icon to show the "Device Parameters" dialog. On the IO Module tab ensure the Slots match the assembled "Slices", and edit if required
- Now to configure the cyclic data between the slave devices and the DeviceNet Master, double click the "CJ1W-DRM21" icon on the network view. This shows the Master's "Device Parameters" dialog
- For any devices in the top "Unregistered Device List" window click the "Register" ( ) button as shown to move them to the "Registered Device List" window
- Important: To save your changes you must download to the master unit. Right click the CJ1W-DRM21 icon and select "Parameter->Download". Note that the PLC must be in "Program" mode first.
Programming remote IO using symbols
Once the cyclic data for each slave is configured, programming using remote IO is not different to programming with normal IO. Note on the Master's dialog above the PLC addresses used for each device's inputs and outputs e.g. 3200 for 4 bytes, 3300 for 4 bytes etc. You can create Symbols for these physical addresses in CX-Programmer, to use the remote IO easily as part of your program
Using PROFINET or ProfiBus
The process for configuring PROFINET controllers or ProfiBus Masters is similar, but using CX-ConfiguratorFDT instead of CX-Integrator.