FC1 : SEW Inverter Controled by 3 Process Data Words.
Reading Process Input Data and Writing Process Output Data to control SEW Inverter by using 3 Process Data Words.
PLC Peripheral Output Data Word is Inverter Input Word and PLC Peripheral Input Data Word is Inverter Output Word.
POI - Setpoint Description - Control Word 1 - PQW272
Pil - Actual Value Description - Status Word 1 - PIW272
P02 - Setpoint Description - Speed Setpoint - PQW274
PI2 - Actual Value Description - Speed Actual Value - PIW274
P03 - Setpoint Description - Ramp - PQW27€
PI3 - Actual Value Description - Active Current Actual Value - PIW27€
E) Network 1 : Read Process Input Data Word 1 - Status Word 1
Process Input |
Data Word |
1 is moved to Data Błock 1 - DB1.DBW0 |
MOVE | ||
T>.T | ||
Ul iilw | ||
♦PI Data W |
DB1.DBW0 | |
ord 1 |
SEW | |
SEW |
Inverter | |
Inverter |
Status | |
Status |
Word 1 | |
Word 1 |
"SEW PIW | |
♦ PI Data |
and | |
Word 1- |
IN |
PQW". |
PI_Data_ | ||
OUT |
-Word 1 | |
E) Network 2 : Read Process Input Data Word 2 - Speed Actual Value (1/min)
Process Input Data Word 2 returning scaled Speed Actual Value <1 digit = 0.2/min).
Therefor Speed Actual Value is d±vided by 5 to show Actual Speed 1 digit = 1/min. Then is moved to Data Błock 1 - DB1.DBW2
DIV_I | ||
T».T | ||
Ul iilw | ||
♦PI Data W |
♦ tenę>_PI_D | |
ord_2 |
ata Word 2 | |
SEW |
temporary | |
Inverter |
placement | |
Speed |
for | |
Actual |
Process | |
Value |
Input | |
(1/min) |
Data Word | |
♦PI Data |
2 | |
Word_2 - |
INI |
♦temp PI |
Data Word | ||
S- |
IN2 OUT |
— 2 |
♦terę>_PI_D
ata_Word_2
temporary
placement
for
Process Input Data Word
2
♦temp_PI_
Data_Word_
D
MOVE
EN ENO
- IN
OUT
DB1.DBW2
SEW
Inverter Speed Actual Value (1/min) "SEW PIW and PQW". PI_Data_
I—Word 2
E) Network 3 : Read Process Input Data Word 3 - Active Current Actual Value (%)
Process Input Data Word 3 returning scaled Active Current Actual Value (1 digit = 0.1%) .
Therefor Active Current Actual Value is divided by 10 to show Actual Actice Current 1 digit = 1%. Then is moved to Data Błock 1 - DB1.DBW4.
T».T |
DIV_I |
T».T |
MOVE | ||||
—W |
—W | ||||||
♦PI Data W |
♦ tenę>_PI_D |
♦teięPI_D |
DB1.DBW4 | ||||
ord_3 |
ata Word 3 |
ata Word 3 |
SEW | ||||
SEW |
temporary |
temporary |
Inverter | ||||
Inverter |
placement |
placement |
Active | ||||
Active |
for |
for |
Current | ||||
Current |
Process |
Process |
Actual | ||||
Actual |
Input |
Input |
Value (%) | ||||
Value (%) |
Data Word |
Data Word |
"SEW PIW | ||||
♦PI Data |
3 |
3 |
and | ||||
Word_3 - |
INI |
♦temp PI |
♦temp PI |
PQW". | |||
Data Word |
Data Word |
PI Data | |||||
10- |
IN2 |
OUT |
-3 |
3- |
IN |
OUT |
-Word 3 |
E) Network 4 : Write Process Output Data Word 1 - Control Word 1
Control Word 1 is moved from Data Błock 1 (DB1.DBW6) to Process Output Data Word 1
MOVE EN ENO
IN
OUT
DB1.DBW6
SEW
Inverter Control Word 1 "SEW PIW and PQW" . PO_Data_ Word 1-j
♦PO_Dat a_S ord_l
SEW
Inverter Control Word 1 ♦PO_Data_
I—Word 1
E) Network 5 : Write Process Output Data Word 2 - Speed Setpoint (1/min)
Speed Setpoint (1/min) is Multiplied by 5 then moved from Data Błock 1 (DB1.DBW3) to Process OutputData Word 2 (0.2/min)
T».T |
MUL_I |
T».T |
MOVE | ||||
—W |
—W | ||||||
DB1.DBW8 |
♦ tenę> PO D |
♦tecęPOD | |||||
SEW |
ata Word 2 |
ata Word 2 | |||||
Inverter |
temporary |
temporary | |||||
Speed |
placement |
placement |
♦PO Data W | ||||
Setpoint |
for |
for |
ord_2 | ||||
(1/min) |
Process |
Process |
SEW | ||||
"SEW PIW |
Output |
Output |
Inverter | ||||
and |
Data Word |
Data Word |
Speed | ||||
PQW". |
2 |
2 |
Setpoint | ||||
PO Data |
♦temp PO |
♦temp PO |
(1/min) | ||||
Word 2- |
INI |
Data Word |
Data Word |
♦PO Data | |||
OUT |
—2 |
2 — |
IN |
OUT |
-Word 2 | ||
S- |
IN2 |
E) Network 6 : Write Process Output Data Word 3 - Ramp Setpoint (ms)
Ramp Setpoint (1 digit = lms) is moved to Process OutputData Word 3.
MOVE EN ENO
IN
OUT
DB1.DBW10
SEW
Inverter Ramp
Setpoint (ms)
"SEW PIW and PQW". PO_Data_ Word 3 —\
♦PO_Data_W ord_3
SEW
Inverter Ramp
Setpoint (ms)
♦PO_Data_
I—Word 3