Slave list information – IDEC MicroSmart AS-i User Manual

Page 39

Advertising
background image

6: AS-I

NTERFACE

O

PERANDS

6-8

M

ICRO

S

MART

AS-I

NTERFACE

M

ASTER

M

ODULE

U

SER

S

M

ANUAL

Slave List Information

Data registers D1764 through D1779 are assigned to slave list information to determine the operating status of the slaves.
The slave list information is grouped into four lists. List of active slaves (LAS) shows the slaves currently in operation.
List of detected slaves (LDS) the slaves detected on the AS-Interface bus. List of peripheral fault slaves (LPF) the faulty
slaves. List of projected slaves (LPS) the slave configuration stored in the AS-Interface master module.

List of Active Slaves (LAS)

Data registers D1764 through D1767 are allocated to read the LAS. You can check the register bits to determine the oper-
ating status of each slave. When a bit is on, it indicates that the corresponding slave is active.

List of Detected Slaves (LDS)

Data registers D1768 through D1771 are allocated to read the LDS. You can check the register bits to determine the detec-
tion status of each slave. When a bit is on, it indicates that the corresponding slave has been detected by the master.

List of Peripheral Fault Slaves (LPF)

Data registers D1772 through D1775 are allocated to read the LPF. You can check the register bits to determine the fault
status of each slave. When a bit is on, it indicates that the corresponding slave is faulty.

List of Projected Slaves (LPS)

Data registers D1776 through D1779 are allocated to read and write the LPS. The LPS settings are stored to the AS-Inter-
face master module when either Auto Configuration or Manual Configuration is executed on

WindLDR

. The ASI command

Read LPS can be used to read the LPS data to data registers D1776 through D1779. Then, you can check the register bits
to determine the slave projection. When a bit is on, it indicates that the corresponding slave is set as a projected slave. After
changing the LPS settings, execute the ASI command Read LPS, then you can use the updated data for program execution.

LAS

Data Format

Bits 15 to 8

Bits 7 to 0

D1764

Bytes 0 and 1

Slaves 15(A) to 8(A)

Slaves 7(A) to 0

D1765

Bytes 2 and 3

Slaves 31(A) to 24(A)

Slaves 23(A) to 16(A)

D1766

Bytes 4 and 5

Slaves 15B to 8B

Slaves 7B to (0B)

D1767

Bytes 6 and 7

Slaves 31B to 24B

Slaves 23B to 16B

LDS

Data Format

Bits 15 to 8

Bits 7 to 0

D1768

Bytes 0 and 1

Slaves 15(A) to 8(A)

Slaves 7(A) to 0

D1769

Bytes 2 and 3

Slaves 31(A) to 24(A)

Slaves 23(A) to 16(A)

D1770

Bytes 4 and 5

Slaves 15B to 8B

Slaves 7B to (0B)

D1771

Bytes 6 and 7

Slaves 31B to 24B

Slaves 23B to 16B

LPF

Data Format

Bits 15 to 8

Bits 7 to 0

D1772

Bytes 0 and 1

Slaves 15(A) to 8(A)

Slaves 7(A) to 0

D1773

Bytes 2 and 3

Slaves 31(A) to 24(A)

Slaves 23(A) to 16(A)

D1774

Bytes 4 and 5

Slaves 15B to 8B

Slaves 7B to (0B)

D1775

Bytes 6 and 7

Slaves 31B to 24B

Slaves 23B to 16B

LPS

Data Format

Bits 15 to 8

Bits 7 to 0

D1776

Bytes 0 and 1

Slaves 15(A) to 8(A)

Slaves 7(A) to 0

D1777

Bytes 2 and 3

Slaves 31(A) to 24(A)

Slaves 23(A) to 16(A)

D1778

Bytes 4 and 5

Slaves 15B to 8B

Slaves 7B to (0B)

D1779

Bytes 6 and 7

Slaves 31B to 24B

Slaves 23B to 16B

Advertising