Programming
Variable
Data type
Default
name
value
Done
BOOL
Busy
BOOL
Error
BOOL
ErrorInfo
DD_ERROR_ISD51x
Table 6.70 DD_SaveBasicCamToFile_ISD51x
6.5.8 SAB
6.5.8.1 SAB_REF
Represents the state of an ISD 510 Servo Access Box. It
handles the PDO communication and the internal state. To
use the SAB-related function blocks, instantiate 1 function
block for each SAB used. Also, connect the inputs and
outputs to the objects that are mapped in the
development environment for synchronous communication
(see chapter 6.3.1.2 Creating a TwinCAT
chapter 6.4.1.2 Creating an Automation Studio
SAB_REF
BOOL
ModuleOk
USINT
NodeNumber
STRING[80]
SlotName
UDINT[0..8]
TPDO
Illustration 6.83 SAB_REF in Automation Studio™
SAB_REF
BOOL
WcState
UINT
State
T_AmsPort
NodeNumber
T_AmsNetldArr
AmsNetld
ARRAY[0..8] OF-
TPDO
UDINT
Illustration 6.84 SAB_REF in TwinCAT
MG36D102
Programming Guide
Description
CAM profile has been
written to the file.
The function block is not
finished and new output
values are to be expected.
An error has occurred
within the function block.
Error identification and
instance identifier.
See chapter 6.5.2.3 Error
Indication.
®
Project and
™ Project).
RPDO
UDINT[0..8]
RPDO
ARRAY[0..8] OF UDINT
®
Danfoss A/S © 01/2017 All rights reserved.
6.5.8.2 DD_Power_SAB
Controls the power for the output lines (On or Off). The
Enable input enables the DC-link voltage on the output
lines and not the function block itself.
DD_Power_SAB
SAB_REF
Sab
BOOL
Enable
TIME
TimeLimit
Illustration 6.85 DD_Power_SAB
Variable
Data
Default
name
type
value
VAR_IN_OUT
Sab
SAB_REF
VAR_INPUT
Enable
BOOL
FALSE
TimeLimit TIME
t#0ms
VAR_OUTPUT
Status
BOOL
Valid
BOOL
Error
BOOL
ErrorInfo
DD_ERROR_ISD51x
Table 6.71 DD_Power_SAB
If the DD_Power_SAB function block is called when Enable
= TRUE while in Standby state, the SAB state changes to
Operation enabled.
The error variable is set to TRUE if the Enable input is TRUE
for the time specified in the input TimeLimit, while the
Status remains FALSE. It indicates a hardware problem with
the power stage. If power fails, also during operation, it
generates a transition to the Fault state.
Only issue 1 function block DD_Power_SAB per SAB.
The Enable input in this function block is not an Enable
input as described in chapter 6.5.2.2 Function Blocks with
Status
BOOL
Valid
BOOL
Error
BOOL
ErrorInfo
DD_ERROR_ISD51x
Description
Reference to the SAB.
See chapter 6.5.8.1 SAB_REF.
If this input is true, DC-link
voltage for the lines is enabled.
Timeout after which an error is
signaled if the Status has not
changed to TRUE while Enable
is TRUE. Set the value to 0 to
disable the time limit.
Effective state of the DC-link
voltage on the output lines.
If TRUE, the function block has
a valid set of outputs.
An error has occurred within
the function block.
Error identification and instance
identifier.
See chapter 6.5.2.3 Error
Indication.
221
6
6
Need help?
Do you have a question about the VLT Series and is the answer not in the manual?
Questions and answers