Download J2-3011-2, AutoMax PC Link Interface Module
Transcript
Appendix D Programming Notes Table of Contents 1.0 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D1Ć1 2.0 DCS/AutoMax Network Communications (RENET) . . . . . . . . . . . . 2.1 Differences Between RENET and a Network Communications Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 RENET Memory Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3 Drop Register Image Table (DATA_TABLE) . . . . . . . . . . . . . . . . . . 2.3.1 Drop 0 Register Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.2 Drop 1Ć55 Register Definitions . . . . . . . . . . . . . . . . . . . . . . . 2.4 Data Change Table (DATA_CHNGE) . . . . . . . . . . . . . . . . . . . . . . . . 2.5 Status Change Flag (STAT_CHNGE) . . . . . . . . . . . . . . . . . . . . . . . 2.6 Global Change Flag (GLOB_CHNGE) and Enable Global Change Table (EN_GLOB_CHNGE) . . . . . . . . . . . . . . . . . . . . . . . . D2Ć1 D2Ć1 D2Ć2 D2Ć3 D2Ć5 D2Ć5 D2Ć5 Remote I/O Network Communications (RERIO) . . . . . . . . . . . . . . . 3.1 RERIO Memory Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2 Drop Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3 Double Word Fragmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4 Sample Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.1 Reading the Remote I/O Network Configuration (RIODIS) 3.4.2 Setting the Remote I/O Network Configuration (RIOCNF) 3.4.3 Accessing Remote I/O Registers (RIODEM) . . . . . . . . . . . D3Ć1 D3Ć1 D3Ć4 D3Ć5 D3Ć5 D3Ć6 D3Ć6 D3Ć7 3.0 D2Ć1 D2Ć5 DĆ1