Industrial Automation
Industrial Automation | Europe

myKnowledge

Main > Product Type > Automation Systems > Machine Controllers
Minimize Text   Default    Enlarge Text
 

Print
E-mail

How To Setup NJ With CJ1W-PRM21


How to Setup NJ with CJ1W-PRM21

The NJ has EtherCAT standard. But it is also possible to use another Network for communication with devices.
This article (NJ501 base) explains how to setup the configuration for the NJ501 with a CJ1W-PRM21 Profibus communication unit connecting to a 3G3-AX-MX2-PRT Inverter.
Commands and Information are as example linked to a NS.
Principle of operation is to specify the SYSMAC variable for the MX2 and assign those to the HMI variable.
All the samples used in this article are attached.

Intro of Steps
  1. Create a Project
  2. CPU Configuration
  3. Create Device Variable
  4. Create HMI Variable for the MX2
  5. Programming, Internal Variables (Program in Structured Text for HMI)
  6. Use the Export Global Variable Tool to copy the Variables to the clipboard
  7. Assign the address from the List
  8. Create configuration for the CJ1W-PRM21 and the 3G3AX-MX2-PRT with CX-ConfiguratorFDT
  9. MX2 Profibus Settings for the MX2 in Conventional profile   
  10. Attachments.

Program Versions; Sysmac Studio Version 1.0, CX-Server Version 5.0, CX-Designer Version 3.3, CX-Drive Version 2.5

 

1. Create a Project

Create a New Project in Sysmac Studio.

 

2. CPU Configuration

Double Click on the CPU/Expansion Rack.
Drag and Drop the CJ1W-PRM21.

 

3. Create Device Variable

Double Click on the I/O Map.
Select CJ1W-PRM21 and Click with the Right mouse button.
Variables are generated.

 

4. Create HMI Variables for the MX2

Double Click on the Global Variables.
Click with the Right mouse button on the last field and Select ‘Create New Variable’.
Create New Variable; give the Variable a Name and Select Publish Only.

 

5. Programming, Internal Variables (Program in Structured Text for HMI)

Double Click on Section 0.
Click with the Right mouse button in the Section0, Internals and Select ‘Create New’.
Create New Internal Variables; fill in a Name, Data Type and Comment.

Use the AT Specification attribute to specify the internal I/O memory address of a variable in memory used for CJ-series Units.
Details in Manual W501, section 6-3-8.

Click with the Right mouse button at the program line in section0 and Select ‘Insert Inline ST’.
Assign the HMI Variable to the MX2 Variable.

 

6. Use the Export Global Variable Tool to copy the Variables to the clipboard.

Use the Tool to to export Global Variables from Sysmac Studio to CX-Designer.

Paste the Global Variable into the Symbol Table of CX-Designer and Select the Host.

 

7. Assign the address from the List

Easy select from the Symbol List the Addressing an build the HMI Program.

 

8. Create configuration for the CJ1W-PRM21 and the 3G3AX-MX2-PRT with CX-ConfiguratorFDT

Startup CX-ConfiguratorFDT, select the NJ501, fill in the ETN settings and Create the Profibus Configuration.

Address Area’s for the Output and Input Allocation need to be specified in Sysmac Studio in the AT Specification.

 

9. MX2 Profibus Settings for the MX2 in Conventional profile.

Start CX-Drive and change the communication settings for Profibus

A001 = 4 (Option Card)
A002 = 4 (Option Card)
C102 = 3 (Reset Mode: Reset Trip Only)
P180 = 1 (Profibus Node Address: 1)
P182 = 1 (Profibus Map Selection: Conventional)
 

 

10. Attachments

How to Setup NJ with CJ1W-PRM21(ST).smc Sysmac Studio file.
MX2-Profibus.sdd CX-drive parameter file for the MX2.
PRM.cpr CX-ConfiguratorFDT parameter file for the CJ1W-PRM21.
NJ_PRM21_MX2.IPP CX-Designer file with MX2 Structure imported.
I111E-EN-01+3G3AX-MX2-PRT+OperManual.pdf Manual for the MX2-PRT21.
 



Attachments

NJ_with_CJ1W-PRM21.zip - Size: 2999155


Comments (View All Comments / Add Comment)

Related Articles
No related articles found.
Created 2011-11-03
Modified 2014-07-01
Views 9062

 

You are not logged in.