Language Differences
33002515 07/2012
71
WORD Assignments to BOOL Arrays
Manual Correction
Assignments of HEX WORDS to complete Bool arrays sent to Word registers are 
possible in Concept, but not in Unity. A manual correction must be done, for 
example:
(’AR2_BOOL[0]:BOOL’<->’16#0100:DINT’)
(’AR2_BYTE[0]:BYTE’<->’16#55AA:DINT’)
(’AR2_BYTE[0]:BYTE’<->’16#AA55:DINT’)
Solution
The ST code must be changed to single-component assignments. 
The hex word must be split into single bits: 
AR2_BOOL[17] := true;
Add text pdf professional - 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
how to add text to a pdf document using acrobat; adding text to a pdf in acrobat
Add text pdf professional - 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
how to enter text into a pdf form; adding text to a pdf form
Language Differences
72
33002515 07/2012
Topological Address Overlapping
Same Topological Address
In Unity, you are warned (during application analysis) if the same topological 
address is assigned to multiple variables.
C# PDF metadata Library: add, remove, update PDF metadata in C#.
Allow C# Developers to Read, Add, Edit, Update and Delete PDF Metadata in .NET Project. Professional PDF SDK for adobe PDF document metadata editing in C# .NET
how to add text fields in a pdf; adding text field to pdf
.NET PDF Document Viewing, Annotation, Conversion & Processing
Easy to mark confidential content and redact. Redact text content, images, whole pages from PDF file. Add, insert PDF native annotations to PDF file.
adding text to pdf in acrobat; adding text to a pdf file
Language Differences
33002515 07/2012
73
Substitute %QD by %MF
Introduction
Variables that are directly addressed in Concept with %QD can be initialized floating 
point constants or dual word constants. 
When mainly floating point constants appear, the Substitute %QD by %MF 
checkbox should be enabled.
Conversion Settings
Open the Conversion Settings tab via Tools → Options in Unity Pro to 
enable/disable the Substitute %QD by %MF check box before converting.
z
When this checkbox is enabled, %QD variables are converted to %MF variables.
z
When this checkbox is not enabled, %QD variables are converted to MW 
variables.
VB.NET PDF Convert to Word SDK: Convert PDF to Word library in vb.
This VB.NET PDF to Word converter control is a professional and mature .NET In order to convert PDF document to Word file using VB.NET Add necessary references
how to add a text box to a pdf; add text to pdf in preview
C# HTML5 PDF Viewer SDK to view, annotate, create and convert PDF
Support to add password to PDF document and edit password Help C# users to erase PDF text content, images and C#.NET HTML5 PDF Viewer and HTML5 PDF Editor are
how to enter text into a pdf; add text to pdf document in preview
Language Differences
74
33002515 07/2012
Structure Alignment Changed
DPM_Time Structure
Unity uses a 2-byte alignment for structures in contrast to Concept (1-Byte) to speed 
up the access to structure components. This affects system structures mapped to 
StateRam, because the same structures in Unity can be bigger including some byte 
gaps.
The concerned structure is DPM_Time, which has been redefined for Unity to re-
map to the correct hardware addresses.
Concept’s DPM_Time definition:
sync: BOOL
ms:   WORD
...
Unity’s DPM_Time definition:
sync:   BOOL
ms_lsb: BYTE
ms_msb: BYTE
...
Manual Correction
If an application that includes the DPM_time structure is converted, the 
analyze/build process will fail for the redefined structure components (in the above 
example, ms_lsb, ms_msb). 
The user has to manually change the usage of these structure components in the 
application accordingly.
About RasterEdge.com - A Professional Image Solution Provider
RasterEdge.com is professional provider of document, content and imaging solutions to provide powerful & profession imaging controls, PDF document, image to pdf
how to add text field to pdf; how to insert text into a pdf
C# PDF File Split Library: Split, seperate PDF into multiple files
NET PDF document splitter control toolkit SDK can not only offer C# developers a professional .NET solution C# DLLs: Split PDF Document. Add necessary references
add text in pdf file online; how to add text to a pdf document
Language Differences
33002515 07/2012
75
Undefined Output on Disabled EFs 
Outputs of EFs Not Kept
In case the EN switches from TRUE to FALSE, the outputs of EFs from the previous 
cycle are not kept in Unity. This reduces the memory consumption in the PLC. This 
is different from EFBs, which keep their value from the previous cycle. Concept uses 
static links to latch the value from the previous cycle.
Execution Behavior Differs Significantly
If a Concept application relies on the outputs of EFs to keep their old values, the 
execution behavior in UNITY will differ significantly.
Manual Correction
The application has to be changed manually. 
Links from outputs, which are assumed to keep their value, need to be replaced by 
variables. If the EN of an EF is set to false, the EF is not executed and a connected 
variable is not touched.
Concept
The output of the disabled SEL EF is kept and used as input for the EQ_INT function 
block:
C# PDF File Merge Library: Merge, append PDF files in C#.net, ASP.
PDF page deleting, PDF document splitting, PDF page reordering and PDF page image and text extraction. C#.NET DLLs: Merge PDF Document. Add necessary references
adding a text field to a pdf; add text boxes to pdf
C# PDF Password Library: add, remove, edit PDF file password in C#
A professional PDF encryption and decryption control able to be Allow to decrypt PDF password and open a Support to add password to PDF document online or in C#
add text to pdf; how to add text boxes to pdf
Language Differences
76
33002515 07/2012
Unity
The output of the disabled SEL EF gets an undefined value, in this case 0. Therefore 
the output of EQ_INT function block has become true:
Solution
If the EN of the SEL is set to false, the ENO of the EQ_INT is also set to false, but the 
connected output variable keeps its value from the previous cycle:
NOTE: The use of a variable is mandatory to retain network results in case an EF 
becomes disabled.
VB.NET PDF Text Add Library: add, delete, edit PDF text in vb.net
Page in VB.NET. Professional VB.NET Solution for Adding Text Annotation to PDF Page in VB.NET. Add Annotation – Add Text Overview.
add editable text box to pdf; how to enter text into a pdf form
C# Create PDF Library SDK to convert PDF from other file formats
After creating a PDF document in C#.NET using this PDF document creating toolkit, if you need to add some text and draw some graphics on created
add text pdf acrobat professional; add text to pdf reader
Language Differences
33002515 07/2012
77
Variables at Empty Pins
Introduction
In Unity Pro it is necessary to fill provided inputs and outputs for derived data types 
or I/O parameters (this is not necessary in Concept).
If these types are not generic, the converter will fill these initially empty inputs and 
outputs with variables created by the converter. 
Conversion Settings
Open the Conversion Settings tab via Tools → Options in Unity Pro to 
enable/disable the Variables at empty pins check box before converting.
z
When this checkbox is enabled, empty link points will be filled with variables 
created by the converter.
z
When this checkbox is not enabled, empty link points will not be filled with 
variables created by the converter.
Language Differences
78
33002515 07/2012
SFC Section Retains its State When Performing an Online Modification
Online Modifications Without Resetting
In Unity it is possible to do online modifications of an SFC chart without resetting it. 
The SFC chart retains its state and will continue the execution.
NOTE: In Concept, the online modification of an SFC chart usually results in the 
resetting of the chart.
Language Differences
33002515 07/2012
79
SFCCNTRL Function Block in Unity Behaves Different to Concept
RESETSFC vs. INIT
In Concept the RESETSFC input of SFCCNTRL resets all action variables of the 
related SFC section.
In Unity the INIT input of SFCCNTRL (that has a similar function as RESETSFC input 
in Concept) only resets the action variables that have been set by the SFC step. 
Action variables, for example, set by user logic or the Animation Table will not be 
reset.
Language Differences
80
33002515 07/2012
Weekday Numbering 
Different Numbering
In Unity the numbering of weekdays is different than Concept:
SET_TOD / GET_TOD
Function blocks: SET_TOD and GET_TOD will be converted to Unity as DFBs, which 
work in both directions. 
Because SET_TOD expects a "Concept" numbered weekday and translates it as a 
Unity coded value. Also the GET_TOD reads Unity value and returns to User the 
Concept value. 
System Word %SW49
NOTE: We do not recommend that you mix GET_TOD and SET_TOD programming 
with the use of system words (e.g. %SW49) in the same application.
Number
Unity
Concept
1
Monday
Sunday
7
Sunday
Saturday
Documents you may be interested
Documents you may be interested