28: AS-I
NTERFACE
M
ASTER
C
OMMUNICATION
28-28
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
ASI Commands
The ASI commands are used to update AS-Interface operands in the CPU module or to control the AS-Interface master
module. Data registers D1941 through D1944 are used to store command data. D1945 is used to store a request code
before executing the command. While the command is executed, D1945 stores status and result codes.
ASI Command Format
ASI Command Data
To execute an ASI command, store required values to data resisters D1941 through D1945 as listed in the table below:
*1: WindLDR has the Slave Status dialog box to execute this command to write a PI value to a designated slave. See Sam-
ple Program on page 28-29.
*2: WindLDR has the Change Slave Address dialog box to execute this command.
*3: Completed in a scan when the five data registers store respective values. When completed, D1945 stores 4. See
Request and Result Codes on page 28-29. Other commands takes several scans to complete execution.
*4: Each scan time extends by 0.8 ms. At least 1 sec is required until the ASI command takes effect.
Note:
Specify the slave address in the data register as shown in the table below:
Command Part (8 bytes)
Request/Result
D1941
D1942
D1943
D1944
D1945
ASI Command
Processing
Time (ms)
Description
Command Data (Hexadecimal)
D1941
D1942
D1943
D1944
D1945
Read LPS
1.0
*3
Reads LPS to D1776-D1779
010B
084C
0000
0000
0001
Read CDI
10.4
*3
Reads CDI to D1780-D1843
010C
4050
0000
0000
0001
Read PCD
10.4
*3
Reads PCD to D1844-D1907
010E
4090
0000
0000
0001
Read PI
3.0
*3
Reads PI to D1908-D1923
0107
20D0
0000
0000
0001
Read PP
3.0
*3
Reads PP to D1924-D1939
0108
20E0
0000
0000
0001
Read Slave 0 ID1
0.7
*3
Reads slave 0 ID1 to D1940
0109
02F0
0000
0000
0001
Write Slave 0 ID1
0.7
*3
Writes D1940 to slave 0 ID1
0209
02F0
0000
0000
0001
Copy PI to PP
0.8
*4
Copies parameter image to perma-
nent parameter
0306
0100
0000
0000
0001
Change Slave PI
*1
0.8
*4
Writes PI (
∗
) to slave (
∗∗
)
(Note)
0306
0102
000
∗
00
∗∗
0001
Go to Normal Protected Offline
0.8
*4
From normal protected mode to nor-
mal protected offline
0306
0301
0000
0000
0001
Go to Normal Protected Mode
0.8
*4
From normal protected offline to nor-
mal protected mode
0306
0300
0000
0000
0001
Prohibit Data Exchange
0.8
*4
From normal protected mode to nor-
mal protected data exchange off
0306
0401
0000
0000
0001
Enable Data Exchange
0.8
*4
From normal protected data exchange
off to normal protected mode
0306
0400
0000
0000
0001
Change Slave Address
*2
0.8
*4
Change slave address (
∗∗
) to new
address (++)
(Note)
0306
0500
00
∗∗
00++
0001
Enable Auto Addressing
0.8
*4
Enables auto address assign (default)
0306
0800
0000
0000
0001
Disable Auto Addressing
0.8
*4
Disables auto address assign
0306
0801
0000
0000
0001
Slave Address
Data Register Value
Slave Address
Data Register Value
Hexadecimal
Decimal
Hexadecimal
Decimal
0(A)
00h
0
—
—
—
1(A)
01h
1
1B
21h
33
2(A)
02h
2
2B
22h
34
|
|
|
|
|
|
31(A)
1Fh
31
31B
3Fh
63
Summary of Contents for FC4A-C10R2
Page 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Page 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Page 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Page 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Page 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Page 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Page 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Page 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Page 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Page 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Page 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Page 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Page 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...