33002515 07/2012
111
II
Unity Pro
Blocks from Concept to Unity Pro
33002515 07/2012
Blocks from Concept to Unity Pro
Overview
This part contains a description of the blocks which are not part of Unity Pro as 
standard.
However, if these blocks were used in Concept they are generated during the project 
conversion from Concept to Unity Pro in order to map the functionality configured in 
Concept into Unity Pro on a one to one basis.
What Is in This Part?
This part contains the following chapters:
Chapter
Chapter Name
Page
7
BYTE_TO_BIT_DFB: Type conversion
113
8
CREADREG: Continuous register reading
117
9
CWRITREG: Continuous register writing
125
10
DINT_AS_WORD_DFB: Type conversion
131
11
DIOSTAT: Module function status (DIO)
133
12
GET_TOD: Reading the hardware clock (Time Of Day)
135
13
LIMIT_IND_DFB: Limit with indicator
139
14
LOOKUP_TABLE1_DFB: Traverse progression with 1st 
degree interpolation
143
15
PLCSTAT: PLC function status
149
16
READREG: Read register
165
17
RIOSTAT: Module function status (RIO)
173
18
SET_TOD: Setting the hardware clock (Time Of Day)
177
19
WORD_AS_BYTE_DFB: Type conversion
181
20
WORD_TO_BIT_DFB: Type conversion
183
21
WRITEREG: Write register
187
Add text field to pdf - 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
adding text to a pdf document; how to enter text in pdf file
Add text field to pdf - 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
add text to pdf in preview; adding text to pdf reader
Blocks from Concept to Unity Pro
112
33002515 07/2012
C# PDF insert image Library: insert images into PDF in C#.net, ASP
Insert images into PDF form field. Access to freeware download and online C#.NET class source code. How to insert and add image, picture, digital photo, scanned
how to enter text in a pdf document; how to add text fields in a pdf
VB.NET PDF insert image library: insert images into PDF in vb.net
Insert images into PDF form field in VB.NET. with this sample VB.NET code to add an image PDFDocument = New PDFDocument(inputFilePath) ' Get a text manager from
how to add text to pdf document; how to add text to a pdf in preview
33002515 07/2012
113
7
Unity Pro
BYTE_TO_BIT_DFB
33002515 07/2012
BYTE_TO_BIT_DFB: Type 
conversion
Description
Function description
This derived function block converts one input word from the BYTE data type to 8 
output values of the BOOL data type.
The individual bits of the byte at the input are assigned to the outputs according to 
the output names.
EN and ENO can be configured as additional parameters.
Representation in FBD
Representation:
VB.NET PDF Text Extract Library: extract text content from PDF
With this advanced PDF Add-On, developers are able to extract target text content from source PDF document and save extracted text to other file formats
add text to pdf online; add text fields to pdf
C# PDF Text Extract Library: extract text content from PDF file in
How to C#: Extract Text Content from PDF File. Add necessary references: RasterEdge.Imaging.Basic.dll. RasterEdge.Imaging.Basic.Codec.dll.
add text field pdf; adding text to pdf in acrobat
BYTE_TO_BIT_DFB
114
33002515 07/2012
Representation in LD
Representation:
Representation in IL
Representation:
CAL BYTE_TO_BIT_DFB_Instance (IN:=BYTE_variable,
BIT0=>BOOL_variable1, BIT1=>BOOL_variable2,
BIT2=>BOOL_variable3, BIT3=>BOOL_variable4,
BIT4=>BOOL_variable5, BIT5=>BOOL_variable6,
BIT6=>BOOL_variable7, BIT7=>BOOL_variable8)
VB.NET PDF Password Library: add, remove, edit PDF file password
VB: Add Password to PDF with Permission Settings Applied. This VB.NET example shows how to add PDF file password with access permission setting.
adding text to pdf in reader; add text to pdf reader
C# PDF Password Library: add, remove, edit PDF file password in C#
C# Sample Code: Add Password to PDF with Permission Settings Applied in C#.NET. This example shows how to add PDF file password with access permission setting.
how to insert text box on pdf; how to add text to a pdf file in preview
BYTE_TO_BIT_DFB
33002515 07/2012
115
Representation in ST
Representation:
BYTE_TO_BIT_DFB_Instance (IN:=BYTE_variable,
BIT0=>BOOL_variable1, BIT1=>BOOL_variable2,
BIT2=>BOOL_variable3, BIT3=>BOOL_variable4,
BIT4=>BOOL_variable5, BIT5=>BOOL_variable6,
BIT6=>BOOL_variable7, BIT7=>BOOL_variable8) ;
Parameter description
Description of the input parameters:
Description of the output parameters:
Parameter 
Data type
Meaning
IN
BYTE
Input
Parameter 
Data type
Meaning
BIT0
BOOL
Output bit 0
BIT1
BOOL
Output bit 1
:
:
:
BIT7
BOOL
Output bit 7
VB.NET PDF Field Edit library: insert, delete, update pdf form
By using RaterEdge .NET PDF package, you can add form fields to existing pdf files, delete or remove form field in PDF page and update PDF field in VB.NET
how to enter text in pdf; how to enter text into a pdf
VB.NET PDF Text Add Library: add, delete, edit PDF text in vb.net
Data: Auto Fill-in Field Data. Field: Insert, Delete, Update Field. Redact Text Content. Redact Images. Redact Pages. Annotation & Drawing. Add Sticky Note.
how to add text box to pdf document; how to add text to a pdf document using reader
BYTE_TO_BIT_DFB
116
33002515 07/2012
C# PDF Field Edit Library: insert, delete, update pdf form field
Able to add text field to specified PDF file position in C#.NET class. Support to change font size in PDF form. Able to delete form fields from adobe PDF file.
add text to a pdf document; how to insert text box in pdf
C# PDF Text Add Library: add, delete, edit PDF text in C#.net, ASP
Data: Auto Fill-in Field Data. Field: Insert, Delete, Update Field. Redact Text Content. Redact Images. Redact Pages. Annotation & Drawing. Add Sticky Note.
add text boxes to a pdf; adding text to a pdf
33002515 07/2012
117
8
Unity Pro
CREADREG
33002515 07/2012
CREADREG: Continuous register 
reading
Introduction
This chapter describes the CREADREG block.
What Is in This Chapter?
This chapter contains the following topics:
Topic
Page
Description
118
Mode of Functioning
121
Parameter description
122
Modbus Plus Error Codes
123
CREADREG
118
33002515 07/2012
Description
Function description
This derived function block reads the register area continuously. It reads data from 
addressed nodes via Modbus Plus.
EN and ENO can be configured as additional parameters.
NOTE: It is necessary to be familiar with the routing procedures of your network 
when programming a CREADREG function. Modbus Plus routing path structures will 
be described in detail in "Modbus Plus Network Planning and Installation Guide".
NOTE: This function block only supports the local Modbus Plus interface (no NOM).
If using a NOM please work with the block CREAD_REG from the communication 
block library.
NOTE: This function block does not support TCP/IP- or SY/MAX-Ethernet. 
If TCP/IP- or SY/MAX-Ethernet is needed, please use the block CREAD_REG of the 
communication block library.
NOTE: Several copies of this function block can be used in the program. However, 
multiple instancing of these copies is not possible.
Representation in FBD
Representation:
CREADREG
33002515 07/2012
119
Representation in LD
Representation:
Representation in IL
Representation:
CAL CREADREG_Instance (NODEADDR:=DeviceAddress,
ROUTPATH:=RoutingPath, SLAVEREG:=OffsetAddress,
NO_REG:=NumberOfRegisters, 
REG_READ:=ArrayForValuesRead, 
STATUS=>ErrorCode)
Representation in ST
Representation:
CREADREG_Instance (NODEADDR:=DeviceAddress,
ROUTPATH:=RoutingPath, SLAVEREG:=OffsetAddress,
NO_REG:=NumberOfRegisters, 
REG_READ:=ArrayForValuesRead, 
STATUS=>ErrorCode;
CREADREG
120
33002515 07/2012
Parameter description
Description of the input parameters:
Description of input / output parameters:
Description of the output parameters:
Parameters
Data type
Meaning
NODEADDR
INT
Device address within the target segment
ROUTPATH
DINT
Routing path to target segment
SLAVEREG
DINT
Offset address of the first 4x register in the slave to 
be read from
NO_REG
INT
Number of registers to be read from slave
Parameters
Data type
Meaning
REG_READ
ANY_ARRAY_WORD
Writing data
(For the file to be read a data structure must be 
declared as a located variable.)
Parameters
Data type
Meaning
STATUS
WORD
Error Code
Documents you may be interested
Documents you may be interested