IDEC FC4A-C10R2 User Manual page 406

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

24: A
I/O C
NALOG
ONTROL
Analog Output Module FC4A-K1A1 on Slot 3
DR Allocation Range
D760 - D779
I/O
Channel
OUT
CH0
Ladder Diagram
As shown in the ladder diagram below, when initialize pulse special internal relay M8120 is used for the ANST macro in
parallel with another instruction, load M8120 again for the other instruction.
M8120
M8120
I0
CMP>(I)
M30
M30
ADD(I)
MUL(W)
Note: The above ladder diagram is only an example and should be modified as required.
24-20
Designation
Item
Designation
Signal Type
0 to 10V DC
Data Type
Binary data
ANST
NO.1
J8AT1
MOV(I)
S1 –
D1 –
D676
D1000
S1 –
S2 –
D1 –
D676
1000
M30
S1 –
S2 –
D1 –
D1000
500
D1000
S1 –
S2 –
D1 –
D1000
2
D1000
MOV(W)
S1 –
D1 –
D1000
D772
« FC4A M
ICRO
Automatic range allocation, 20 words
Voltage output
0 to 4095
M8120 is the initialize pulse special internal relay.
NO.3
K1A1
When the CPU starts to run, ANST stores parameters to
data registers to configure analog I/O modules and Q30
S
is turned on.
Q30
REP
When I0 is turned on, analog input data is moved from
D676 to D1000.
The temperature is compared with the alarm tempera-
REP
ture of 100°C.
When the temperature is higher than 100°C, Q30 is
R
turned off.
Q30
When the temperature is not higher than 100°C, Q30 is
S
turned on.
Q30
Analog input data of –500 to +1500 is converted to 0 to
REP
2000.
Analog input data of 0 to 2000 is converted to 0 to
REP
4000.
Analog input data of 0 to 4000 is moved to D772 (ana-
REP
log output data) of the analog output module.
S
U
'
M
»
MART
SER
S
ANUAL
Description
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents