Lila, General description, 2 user guide – GE Industrial Solutions OKCV3000CN DeviceNet User Manual

Page 39

Advertising
background image

DeviceNet

6. HOW TO CONNECT DGFC AS SLAVE OF A PLC

(PREDEFINED MASTER/SLAVE CONNECTION SET)

AND EXECUTE A BRICKS PROGRAM

6.1. GENERAL DESCRIPTION

This kind of connection is made with many slaves and one and only one master, usually a PLC (or PC) card.
With this connection Bricks program execution is allowed. The DGFC acts as a slave communication card and
as a programmable card.

6.2 USER GUIDE

In order to use this feature of the DGFC, do the following:

1) on the DGFC

:

-

disconnect the card from the DeviceNet network

-

set parameter 350 of the DGFC to the appropriate value

-

set the appropriate MACID in “DnetMacld” parameter (MACID must be unique in the network)

-

set the appropriate baudrate in “DnetBaud” parameter (baud rate must be the same in the network)

-

set “DNSvrCnxn” to the appropriate value

-

set “DNMsg” to 0 (this is the default value)

-

set “Dnetl/Oepr” to 0 (this is the default value)

-

set “SlaveMapLow” and “SlaveMapHigh” to 0 (this is the default

value)

-

set “DN#RxPLC” at the number of bytes to be received from PLC

-

set “DN#TxPLC” at the number of bytes to be transmitted to PLC

-

when planning your Bricks program keep in mind that:

-

received values will be placed in FWA from word 64 to 73;

-

transmitted values must be placed in FWA from word 74 to 83;

-

received and transmitted values will be read by REIX Brick and will be written by V/FIX Brick;

-

DGFC never initiates transmitting (is a slave-only node);

-

it’s responsibility of Bricks program to act over the FWA;

-

set “DnetEnable” parameter to 1

2)on master node: (Remember that for parameters configuration you must use PLC software)

-

configure the DGFC as a Polled device

-

configure the proper number of bytes transmitted/received by the PLC

LIlA

HOW TO CONNECT DGFC

Advertising