Presentation is loading. Please wait.

Presentation is loading. Please wait.

90-70 DeviceNet configuration

Similar presentations


Presentation on theme: "90-70 DeviceNet configuration"— Presentation transcript:

1 90-70 DeviceNet configuration
GE Fanuc Automation GE Fanuc Automation 90-70 DeviceNet configuration Training Course Presented by GE Fanuc

2 Device Master --- 5136-DN-VME
Jumper P4: select whether the module boots from RAM or EPROM 1 P S S C 3 A DIP switches SW1: set the VME bus address for the module N 2 N E R 3 Fail & PASS LEDs: LEDs for module initialization 5 4 COMM & HEALTH LEDs: LEDs for network communication 4 5 Bus connector: DeviceNet bus connector 2 Resistors (121Ώ) shall be on both ends of bus

3 5136-DN-VME Specification
Support all standard DeviceNet data rates (125K, 250K, 500K) Up to 255 bytes input data and 255 bytes output data per slave Support UCMM, simultaneous execution of Group 2 client (Master) and Server (slave) operation Support explicit message and I/O connections: polling, strobe, Change of stata, Cyclic I/O

4 Setup Jumper & DIP Switches
1 1 Jumper P4 must be set to EPROM If there is only one 5136-DN-VME card in the PLC, set SW1 as follows: 2 SW 1 2 3 4 5 6 7 8 9 10 On/Off On Off 1st 2 If there is a second 5136-DN-VME card in the PLC, set SW1 as follows: SW 1 2 3 4 5 6 7 8 9 10 On/Off On Off 2nd

5 Add 5136-DN-VME in ME 1 2 2 1 Add Module: VME – 3rd Party VME
Set the configuration mode to None 2 1

6 Import DeviceNet Ladder Logic
The DeviceNet ladder logic is placed into exported drawer file (file name: DNET.ZDRW). Create a new drawer and import drawer from this file. 1 Create the following subroutine blocks: D_Ini_1 and D_IO_1 (for 1st 5136-DV-VME module), D_Ini_2 and D_IO_2 (for 2nd 5136-DN-VME module). Drag & drop the logic in the drawer to the above blocks 2 2 1

7 Create Logic in DNET block
User needs to create the following logic in DNET block: Data_Init INT LEN 100 #FST_SCN Q User needs to enter Mac ID, I/O length for master and all slave devices in this Data_Init block %P1 D_Ini_1 User must not change the logic of these two subroutine blocks D_IO_1 %SC57 (Initialized)

8 Configure Network Parameters
The master and slave parameters are set in Data_Init block: -- Mac ID of Master -- Baud rate ( k) -- No. of slave devices -- Mac ID of slave #1 -- Output length (byte) for slave #1 -- Input length (byte) for slave #1 100 words Word 1: Master MAC ID Word 2: Baud rate Word 3: No. of slave devices Word 4: Mac ID for slave #1 Word 5: Output length for slave #1 Word 6: Input length for slave #1 Word 7: Mac ID for slave #2 Word 8: Output length for slave #2 Word 9: Input length for slave #2 Word 10: Mac ID for slave #3 Word 11 Double click #FST_SCN Data_Init INT LEN 100 Q %P1

9 Map slave I/O data to 9070 memories
In DNET block, user needs to create the following rungs for each Slave device for I/O mapping: %SC78 (Scnner_started) VME_Write Byte LEN 64 AM ADR VME_Read Byte LEN 94 16#39 %Q8001 IN AM %AQ3 ADR Q %I8001 16#39 %AQ1 Input data length of slave #1 Output data length of slave #1 User needs to assign memory for output data of slave #1 User needs to assign memory for input data of slave #1 %AQ1-AQ2 (DINT) contains the output data address in memory pool for slave #1, %AQ3-AQ4 contains the address for slave #1 input data

10 LEDs and Status Words Fail & Pass LEDs: Red --- module not initialized
Off --- module initialized Health LED: Green – module is running without error Red – module is not running or runtime fatal error ocurred Comm LED: Green – master is communicating with slaves Off – scanner is not running Flash Green – master is setting up I/O connection with slave Red – loss of bus power Slave status bits: %GE1 ~ %GE32 – slave status bits (32 slaves for 1st master) %GE97 ~ %GE128 – slave status bits (32 slave for 2nd master) Can Status Word: %GE65~%GE80 – Can status word for 1st master module %GE161~%GE176 – Can status word for 2nd master module


Download ppt "90-70 DeviceNet configuration"

Similar presentations


Ads by Google