SlideShare a Scribd company logo
1 of 30
Download to read offline
Totally Integrated
Automation Portal
Faceplate Workshop / PLC_1 [CPU 1215CDC/DC/Rly] / Program blocks
VFD_HOA [FB64]
VFD_HOA Properties
General
Name VFD_HOA Number 64 Type FB Language LAD
Numbering automatic
Information
Title Motor Hand Off Auto Con‐
trol
Author TBell Comment V0.0 Creation
V0.1 Because it was dis‐
covered in testing that in‐
valid status data is re‐
turned when the drive is
not communicating, I add‐
ed the "online" input to
the block. I added NW 12
to clear the status words
again if the drive is not
communicating.
Family
Version 0.1 User-defined
ID
VFD_HOA
Name Data type Offset Default value Accessible
from HMI
Visible in
HMI
Setpoint Comment
Input
Auto Run Request Bool 0.0 false True True False 1=Run if in Auto, 0=Off if in Au‐
to
Auto Speed Request Real 2.0 0.0 True True False
Direction Bool 6.0 true True True False 1=Forward 0 = Reverse
Hand Run Permissive Bool 6.1 true True True False 1=OK to run in Hand
EStop Bool 6.2 false True True False 0=OK, 1=EStop
Alarm Reset Bool 6.3 false True True False
Alarms Enabled Bool 6.4 True True True False
Online Bool 6.5 false True True False Whether or not the drive is in
data exchange
PID Tag String[10] 8.0 '' True True False
Totally Integrated
Automation Portal
Name Data type Offset Default value Accessible
from HMI
Visible in
HMI
Setpoint Comment
HW ID Int 20.0 0 True True False Hardware ID of the Profinet
Telegram
Output
Running Bool 22.0 false True True False 1=Run, 0=Off
Fault Bool 22.1 false True True False
Fail To Start Bool 22.2 false True True False
Fail To Stop Bool 22.3 false True True False
Actual Speed In Percent Real 24.0 0.0 True True False
InOut
Static
HMI SPHand Bool 28.0 false True True False 1=Run
HMI SPOff Bool 28.1 true True True False 1=Off
HMI SPAuto Bool 28.2 false True True False 1=Auto
HMI SPAlarming Enabled Bool 28.3 True True True True 1= Alarming for this device is
activated on HMI
HMI SPFail To Start Time Real 30.0 12.0 True True True
HMI SPFail To Stop Time Real 34.0 12.0 True True True
HMI SPOver Current UInt 38.0 10 True True True
HMI SPOver Current Time Real 40.0 2.0 True True True
HMI SPSpeed Control Auto Bool 44.0 false True True True
HMI SPManual Speed Setting Real 46.0 0.0 True True True
HMI Runtime Real 50.0 0.0 True True False
HMI SPReset Runtime Bool 54.0 false True True False
HMI Number Of Starts DInt 56.0 0 True True False
HMI SPReset Number Of Starts Bool 60.0 false True True False
Status Running Bool 60.1 false True True False
Status Ready Bool 60.2 false True True False
Status Warning Bool 60.3 false True True False
Status At Speed Bool 60.4 false True True False
Status Controlled By PLC Bool 60.5 false True True False
Status Run Command Bool 60.6 false True True False
HMI HOA Status Int 62.0 0 True True False
HMI Status Drive Operating hours UInt 64.0 0 True True False
HMI Status Motor Voltage UInt 66.0 0 True True False
Totally Integrated
Automation Portal
Name Data type Offset Default value Accessible
from HMI
Visible in
HMI
Setpoint Comment
HMI Status Frequency UInt 68.0 0 True True False
HMI Status Motor Current UInt 70.0 0 True True False
HMI Status RPM UInt 72.0 0 True True False
HMI Status Torque Percent UInt 74.0 0 True True False
HMI Status Drive DCLink Voltage UInt 76.0 0 True True False
HMI Status Heat Sink Tempera‐
ture C
UInt 78.0 0 True True False
HMI Fail To Start Alarm Bool 80.0 false True True False
Place Holder Byte 81.0 16#0 True True False
HMI Fail To Stop Alarm Bool 82.0 false True True False
Place Holder 2 Byte 83.0 16#0 True True False
HMI Overcurrent Alarm Bool 84.0 false True True False
Auto_Oneshot Bool 84.1 false True True False
Hand_Oneshot Bool 84.2 false True True False
Off_Oneshot Bool 84.3 false True True False
Runtime One Shot Bool 84.4 false True True False
Starts One Shot Bool 84.5 false True True False
Fail to Start Timer "ON DLYTMRSec‐
onds Floating
Point"
True True False
Input
Time_SP Real 0.0 True True False
activate Bool false True True False
Output
Out Bool false True True False
Elapsed Time Real 0.0 True True False
InOut
Static
ON DLYTMR IEC_TIMER True True False
ST Time T#0ms True True False
PT Time T#0ms True True False
ET Time T#0ms True True False
RU Bool false False False False
IN Bool false True True False
Totally Integrated
Automation Portal
Name Data type Offset Default value Accessible
from HMI
Visible in
HMI
Setpoint Comment
Q Bool false True True False
Info Elapsed Time ms Dint Time T#0ms True True False
Fail to Stop TImer "ON DLYTMRSec‐
onds Floating
Point"
True True False
Input
Time_SP Real 0.0 True True False
activate Bool false True True False
Output
Out Bool false True True False
Elapsed Time Real 0.0 True True False
InOut
Static
ON DLYTMR IEC_TIMER True True False
ST Time T#0ms True True False
PT Time T#0ms True True False
ET Time T#0ms True True False
RU Bool false False False False
IN Bool false True True False
Q Bool false True True False
Info Elapsed Time ms Dint Time T#0ms True True False
Over Current Timer "ON DLYTMRSec‐
onds Floating
Point"
True True False
Input
Time_SP Real 0.0 True True False
activate Bool false True True False
Output
Out Bool false True True False
Elapsed Time Real 0.0 True True False
InOut
Static
ON DLYTMR IEC_TIMER True True False
Totally Integrated
Automation Portal
Name Data type Offset Default value Accessible
from HMI
Visible in
HMI
Setpoint Comment
ST Time T#0ms True True False
PT Time T#0ms True True False
ET Time T#0ms True True False
RU Bool false False False False
IN Bool false True True False
Q Bool false True True False
Info Elapsed Time ms Dint Time T#0ms True True False
Temp
Local Always True Bool 0.0
Temp Real Real 2.0
Temp Dint DInt 6.0
Hardware Address Temp Word 10.0
PCD Array[1..10] of
Word
12.0 Control Data
PCD[1] Word 0.0
PCD[2] Word 2.0
PCD[3] Word 4.0
PCD[4] Word 6.0
PCD[5] Word 8.0
PCD[6] Word 10.0
PCD[7] Word 12.0
PCD[8] Word 14.0
PCD[9] Word 16.0
PCD[10] Word 18.0
Control Word Bits Array[0..15] of
Bool
12.0
Control Word Bits[0] Bool 0.0
Control Word Bits[1] Bool 0.1
Control Word Bits[2] Bool 0.2
Control Word Bits[3] Bool 0.3
Control Word Bits[4] Bool 0.4
Control Word Bits[5] Bool 0.5
Control Word Bits[6] Bool 0.6
Control Word Bits[7] Bool 0.7
Control Word Bits[8] Bool 1.0
Totally Integrated
Automation Portal
Name Data type Offset Default value Accessible
from HMI
Visible in
HMI
Setpoint Comment
Control Word Bits[9] Bool 1.1
Control Word Bits[10] Bool 1.2
Control Word Bits[11] Bool 1.3
Control Word Bits[12] Bool 1.4
Control Word Bits[13] Bool 1.5
Control Word Bits[14] Bool 1.6
Control Word Bits[15] Bool 1.7
PSD Array[1..10] of
Word
32.0 Status Data
PSD[1] Word 0.0
PSD[2] Word 2.0
PSD[3] Word 4.0
PSD[4] Word 6.0
PSD[5] Word 8.0
PSD[6] Word 10.0
PSD[7] Word 12.0
PSD[8] Word 14.0
PSD[9] Word 16.0
PSD[10] Word 18.0
Status Word Bits Array[0..15] of
Bool
32.0
Status Word Bits[0] Bool 0.0
Status Word Bits[1] Bool 0.1
Status Word Bits[2] Bool 0.2
Status Word Bits[3] Bool 0.3
Status Word Bits[4] Bool 0.4
Status Word Bits[5] Bool 0.5
Status Word Bits[6] Bool 0.6
Status Word Bits[7] Bool 0.7
Status Word Bits[8] Bool 1.0
Status Word Bits[9] Bool 1.1
Status Word Bits[10] Bool 1.2
Status Word Bits[11] Bool 1.3
Status Word Bits[12] Bool 1.4
Status Word Bits[13] Bool 1.5
Totally Integrated
Automation Portal
Name Data type Offset Default value Accessible
from HMI
Visible in
HMI
Setpoint Comment
Status Word Bits[14] Bool 1.6
Status Word Bits[15] Bool 1.7
Read Return Word 52.0
Write Return Word 54.0
Constant
Network 1: Create a local always true bit
S
#"Local Always
True"
#"Local Always
True"
Symbol Address Type Comment
#"Local Always True" Bool
Network 2: Setup HOA
If not hand or auto set hoa to off
#"HMI SPHand" #"HMI SPAuto" #"HMI SPOff"
Symbol Address Type Comment
#"HMI SPAuto" Bool 1=Auto
#"HMI SPHand" Bool 1=Run
#"HMI SPOff" Bool 1=Off
Network 3: HOA OFF
Totally Integrated
Automation Portal
P_TRIG
R
R
#"HMI SPOff"
#Off_Oneshot
#"HMI SPHand"
#"HMI SPAuto"
CLK Q
Symbol Address Type Comment
#"HMI SPAuto" Bool 1=Auto
#"HMI SPHand" Bool 1=Run
#"HMI SPOff" Bool 1=Off
#Off_Oneshot Bool
Network 4: HOA Hand
P_TRIG
R
R
#"HMI SPHand"
#"Hand Run
Permissive"
#Hand_Oneshot
#"HMI SPOff"
#"HMI SPAuto"
CLK Q
Symbol Address Type Comment
#"Hand Run Permissive" Bool 1=OK to run in Hand
#"HMI SPAuto" Bool 1=Auto
#"HMI SPHand" Bool 1=Run
#"HMI SPOff" Bool 1=Off
#Hand_Oneshot Bool
Network 5: HOA Auto
Totally Integrated
Automation Portal
P_TRIG
R
R
#"HMI SPAuto"
#Auto_Oneshot
#"HMI SPHand"
#"HMI SPOff"
CLK Q
Symbol Address Type Comment
#"HMI SPAuto" Bool 1=Auto
#"HMI SPHand" Bool 1=Run
#"HMI SPOff" Bool 1=Off
#Auto_Oneshot Bool
Network 6: Status Word Information
3Status Word
________________________________________________________________
Bit Bit = 0 Bit = 1 Siemens Bit
00 Control not ready Control ready 8
01 Drive not ready Drive ready 9
02 Coasting Enable 10
03 No error Trip 11
-------------------------------------------------------------------------------------------
04 OFF 2 ON 2 12
05 OFF 3 ON 3 13
06 Start possible Start not possible 14
07 No warning Warning 15
-------------------------------------------------------------------------------------------
08 Speed ≠ reference Speed = reference 0
09 Local operation Bus control 1
10 Out of frequency limit Frequency limit ok 2
11 No operation In operation 3
-------------------------------------------------------------------------------------------
12 Drive OK Stopped, autostart 4
13 Voltage OK Voltage exceeded 5
14 Torque OK Torque exceeded 6
15 Timer OK Timer exceeded 7
Bit 00, Control not ready/ready
When bit 00 = "0", bit 00, 01 or 02 of the Control word is "0" (OFF 1, OFF 2 or OFF 3) - or the
Totally Integrated
Automation Portal
frequency converter is switched off (trip).
When bit 00 = "1", the frequency converter control is ready, but there is not necessarily power
supply to the unit present (in the event of external 24 V supply of the control system).
Bit 01, VLT not ready/ready
Same significance as bit 00, however, there is a supply of the power unit. The frequency converter
is ready when it receives the necessary start signals.
Bit 02, Coasting/Enable
When bit 02 = "0", bit 00, 01 or 02 of the Control word is "0" (OFF 1, OFF 2 or OFF 3 or coasting)
- or the frequency converter is switched off (trip).
When bit 02 = "1", bit 00, 01 or 02 of the Control word is "1"; the frequency converter has not
tripped.
Bit 03, No error/Trip
When bit 03 = "0", no error condition of the frequency converter exists.
When bit 03 = "1", the frequency converter has tripped and requires a reset signal before it can
start.
Bit 04, ON 2/OFF 2
When bit 01 of the Control word is "0", then bit 04 = "0".
When bit 01 of the Control word is "1", then bit 04 = "1".
Bit 05, ON 3/OFF 3
When bit 02 of the Control word is "0", then bit 05 = "0".
When bit 02 of the Control word is "1", then bit 05 = "1".
Bit 06, Start possible/Start not possible
If PROFIdrive has been selected in par. 8-10 Control word profile, bit 06 will be "1" after a switchoff
acknowledgement, after activation of OFF2 or OFF3, and after switching on the mains voltage.
Start not possible will be reset, with bit 00 of the Control word being set to "0" and bit 01, 02 and
10 being set to "1".
Bit 07, No warning/Warning
Bit 07 = “0” means that there are no warnings.
Bit 07 = “1” means that a warning has occurred.
Bit 08, Speed ≠ reference / Speed = reference
When bit 08 = "0", the current speed of the motor deviates from the set speed reference value.
This may occur, for example, when the speed is being changed during start/stop through ramp
Totally Integrated
Automation Portal
up/down.
When bit 08 = "1", the current speed of the motor corresponds to the set speed reference value.
Bit 09, Local operation/Bus control
Bit 09 = "0" indicates that the frequency converter has been stopped by means of the stop button
on the control panel, or that [Linked to hand] or [Local] has been selected in par. 3-13 Reference
site.
When bit 09 = "1", the frequency converter can be controlled through the serial interface.
Bit 10, Out of frequency limit/Frequency limit OK
When bit 10 = "0", the output frequency is outside the limits set in par. 4-11 Motor speed low
limit (rpm) and par. 4-13 Motor speed high limit (rpm). When bit 10 = "1", the output frequency
is within the indicated limits.
Bit 11, No operation/Operation
When bit 11 = "0", the motor does not turn.
When bit 11 = "1", the frequency converter has a start signal, or the output frequency is higher
than 0 Hz.
Bit 12, Drive OK/Stopped, autostart
When bit 12 = "0", there is no temporary overloading of the inverter.
When bit 12 = "1", the inverter has stopped due to overloading. However, the frequency converter
has not switched off (trip) and will start again after the overloading has ended.
Bit 13, Voltage OK/Voltage exceeded
When bit 13 = "0", the voltage limits of the frequency converter are not exceeded.
When bit 13 = "1", the direct voltage in the intermediate circuit of the frequency converter is too
low or too high.
Bit 14, Torque OK/Torque exceeded
When bit 14 = "0", the motor torque is below the limit selected in par. 4-16 Torque limit motor
mode and par. 4-17 Torque limit generator mode. When bit 14 = "1", the limit selected in par.
4-16 Torque limit motor mode or par. 4-17 Torque limit generator mode is exceeded.
Bit 15, Timer OK/Timer exceeded
When bit 15 = "0", the timers for the thermal motor protection and thermal frequency converter
protection have not exceeded 100%.
When bit 15 = "1", one of the timers has exceeded 100%.
Totally Integrated
Automation Portal
Symbol Address Type Comment
Network 7: Clear Status Words
FILL_BLK
0
10
#PSD[1]
EN
IN
COUNT
ENO
OUT
Symbol Address Type Comment
#PSD[1] Word Status Data
Network 8: Get the Hardware ID number and move to temp
MOVE
#"HWID" #"Hardware
Address Temp"
EN
IN
ENO
OUT1
Symbol Address Type Comment
#"Hardware Address Temp" Word
#"HW ID" Int Hardware ID of the Profinet Telegram
Network 9: Read StatusWords
Totally Integrated
Automation Portal
DPRD_DAT
#"Hardware
Address Temp"
#"Read Return"
#PSD
EN
LADDR
ENO
RET_VAL
RECORD
Symbol Address Type Comment
#"Hardware Address Temp" Word
#"Read Return" Word
#PSD Array Status Data
Network 10: Clear Status Words
FILL_BLK#Online
0
10
#PSD[1]
EN
IN
COUNT
ENO
OUT
Symbol Address Type Comment
#Online Bool Whether or not the drive is in data exchange
#PSD[1] Word Status Data
Network 11: Convert Actual Speed Feedback
CONV
toInt DInt
CONV
toDInt Real
#"Local Always
True"
#PSD[2] #"Temp Dint" #"Temp Dint" #"Temp Real"
EN
IN
ENO
OUT
toInt DInt
EN
IN
ENO
OUT
toDInt Real
Symbol Address Type Comment
#"Local Always True" Bool
#"Temp Dint" DInt
#"Temp Real" Real
#PSD[2] Word Status Data
Totally Integrated
Automation Portal
Network 12: Convert Actual Speed Feedback to percent
DIV
Auto (Real)
ABS
Real
#"Temp Real"
163.84
#"Temp Real" #"Temp Real" #"Actual Speed
In Percent"
EN
IN1
IN2
ENO
OUT
Auto (Real)
EN
IN
ENO
OUT
Real
Symbol Address Type Comment
#"Actual Speed In Percent" Real
#"Temp Real" Real
Network 13: Parce received Control Word to Outputsand Stats
Bytes are swapped compared to documention W#16#8090 means drive is not communicating
Totally Integrated
Automation Portal
Word
==
#"Local Always
True"
#"Status Word
Bits"[0]
#"Status At
Speed"
#"Status Word
Bits"[1]
#"Status
Controlled By
PLC"
#"Status Word
Bits"[3] #Running
#"Status
Running"
#"Status Word
Bits"[8] #"Status Ready"
#"Status Word
Bits"[11] #Fault
#"Read Return"
w#16#8090
#"Status Word
Bits"[15]
#"Status
Warning"
Symbol Address Type Comment
#"Local Always True" Bool
#"Read Return" Word
#"Status At Speed" Bool
#"Status Controlled By PLC" Bool
#"Status Ready" Bool
#"Status Running" Bool
#"Status Warning" Bool
#"Status Word Bits"[0] Bool
Totally Integrated
Automation Portal
Symbol Address Type Comment
#"Status Word Bits"[1] Bool
#"Status Word Bits"[3] Bool
#"Status Word Bits"[8] Bool
#"Status Word Bits"[11] Bool
#"Status Word Bits"[15] Bool
#Fault Bool
#Running Bool 1=Run, 0=Off
Network 14: Move Control Status Words Tempsto Status words Stats
MOVE MOVE
MOVE MOVE
MOVE MOVE
MOVE MOVE
#"Local Always
True"
#PSD[3]
#"HMI Status
Drive Operating
hours"
#PSD[4] #"HMI Status
Motor Voltage"
#PSD[5] #"HMI Status
Frequency"
#PSD[6] #"HMI Status
Motor Current"
#PSD[7] #"HMI Status
RPM"
#PSD[8] #"HMI Status
Torque Percent"
#PSD[9]
#"HMI Status
Drive DCLink
Voltage"
#PSD[10]
#"HMI Status
Heat Sink
Temperature C"
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
Symbol Address Type Comment
#"HMI Status Drive DCLink Volt‐
age"
UInt
#"HMI Status Drive Operating
hours"
UInt
#"HMI Status Frequency" UInt
Totally Integrated
Automation Portal
Symbol Address Type Comment
#"HMI Status Heat Sink Tempera‐
ture C"
UInt
#"HMI Status Motor Current" UInt
#"HMI Status Motor Voltage" UInt
#"HMI Status RPM" UInt
#"HMI Status Torque Percent" UInt
#"Local Always True" Bool
#PSD[3] Word Status Data
#PSD[4] Word Status Data
#PSD[5] Word Status Data
#PSD[6] Word Status Data
#PSD[7] Word Status Data
#PSD[8] Word Status Data
#PSD[9] Word Status Data
#PSD[10] Word Status Data
Network 15: Control Word Information
Control Word
______________________________________________________________
Bit Bit = 0 Bit = 1
00 OFF 1 ON 1
01 OFF 2 ON 2 F
02 OFF 3 ON 3
03 Coasting No coasting
---------------------------------------------------------------------------------------------------------------------------
04 Quick stop Ramp
05 Hold frequency output Use ramp
06 Ramp stop Start 7
07 No function Reset
----------------------------------------------------------------------------------------------------------------------------
08 Jog 1 OFF Jog 1 ON
09 Jog 2 OFF Jog 2 ON
10 Data invalid Data valid 4
11 No function Slow down
------------------------------------------------------------------------------------------------------------------------------
12 No function Catch up
13 Parameter set-up Selection lsb 0
14 Parameter set-up Selection msb
Totally Integrated
Automation Portal
15 No function Reverse
!!!!!!!!* * * * * * * To be able to change direction using the direction bit, paremeter 4-10 must be set to 2 for both directions* * * * * * * * * * * * * !!!!!!!!!!!
Bit 00, OFF 1/ON 1
Normal ramp stop using the ramp times of the actual selected ramp.
Bit 00 = "0" leads to the stop and activation of the output relay 1 or 2 if the output frequency is
0 Hz and if [Relay 123] has been selected in par. 5-40 Function relay.
When bit 00 = "1", the frequency converter is in State 1: “Switching on inhibited”.
Please refer to the PROFIdrive State Transition Diagram, at the end of this section.
Bit 01, OFF 2/ON 2
Coasting stop
When bit 01 = "0", a coasting stop and activation of the output relay 1 or 2 occurs if the output
frequency is 0 Hz and if [Relay 123] has been selected in par. 5-40 Function relay.
When bit 01 = "1", the frequency converter is in State 1: “Switching on inhibited”.
Bit 02, OFF 3/ON 3
Quick stop using the ramp time of par. 3-81 Quick stop ramp time. When bit 02 = "0", a quick
stop and activation of the output relay 1 or 2 occurs if the output frequency is 0 Hz and if [Relay
123] has been selected in par. 5-40 Function relay.
When bit 02 = "1", the frequency converter is in State 1: “Switching on inhibited”.
Bit 03, Coasting/No coasting
Coasting stop Bit 03 = "0" leads to a stop. When bit 03 = "1", the frequency converter can start
if the other start conditions are satisfied. The selection in par. 8-50 Coasting select determines how bit 03 is linked with the corresponding function of the
digital inputs.
Bit 04, Quick stop/Ramp
Quick stop using the ramp time of par. 3-81 Quick stop ramp time.
When bit 04 = "0", a quick stop occurs.
When bit 04 = "1", the frequency converter can start if the other start conditions are satisfied.
The selection in par. 8-51 Quick stop select determines how bit 04 is linked with the
corresponding function of the digital inputs.
Bit 05, Hold frequency output/Use ramp
When bit 05 = "0", the current output frequency is being maintained even if the reference value
is modified.
When bit 05 = "1", the frequency converter can perform its regulating function again; operation
occurs according to the respective reference value.
Totally Integrated
Automation Portal
Bit 06, Ramp stop/Start
Normal ramp stop using the ramp times of the actual ramp as selected. In addition, activation of
the output relay 01 or 04 if the output frequency is 0 Hz if Relay 123 has been selected in par.
5-40 Function relay. Bit 06 = "0" leads to a stop. When bit 06 = "1", the frequency converter can
start if the other start conditions are satisfied. The selection in par. 8-53 Start select determines how bit 06 is linked with the corresponding function of the
digital inputs.
Bit 07, No function/Reset
Reset after switching off.
Acknowledges event in fault buffer.
When bit 07 = "0", no reset occurs.
When there is a slope change of bit 07 to "1", a reset occurs after switching off.
Bit 08, Jog 1 OFF/ON
Activation of the pre-programmed speed in par. 8-90 Bus Jog 1 speed. JOG1 is only possible if
bit 04 = "0" and bit 00 - 03 = "1".
Bit 09, Jog 2 OFF/ON
Activation of the pre-programmed speed in par. 8-91 Bus Jog 2 speed. JOG2 is only possible if
bit 04 = "0" and bit 00 - 03 = "1".
Bit 10, Data invalid/valid
Is used to tell the frequency converter whether the control word is to be used or ignored. Bit 10
= “0” causes the control word to be ignored, Bit 10 = “1” causes the control word to be used.
This function is relevant, because the control word is always contained in the telegram, regardless
of which type of telegram is used, i.e. it is possible to turn off the control word if you do not wish
to use it in connection with updating or reading parameters.
Bit 11, No function/Slow down
Is used to reduce the speed reference value by the amount given in par. 3-12 Catch up/slow
down value. When bit 11 = "0", no modification of the reference value occurs. When bit 11 = "1",
the reference value is reduced.
Bit 12, No function/Catch up
Is used to increase the speed reference value by the amount given in par. 3-12 Catch up/slow
down value.
When bit 12 = "0", no modification of the reference value occurs.
When bit 12 = "1", the reference value is increased.
If both - slowing down and accelerating - are activated (bit 11 and 12 = "1"), slowing down has
Totally Integrated
Automation Portal
priority, i.e. the speed reference value will be reduced.
13 Parameter set-up Selection lsb
14 Parameter set-up Selection msb
Bit 15, No function/Reverse
Bit 15 = “0” causes no reversing.
Bit 15 = “1” causes reversing.
Note: In the factory setting reversing is set to digital in par. 8-54 Reversing select.
Symbol Address Type Comment
Network 16: Clear Control Words
FILL_BLK
0
10
#PCD[1]
EN
IN
COUNT
ENO
OUT
Symbol Address Type Comment
#PCD[1] Word Control Data
Network 17: Initialize Temp to a value that would stop the drive
MOVE
W#16#47E #PCD[1]
EN
IN
ENO
OUT1
Symbol Address Type Comment
#PCD[1] Word Control Data
Totally Integrated
Automation Portal
Network 18: If a run request is received then move the value into the control word to start the drive
MOVE
MOVE
#"HMI SPAuto"
#"Auto Run
Request" #"HMI SPOff" #EStop
#"Over Current
Timer".Out #"Status Ready"
#"Status Run
Command" #Direction
W#16#47F #PCD[1]
#"HMI SPHand"
#"Hand Run
Permissive" #Direction
W#16#847F #PCD[1]
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
Symbol Address Type Comment
#"Auto Run Request" Bool 1=Run if in Auto, 0=Off if in Auto
#"Hand Run Permissive" Bool 1=OK to run in Hand
#"HMI SPAuto" Bool 1=Auto
#"HMI SPHand" Bool 1=Run
#"HMI SPOff" Bool 1=Off
#"Over Current Timer".Out Bool
#"Status Ready" Bool
#"Status Run Command" Bool
#Direction Bool 1=Forward 0 = Reverse
#EStop Bool 0=OK, 1=EStop
#PCD[1] Word Control Data
Network 19: If a reset is received; or the control word with the reset bit
OR
Word#"Alarm Reset"
#PCD[1]
W#16#80
#PCD[1]
EN
IN1
IN2
ENO
OUT
Word
Symbol Address Type Comment
#"Alarm Reset" Bool
#PCD[1] Word Control Data
Totally Integrated
Automation Portal
Network 20: Speed Setpoint Conversion
Range is from 0 to 4000 hex = 0 to 16384 decimal
MUL
Auto (Real)
MUL
Auto (Real)
#"HMI SP
Speed Control
Auto"
163.84
#"Auto Speed
Request"
#"Temp Real"
#"HMI SP
Speed Control
Auto"
163.84
#"HMI SP
Manual Speed
Setting"
#"Temp Real"
EN
IN1
IN2
ENO
OUT
Auto (Real)
EN
IN1
IN2
ENO
OUT
Auto (Real)
Symbol Address Type Comment
#"Auto Speed Request" Real
#"HMI SPManual Speed Setting" Real
#"HMI SPSpeed Control Auto" Bool
#"Temp Real" Real
Network 21: Convert Speed from real to word
ROUND
toReal DInt MOVE
#"Temp Real" #"Temp Dint" #"Temp Dint" #PCD[2]
EN
IN
ENO
OUT
toReal DInt
EN
IN
ENO
OUT1
Symbol Address Type Comment
#"Temp Dint" DInt
#"Temp Real" Real
#PCD[2] Word Control Data
Totally Integrated
Automation Portal
Network 22: Write Control Data Wordsto the Drive
DPWR_DAT
#"Hardware
Address Temp"
#PCD
#"Write Return"
EN
LADDR
RECORD
ENO
RET_VAL
Symbol Address Type Comment
#"Hardware Address Temp" Word
#"Write Return" Word
#PCD Array Control Data
Network 23: Fail to start alarm
"ON DLY TMRSeconds
Floating Point"
%FB4%FB4
#"Fail to Start
Timer"
#"HMI SPFail
To Start Time"
#"Fail to Start
Timer".Out
#"Fail to Start
Timer"."Elapsed
Time"
#"Status Run
Command"
#"Status Word
Bits"[3]
#"Status Word
Bits"[1]
#"Alarms
Enabled"
#"HMI SP
Alarming
Enabled"
#"Fail to Start
Timer".Out #"Alarm Reset"
EN
Time_SP
activate
ENO
Out
Elapsed Time
Symbol Address Type Comment
#"Alarm Reset" Bool
#"Alarms Enabled" Bool
#"Fail to Start Timer" Multi_FB
Totally Integrated
Automation Portal
Symbol Address Type Comment
#"Fail to Start Timer"."Elapsed
Time"
Real
#"Fail to Start Timer".Out Bool
#"HMI SPAlarming Enabled" Bool 1= Alarming for this device is activated on HMI
#"HMI SPFail To Start Time" Real
#"Status Run Command" Bool
#"Status Word Bits"[1] Bool
#"Status Word Bits"[3] Bool
Network 24: Fail To Stop
"ON DLY TMRSeconds
Floating Point"
%FB4%FB4
#"Fail to Stop
TImer"
#"HMI SPFail
To Stop Time"
#"Fail to Stop
TImer".Out
#"Fail to Stop
TImer"."Elapsed
Time"
#"Status Word
Bits"[3]
#"Status Run
Command"
#"Status Word
Bits"[1]
#"Alarms
Enabled"
#"HMI SP
Alarming
Enabled"
#"Fail to Stop
TImer".Out #"Alarm Reset"
EN
Time_SP
activate
ENO
Out
Elapsed Time
Symbol Address Type Comment
#"Alarm Reset" Bool
#"Alarms Enabled" Bool
#"Fail to Stop TImer" Multi_FB
#"Fail to Stop TImer"."Elapsed
Time"
Real
#"Fail to Stop TImer".Out Bool
#"HMI SPAlarming Enabled" Bool 1= Alarming for this device is activated on HMI
#"HMI SPFail To Stop Time" Real
#"Status Run Command" Bool
Totally Integrated
Automation Portal
Symbol Address Type Comment
#"Status Word Bits"[1] Bool
#"Status Word Bits"[3] Bool
Network 25: Over Current Alarm
Disabled for now
"ON DLY TMRSeconds
Floating Point"
%FB4
UInt
>=
%FB4
#"Over Current
Timer"
#"HMI SPOver
Current Time"
#"Over Current
Timer".Out
#"Over Current
Timer"."Elapsed
Time"
#"HMI Status
Motor Current"
#"HMI SPOver
Current"
#"Local Always
True"
#"Alarms
Enabled"
#"HMI SP
Alarming
Enabled"
#"Over Current
Timer".Out #"Alarm Reset"
EN
Time_SP
activate
ENO
Out
Elapsed Time
Symbol Address Type Comment
#"Alarm Reset" Bool
#"Alarms Enabled" Bool
#"HMI SPAlarming Enabled" Bool 1= Alarming for this device is activated on HMI
#"HMI SPOver Current Time" Real
#"HMI SPOver Current" UInt
#"HMI Status Motor Current" UInt
#"Local Always True" Bool
#"Over Current Timer" Multi_FB
#"Over Current Timer"."Elapsed
Time"
Real
#"Over Current Timer".Out Bool
Totally Integrated
Automation Portal
Network 26: Fail to start and stop to outputsof block and to HMI
#"Local Always
True"
#"Fail to Start
Timer".Out #"Fail To Start"
#"Fail to Stop
TImer".Out #"Fail To Stop"
#"HMI Fail To
Stop Alarm"
#"HMI Fail To
Start Alarm"
Symbol Address Type Comment
#"Fail to Start Timer".Out Bool
#"Fail To Start" Bool
#"Fail to Stop TImer".Out Bool
#"Fail To Stop" Bool
#"HMI Fail To Start Alarm" Bool
#"HMI Fail To Stop Alarm" Bool
#"Local Always True" Bool
Network 27: 0=Stopped, 1 = Running Ramping, 2 = Running At Speed, 3 = Fail to Start, 4 = Fail to Stop, 5 = Faulted
Totally Integrated
Automation Portal
Network 27: 0=Stopped, 1 = Running Ramping, 2 = Running At Speed, 3 = Fail to Start, 4 = Fail to Stop, 5 = Faulted (1.1 / 2.1)
MOVE
MOVE
MOVE
MOVE
MOVE
MOVE
Word
==
#"Local Always
True"
0 #"HMI HOA
Status"
#"Status Word
Bits"[3]
#"Status Word
Bits"[0]
1 #"HMI HOA
Status"
#"Status Word
Bits"[3]
#"Status Word
Bits"[0]
2 #"HMI HOA
Status"
#"Fail to Start
Timer".Out
3 #"HMI HOA
Status"
#"Fail to Stop
TImer".Out
4 #"HMI HOA
Status"
#"HMI SP
Alarming
Enabled"
#"Status Word
Bits"[11]
5 #"HMI HOA
Status"
#"Read Return"
w#16#8090
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
2.1 ( Page1 - 28)
Totally Integrated
Automation Portal
Network 27: 0=Stopped, 1 = Running Ramping, 2 = Running At Speed, 3 = Fail to Start, 4 = Fail to Stop, 5 = Faulted (2.1 / 2.1)
1.1 ( Page1 - 27)
MOVE
MOVE
#"Over Current
Timer".Out
6 #"HMI HOA
Status"
#Online
7 #"HMI HOA
Status"
EN
IN
ENO
OUT1
EN
IN
ENO
OUT1
Totally Integrated
Automation Portal
Symbol Address Type Comment
#"Fail to Start Timer".Out Bool
#"Fail to Stop TImer".Out Bool
#"HMI HOA Status" Int
#"HMI SPAlarming Enabled" Bool 1= Alarming for this device is activated on HMI
#"Local Always True" Bool
#"Over Current Timer".Out Bool
#"Read Return" Word
#"Status Word Bits"[0] Bool
#"Status Word Bits"[3] Bool
#"Status Word Bits"[11] Bool
#Online Bool Whether or not the drive is in data exchange
Network 28: Calculate Runtime hours
P_TRIG
ADD
Real
#"Status
Running" "Clock_1Hz"
%M0.5%M0.5
#"Runtime One
Shot"
0.0002777778
#"HMI Runtime"
#"HMI Runtime"
CLK Q EN
IN1
IN2
ENO
OUT
Real
Symbol Address Type Comment
"Clock_1Hz" %M0.5 Bool
#"HMI Runtime" Real
#"Runtime One Shot" Bool
#"Status Running" Bool
Network 29: HMI Reset Runtime Hours
MOVE
#"HMI SPReset
Runtime"
0.0 #"HMI Runtime"
EN
IN
ENO
OUT1
Totally Integrated
Automation Portal
Symbol Address Type Comment
#"HMI Runtime" Real
#"HMI SPReset Runtime" Bool
Network 30: Number Of Starts
P_TRIG
ADD
Auto (DInt)
#"Status
Running"
#"Starts One
Shot"
#"HMI Number
Of Starts"
1
#"HMI Number
Of Starts"
CLK Q EN
IN1
IN2
ENO
OUT
Auto (DInt)
Symbol Address Type Comment
#"HMI Number Of Starts" DInt
#"Starts One Shot" Bool
#"Status Running" Bool
Network 31: Reset Number of Starts
MOVE
#"HMI SPReset
Number Of
Starts"
0 #"HMI Number
Of Starts"
EN
IN
ENO
OUT1
Symbol Address Type Comment
#"HMI Number Of Starts" DInt
#"HMI SPReset Number Of Starts" Bool

More Related Content

Similar to Lad VFD Control

Giuliano david bozzo moncada
Giuliano david bozzo moncadaGiuliano david bozzo moncada
Giuliano david bozzo moncadagiuliano45
 
Java căn bản - Chapter6
Java căn bản - Chapter6Java căn bản - Chapter6
Java căn bản - Chapter6Vince Vo
 
Itsp documentation quadcopter flight controller based on kalman filters
Itsp documentation   quadcopter flight controller based on kalman filtersItsp documentation   quadcopter flight controller based on kalman filters
Itsp documentation quadcopter flight controller based on kalman filtersJyotirmaya Mahanta
 
[가상편] 하드웨어에 생명을 주는 아두이노
[가상편] 하드웨어에 생명을 주는 아두이노[가상편] 하드웨어에 생명을 주는 아두이노
[가상편] 하드웨어에 생명을 주는 아두이노Chiwon Song
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoKarim El-Rayes
 
Customizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA BoardCustomizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA BoardBharat Biyani
 
Output compare
Output compareOutput compare
Output comparevusonbkhn
 
Cataloge ge 3.control and_automation-11_vat300_e_c4-3_rev_a
Cataloge ge 3.control and_automation-11_vat300_e_c4-3_rev_aCataloge ge 3.control and_automation-11_vat300_e_c4-3_rev_a
Cataloge ge 3.control and_automation-11_vat300_e_c4-3_rev_aDien Ha The
 
11 vat300 e_c4-3_rev_a
11 vat300 e_c4-3_rev_a11 vat300 e_c4-3_rev_a
11 vat300 e_c4-3_rev_aDien Ha The
 
Best-embedded-corporate-training-in-mumbai
Best-embedded-corporate-training-in-mumbaiBest-embedded-corporate-training-in-mumbai
Best-embedded-corporate-training-in-mumbaiUnmesh Baile
 
TFL5785 LA County with audio
TFL5785 LA County with audioTFL5785 LA County with audio
TFL5785 LA County with audioWilliam Harding
 

Similar to Lad VFD Control (20)

SimLogic
SimLogicSimLogic
SimLogic
 
Giuliano david bozzo moncada
Giuliano david bozzo moncadaGiuliano david bozzo moncada
Giuliano david bozzo moncada
 
Java căn bản - Chapter6
Java căn bản - Chapter6Java căn bản - Chapter6
Java căn bản - Chapter6
 
Itsp documentation quadcopter flight controller based on kalman filters
Itsp documentation   quadcopter flight controller based on kalman filtersItsp documentation   quadcopter flight controller based on kalman filters
Itsp documentation quadcopter flight controller based on kalman filters
 
Timers
TimersTimers
Timers
 
53302372 config-gns3
53302372 config-gns353302372 config-gns3
53302372 config-gns3
 
User Guide - PID
User Guide - PIDUser Guide - PID
User Guide - PID
 
HMI_1
HMI_1HMI_1
HMI_1
 
[가상편] 하드웨어에 생명을 주는 아두이노
[가상편] 하드웨어에 생명을 주는 아두이노[가상편] 하드웨어에 생명을 주는 아두이노
[가상편] 하드웨어에 생명을 주는 아두이노
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Customizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA BoardCustomizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA Board
 
How do you use PID in PLC.docx
How do you use PID in PLC.docxHow do you use PID in PLC.docx
How do you use PID in PLC.docx
 
Output compare
Output compareOutput compare
Output compare
 
Cataloge ge 3.control and_automation-11_vat300_e_c4-3_rev_a
Cataloge ge 3.control and_automation-11_vat300_e_c4-3_rev_aCataloge ge 3.control and_automation-11_vat300_e_c4-3_rev_a
Cataloge ge 3.control and_automation-11_vat300_e_c4-3_rev_a
 
11 vat300 e_c4-3_rev_a
11 vat300 e_c4-3_rev_a11 vat300 e_c4-3_rev_a
11 vat300 e_c4-3_rev_a
 
Best-embedded-corporate-training-in-mumbai
Best-embedded-corporate-training-in-mumbaiBest-embedded-corporate-training-in-mumbai
Best-embedded-corporate-training-in-mumbai
 
Electronic bank statement in SAP FI
Electronic bank statement in SAP FIElectronic bank statement in SAP FI
Electronic bank statement in SAP FI
 
TFL5785 LA County with audio
TFL5785 LA County with audioTFL5785 LA County with audio
TFL5785 LA County with audio
 
LaunchPad MSP 430
LaunchPad MSP 430LaunchPad MSP 430
LaunchPad MSP 430
 
Pf70 700 process_pi
Pf70 700 process_piPf70 700 process_pi
Pf70 700 process_pi
 

Lad VFD Control

  • 1. Totally Integrated Automation Portal Faceplate Workshop / PLC_1 [CPU 1215CDC/DC/Rly] / Program blocks VFD_HOA [FB64] VFD_HOA Properties General Name VFD_HOA Number 64 Type FB Language LAD Numbering automatic Information Title Motor Hand Off Auto Con‐ trol Author TBell Comment V0.0 Creation V0.1 Because it was dis‐ covered in testing that in‐ valid status data is re‐ turned when the drive is not communicating, I add‐ ed the "online" input to the block. I added NW 12 to clear the status words again if the drive is not communicating. Family Version 0.1 User-defined ID VFD_HOA Name Data type Offset Default value Accessible from HMI Visible in HMI Setpoint Comment Input Auto Run Request Bool 0.0 false True True False 1=Run if in Auto, 0=Off if in Au‐ to Auto Speed Request Real 2.0 0.0 True True False Direction Bool 6.0 true True True False 1=Forward 0 = Reverse Hand Run Permissive Bool 6.1 true True True False 1=OK to run in Hand EStop Bool 6.2 false True True False 0=OK, 1=EStop Alarm Reset Bool 6.3 false True True False Alarms Enabled Bool 6.4 True True True False Online Bool 6.5 false True True False Whether or not the drive is in data exchange PID Tag String[10] 8.0 '' True True False
  • 2. Totally Integrated Automation Portal Name Data type Offset Default value Accessible from HMI Visible in HMI Setpoint Comment HW ID Int 20.0 0 True True False Hardware ID of the Profinet Telegram Output Running Bool 22.0 false True True False 1=Run, 0=Off Fault Bool 22.1 false True True False Fail To Start Bool 22.2 false True True False Fail To Stop Bool 22.3 false True True False Actual Speed In Percent Real 24.0 0.0 True True False InOut Static HMI SPHand Bool 28.0 false True True False 1=Run HMI SPOff Bool 28.1 true True True False 1=Off HMI SPAuto Bool 28.2 false True True False 1=Auto HMI SPAlarming Enabled Bool 28.3 True True True True 1= Alarming for this device is activated on HMI HMI SPFail To Start Time Real 30.0 12.0 True True True HMI SPFail To Stop Time Real 34.0 12.0 True True True HMI SPOver Current UInt 38.0 10 True True True HMI SPOver Current Time Real 40.0 2.0 True True True HMI SPSpeed Control Auto Bool 44.0 false True True True HMI SPManual Speed Setting Real 46.0 0.0 True True True HMI Runtime Real 50.0 0.0 True True False HMI SPReset Runtime Bool 54.0 false True True False HMI Number Of Starts DInt 56.0 0 True True False HMI SPReset Number Of Starts Bool 60.0 false True True False Status Running Bool 60.1 false True True False Status Ready Bool 60.2 false True True False Status Warning Bool 60.3 false True True False Status At Speed Bool 60.4 false True True False Status Controlled By PLC Bool 60.5 false True True False Status Run Command Bool 60.6 false True True False HMI HOA Status Int 62.0 0 True True False HMI Status Drive Operating hours UInt 64.0 0 True True False HMI Status Motor Voltage UInt 66.0 0 True True False
  • 3. Totally Integrated Automation Portal Name Data type Offset Default value Accessible from HMI Visible in HMI Setpoint Comment HMI Status Frequency UInt 68.0 0 True True False HMI Status Motor Current UInt 70.0 0 True True False HMI Status RPM UInt 72.0 0 True True False HMI Status Torque Percent UInt 74.0 0 True True False HMI Status Drive DCLink Voltage UInt 76.0 0 True True False HMI Status Heat Sink Tempera‐ ture C UInt 78.0 0 True True False HMI Fail To Start Alarm Bool 80.0 false True True False Place Holder Byte 81.0 16#0 True True False HMI Fail To Stop Alarm Bool 82.0 false True True False Place Holder 2 Byte 83.0 16#0 True True False HMI Overcurrent Alarm Bool 84.0 false True True False Auto_Oneshot Bool 84.1 false True True False Hand_Oneshot Bool 84.2 false True True False Off_Oneshot Bool 84.3 false True True False Runtime One Shot Bool 84.4 false True True False Starts One Shot Bool 84.5 false True True False Fail to Start Timer "ON DLYTMRSec‐ onds Floating Point" True True False Input Time_SP Real 0.0 True True False activate Bool false True True False Output Out Bool false True True False Elapsed Time Real 0.0 True True False InOut Static ON DLYTMR IEC_TIMER True True False ST Time T#0ms True True False PT Time T#0ms True True False ET Time T#0ms True True False RU Bool false False False False IN Bool false True True False
  • 4. Totally Integrated Automation Portal Name Data type Offset Default value Accessible from HMI Visible in HMI Setpoint Comment Q Bool false True True False Info Elapsed Time ms Dint Time T#0ms True True False Fail to Stop TImer "ON DLYTMRSec‐ onds Floating Point" True True False Input Time_SP Real 0.0 True True False activate Bool false True True False Output Out Bool false True True False Elapsed Time Real 0.0 True True False InOut Static ON DLYTMR IEC_TIMER True True False ST Time T#0ms True True False PT Time T#0ms True True False ET Time T#0ms True True False RU Bool false False False False IN Bool false True True False Q Bool false True True False Info Elapsed Time ms Dint Time T#0ms True True False Over Current Timer "ON DLYTMRSec‐ onds Floating Point" True True False Input Time_SP Real 0.0 True True False activate Bool false True True False Output Out Bool false True True False Elapsed Time Real 0.0 True True False InOut Static ON DLYTMR IEC_TIMER True True False
  • 5. Totally Integrated Automation Portal Name Data type Offset Default value Accessible from HMI Visible in HMI Setpoint Comment ST Time T#0ms True True False PT Time T#0ms True True False ET Time T#0ms True True False RU Bool false False False False IN Bool false True True False Q Bool false True True False Info Elapsed Time ms Dint Time T#0ms True True False Temp Local Always True Bool 0.0 Temp Real Real 2.0 Temp Dint DInt 6.0 Hardware Address Temp Word 10.0 PCD Array[1..10] of Word 12.0 Control Data PCD[1] Word 0.0 PCD[2] Word 2.0 PCD[3] Word 4.0 PCD[4] Word 6.0 PCD[5] Word 8.0 PCD[6] Word 10.0 PCD[7] Word 12.0 PCD[8] Word 14.0 PCD[9] Word 16.0 PCD[10] Word 18.0 Control Word Bits Array[0..15] of Bool 12.0 Control Word Bits[0] Bool 0.0 Control Word Bits[1] Bool 0.1 Control Word Bits[2] Bool 0.2 Control Word Bits[3] Bool 0.3 Control Word Bits[4] Bool 0.4 Control Word Bits[5] Bool 0.5 Control Word Bits[6] Bool 0.6 Control Word Bits[7] Bool 0.7 Control Word Bits[8] Bool 1.0
  • 6. Totally Integrated Automation Portal Name Data type Offset Default value Accessible from HMI Visible in HMI Setpoint Comment Control Word Bits[9] Bool 1.1 Control Word Bits[10] Bool 1.2 Control Word Bits[11] Bool 1.3 Control Word Bits[12] Bool 1.4 Control Word Bits[13] Bool 1.5 Control Word Bits[14] Bool 1.6 Control Word Bits[15] Bool 1.7 PSD Array[1..10] of Word 32.0 Status Data PSD[1] Word 0.0 PSD[2] Word 2.0 PSD[3] Word 4.0 PSD[4] Word 6.0 PSD[5] Word 8.0 PSD[6] Word 10.0 PSD[7] Word 12.0 PSD[8] Word 14.0 PSD[9] Word 16.0 PSD[10] Word 18.0 Status Word Bits Array[0..15] of Bool 32.0 Status Word Bits[0] Bool 0.0 Status Word Bits[1] Bool 0.1 Status Word Bits[2] Bool 0.2 Status Word Bits[3] Bool 0.3 Status Word Bits[4] Bool 0.4 Status Word Bits[5] Bool 0.5 Status Word Bits[6] Bool 0.6 Status Word Bits[7] Bool 0.7 Status Word Bits[8] Bool 1.0 Status Word Bits[9] Bool 1.1 Status Word Bits[10] Bool 1.2 Status Word Bits[11] Bool 1.3 Status Word Bits[12] Bool 1.4 Status Word Bits[13] Bool 1.5
  • 7. Totally Integrated Automation Portal Name Data type Offset Default value Accessible from HMI Visible in HMI Setpoint Comment Status Word Bits[14] Bool 1.6 Status Word Bits[15] Bool 1.7 Read Return Word 52.0 Write Return Word 54.0 Constant Network 1: Create a local always true bit S #"Local Always True" #"Local Always True" Symbol Address Type Comment #"Local Always True" Bool Network 2: Setup HOA If not hand or auto set hoa to off #"HMI SPHand" #"HMI SPAuto" #"HMI SPOff" Symbol Address Type Comment #"HMI SPAuto" Bool 1=Auto #"HMI SPHand" Bool 1=Run #"HMI SPOff" Bool 1=Off Network 3: HOA OFF
  • 8. Totally Integrated Automation Portal P_TRIG R R #"HMI SPOff" #Off_Oneshot #"HMI SPHand" #"HMI SPAuto" CLK Q Symbol Address Type Comment #"HMI SPAuto" Bool 1=Auto #"HMI SPHand" Bool 1=Run #"HMI SPOff" Bool 1=Off #Off_Oneshot Bool Network 4: HOA Hand P_TRIG R R #"HMI SPHand" #"Hand Run Permissive" #Hand_Oneshot #"HMI SPOff" #"HMI SPAuto" CLK Q Symbol Address Type Comment #"Hand Run Permissive" Bool 1=OK to run in Hand #"HMI SPAuto" Bool 1=Auto #"HMI SPHand" Bool 1=Run #"HMI SPOff" Bool 1=Off #Hand_Oneshot Bool Network 5: HOA Auto
  • 9. Totally Integrated Automation Portal P_TRIG R R #"HMI SPAuto" #Auto_Oneshot #"HMI SPHand" #"HMI SPOff" CLK Q Symbol Address Type Comment #"HMI SPAuto" Bool 1=Auto #"HMI SPHand" Bool 1=Run #"HMI SPOff" Bool 1=Off #Auto_Oneshot Bool Network 6: Status Word Information 3Status Word ________________________________________________________________ Bit Bit = 0 Bit = 1 Siemens Bit 00 Control not ready Control ready 8 01 Drive not ready Drive ready 9 02 Coasting Enable 10 03 No error Trip 11 ------------------------------------------------------------------------------------------- 04 OFF 2 ON 2 12 05 OFF 3 ON 3 13 06 Start possible Start not possible 14 07 No warning Warning 15 ------------------------------------------------------------------------------------------- 08 Speed ≠ reference Speed = reference 0 09 Local operation Bus control 1 10 Out of frequency limit Frequency limit ok 2 11 No operation In operation 3 ------------------------------------------------------------------------------------------- 12 Drive OK Stopped, autostart 4 13 Voltage OK Voltage exceeded 5 14 Torque OK Torque exceeded 6 15 Timer OK Timer exceeded 7 Bit 00, Control not ready/ready When bit 00 = "0", bit 00, 01 or 02 of the Control word is "0" (OFF 1, OFF 2 or OFF 3) - or the
  • 10. Totally Integrated Automation Portal frequency converter is switched off (trip). When bit 00 = "1", the frequency converter control is ready, but there is not necessarily power supply to the unit present (in the event of external 24 V supply of the control system). Bit 01, VLT not ready/ready Same significance as bit 00, however, there is a supply of the power unit. The frequency converter is ready when it receives the necessary start signals. Bit 02, Coasting/Enable When bit 02 = "0", bit 00, 01 or 02 of the Control word is "0" (OFF 1, OFF 2 or OFF 3 or coasting) - or the frequency converter is switched off (trip). When bit 02 = "1", bit 00, 01 or 02 of the Control word is "1"; the frequency converter has not tripped. Bit 03, No error/Trip When bit 03 = "0", no error condition of the frequency converter exists. When bit 03 = "1", the frequency converter has tripped and requires a reset signal before it can start. Bit 04, ON 2/OFF 2 When bit 01 of the Control word is "0", then bit 04 = "0". When bit 01 of the Control word is "1", then bit 04 = "1". Bit 05, ON 3/OFF 3 When bit 02 of the Control word is "0", then bit 05 = "0". When bit 02 of the Control word is "1", then bit 05 = "1". Bit 06, Start possible/Start not possible If PROFIdrive has been selected in par. 8-10 Control word profile, bit 06 will be "1" after a switchoff acknowledgement, after activation of OFF2 or OFF3, and after switching on the mains voltage. Start not possible will be reset, with bit 00 of the Control word being set to "0" and bit 01, 02 and 10 being set to "1". Bit 07, No warning/Warning Bit 07 = “0” means that there are no warnings. Bit 07 = “1” means that a warning has occurred. Bit 08, Speed ≠ reference / Speed = reference When bit 08 = "0", the current speed of the motor deviates from the set speed reference value. This may occur, for example, when the speed is being changed during start/stop through ramp
  • 11. Totally Integrated Automation Portal up/down. When bit 08 = "1", the current speed of the motor corresponds to the set speed reference value. Bit 09, Local operation/Bus control Bit 09 = "0" indicates that the frequency converter has been stopped by means of the stop button on the control panel, or that [Linked to hand] or [Local] has been selected in par. 3-13 Reference site. When bit 09 = "1", the frequency converter can be controlled through the serial interface. Bit 10, Out of frequency limit/Frequency limit OK When bit 10 = "0", the output frequency is outside the limits set in par. 4-11 Motor speed low limit (rpm) and par. 4-13 Motor speed high limit (rpm). When bit 10 = "1", the output frequency is within the indicated limits. Bit 11, No operation/Operation When bit 11 = "0", the motor does not turn. When bit 11 = "1", the frequency converter has a start signal, or the output frequency is higher than 0 Hz. Bit 12, Drive OK/Stopped, autostart When bit 12 = "0", there is no temporary overloading of the inverter. When bit 12 = "1", the inverter has stopped due to overloading. However, the frequency converter has not switched off (trip) and will start again after the overloading has ended. Bit 13, Voltage OK/Voltage exceeded When bit 13 = "0", the voltage limits of the frequency converter are not exceeded. When bit 13 = "1", the direct voltage in the intermediate circuit of the frequency converter is too low or too high. Bit 14, Torque OK/Torque exceeded When bit 14 = "0", the motor torque is below the limit selected in par. 4-16 Torque limit motor mode and par. 4-17 Torque limit generator mode. When bit 14 = "1", the limit selected in par. 4-16 Torque limit motor mode or par. 4-17 Torque limit generator mode is exceeded. Bit 15, Timer OK/Timer exceeded When bit 15 = "0", the timers for the thermal motor protection and thermal frequency converter protection have not exceeded 100%. When bit 15 = "1", one of the timers has exceeded 100%.
  • 12. Totally Integrated Automation Portal Symbol Address Type Comment Network 7: Clear Status Words FILL_BLK 0 10 #PSD[1] EN IN COUNT ENO OUT Symbol Address Type Comment #PSD[1] Word Status Data Network 8: Get the Hardware ID number and move to temp MOVE #"HWID" #"Hardware Address Temp" EN IN ENO OUT1 Symbol Address Type Comment #"Hardware Address Temp" Word #"HW ID" Int Hardware ID of the Profinet Telegram Network 9: Read StatusWords
  • 13. Totally Integrated Automation Portal DPRD_DAT #"Hardware Address Temp" #"Read Return" #PSD EN LADDR ENO RET_VAL RECORD Symbol Address Type Comment #"Hardware Address Temp" Word #"Read Return" Word #PSD Array Status Data Network 10: Clear Status Words FILL_BLK#Online 0 10 #PSD[1] EN IN COUNT ENO OUT Symbol Address Type Comment #Online Bool Whether or not the drive is in data exchange #PSD[1] Word Status Data Network 11: Convert Actual Speed Feedback CONV toInt DInt CONV toDInt Real #"Local Always True" #PSD[2] #"Temp Dint" #"Temp Dint" #"Temp Real" EN IN ENO OUT toInt DInt EN IN ENO OUT toDInt Real Symbol Address Type Comment #"Local Always True" Bool #"Temp Dint" DInt #"Temp Real" Real #PSD[2] Word Status Data
  • 14. Totally Integrated Automation Portal Network 12: Convert Actual Speed Feedback to percent DIV Auto (Real) ABS Real #"Temp Real" 163.84 #"Temp Real" #"Temp Real" #"Actual Speed In Percent" EN IN1 IN2 ENO OUT Auto (Real) EN IN ENO OUT Real Symbol Address Type Comment #"Actual Speed In Percent" Real #"Temp Real" Real Network 13: Parce received Control Word to Outputsand Stats Bytes are swapped compared to documention W#16#8090 means drive is not communicating
  • 15. Totally Integrated Automation Portal Word == #"Local Always True" #"Status Word Bits"[0] #"Status At Speed" #"Status Word Bits"[1] #"Status Controlled By PLC" #"Status Word Bits"[3] #Running #"Status Running" #"Status Word Bits"[8] #"Status Ready" #"Status Word Bits"[11] #Fault #"Read Return" w#16#8090 #"Status Word Bits"[15] #"Status Warning" Symbol Address Type Comment #"Local Always True" Bool #"Read Return" Word #"Status At Speed" Bool #"Status Controlled By PLC" Bool #"Status Ready" Bool #"Status Running" Bool #"Status Warning" Bool #"Status Word Bits"[0] Bool
  • 16. Totally Integrated Automation Portal Symbol Address Type Comment #"Status Word Bits"[1] Bool #"Status Word Bits"[3] Bool #"Status Word Bits"[8] Bool #"Status Word Bits"[11] Bool #"Status Word Bits"[15] Bool #Fault Bool #Running Bool 1=Run, 0=Off Network 14: Move Control Status Words Tempsto Status words Stats MOVE MOVE MOVE MOVE MOVE MOVE MOVE MOVE #"Local Always True" #PSD[3] #"HMI Status Drive Operating hours" #PSD[4] #"HMI Status Motor Voltage" #PSD[5] #"HMI Status Frequency" #PSD[6] #"HMI Status Motor Current" #PSD[7] #"HMI Status RPM" #PSD[8] #"HMI Status Torque Percent" #PSD[9] #"HMI Status Drive DCLink Voltage" #PSD[10] #"HMI Status Heat Sink Temperature C" EN IN ENO OUT1 EN IN ENO OUT1 EN IN ENO OUT1 EN IN ENO OUT1 EN IN ENO OUT1 EN IN ENO OUT1 EN IN ENO OUT1 EN IN ENO OUT1 Symbol Address Type Comment #"HMI Status Drive DCLink Volt‐ age" UInt #"HMI Status Drive Operating hours" UInt #"HMI Status Frequency" UInt
  • 17. Totally Integrated Automation Portal Symbol Address Type Comment #"HMI Status Heat Sink Tempera‐ ture C" UInt #"HMI Status Motor Current" UInt #"HMI Status Motor Voltage" UInt #"HMI Status RPM" UInt #"HMI Status Torque Percent" UInt #"Local Always True" Bool #PSD[3] Word Status Data #PSD[4] Word Status Data #PSD[5] Word Status Data #PSD[6] Word Status Data #PSD[7] Word Status Data #PSD[8] Word Status Data #PSD[9] Word Status Data #PSD[10] Word Status Data Network 15: Control Word Information Control Word ______________________________________________________________ Bit Bit = 0 Bit = 1 00 OFF 1 ON 1 01 OFF 2 ON 2 F 02 OFF 3 ON 3 03 Coasting No coasting --------------------------------------------------------------------------------------------------------------------------- 04 Quick stop Ramp 05 Hold frequency output Use ramp 06 Ramp stop Start 7 07 No function Reset ---------------------------------------------------------------------------------------------------------------------------- 08 Jog 1 OFF Jog 1 ON 09 Jog 2 OFF Jog 2 ON 10 Data invalid Data valid 4 11 No function Slow down ------------------------------------------------------------------------------------------------------------------------------ 12 No function Catch up 13 Parameter set-up Selection lsb 0 14 Parameter set-up Selection msb
  • 18. Totally Integrated Automation Portal 15 No function Reverse !!!!!!!!* * * * * * * To be able to change direction using the direction bit, paremeter 4-10 must be set to 2 for both directions* * * * * * * * * * * * * !!!!!!!!!!! Bit 00, OFF 1/ON 1 Normal ramp stop using the ramp times of the actual selected ramp. Bit 00 = "0" leads to the stop and activation of the output relay 1 or 2 if the output frequency is 0 Hz and if [Relay 123] has been selected in par. 5-40 Function relay. When bit 00 = "1", the frequency converter is in State 1: “Switching on inhibited”. Please refer to the PROFIdrive State Transition Diagram, at the end of this section. Bit 01, OFF 2/ON 2 Coasting stop When bit 01 = "0", a coasting stop and activation of the output relay 1 or 2 occurs if the output frequency is 0 Hz and if [Relay 123] has been selected in par. 5-40 Function relay. When bit 01 = "1", the frequency converter is in State 1: “Switching on inhibited”. Bit 02, OFF 3/ON 3 Quick stop using the ramp time of par. 3-81 Quick stop ramp time. When bit 02 = "0", a quick stop and activation of the output relay 1 or 2 occurs if the output frequency is 0 Hz and if [Relay 123] has been selected in par. 5-40 Function relay. When bit 02 = "1", the frequency converter is in State 1: “Switching on inhibited”. Bit 03, Coasting/No coasting Coasting stop Bit 03 = "0" leads to a stop. When bit 03 = "1", the frequency converter can start if the other start conditions are satisfied. The selection in par. 8-50 Coasting select determines how bit 03 is linked with the corresponding function of the digital inputs. Bit 04, Quick stop/Ramp Quick stop using the ramp time of par. 3-81 Quick stop ramp time. When bit 04 = "0", a quick stop occurs. When bit 04 = "1", the frequency converter can start if the other start conditions are satisfied. The selection in par. 8-51 Quick stop select determines how bit 04 is linked with the corresponding function of the digital inputs. Bit 05, Hold frequency output/Use ramp When bit 05 = "0", the current output frequency is being maintained even if the reference value is modified. When bit 05 = "1", the frequency converter can perform its regulating function again; operation occurs according to the respective reference value.
  • 19. Totally Integrated Automation Portal Bit 06, Ramp stop/Start Normal ramp stop using the ramp times of the actual ramp as selected. In addition, activation of the output relay 01 or 04 if the output frequency is 0 Hz if Relay 123 has been selected in par. 5-40 Function relay. Bit 06 = "0" leads to a stop. When bit 06 = "1", the frequency converter can start if the other start conditions are satisfied. The selection in par. 8-53 Start select determines how bit 06 is linked with the corresponding function of the digital inputs. Bit 07, No function/Reset Reset after switching off. Acknowledges event in fault buffer. When bit 07 = "0", no reset occurs. When there is a slope change of bit 07 to "1", a reset occurs after switching off. Bit 08, Jog 1 OFF/ON Activation of the pre-programmed speed in par. 8-90 Bus Jog 1 speed. JOG1 is only possible if bit 04 = "0" and bit 00 - 03 = "1". Bit 09, Jog 2 OFF/ON Activation of the pre-programmed speed in par. 8-91 Bus Jog 2 speed. JOG2 is only possible if bit 04 = "0" and bit 00 - 03 = "1". Bit 10, Data invalid/valid Is used to tell the frequency converter whether the control word is to be used or ignored. Bit 10 = “0” causes the control word to be ignored, Bit 10 = “1” causes the control word to be used. This function is relevant, because the control word is always contained in the telegram, regardless of which type of telegram is used, i.e. it is possible to turn off the control word if you do not wish to use it in connection with updating or reading parameters. Bit 11, No function/Slow down Is used to reduce the speed reference value by the amount given in par. 3-12 Catch up/slow down value. When bit 11 = "0", no modification of the reference value occurs. When bit 11 = "1", the reference value is reduced. Bit 12, No function/Catch up Is used to increase the speed reference value by the amount given in par. 3-12 Catch up/slow down value. When bit 12 = "0", no modification of the reference value occurs. When bit 12 = "1", the reference value is increased. If both - slowing down and accelerating - are activated (bit 11 and 12 = "1"), slowing down has
  • 20. Totally Integrated Automation Portal priority, i.e. the speed reference value will be reduced. 13 Parameter set-up Selection lsb 14 Parameter set-up Selection msb Bit 15, No function/Reverse Bit 15 = “0” causes no reversing. Bit 15 = “1” causes reversing. Note: In the factory setting reversing is set to digital in par. 8-54 Reversing select. Symbol Address Type Comment Network 16: Clear Control Words FILL_BLK 0 10 #PCD[1] EN IN COUNT ENO OUT Symbol Address Type Comment #PCD[1] Word Control Data Network 17: Initialize Temp to a value that would stop the drive MOVE W#16#47E #PCD[1] EN IN ENO OUT1 Symbol Address Type Comment #PCD[1] Word Control Data
  • 21. Totally Integrated Automation Portal Network 18: If a run request is received then move the value into the control word to start the drive MOVE MOVE #"HMI SPAuto" #"Auto Run Request" #"HMI SPOff" #EStop #"Over Current Timer".Out #"Status Ready" #"Status Run Command" #Direction W#16#47F #PCD[1] #"HMI SPHand" #"Hand Run Permissive" #Direction W#16#847F #PCD[1] EN IN ENO OUT1 EN IN ENO OUT1 Symbol Address Type Comment #"Auto Run Request" Bool 1=Run if in Auto, 0=Off if in Auto #"Hand Run Permissive" Bool 1=OK to run in Hand #"HMI SPAuto" Bool 1=Auto #"HMI SPHand" Bool 1=Run #"HMI SPOff" Bool 1=Off #"Over Current Timer".Out Bool #"Status Ready" Bool #"Status Run Command" Bool #Direction Bool 1=Forward 0 = Reverse #EStop Bool 0=OK, 1=EStop #PCD[1] Word Control Data Network 19: If a reset is received; or the control word with the reset bit OR Word#"Alarm Reset" #PCD[1] W#16#80 #PCD[1] EN IN1 IN2 ENO OUT Word Symbol Address Type Comment #"Alarm Reset" Bool #PCD[1] Word Control Data
  • 22. Totally Integrated Automation Portal Network 20: Speed Setpoint Conversion Range is from 0 to 4000 hex = 0 to 16384 decimal MUL Auto (Real) MUL Auto (Real) #"HMI SP Speed Control Auto" 163.84 #"Auto Speed Request" #"Temp Real" #"HMI SP Speed Control Auto" 163.84 #"HMI SP Manual Speed Setting" #"Temp Real" EN IN1 IN2 ENO OUT Auto (Real) EN IN1 IN2 ENO OUT Auto (Real) Symbol Address Type Comment #"Auto Speed Request" Real #"HMI SPManual Speed Setting" Real #"HMI SPSpeed Control Auto" Bool #"Temp Real" Real Network 21: Convert Speed from real to word ROUND toReal DInt MOVE #"Temp Real" #"Temp Dint" #"Temp Dint" #PCD[2] EN IN ENO OUT toReal DInt EN IN ENO OUT1 Symbol Address Type Comment #"Temp Dint" DInt #"Temp Real" Real #PCD[2] Word Control Data
  • 23. Totally Integrated Automation Portal Network 22: Write Control Data Wordsto the Drive DPWR_DAT #"Hardware Address Temp" #PCD #"Write Return" EN LADDR RECORD ENO RET_VAL Symbol Address Type Comment #"Hardware Address Temp" Word #"Write Return" Word #PCD Array Control Data Network 23: Fail to start alarm "ON DLY TMRSeconds Floating Point" %FB4%FB4 #"Fail to Start Timer" #"HMI SPFail To Start Time" #"Fail to Start Timer".Out #"Fail to Start Timer"."Elapsed Time" #"Status Run Command" #"Status Word Bits"[3] #"Status Word Bits"[1] #"Alarms Enabled" #"HMI SP Alarming Enabled" #"Fail to Start Timer".Out #"Alarm Reset" EN Time_SP activate ENO Out Elapsed Time Symbol Address Type Comment #"Alarm Reset" Bool #"Alarms Enabled" Bool #"Fail to Start Timer" Multi_FB
  • 24. Totally Integrated Automation Portal Symbol Address Type Comment #"Fail to Start Timer"."Elapsed Time" Real #"Fail to Start Timer".Out Bool #"HMI SPAlarming Enabled" Bool 1= Alarming for this device is activated on HMI #"HMI SPFail To Start Time" Real #"Status Run Command" Bool #"Status Word Bits"[1] Bool #"Status Word Bits"[3] Bool Network 24: Fail To Stop "ON DLY TMRSeconds Floating Point" %FB4%FB4 #"Fail to Stop TImer" #"HMI SPFail To Stop Time" #"Fail to Stop TImer".Out #"Fail to Stop TImer"."Elapsed Time" #"Status Word Bits"[3] #"Status Run Command" #"Status Word Bits"[1] #"Alarms Enabled" #"HMI SP Alarming Enabled" #"Fail to Stop TImer".Out #"Alarm Reset" EN Time_SP activate ENO Out Elapsed Time Symbol Address Type Comment #"Alarm Reset" Bool #"Alarms Enabled" Bool #"Fail to Stop TImer" Multi_FB #"Fail to Stop TImer"."Elapsed Time" Real #"Fail to Stop TImer".Out Bool #"HMI SPAlarming Enabled" Bool 1= Alarming for this device is activated on HMI #"HMI SPFail To Stop Time" Real #"Status Run Command" Bool
  • 25. Totally Integrated Automation Portal Symbol Address Type Comment #"Status Word Bits"[1] Bool #"Status Word Bits"[3] Bool Network 25: Over Current Alarm Disabled for now "ON DLY TMRSeconds Floating Point" %FB4 UInt >= %FB4 #"Over Current Timer" #"HMI SPOver Current Time" #"Over Current Timer".Out #"Over Current Timer"."Elapsed Time" #"HMI Status Motor Current" #"HMI SPOver Current" #"Local Always True" #"Alarms Enabled" #"HMI SP Alarming Enabled" #"Over Current Timer".Out #"Alarm Reset" EN Time_SP activate ENO Out Elapsed Time Symbol Address Type Comment #"Alarm Reset" Bool #"Alarms Enabled" Bool #"HMI SPAlarming Enabled" Bool 1= Alarming for this device is activated on HMI #"HMI SPOver Current Time" Real #"HMI SPOver Current" UInt #"HMI Status Motor Current" UInt #"Local Always True" Bool #"Over Current Timer" Multi_FB #"Over Current Timer"."Elapsed Time" Real #"Over Current Timer".Out Bool
  • 26. Totally Integrated Automation Portal Network 26: Fail to start and stop to outputsof block and to HMI #"Local Always True" #"Fail to Start Timer".Out #"Fail To Start" #"Fail to Stop TImer".Out #"Fail To Stop" #"HMI Fail To Stop Alarm" #"HMI Fail To Start Alarm" Symbol Address Type Comment #"Fail to Start Timer".Out Bool #"Fail To Start" Bool #"Fail to Stop TImer".Out Bool #"Fail To Stop" Bool #"HMI Fail To Start Alarm" Bool #"HMI Fail To Stop Alarm" Bool #"Local Always True" Bool Network 27: 0=Stopped, 1 = Running Ramping, 2 = Running At Speed, 3 = Fail to Start, 4 = Fail to Stop, 5 = Faulted
  • 27. Totally Integrated Automation Portal Network 27: 0=Stopped, 1 = Running Ramping, 2 = Running At Speed, 3 = Fail to Start, 4 = Fail to Stop, 5 = Faulted (1.1 / 2.1) MOVE MOVE MOVE MOVE MOVE MOVE Word == #"Local Always True" 0 #"HMI HOA Status" #"Status Word Bits"[3] #"Status Word Bits"[0] 1 #"HMI HOA Status" #"Status Word Bits"[3] #"Status Word Bits"[0] 2 #"HMI HOA Status" #"Fail to Start Timer".Out 3 #"HMI HOA Status" #"Fail to Stop TImer".Out 4 #"HMI HOA Status" #"HMI SP Alarming Enabled" #"Status Word Bits"[11] 5 #"HMI HOA Status" #"Read Return" w#16#8090 EN IN ENO OUT1 EN IN ENO OUT1 EN IN ENO OUT1 EN IN ENO OUT1 EN IN ENO OUT1 EN IN ENO OUT1 2.1 ( Page1 - 28)
  • 28. Totally Integrated Automation Portal Network 27: 0=Stopped, 1 = Running Ramping, 2 = Running At Speed, 3 = Fail to Start, 4 = Fail to Stop, 5 = Faulted (2.1 / 2.1) 1.1 ( Page1 - 27) MOVE MOVE #"Over Current Timer".Out 6 #"HMI HOA Status" #Online 7 #"HMI HOA Status" EN IN ENO OUT1 EN IN ENO OUT1
  • 29. Totally Integrated Automation Portal Symbol Address Type Comment #"Fail to Start Timer".Out Bool #"Fail to Stop TImer".Out Bool #"HMI HOA Status" Int #"HMI SPAlarming Enabled" Bool 1= Alarming for this device is activated on HMI #"Local Always True" Bool #"Over Current Timer".Out Bool #"Read Return" Word #"Status Word Bits"[0] Bool #"Status Word Bits"[3] Bool #"Status Word Bits"[11] Bool #Online Bool Whether or not the drive is in data exchange Network 28: Calculate Runtime hours P_TRIG ADD Real #"Status Running" "Clock_1Hz" %M0.5%M0.5 #"Runtime One Shot" 0.0002777778 #"HMI Runtime" #"HMI Runtime" CLK Q EN IN1 IN2 ENO OUT Real Symbol Address Type Comment "Clock_1Hz" %M0.5 Bool #"HMI Runtime" Real #"Runtime One Shot" Bool #"Status Running" Bool Network 29: HMI Reset Runtime Hours MOVE #"HMI SPReset Runtime" 0.0 #"HMI Runtime" EN IN ENO OUT1
  • 30. Totally Integrated Automation Portal Symbol Address Type Comment #"HMI Runtime" Real #"HMI SPReset Runtime" Bool Network 30: Number Of Starts P_TRIG ADD Auto (DInt) #"Status Running" #"Starts One Shot" #"HMI Number Of Starts" 1 #"HMI Number Of Starts" CLK Q EN IN1 IN2 ENO OUT Auto (DInt) Symbol Address Type Comment #"HMI Number Of Starts" DInt #"Starts One Shot" Bool #"Status Running" Bool Network 31: Reset Number of Starts MOVE #"HMI SPReset Number Of Starts" 0 #"HMI Number Of Starts" EN IN ENO OUT1 Symbol Address Type Comment #"HMI Number Of Starts" DInt #"HMI SPReset Number Of Starts" Bool