SPI Protocol Interface ModuleCat. No. 1771SPIConcepts Manual
Overview of an SPI Communication NetworkChapter 11-4You must program block transfer instructions according to an exact protocol.Programming the Transf
Overview of an SPI Communication NetworkChapter 11-5You establish the order (polling queue) in which the SPI modulecommunicates with devices on the ne
Overview of an SPI Communication NetworkChapter 11-6The SPI module can store the configuration blocks of: up to 10 different types of devices (device
Overview of an SPI Communication NetworkChapter 11-7The SPI specification and previous revisions of the SPI module usermanual use terms that may be un
Overview of an SPI Communication NetworkChapter 11-8Notes
Chapter 22-1Important Information that You Need to Set Up the SPI NetworkThis chapter tells you what information you need from the devicemanufacturer,
Important Information That You Needto Set Up the SPI NetworkChapter 22-2Important: When using any of these devices with a custom configuration(as desc
Important Information That You Needto Set Up the SPI NetworkChapter 22-3Data Types and Data Codes for Transfer to and from Devices on the SPI NetworkY
Important Information That You Needto Set Up the SPI NetworkChapter 22-4Information to Configure the SPI ModuleConfiguration information that you init
Important Information That You Needto Set Up the SPI NetworkChapter 22-5Informational Requirements for an Example SPI NetworkTo summarize the informat
Because of the variety of uses for the products described in this publication,those responsible for the application and use of this control equipment
Important Information That You Needto Set Up the SPI NetworkChapter 22-6The device manufacturer should provide a wiring diagram that shows theRS-485 d
Important Information That You Needto Set Up the SPI NetworkChapter 22-7Example Diagram with Primary and Secondary Machine ConnectionsIn the following
Important Information That You Needto Set Up the SPI NetworkChapter 22-8Notes
Chapter 33-1Defining Command and Status BlocksYou communicate with devices on the SPI network by transferring datablocks between a PLC processor and a
Defining Command and Status BlocksChapter 33-2Your ladder logic must send (BTW) a valid MCC to the SPI module afterpower-up to prepare it for operatio
Defining Command and Status BlocksChapter 33-3Table 3.BWord/Bit Definitions of the Module Configuration Command Block (MCC)WordNumberBit NumberTitle R
Defining Command and Status BlocksChapter 33-4The system status (SYS) block is returned by the SPI module on power-upwith the power up bit reset (to z
Defining Command and Status BlocksChapter 33-5Table 3.DWord/Bit Definitions of the System Status Block (SYS)WordNumberBitNumberTitleRange / Descriptio
Defining Command and Status BlocksChapter 33-6The custom configuration block (CCB) tells the SPI module the requiredconfiguration for a single device,
Defining Command and Status BlocksChapter 33-7Table 3.FWord/Bit Definitions of the Custom Configuration Block (CCB)WordNumberBitNumberTitle Range Note
Using This Manual Pi. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Purpose of This Manual Pi. . . . . . . . . . . . . . . . . . .
Defining Command and Status BlocksChapter 33-8Custom data blocks (CDBs) are used with custom configuration blocks(CCBs) blocks to communicate with dev
Defining Command and Status BlocksChapter 33-9Table 3.HWord/Bit Definitions for the Custom Data Block (CDB)WordNumberTitle Range DescriptionSPI Devic
Defining Command and Status BlocksChapter 33-10The SPI module responds to the custom configuration block (CCB) byreflecting it back to the PLC process
Defining Command and Status BlocksChapter 33-11Table 3.JBit/Word Definitions of Custom Configuration Status (CCS)WordNumberBitNumberTitle Range SPI Mo
Defining Command and Status BlocksChapter 33-12The SPI module returns custom data status (CDS) from acustom-configured device whenever the SPI module:
Defining Command and Status BlocksChapter 33-13CDS Resulting from CDBThe SPI module responds to CDB commands by reflecting the CDB backto the PLC proc
Defining Command and Status BlocksChapter 33-14The following table helps you identify: acronyms of various command and status blocks that your ladder
Chapter 44-1Creating Command and Status Blocks toMatch Your ApplicationThis chapter helps you: map your data table for command and status blocks ent
Creating Command and Status BlocksChapter 44-2Use this worksheet for the MCC to write down: data format of all addresses and data communication rate
Creating Command and Status BlocksChapter 44-3Blank MCC Worksheet for Your ApplicationWrite your own entries in this blank worksheet to suit your appl
Table of ContentsiiCreating Command and Status Blocks to Match Your Application 41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Objecti
Creating Command and Status BlocksChapter 44-4You must create one CCB for each device type on the link to define: data layout of the CCB number of b
Creating Command and Status BlocksChapter 44-5Blank CCB Worksheet for Your ApplicationWrite your own entries in this blank worksheet to suit your appl
Creating Command and Status BlocksChapter 44-6Blank CCB Worksheet for Your ApplicationCopy this worksheet as needed.Write your own entries in this bla
Creating Command and Status BlocksChapter 44-7Blank CCB Worksheet for Your ApplicationCopy this worksheet as needed.Write your own entries in this bla
Creating Command and Status BlocksChapter 44-8You must create a CDB to send data to the device. The purpose of this worksheet is to help you enter va
Creating Command and Status BlocksChapter 44-9Blank CDB for Your ApplicationWrite your own entries in this blank worksheet to suit your application.Im
Creating Command and Status BlocksChapter 44-10Blank CDB for Your ApplicationCopy this worksheet as needed.Write your own entries in this blank worksh
Creating Command and Status BlocksChapter 44-11Blank CDB for Your ApplicationCopy this worksheet as needed.Write your own entries in this blank worksh
Creating Command and Status BlocksChapter 44-12Use this SYS bit/word map to identify: data layout of the SYS location of the diagnostic word to desc
Creating Command and Status BlocksChapter 44-13Once you have successfully configured the SPI module with the MCC andwhenever you transfer the CCB to t
PrefaceP-iUsing This ManualThis concepts manual helps you apply the SPI module to your application.It serves as a supplement to the SPI user manual (p
Creating Command and Status BlocksChapter 44-14The SPI module receives status from the target device and returns CustomData Status (CDS) to the PLC pr
MODULECHANNELMODULEFAULTACTIVEACTIVENJNJNJWhen this LED:Chapter 55-1Interpreting Diagnostic Information from LEDs and Error CodesThis chapter helps you t
Interpreting Diagnostic InformationIn LEDs and Error CodesChapter 55-2Use this Flow Chart to Troubleshoot Your SPI NetworkLocate the SPI module in the
Interpreting Diagnostic InformationIn LEDs and Error CodesChapter 55-3NoYesASPI module is not configured if:Is SPI module in the correct I/O slot?Move
Interpreting Diagnostic InformationIn LEDs and Error CodesChapter 55-4NoB Look at different LED. Is:If MF is OFF and CA is ON or flashing, comm
Interpreting Diagnostic InformationIn LEDs and Error CodesChapter 55-5When the SPI module detects an error, it indicates the source of the errorin wor
12345622 3331123456Locate the circled number in the MCC bit/word mapInterpreting Diagnostic InformationIn LEDs and Error CodesChapter 55-69000 Series
122322112311111333333Locate the circled number in the CCB bit/word mapInterpreting Diagnostic InformationIn LEDs and Error CodesChapter 55-75000 Serie
Interpreting Diagnostic InformationIn LEDs and Error CodesChapter 55-8Error Codes Returned in CDSError codes returned in CDS deal with communication w
Interpreting Diagnostic InformationIn LEDs and Error CodesChapter 55-98000 Series Communication-network Error CodesThe SPI module returns these protoc
P-ii
Interpreting Diagnostic InformationIn LEDs and Error CodesChapter 55-10Notes
If you need additional assistance on using your software, Allen-Bradleyoffers telephone and on-site product support at Customer Support Centersworldwi
12AllenBradley, a Rockwell Automation Business, has been helping its customers improveproductivity and quality for more than 90 years. We design, man
Chapter 11-1Overview of an SPI Communication NetworkThis overview chapter contains: purpose of the SPI network types of data communicated on the SPI
Overview of an SPI Communication NetworkChapter 11-2The host processor stores information for transfer to and received fromdevices on the SPI network
Overview of an SPI Communication NetworkChapter 11-3When you program the processor to communicate with devices on the SPInetwork via the SPI module, y
Comentarios a estos manuales