33002515 07/2012
51
3
Unity Pro
Language Differences
33002515 07/2012
Language Differences
Overview
This chapter contains information about language differences.
What Is in This Chapter?
This chapter contains the following topics:
Topic
Page
Functions Not Present in Unity
53
EFB Replaced by Function
54
FFBs Not Available For All Platforms
55
INOUT Parameters
59
Parameter Type Changed
60
ANY_ARRAY_WORD Parameters
61
Unique Naming required
62
Incomplete LD Generation
63
LD Execution Order Changed
64
Constants
68
Indices in ST and IL
69
Calculate with TIME and REAL
70
WORD Assignments to BOOL Arrays
71
Topological Address Overlapping
72
Substitute %QD by %MF
73
Structure Alignment Changed
74
Undefined Output on Disabled EFs 
75
Variables at Empty Pins
77
SFC Section Retains its State When Performing an Online Modification
78
SFCCNTRL Function Block in Unity Behaves Different to Concept
79
Weekday Numbering 
80
Add text box in pdf document - insert text into PDF content in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
XDoc.PDF for .NET, providing C# demo code for inserting text to PDF file
add text to pdf in acrobat; add text to pdf reader
Add text box in pdf document - VB.NET PDF insert text library: insert text into PDF content in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Providing Demo Code for Adding and Inserting Text to PDF File Page in VB.NET Program
adding text to pdf file; add text boxes to pdf document
Language Differences
52
33002515 07/2012
System Timer
81
Initial Values
82
Macros
84
Topic
Page
VB.NET PDF Text Box Edit Library: add, delete, update PDF text box
Protect. Password: Set File Permissions. Password: Open Document. Edit Digital Highlight Text. Add Text. Add Text Box. Drawing Markups. PDF Print. Work with
how to add text boxes to pdf; add text field pdf
C# PDF Text Box Edit Library: add, delete, update PDF text box in
NET SDK library for adding text box to PDF document in .NET WinForms application. A web based PDF annotation application able to add text box comments to adobe
add text box in pdf; how to add text to a pdf document using reader
Language Differences
33002515 07/2012
53
Functions Not Present in Unity
DFB Wrapper
Functions from Concept that are not present in Unity get a DFB wrapper if they are 
called in ST sections (e.g., WORD_AS_UDINT). For example:
WAUD(* UDINT *) := WORD_AS_UDINT (LOW := WAUL, (* WORD *) HIGH 
:= WAUH(* WORD *));
. . . looks like this after conversion:
WAUD(* UDINT *) := FBI_ST1_75_33 (LOW := WAUL, (* WORD *)HIGH 
:= WAUH(* WORD *));
Manual Correction
FBI_ST1_75_33 is the instance name of the provided DFB wrapper. However, the 
call is still invalid for the analyzer because the converter cannot yet do multi-object 
syntax corrections in ST. (Will be present in V2.0).
You must correct this manually to:
FBI_ST1_75_33 (LOW := WAUL, (* WORD *) HIGH := WAUH(* WORD *), 
OUT => WAUD);
C# PDF Annotate Library: Draw, edit PDF annotation, markups in C#.
installed. Support to add text, text box, text field and crop marks to PDF document. Able class. C#.NET: Add Text Box to PDF Document. Provide
adding text fields to pdf acrobat; how to add text to pdf
C# WPF PDF Viewer SDK to annotate PDF document in C#.NET
Line color. Select the line color when drawing annotations on PDF document. 15. Description. 17. Text box. Click to add a text box to specific location on PDF page
adding text pdf files; how to add text to pdf file
Language Differences
54
33002515 07/2012
EFB Replaced by Function
DFB Wrapping
Some standard Concept EFBs are implemented in Unity as functions.
In such cases, a wrapping DFB is provided so that the original interface of the 
Concept EFB remains valid.
.NET PDF Document Viewing, Annotation, Conversion & Processing
PDF Write. Insert text, text box into PDF. Edit, delete text from PDF. Insert images into PDF. Add, Update, Delete form fields programmatically. Document Protect
how to add text to a pdf in preview; add editable text box to pdf
C# WinForms Viewer: Load, View, Convert, Annotate and Edit PDF
Highlight PDF text. • Add text to PDF document in preview. • Add text box to PDF file in preview. • Draw PDF markups. PDF Protection.
how to add text to pdf file with reader; add text to pdf online
Language Differences
33002515 07/2012
55
FFBs Not Available For All Platforms
Overview
The FFBs (functions/function blocks) listed below can only be used on Quantum 
platforms (except SFC_RESTORE, see table below).
If Modicon M340 is the target platform, these FFBs appear marked in red and 
indicated as "type error".
FFBs Not Available
Communication library
Family
FFB
Platform
Extended
CREAD_REG
Quantum only
CWRITE_REG
MBP_MSTR
READ_REG
WRITE_REG
MODBUSP_ADDR
SYMAX_IP_ADDR
TCP_IP_ADDR
XXMIT
C# WPF Viewer: Load, View, Convert, Annotate and Edit PDF
Highlight PDF text in preview. • Add text to PDF document. • Insert text box to PDF file. • Draw markups to PDF document. PDF Protection.
how to insert text box in pdf; add text to pdf file reader
C# PDF Sticky Note Library: add, delete, update PDF note in C#.net
Allow users to add comments online in ASPX webpage. Able to change font size in PDF comment box. which bring users quick and efficient working with PDF Document.
adding text to pdf reader; how to insert text box in pdf document
Language Differences
56
33002515 07/2012
I/O Management library
Family
FFB
Platform
Analog I/O Configuration
I_FILTER
Quantum only
I_SET
O_FILTER
O_SET
Analog I/O Scaling
I_NORM
Quantum only
I_NORM_WARN
I_PHYS
I_PHYS_WARN
I_RAW
I_RAWSIM
I_SCALE
I_SCALE_WARN
O_NORM
O_NORM_WARN
O_PHYS
O_PHYS_WARN
O_RAW
O_SCALE
O_SCALE_WARN
Immediate I/O
IMIO_IN
Quantum only
IMIO_OUT
C# HTML5 PDF Viewer SDK to annotate PDF document online in C#.NET
Name. Description. 1. Add sticky note. Click to add a sticky note to PDF document. 4. Strikethrough text. Click to strikethrough text on PDF page. 6. Add text box
adding text to pdf; add text pdf file
VB.NET PDF - Annotate PDF with WPF PDF Viewer for VB.NET
Line color. Select the line color when drawing annotations on PDF document. 15. Description. 17. Text box. Click to add a text box to specific location on PDF page
how to add text to a pdf file in preview; how to insert text into a pdf with acrobat
Language Differences
33002515 07/2012
57
Quantum I/O Configuration
ACI030
Quantum only
ACI040
ACO020
ACO130
AII330
AII33010
AIO330
AMM090
ARI030
ATI030
AVI030
AVO020
DROP
ERT_854_10
NOGSTATUS
QUANTUM
XBE
XDROP
Family
FFB
Platform
Language Differences
58
33002515 07/2012
Motion library
Obsolete Lib library
System library
Family
FFB
Platform
MMF Start
CFG_CP_F
Quantum only
CFG_CP_V
CFG_CS
CFG_FS
CFG_IA
CFG_RA
CFG_SA
DRV_DNLD
DRV_UPLD
IDN_CHK
IDN_XFER
MMF_BITS
MMF_ESUB
MMF_INDX
MMF_JOG
MMF_MOVE
MMF_RST
MMF_SUB
MMF_USUB
Family
FFB
Platform
Extensions/Compatibility
GET_3X
Quantum only
IEC_BMDI
Family
FFB
Platform
SFC Management
SFC_RESTORE
Quantum and Premium,
not for Modicon M340
Hot StandBy
HSBY_RD
Quantum only
HSBY_ST
HSBY_WR
REV_XFER
Language Differences
33002515 07/2012
59
INOUT Parameters
Manual Correction
INOUT parameter syntax in ST (and IL) must be corrected manually. Examples are 
shown:
Ascii_FIFO_OUT (Pile := AscFifo_Mess); ..... 
AscFifo_Out := Ascii_FIFO_OUT.DataOut;
. . . is manually corrected to:
Ascii_FIFO_OUT (Pile := AscFifo_Mess, DataOut => AscFifo_Out);
Output Parameters
INOUT parameters in ST sections that were output parameters in Concept (e.g., 
DataOut of FIFO) must be moved manually in ST and IL to the parameters inside 
parentheses associated with the call.
If INOUT parameters that were outputs only in Concept are connected only to a link 
at the output side, they must get a manually declared variable at the input side as 
well. The link must be deleted if it is not connected to another IN/OUT variable. 
Targets of the deleted link must be assigned to the manually declared variable.
This is done automatically in V2.0.
Change of Variable Type
The converter changes the type of direct variables at INOUT parameters of 
communication blocks to ARRAY[0..0] OF WORD. 
This must be corrected manually to correspond to the size of the array.
Language Differences
60
33002515 07/2012
Parameter Type Changed
Change
The parameter type has been changed from type WORD to an array of located words.
Explanation
Unity Comm EFBs no longer accept a single WORD address for the communication 
field because more than one WORD is written. So the converter introduces an artificial 
array (shown in the conversion report) that can be reached from the project tree 
through the appropriate hyperlink:
"For var WORD1 type ARRAY[0..0] OF WORD generated"
The array has a single word size because the converter can not determine its size. 
The user, therefore, needs to manually configure the correct array size.
Documents you may be interested
Documents you may be interested