background image

GENERAL OPERATION

12

PLC to MicroTrac

12/22/94- RD 3196-10

PLC to

MicroTrac

(LOGI)

Logic inputs to a PAC schematic from a PLC can be visualized as shown in
Figure 5.  Logic input (LOGI) PAC blocks receive a logic value sent to the
drive from the remote device specified by the node, channel, and sub channel
defined for that block.  The node number for a single PLC gateway is typically
200.  These logics utilize groups 1-7 for a maximum of 112 (7 x 16) PLC to
MicroTrac logic bits.

The channel number is in octal notation.  The first digit is a 0, and can be
associated with the A-B PLC output "O" notation.  The 2nd and 3rd digits
represent the rack number and the group number.  Thus:

LAN CHANNEL 015 = OUTPUT RACK 1, GROUP 5 or O:15

The sub channel number will also be in octal, and will directly correspond to
the bit number of the simulated input.  Thus, the 16 possible bits are:

LAN SUB CHANNEL 00 = BIT 00

:           :

:

LAN SUB CHANNEL 07 = BIT 07
LAN SUB CHANNEL 10 = BIT 10

:           :

:

LAN SUB CHANNEL 17 = BIT 17

Any drive can request logic inputs from any rack and group of the PLC that
has outputs defined for that location. The Drive Kernel software will select the
appropriate bit and send it to the appropriate LOGI block.

NOTE:     LAN traffic throughput may significantly improved if all logic 
values for a particular drive are grouped together and not needlessly 
divided between multiple PLC groups.

Figure 5.  PAC Logic Input from PLC

TYPICAL LOGI

101-D

LOGI

Node  Chan. Sub

200 015 2

LAN Cable

Logic Bit

PLC Gateway

Remote

I/O Cable

PLC Ladder

Logic

O:015/02

Summary of Contents for MicroTrac Gateway

Page 1: ...ior consent Products which the Company consents to have returned shall be shipped prepaid f o b the Company s factory The Company cannot assume responsibility or accept invoices for unauthorized repai...

Page 2: ...Trasfer 17 PAC Considerations 20 TROUBESHOOTING JARC BOARD 22 TROUBLESHOOTING SmartMUX BOARD 23 TROUBLESHOOTING A B PLC 5 or PLC 3 23 PCDU TERMINAL OPERATION 24 Block 0 Gateway Set Up 25 Information...

Page 3: ...0 List of Tables Table Number Title Page 1 JARC Jumper Selection 3 2 JARC Board SW1 DIP Switch Positions 1 8 4 3 JARC Board SW1 DIP Switch Positions 9 11 4 4 JARC Board SW1 DIP Switch Position 12 5 5...

Page 4: ...d and a power supply The NEMA 1 enclosure contains the electronics with internal connections for AC power digital I O points and external connections for the MicroTrac LAN The initial setup is factory...

Page 5: ...switches on the SmartMUX board labeled SW1 and SW2 set the rack address and the baud rate for the communications Refer to Figure 2 Figure 2 SmartMUX Board J1 EPROM I O Rack Connector J2 PWR LED Red fo...

Page 6: ...1 fuse This fuse protects the 5V power to the PCDU Positions 1 through 8 of DIP switch SW1 determine the LAN node address Usually this address is set for 200 when the system has only one PLC gateway T...

Page 7: ...ble 2 JARC Board SW1 DIP Switch Positions 1 8 MICROTRAC SW1 DIP Switch Position LAN LSB MSB ADDRESS 1 2 3 4 5 6 7 8 200 X X X O X X O O 201 O X X O X X O O 202 X O X O X X O O 203 O O X O X X O O 204...

Page 8: ...ard LED Operation LED COLOR DESCRIPTION PWR RED ON when the JARC board has proper 5V power from the power supply The power LED should always be ON RECON YELLOW ON when a LAN reconfiguration occurs Eac...

Page 9: ...SW2 to select the rack address and baud rate The rack address must be consecutive between zero and seven inclusive and must match the rack address set on the JARC board The first DIP switch SW1 contr...

Page 10: ...Switch ON O Open switch Switch OFF Table 9 SmartMUX Board Watchdog Switch DIP Switch SW1 WATCHDOG Position 5 DISABLE WATCHDOG X ENABLE WATCHDOG O DEFAULT X Closed switch Switch ON O Open switch Switc...

Page 11: ...ddresses of the 8 I O points range from I XX0 10 to I XX0 17 for inputs and O XX0 10 to O XX0 17 for outputs where XX is the Gateway rack number octal These I O must be all inputs or all outputs Table...

Page 12: ...rt of the specification the SmartMUX board must meet A user must place a terminating resistor on both physical ends of a remote I O link to ensure proper operation NOTE Refer to Allen Bradley s 1785 P...

Page 13: ...ted as a remote I O rack by the PLC From a PLC 5 the selected rack number can be between 1 and 7 inclusive From a PLC 3 the rack number can be between 0 and 7 Note that the PLC gateway is configured a...

Page 14: ...I notation Thus LAN CHANNEL 124 INPUT RACK 2 GROUP 4 or I 24 LAN CHANNEL 127 INPUT RACK 2 GROUP 7 or I 27 The sub channel number will also be in octal and will directly correspond to the bit number of...

Page 15: ...number Thus LAN CHANNEL 015 OUTPUT RACK 1 GROUP 5 or O 15 The sub channel number will also be in octal and will directly correspond to the bit number of the simulated input Thus the 16 possible bits a...

Page 16: ...eading digit must be a 1 The SmartMUX board only supports Numeric block transfers to slot 0 and group 0 Thus LAN CHANNEL 130 RACK 3 GROUP 0 The PAC block s sub channel number will be in decimal and wi...

Page 17: ...umeric outputs except that the leading digit is always 0 The SmartMUX board only supports Numeric block transfers to slot 0 and group 0 Thus LAN CHANNEL 030 RACK 3 GROUP 0 The PAC block s sub channel...

Page 18: ...nit RDU or a personal computer TracView display The subsequent programming techniques make sure that a change from one device is reflected at the other device and establish when one device takes prece...

Page 19: ...d the same way The PLC initialization table refers to this RDCI by its function number 115 Figure 9 Sample PAC Diagram 300 E TO OTHER CIRCUITS IN THIS DRIVE S PAC DIAGRAM F 115 MASTER LINE SPD RDCI FC...

Page 20: ...e PLC gateway detects a change in data from the PLC the appropriate drive is updated with the new data The data transition initiates this exchange This new value is returned to the PLC as confirmation...

Page 21: ...locks with the decimal point DP parameter As shown in Figure 10 the DP for the pertinent NUMI block must be specified as 2 In some cases a 16 bit signed integer 32 768 may not be sufficient for the re...

Page 22: ...ue PLCTODSD Data transferred from the PLC to the Drive LOAD_PLC MOV 0 Move Source PLC_DATA 0 Dest PLCTODSD 0 NEQ MOV 1 Not Equal A B Move A DSDTOPLC Source DSDTOPLC 0 0 B DSDTOPLC_OLD Dest PLCTODSD 0...

Page 23: ...ions fit into the overall handling of drive setup parameters in the PAC diagram Just as the PLC initialization table allows the PLC to access drive setup parameters function number values the RDU init...

Page 24: ...e number which is usually 200 but could be 200 210 2 A decimal location is independently assigned in each row The SCDU PCDU RDU and PLC can each have different decimal locations 3 The PAC channel in t...

Page 25: ...reconfiguration A reconfiguration occurs when ever a new node enters the network During power up start up or initialization of any node on the network this LED will turn ON for approximately 1 second...

Page 26: ...odd rack address or twice if the node is an even rack address COMM GREEN When the Allen Bradley PLC establishes communication with LED1 the SmartMUX board this LED will flash or be ON A flashing COMM...

Page 27: ...row and ENT enter The diagnostic information is a circular list This display can be changed by pressing the INC or DEC keys Pressing the INC key displays the next line of information and pressing the...

Page 28: ...l This block displays the digital logic data read by the PLC from the remote I O rack simulated by this gateway This is shown by the abbreviation Dig Rd followed by the rack and group number a dash an...

Page 29: ...viation Dig Wr followed by the rack and group number a dash and the sixteen bit digital value displayed in hexadecimal representation Dig Wr Y0 Where Y is the unused rack number Dig Wr Y1 is the data...

Page 30: ...is shown by the abbreviation Blk Wr followed by the rack number a dash the element number within the block a dash and the sixteen bit value displayed in hexadecimal representation A block transfer co...

Page 31: ...his gateway This is logic data to be written to the gateway from the drive indicated by the node number The channel number agrees with the channel specified by the LOGO element LOGO NN CCC Where NN is...

Page 32: ...e diagnostic displays shows the NUMO memory allocations in this gateway This is numeric data to be written to the gateway from the drive indicated by the node number The channel number agrees with the...

Page 33: ...istered trademarks of the Allen Bradley Company Inc SmartMUX is a trademark of Western Reserve Controls Inc Yaskawa Electric 16555 W Ryerson Road New Berlin Wisconsin 53151 800 541 0939 262 782 0200 F...

Reviews: