Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 13 Next »

This driver uses a standard Ethernet connection to communicate with EtherNet/IP devices.

Communication Settings: Xpanel

I/O Device Configuration

To create a new device, click Tools > I/O Device Editor… > click the + icon > click Ethernet for Connection Type > select Allen-Bradley EtherNet/IP for Device Type.

I/O Device Settings

 

Once the connection type, device name, and device type have been assigned, the I/O Device Editor window populates with the default settings for the selected communication protocol.

After selecting the correct Connection Type and Device Type, match the remaining settings to the target I/O device’s communication settings.

See the Ethernet Communication Configuration section for more information.

Communication Settings: PLC

ControlLogix/CompactLogix

  • Open RSLogix/Studio 5000.

  • Click [Controller Tags] → [New Tag…].

  • Setup Tag Name and Data Type in [New Tag…].

  • Write any tag names.

  • The next steps are for PCCC communication. If you would like to use tag-based addressing, please skip the next three steps and resume with setting an IP address.

    • Click [Logic] → [Map PLC/SLC Messages].

    • Make mapping File Number and Name in PLC2,3,5 / SLC Mapping.

    • File Number is set according to the address table.

  • Set up an IP address at RSLogix/Studio 5000 or RSLinx.

MicroLogix

  • Run RSLogix 500.

  • Select [Comms] → [Upload…] from the menu, and upload a project.

  • Double-click on [Channel Configuration] from the project window to open the ‘Channel Configuration’ window.

  • Go to the [Chan.1 - System] tab in the ‘Channel Configuration’ window.

  • Configure and save the IP Address, Subnet Mask, and Gateway Address.

  • Select [Comms] → [Download..], and download the setting to PLC.

Micro800

  • Open Connected Components Workbench.

  • Click [Global Variables] in the Project Tree → [New…].

  • Setup Tag Name and Data Type.

  • Set up an IP address at Connected Components Workbench. Double-click the CPU in the Project Tree, and enter the IP information within the Ethernet branch of the Controller.

Address and Supported Symbols

The memory areas listed below are provided for general purposes. The actual available memory area and range of each area should be checked with the manual for the connecting device.

The symbol character has to be placed in the first position of the address string. The address number follows the symbol character.

Address Format

ControlLogix/CompactLogix/Micro800

  • These CPUs are tag-based and can have their data registers addressed verbatim (i.e., there is a data register named DIG1 in the Micro850 PLC, then the IO address in Canvas will be DIG1).

Memory Area

Symbol

Analog

Digital

Address Notation

Access

Controll Tags (Global Tags)

-

<Native Tag Name>

Same as Analog

-

R/W

Local Tags

-

Program:<Program Name>.<Native Tag Name>

Same as Analog

-

R/W

Micro800 not supported.

Array Tags (Global and Local)

-

<Native Tag Name>[<element index>]

Same as Analog

-

R/W

Only 1-dimension array supported

ControlLogix/CompactLogix SLC Mapping

Address Structure: [Symbol][File No.]:[Element No.]/[Bit No.]

Name

Symbol

Digital

Analog

BOOL (BOOL)

B

B0:0/0 - B999:999/31

B3:0 - B3:255

INT (WORD)

N

N0:0/0 - N999:999/15

N7:0 - N7:255

REAL (FLOAT)

F

F0:0/0 - F999:999/31

F8:0 - F8:255

  • Based on the file type, element no. 256 is not supported. Error code from PLC will be received when unsupported settings are downloaded. Change the PLC settings in this case.

  • Only the device has Word Tag.

  • The BOOL and REAL devices can be used for digital or 32-bit analog tags.

MicroLogix

  • PCCC Mapping

Address Structure: [Symbol][File No.]:[Element No.]/[Bit No.]

Memory Area

Symbol

Analog

Digital

Address Notation

Access

Output

O

O:0.0 - O:0.30

O:0.0/0 - O:0.30/15

Decimal

R/W

Input

I

I:1.0 - I:1.30

I:1.0/0 - I:1.30/15

Decimal

R

Binary

B

B3:0 - B3:255

B3:0/0 - B3:255/15

Decimal

R/W

Integer

N

N7:0 - N7:255

N7:0/0 - N7:255/15

Decimal

R/W

Float

F

F8:0 - F8:255

-

Decimal

R/W

Status

S

S:0 - S:163

S:0/0 - S:163/15

Decimal

R

Supported Symbols

MicroLogix

Name

Symbol

Bit Range

Word Range

Output

O

O:0.0/0 – O:30.255/15

O:0.0 – O:30.255

Input

I

I:0.0/0 – I:30.255/15

I:0.0 – I:30.255

Status

S

S:0/0 – S:163/15

S:0 – S:163

Binary

B

B3:0/0 – B3:255/15

B9:0/0 – B255:255/15

B3:0/0 – B3:255/15

B9:0/0 – B255:255/15

Integer

N

N7:0/0 – N7:255/15

N9:0/0 – N255:255/15

N7:0 – N7:255

N9:0 – N255:255

Float

F

 -

F8:0 – F255:255

Registration is allowed in Float only.

Long

L

 -

L9:0 – L255:255

Registration is allowed in UINT32, INT32 only.

String

ST

 -

ST9:0 – ST255:255

Timer

T

T4:0.0/0 – T4:255.2/15

T9:0.0/0 – T255:255.2/15

 Txx:nn.0/15 = Enable(EN)

Txx:nn.0/14 = Timer Timing(TT)

Txx:nn.0/13 = Done(DN)

T4:0.0 – T4:255.2

T9:0.0 – T255:255.2

Txx:nn.1 = Preset Value(PRE)

Txx:nn.2 = Accumulated Value(ACC)

Counter

C

C5:0.0/0 – C5:255.2/15

C9:0.0/0 – C255:255.2/15

 Cxx:nn.0/15 = Count up enable(CU)

Cxx:nn.0/14 = Count down enable(CD)

Cxx:nn.0/13 = Done(DN)

Cxx:nn.0/12 = Overflow(OV)

Cxx:nn.0/11 = Underflowt(UN)

Cxx:nn.0/10 = Update Accumulator(UA)

C5:0.0 – C5:255.2

C9:0.0 – C255:255.2

Cxx:nn.1 = Preset (PRE)

Cxx:nn.2 = Accumulated Value(ACC)

Control

R

R6:0.0/0 – C6:255.2/15

R9:0.0/0 – R255:255.2/15

 Rxx:nn.0/15 = Enable(EN)

Rxx:nn.0/14 =Update Enable(EU)

Rxx:nn.0/13 = Done(DN)

Rxx:nn.0/12 = Stack Empty(EM)

Rxx:nn.0/11 = Error(ER)

Rxx:nn.0/10 = Upload(UL)

Rxx:nn.0/9 = Inhibit(IN)

Rxx:nn.0/8 = Found(FD)

R6:0.0 – R6:255.2

R9:0.0 – R255:255.2

 Rxx:nn.1 = Length value

Rxx:nn.2 = position value

Communication Cable Wiring

This interface is satisfied with standard IEEE802.3 about the 10BaseT/100BaseTX. You can configure the cable and allocation pin number of RJ45 as shown below.

RJ45 Connector

RJ45 Jack

Direct Cable: Host ↔︎ HUB

Cable

No.

Color

Color

No.

Cable

1

Orange/White

Orange/White

1

2

Orange

Orange

2

3

Green/White

Green/White

3

4

Blue

Blue

4

5

Blue/White

Blue/White

5

6

Green

Green

6

7

Brown/White

Brown/White

7

8

Brown

Brown

8

Crossover Cable: Host ↔︎ Host

Cable

No.

Color

Color

No.

Cable

1

Orange/White

Green/White

1

2

Orange

Green

2

3

Green/White

Orange/White

3

4

Blue

Blue

4

5

Blue/White

Blue/White

5

6

Green

Orange

6

7

Brown/White

Brown/White

7

8

Brown

Brown

8

  • No labels