IDEC FC4A-C10R2 User Manual page 469

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

Request and Result Codes
D1945 Value Low Byte
00h
01h
02h
04h
08h
14h
24h
74h
84h
Sample Program: Change Slave PI
This sample program changes the PI value of slave 1A to 3. To use the ASI command Change Slave PI, store new parame-
ter value 3 to D1943 and 1 to D1944 to designate the slave address using the MACRO instruction on
Program
Write PI parameter "3" to slave 1A
To designate slave 31A, set 001F to D1944. For slave 1B, set 0021.
Parameters P3 through P0 are weighted as shown in the table below. When the PI parameter is set to 3, P3 and P2 are
turned off, and P1 and P0 are turned on.
Parameter
Weight
ON/OFF
MACRO
SOTU
I0
Description
Initial value at power up
Request
Processing ASI command
Completed normally
(Executing configuration)
Peripheral device failure
ASI command error
Impossible to execute
Execution resulting in error
P3
P2
8
4
OFF
OFF
S1
D1
D2
10
D1941
D1945
« FC4A M
28: AS-I
While D1945 lower byte stores 01h, 02h, or 08h,
do not write any value to D1945, otherwise the ASI
command is not executed correctly.
The CPU module stores all values automatically,
except for 01h.
Command Data (Hexadecimal)
D1941
D1942
0306
0102
P1
P0
2
1
ON
ON
When input I0 turns on, the MACRO instruction stores hexa-
decimal values 0306, 0102, 0003, 0001, and 0001 to five data
registers D1941 through D1945.
S
U
'
M
ICRO
MART
SER
S
ANUAL
M
NTERFACE
ASTER
Note
WindLDR
D1943
D1944
0003
0001
»
C
OMMUNICATION
.
D1945
0001
28-29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents