background image

     SST-ASI-SLC User’s Guide

54

9.3

Slave Failure

9.3.1 Single Slave Failure

In the event of a single slave failure, Auto Address Programming may be 
available if you have enabled it in the G file. If you have enabled Auto 
Address Programming, the COMM LED on the affected channel flashes 
green and the SLC faults with error code 62h (refer to the table in section 
9.1)
.

If you are going to replace the slave using Auto Address Programming, you 
must replace the defective slave with a slave at address 0 and with an I/O type 
and ID code that match the defective slave’s. Once this has been done, the 
SLC can be toggled from program to run and the network should return to 
normal operation.

If the M files have been scanned recently (i.e. immediately before the fault 
occurred), the slave delta list (SDL) will reflect which slave has failed.

9.3.2 Multiple Slave Failure

In the event of multiple slave failure, if the M files have been scanned 
recently (i.e. immediately before the fault occurred), the SDL in the M files 
will indicate which slaves have failed.

9.4

An Important Note on AS-i Faults

This information applies to hardware version 1.0 only.

With some versions of the SLC, if your program clears the main error flag 
(S2:1/13), it is possible that subsequent faults on other scanners or SLC 
processors might not be reported to the scanner and the scanner will continue 
scanning even if the SLC is faulted. Refer to section 4.8 for complete details.

Summary of Contents for SST-ASI-SLC

Page 1: ...Scanner Quick Start i 50 Northland Road Waterloo Ontario CANADA N2V 1N3 Tel 519 725 5136 Fax 519 725 1515 www sstech on ca SST ASI SLC User s Guide Version 1 30...

Page 2: ...ead Canada Limited SST ASI SLC is a trademark of Woodhead Canada Limited SST is a trademark of Woodhead Industries Inc All other trade names are trademarks or registered trademarks of their respective...

Page 3: ...ion 3 1 4 Conventions used in this manual 4 1 5 Warranty 5 1 6 Technical Support 6 Overview 7 2 1 System Overview 8 2 2 Hardware Features 9 2 2 1 LEDs 10 2 2 2 4 pin Phoenix Connectors 10 2 2 3 Config...

Page 4: ...6 2 Protected Mode 21 4 7 Powerup Sequence 22 4 8 AS i Faults 22 4 9 Clearing Faults 23 Installing and Wiring the Scanner Module 25 5 1 Installing the Scanner Module 26 5 1 1 Removing the Scanner Modu...

Page 5: ...51 9 1 AS i Power Failure 53 9 2 Slave Failure 54 9 2 1 Single Slave Failure 54 9 2 2 Multiple Slave Failure 54 9 3 An Important Note on AS i Faults 54 9 4 Other Troubleshooting Tips 55 9 4 1 Nothing...

Page 6: ...SST ASI SLC User s Guide vi Conformance Statement 63 CE Notice 67 C D...

Page 7: ...arize yourself with the rest of the manual This preface covers who should use this manual the purpose of this manual related documentation conventions used in this manual warranty information obtainin...

Page 8: ...LC products and should understand PLCs Familiarity with AS Interface AS i modules and the AS i network is an asset Review The Getting Started Guide for APS Allen Bradley publication 1747 6 3 before us...

Page 9: ...al for APS Allen Bradley Advanced Programming Software APS Reference Manual A B 1747 6 11 An introduction to APS for first time users Getting Started Guide for APS A B 1747 6 3 A training and quick re...

Page 10: ...e used throughout this manual bulleted lists such as this one provide information not procedural steps numbered lists provide sequential steps italic type is used for command names courier font is use...

Page 11: ...ithin the Warranty definitions and time period The Warranty does not cover costs of installation removal or damage to user s property or any contingent expenses or consequential damages Maximum liabil...

Page 12: ...from the company Web site at www sstech on ca Documentation and software updates are available on our Web site North America Telephone 519 725 5136 Fax 519 725 1515 Email techsupport sstech on ca Eur...

Page 13: ...7 This chapter contains a system overview information on hardware features 2 Overview...

Page 14: ...igure the AS i network with the SLC G file or with the scanner s Config RS 232 port The scanner can occupy any slot in the local SLC chassis except slot 0 which is reserved for the SLC processor You c...

Page 15: ...ner The side label of the scanner provides module information Feature Description COMM 1 and COMM 2 LEDs Display the communication status for each channel FAULT LED Displays the fault status 4 pin Pho...

Page 16: ...o update the scanner firmware COMM LEDs The COMM LED for each channel displays the status of that channel If there are no network errors and the SLC is in run mode the COMM LEDs are green 2 2 2 4 pin...

Page 17: ...to install the scanner module discusses system power up procedures Detailed explanations about the procedures listed are not included in this quick start guide References are provided to additional in...

Page 18: ...llen Bradley Publication 1747 6 2 or the SLC 500 Family System Overview Publication 1747 2 30 3 Make sure system power is off Insert the scanner module into your 1746 chassis Connect AS i power to the...

Page 19: ...minal emulation software Set the baud rate to 38400 and the parameters to No parity 8 data bits and one Stop bit Press the key to get the scanner s attention Choose the network to configure 11 Hook up...

Page 20: ...SST ASI SLC User s Guide 14...

Page 21: ...Operation This chapter describes the AS i network AS i scanner module operation configuring the scanner configuring slaves and slave parameters network slave status lists LPS LAS LDS and SDL AS i mod...

Page 22: ...e scanner The EEPROM for each channel contains the network configuration You can store a network configuration in the EEPROM in one of two ways Connect to the serial port select a channel and save Set...

Page 23: ...e Configuration Option bits in the G file affect the way the scanner operates with respect to parameters and to I and O file usage You must do at least some configuration via the G file At bare minimu...

Page 24: ...made are not stored in EEPROM Only slaves in the EEPROM are activated when the AS Interface enters Protected mode 4 3 4 Saving to EEPROM Information is only saved to the EEPROM in two instances when...

Page 25: ...s specifications Parameters are not permanently stored in the slave You can set slave parameters in 3 ways via the serial port via the G file and via the Output file The scanner initially uses the sla...

Page 26: ...all slaves regardless of their presence in the LPS are activated and listed in the LDS The List of Activated Slaves LAS contains the slaves listed in both the LPS and the LDS Slaves on the network ar...

Page 27: ...ve to EEPROM You cannot perform data exchange use Auto Address Programming All slaves are active regardless of the LPS In other words the LDS and the LAS are the same Refer to section 4 5 for more inf...

Page 28: ...e a recoverable major fault If an error handler routine is installed S 29 it can determine the type of fault S 6 and act appropriately If the error routine clears the major error flag S2 1 13 the SLC...

Page 29: ...execute but the SLC will be unable to clear the major error flag and the scanner will stop 4 9 Clearing Faults When you cycle the SLC from program to run the fault is cleared if the cause of the faul...

Page 30: ...SST ASI SLC User s Guide 24 IOM Ladder Logic Instruction...

Page 31: ...s chapter contains the information necessary to insert the scanner module in the SLC chassis connect the scanner module to the network power up the scanner module 5 Installing and Wiring the Scanner M...

Page 32: ...y chassis and module components listed in the installation procedures Attention Disconnect system power before attempting to install remove or wire the scanner Adding or removing the module with the p...

Page 33: ...dule For more information refer to section 5 2 2 8 Power up the system NOTE If there is a lot of electrical noise in your installation you need to install an isolating transfomer Refer to Allen Bradle...

Page 34: ...pperl Fuchs Type VAN 115 230AC K8 and Siemens types 3RX9303 0AA00 and 3RX9301 0AA00 5 2 2 Serial Port Wiring Before you can scan I O you must configure your slaves using either an Addressing Unit or t...

Page 35: ...29 This chapter contains information necessary to configure the scanner in APS Ladder Logistics or RSLogix 500 assign I O addresses to the slaves run the scanner 6 Configuring the Master and Slaves...

Page 36: ...Slot Select Other and enter the scanner ID 13635 7 Select SPIO Config 8 Select Advanced Setup 9 Set the M0 and M1 file sizes to 40 words Refer to section 7 3 for additional information on the M files...

Page 37: ...is located then press F5 Select to configure the scanner 5 Select Other and enter the scanner ID code 13635 6 Select spioCfg 7 Press F1 M0 length and set the M0 file size to 40 8 Press F2 M1 length an...

Page 38: ...nd M1 lengths to 40 words Refer to section 7 3 for additional information on the M files 10 Set G file size to 64 words 11 Select Edit G file Data and edit the G file to match your network configurati...

Page 39: ...scanner via the serial port 1 Connect the AS i scanner to the PC using the provided serial cable 2 Start HyperTerminal and create a new connection 3 For Connect using select Direct to Com n where n is...

Page 40: ...d SST ASI SLC Module Firmware version 1 21 Which Channel do you want to configure 1 or 2 _ The FAULT and COMM 1 LEDs will now be alternately blinking red to indicate config mode is active 3 Enter 1 or...

Page 41: ...for slave 00 3 6 Verify the operation with the List command Config list Slave ID IO P PID PIO 03 0 8 F 7 If everything is OK add a new slave at address 0 Verify with the List command Config list Slave...

Page 42: ...d PIO values are now saved in EEPROM so they appear in the display If a slave has PID and PIO values displayed without corresponding ID and I O values that slave has failed or is missing 10 When you a...

Page 43: ...ner mode of operation follows the SLC mode of operation program test run When the SLC is in program mode the scanner outputs are off and inputs hold their last state When the SLC is in test mode input...

Page 44: ...SST ASI SLC User s Guide 38...

Page 45: ...indicates how to configure the G file provides G file configuration examples provides the layout and information on the Input and Output files provides the layout and information on the M files 7 SLC...

Page 46: ...g slave at address 0 The new slave will be reprogrammed automatically by the scanner to the missing address If more than one slave is at fault Auto Address Programming is unavailable 4 Set W bits if r...

Page 47: ...enabled G if this bit is 1 the channel uses the G file F if this bit is 1 don t fault the SLC P if this bit is 1 the slave is present Px slave parameters IDx indicates the type of module I Ox indicat...

Page 48: ...rd 63 in the G file 2 Write BF07h 1011 1111 0000 0111 to word 1 to enable the channel disable run time parameter changes enable Auto Address Programming on channel 1 and to configure slave 1 3 Write 9...

Page 49: ...run time parameter changes and Auto Address Programming on channel 1 3 Write 0 to word 2 to disable configuration from the G file Example 3 In this example we want channel 1 enabled Auto Address Progr...

Page 50: ...ntain network data The format of both files is identical Since slave 0 cannot exist in protected run mode the first 4 bits of words 0 and 8 are undefined NOTE The first 4 bits of word 0 in the Output...

Page 51: ...3 22 21 20 6 27 26 25 24 7 31 30 29 28 Channel 2 Slaves I O data 8 3 2 1 Undefined 9 7 6 5 4 10 11 10 9 8 11 15 14 13 12 12 19 18 17 16 13 23 22 21 20 14 27 26 25 24 15 31 30 29 28 Bit Order P3 P2 P1...

Page 52: ...LC file and use the local file The table on the following page outlines the contents of the M0 and M1 files The following short forms are used in the table LPS List of Projected Slaves slaves listed i...

Page 53: ...28 I O 28 17 ID 31 I O 31 ID 30 I O 30 18 Param 3 Param 2 Param 1 Reserved 19 Param 7 Param 6 Param 5 Param 4 20 Param 11 Param 10 Param 9 Param 8 21 Param 15 Param 14 Param 13 Param 12 22 Param 19 P...

Page 54: ...I O at address zero The new slave will be automatically re addressed 3 ASI OPERATION MODE 0 is Protected mode 1 is Configuration Mode 2 ASI NORMAL OPERATION If 1 the network is operating normally 1 A...

Page 55: ...ort Connect to the serial port using any communication software The scanner serial port supports any baud rate from 9600 baud to 38 4 Kbaud with no parity 8 data bits and 1 stop bit The scanner automa...

Page 56: ...Configuration mode 4 Type LoadFlash The scanner responds with a query Press Y to start 5 Initiate an Xmodem send of the module firmware file using your communication software 6 When the upload is comp...

Page 57: ...Red Any G File error No network communication attempted Check for a missing scanner ID code in word 63 Make sure the network configuration is in the G File Make sure at least one C bit is set 70h The...

Page 58: ...will continue to blink alternately and the SLC will fault with this fault code Finish configuring the network devices and exit the configuration utility 73h Any Flashing Red AS Interface power is too...

Page 59: ...program to run mode Any Flashing Green A slave on the network has failed or is missing Check that the G file is not in error If the G file is OK check the network setup for missing slave If Auto Addr...

Page 60: ...ogram to run and the network should return to normal operation If the M files have been scanned recently i e immediately before the fault occurred the slave delta list SDL will reflect which slave has...

Page 61: ...e network If there are duplicate slaves or a slave at address zero you might not see any of the slaves 9 5 2 Finding Failed Slaves To find failed slaves do a List command on the serial port A failed s...

Page 62: ...might also be caused by bad connections Verify all connectors and cables 9 5 7 Replaced Slave Didn t Auto Address For Auto Address Programming to work you must replace the slave while the network is p...

Page 63: ...ular specialty I O module Both M0 and M1 files are considered read write files by the SLC processor On the SST ASI SLC you cannot write to the M files M0 and M1 files can be addresses in your ladder p...

Page 64: ...to maximum supplied by module b bit 0 to 15 Restrictions on Using M0 M1 Data File Addresses M0 and M1 data file addresses can be used in all instructions except the OSR instruction and the instruction...

Page 65: ...n transfer the state to an internal processor bit Transferring Data Between Processor Files and M0 M1 Files The SLC processor does not contain an image of the M0 or M1 file As a result you must edit a...

Page 66: ...SST ASI SLC User s Guide 60...

Page 67: ...C Operating temperature 0 C to 50 C Operating relative humidty RH level 5 to 95 Pollution degree 1 no pollution or only non conductive or non corrosive pollution Isolation rating type tested at 560 V...

Page 68: ...SST ASI SLC User s Guide 62 AS i Power consumption 50 mA Phoenix connector part number MSTB 2 5 4 ST 5 08...

Page 69: ...63 ASI Protocol Implementation Conformance Statement PICS Vendor SST Product name SST ASI SLC Order No SST ASI SLC Release 1 20 Date July 13 1999 C Conformance Statement...

Page 70: ...dr X M file 10 Status Store_Actual_Configuration X Config 11 Status Config Read_Actual_Configuration Addr X Config 12 Status Set_LPS List31 X G file 13 Status List31 Get_LPS X M file 14 Status List31...

Page 71: ...Configuration Addr CONF X Config 22 3 Status Resp Cmd_Read_Identification_Code Addr IDCOD X Config 22 4 Status Resp Cmd_Read_Status Addr STAT 22 5 Status Resp Cmd_Read_Reset_Status Addr STATRES 22 6 S...

Page 72: ...SST ASI SLC User s Guide 66...

Page 73: ...romagnetic compatibility Generic immunity standard Part 2 Industrial Environment NOTE In order to maintain compliance with the limits and requirements of the EMC Directive quality interfacing cables a...

Page 74: ...SST ASI SLC User s Guide 68...

Reviews: