Pré-visualização | Página 18 de 50
for the DII Function 12–18. . . . . . . . . . . . . . . . . . . . Operation 12–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Counter Mode 12–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Event Mode 12–19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DII Subroutine Content 12–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interrupt Latency and Interrupt Occurrences 12–20. . . . . . . . . . . . . . . . . . . . . . . . . . Interrupt Priorities 12–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Status File Data Saved 12–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reconfigurability 12–22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DII Parameters 12–23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Discrete Input Interrupt Application Example 12–25. . . . . . . . . . . . . . . . . . . . . . . . . Table of Contents toc–xiii I/O Interrupt Overview 12–27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Basic Programming Procedure for the I/O Interrupt Function 12–27. . . . . . . . . . . . Operation 12–28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interrupt Subroutine (ISR) Content 12–28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interrupt Latency and Interrupt Occurrences 12–29. . . . . . . . . . . . . . . . . . . . . . . . . . Interrupt Priorities 12–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Status File Data Saved 12–31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I/O Interrupt Parameters 12–31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I/O Interrupt Disable (IID) and I/O Interrupt Enable (IIE) 12–33. . . . . . . . . . . . . . . . . . . IID Operation 12–33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IIE Operation 12–33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IID/IIE Zone Example 12–34. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reset Pending Interrupt (RPI) 12–35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Entering Parameters 12–35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interrupt Subroutine (INT) 12–35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 SLC Communication Protocols 13–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Overview 13–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DH-485 Communication Protocol 13–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DH-485 Network Protocol 13–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Software Considerations 13–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Data Highway Plus Communication Protocol 13–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . Global Status Word Overview 13–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PLC–5 to SLC 500 Communication Using PLC–2 Type MSG Commands 13–15. . How the PLC-5 Processors Address Data 13–16. . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the SLC 500 CIF File (PLC-2 Emulation) 13–16. . . . . . . . . . . . . . . . . . . . . . Programming to Handle the Word/Byte Addressing Differences 13–17. . . . . . . . . . SLC 5/03, SLC 5/04, and SLC 5/05 Processors to PLC-5 Communication Using SLC 500 or PLC-5 MSG Commands 13–18. . . DF1 Via RS-232 Communication Protocol 13–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DF1 Full-Duplex Protocol 13–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DF1 Half-Duplex Master/Slave Protocol 13–23. . . . . . . . . . . . . . . . . . . . . . . . . . . . Considerations When Communicating as a DF1 Slave on a Multi–drop Link 13–28 Using Modems that Support DF1 Communication Protocols 13–29. . . . . . . . . . . . . . . . Modem Control Line Operation in SLC 5/03, SLC 5/04 and SLC 5/05 Processors 13–30 DF1 Full–Duplex 13–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DF1 Half-Duplex Slave 13–31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DF1 Half-Duplex Master 13–32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RTS Send Delay and RTS Off Delay Parameters 13–33. . . . . . . . . . . . . . . . . . . . . . . . . . ASCII Communication Protocol 13–34. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Passthru Features 13–35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PrefaceInstruction Set Reference Manual toc–xiv DH+ to DH-485 Passthru – (All SLC 5/04 processors) 13–35. . . . . . . . . . . . . . . . . . DF1 to DH+ Passthru – (SLC 5/04 OS401 and above processors) 13–35. . . . . . . . . Remote I/O Passthru (SLC 5/03 OS302, SLC 5/04 OS401, and SLC 5/05 processors) 13–35. . . . . . Considerations when DF1 to DH+ Passthru is Enabled 13–36. . . . . . . . . . . . . . . . . Ethernet Communication Protocol 13–37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SLC 5/05 Performance Considerations 13–38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SLC 5/05 and PC Connections to the Ethernet Network 13–39. . . . . . . . . . . . . . . . . Configuring the Ethernet Channel on the SLC 5/05 13–40. . . . . . . . . . . . . . . . . . . . Configuration Using RSLogix500 Programming Software 13–41. . . . . . . . . . . . . . . Configuration Via BOOTP 13–41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using Subnet Masks and Gateways 13–47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 MicroLogix Communication Protocols 14–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Automatic Protocol Switching 14–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RS-232 Communication Interface 14–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DF1 Full-Duplex Protocol 14–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DF1 Full-Duplex Operation 14–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DF1 Full-Duplex Channel 0 Configuration Parameters 14–3. . . . . . . . . . . . . . . . . DF1 Half-Duplex Slave Protocol 14–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DF1 Half-Duplex Slave Configuration Parameters 14–7. . . . . . . . . . . . . . . . . . . . . Considerations When Communicating as a DF1 Slave on a Multi-drop Link 14–8 Ownership Timeout 14–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using Modems that Support DF1 Communication Protocols 14–10. . . . . . . . . . . . . DH-485 Communication Protocol 14–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DH-485 Network Description 14–12. . . . . .