
ssue date: 7.6.2013
4
AS-i 3.0 Command Interface
Table of contents
4.4 AS-i diagnostic ............................................................................................... 46
4.4.1 Overview of the commands .......................................................................................... 46
4.4.2 Get Lists and Flags (Get_LPS, Get_LAS, Get_LDS, Get_Flags)
(GET_LISTS) .............................................................................................................. 47
4.4.3 Get Flags (GET_FLAGS) ............................................................................................... 49
4.4.4 Get Delta List (GET_DELTA).........................................................................................50
4.4.5 Get list of corrupted Slaves (GET_LCS and GET_LCS_R6 (6CH))............................ 51
4.4.6 Get list of activated Slaves (GET_LAS) .......................................................................52
4.4.7 Get list of detected AS-i Slaves (GET_LDS)................................................................53
4.4. Get list of peripheral faults (GET_LPF) ....................................................................... 54
4.4.9 Get list of offline Slaves (GET_LOS)............................................................................ 55
4.4.10 Set list of offline Slaves (SET_LOS and SET_LOS_R6 (6Dh)) ...................................56
4.4.11 Get transm.err.counters (GET_TECA) ......................................................................... 57
4.4.12 Get transm.err.counters (GET_TECB) ......................................................................... 5
4.4.13 Get transm.err.counters (GET_TEC_X) ....................................................................... 59
4.4.14 Read fault detector (READ_FAULT_DETECTOR) .......................................................60
4.4.15 Read list of duplicate addresses (READ_DUPLICATE_ADDR) .................................61
4.4.16 Get Slave Error Counters (GET_SLV_ERRCOUNT) ................................................... 62
4.4.17 Get Clear Slave Error Counters (GETCLEAR_SLV_ERRCOUNT) ............................. 63
4.4.1 Read OSSD switching cycle (READ_REL_CYC).........................................................64
4.4.19 Read extended earth fault information (MB_OP_GET_EXT_EF)............................... 65
4.4.20 Read error counters (MB_OP_GET_LINE_ERRCOUNT) ............................................ 66
4.4.21 Read and reset error counters (MB_OP_GETCLEAR_LINE_ERRCOUNT)............... 6
4.5 Safe Link diagnostics ....................................................................................70
4.5.1 Diagnostics display ....................................................................................................... 70
4.5.2 Overview of the commands .......................................................................................... 70
4.5.3 Command 1: READ_NODE_OVERVIEW_HISTORY .................................................... 71
4.5.4 Command 2: READ_AND_CLEAR_NODE_OVERVIEW_HISTORY............................ 72
4.5.5 Command 3: READ_NODE_OVERVIEW ...................................................................... 73
4.5.6 Command 4: READ_MANAGER_OVERVIEW.............................................................. 74
4.5.7 Command 5: READ_NODE_STATUS ........................................................................... 75
4.5. Command 6: READ_INTERFACE .................................................................................76
4.6 Configuration of AS-i Master......................................................................... 77
4.6.1 Overview of the commands .......................................................................................... 77
4.6.2 Set operation mode (SET_OP_MODE: Set_Operation_Mode)...................................7
4.6.3 Store actual configuration (STORE_CDI) .................................................................... 79
4.6.4 Read actual configuration (READ_CDI)....................................................................... 0
4.6.5 Set permanent configuration (SET_PCD).................................................................... 1
4.6.6 Get extended permanent configuration (GET_PCD) .................................................. 2
4.6.7 Set list of projected slaves (SET_LPS and SET_LPS_R6 (6Bh))............................... 3
4.6. Get list of projected slaves (GET_LPS) ....................................................................... 4
4.6.9 Store actual parameters (STORE_PI) .......................................................................... 4
4.6.10 Write parameter (WRITE_P) .......................................................................................... 5
4.6.11 Read parameter (READ_PI: Read_Parameter) ............................................................ 6
4.6.12 Set permanent parameter (SET_PP) ............................................................................ 7
4.6.13 Get permanent parameter (GET_PP) ........................................................................... 7
4.6.14 Set auto address enable (SET_AAE) ...........................................................................
4.6.15 Change slave address (SLAVE_ADDR)....................................................................... 9
4.6.16 Write AS-i slave extended ID1 (WRITE_XID1) ............................................................. 90
4.7 Other commands............................................................................................91
4.7.1 Overview of the commands .......................................................................................... 91
4.7.2 IDLE ................................................................................................................................ 92
4.7.3 Read input data image (READ_IDI) ..............................................................................92
4.7.4 Write output data image (WRITE_ODI) ........................................................................ 93
4.7.5 Read output data image (READ_ODI) .......................................................................... 94
4.7.6 Set offline mode (SET_OFFLINE) ................................................................................. 95
4.7.7 Release data exchange (SET_DATA_EX) .................................................................... 96
4.7. Rewrite DPRAM (REWRITE_DPRAM) .......................................................................... 96