beautypg.com

Message structure for execute_local_pccc, N-files (single-drive) – Rockwell Automation 25-COMM-D PowerFlex 525 DeviceNet Adapter User Manual

Page 112

background image

112

Rockwell Automation Publication 520COM-UM001A-EN-E - April 2013

Appendix C

DeviceNet Objects

Message Structure for Execute_Local_PCCC

The DeviceNet adapter supports the following PCCC command types:

For more information regarding PCCC commands, see DFI Protocol and
Command Set Manual (publication

1770-6.5.16

).

N-Files (Single-Drive)

Request

Response

Name

Data Type

Description

Name

Data Type

Description

CMD

USINT

Command byte

CMD

USINT

Command byte

STS

USINT

0

STS

USINT

Status byte

TNSW

UINT

Transport word

TNSW

UINT

Transport word. Same value as the request.

FNC

USINT

Function code. Not used for all CMDs.

EXT_STS

USINT

Extended Status. Not used for all CMDs.

PCCC_params

Array of USINT

CMD/FNC specific parameters

PCCC_results

Array of USINT

CMD/FNC specific result data

CMD

FNC

Description

0x06

0x03

Identify host and some status

0x0F

0x95

Encapsulate the other protocol

0x0F

0x00

Word range read

0x0F

0x01

Word range write

N-File

Description

N41

This N-file lets you read and write control I/O messages. You can write control I/O messages only when
all of the following conditions are true:
The adapter is not receiving I/O from a scanner. For example, there is no scanner on the network,

the scanner is in idle (program) mode, the scanner is faulted, or the adapter is not mapped to the
scanner.

The value of N42:3 is set to a non-zero value.

Write

Read

N41:0
N41:1
N42:2

Logic Command Word
Unused
Reference

Logic Status Word
Unused
Feedback

N42

This N-file lets you read and write some values configuring the port

N42:3

Time-out (read/write): Time (in seconds) allowed between messages to the N41 or N44 file. If the
adapter does not receive a message in the specified time, it performs the fault action configured in
parameter C143 [EN Comm Flt Actn].

N42:7

Adapter Port Number (read only): DSI port on the drive to which the adapter is connected.

42:8

Peer Adapters (read only): Bit field of devices having DPI Peer capabilities.

This manual is related to the following products: