1 ge fanuc automation 90-70 devicenet configuration training course presented by ge fanuc
TRANSCRIPT
1
GE Fanuc AutomationGE Fanuc Automation
90-70 DeviceNet configurationTraining Course
Presented by GE Fanuc
2
Device Master --- 5136-DN-VME
PS
SCANNER
Jumper P4: select whether the module bootsfrom RAM or EPROM
DIP switches SW1: set the VME bus address for the module
Fail & PASS LEDs: LEDs for module initialization
1
2
3
Resistors (121Ώ) shall be on both ends of bus
1
2
3
4
5 COMM & HEALTH LEDs: LEDs for network communication
4
Bus connector: DeviceNet bus connector5
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 Switches1
2
1 Jumper P4 must be set to EPROM
2 If there is only one 5136-DN-VME card inthe PLC, set SW1 as follows:
SW 1 2 3 4 5 6 7 8 9 10
On/Off
On Off On Off Off Off On On On On
If there is a second 5136-DN-VME card inthe PLC, set SW1 as follows:
SW 1 2 3 4 5 6 7 8 9 10
On/Off
On Off Off On On On On On On On
1st
2nd
5
Add 5136-DN-VME in ME
1 Add Module: VME – 3rd Party VME
2 Set the configuration modeto None
1
2
6
Import DeviceNet Ladder Logic
1 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
2 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
7
Create Logic in DNET block
%P1
Data_InitINT
LEN100
#FST_SCN
Q
D_Ini_1
D_IO_1
%SC57 (Initialized)
User needs to enter Mac ID, I/O length for master and all slave devices in this Data_Init block
User must not change the logic of these two subroutine blocks
User needs to create the following logic in DNET block:
8
Configure Network Parameters
Data_InitINT
LEN100
#FST_SCN
%P1Q
100 wordsWord 1: Master MAC IDWord 2: Baud rateWord 3: No. of slave devicesWord 4: Mac ID for slave #1Word 5: Output length for slave #1Word 6: Input length for slave #1Word 7: Mac ID for slave #2Word 8: Output length for slave #2Word 9: Input length for slave #2Word 10: Mac ID for slave #3Word 11…
-- Mac ID of Master-- Baud rate (2 --- 500k)
-- No. of slave devices
-- Mac ID of slave #1
-- Output length (byte) for slave #1-- Input length (byte) for slave #1
Double click
The master and slave parameters are set in Data_Init block:
9
Map slave I/O data to 9070 memories
VME_WriteByte
LEN64
AM
ADR
VME_ReadByte
LEN94
AM
ADR Q
IN
%SC78 (Scnner_started)
%Q8001
16#39
%AQ1
16#39
%AQ3 %I8001
User needs to assign 90-70 memory for output data of slave #1
User needs to assign 90-70 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
Output data length of slave #1
Input data length of slave #1
In DNET block, user needs to create the following rungs for eachSlave device for I/O mapping:
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