33002515 07/2012
181
19
Unity Pro
WORD_AS_BYTE_DFB
33002515 07/2012
WORD_AS_BYTE_DFB: Type 
conversion
Description
Function description
This derived function block converts one input word from the WORD data type to 2 
output values of the BYTE data type.
The individual bytes of the word 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:
Representation in LD
Representation:
How to add text 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
how to insert text in pdf using preview; how to insert pdf into email text
How to add text 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 block to pdf; adding text field to pdf
WORD_AS_BYTE_DFB
182
33002515 07/2012
Representation in IL
Representation:
CAL WORD_AS_BYTE_DFB_Instance (IN:=WORD_variable, 
LOW=>LowByte, HIGH=>HighByte)
Representation in ST
Representation:
WORD_AS_BYTE_DFB_Instance (IN:=WORD_variable, 
LOW=>LowByte, HIGH=>HighByte) ;
Parameter description
Description of the input parameters:
Description of the output parameters:
Parameter 
Data type
Meaning
IN
WORD
Input
Parameter 
Data type
Meaning
LOW
BYTE
least significant byte
HIGH
BYTE
most significant byte
C# PDF insert image Library: insert images into PDF in C#.net, ASP
C#.NET PDF SDK - Add Image to PDF Page in C#.NET. How to Insert & Add Image, Picture or Logo on PDF Page Using C#.NET. Add Image to PDF Page Using C#.NET.
how to insert text box in pdf document; how to add text to pdf file with reader
VB.NET PDF insert image library: insert images into PDF in vb.net
try with this sample VB.NET code to add an image As String = Program.RootPath + "\\" 1.pdf" Dim doc New PDFDocument(inputFilePath) ' Get a text manager from
how to enter text into a pdf; add text to pdf document online
33002515 07/2012
183
20
Unity Pro
WORD_TO_BIT_DFB
33002515 07/2012
WORD_TO_BIT_DFB: Type 
conversion
Description
Function description
This derived function block converts one input word from the WORD data type to 16 
output values of the BOOL data type.
The individual bits of the word at the input are assigned to the outputs according to 
the output names.
EN and ENO can be configured as additional parameters.
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.
add text box to pdf file; adding text to a pdf form
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 add text box to pdf; add text pdf reader
WORD_TO_BIT_DFB
184
33002515 07/2012
Representation in FBD
Representation:
Representation in LD
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
how to add text box to pdf document; how to insert text into a pdf using reader
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.
adding text to a pdf document; adding text to pdf form
WORD_TO_BIT_DFB
33002515 07/2012
185
Representation in IL
Representation:
CAL WORD_TO_BIT_DFB_Instance (IN:=WORD_variable,
BIT0=>Bit1, BIT1=>Bit2, BIT2=>Bit3, BIT3=>Bit4,
BIT4=>Bit5, BIT5=>Bit6, BIT6=>Bit7, BIT7=>Bit8,
BIT8=>Bit9, BIT9=>Bit10, BIT10=>Bit11, BIT11=>Bit12,
BIT12=>Bit13, BIT13=>Bit14, BIT14=>Bit15, BIT15=>Bit16)
Representation in ST
Representation:
WORD_TO_BIT_DFB_Instance (IN:=WORD_variable,
BIT0=>Bit1, BIT1=>Bit2, BIT2=>Bit3, BIT3=>Bit4,
BIT4=>Bit5, BIT5=>Bit6, BIT6=>Bit7, BIT7=>Bit8,
BIT8=>Bit9, BIT9=>Bit10, BIT10=>Bit11, BIT11=>Bit12,
BIT12=>Bit13, BIT13=>Bit14, BIT14=>Bit15,
BIT15=>Bit16) ;
Parameter description
Description of the input parameters:
Description of the output parameters:
Parameter 
Data type
Meaning
IN
WORD
Input
Parameter 
Data type
Meaning
BIT0
BOOL
Output BIT0
BIT1
BOOL
Output BIT1
:
:
:
BIT15
BOOL
Output BIT15
VB.NET PDF Text Add Library: add, delete, edit PDF text in vb.net
How to VB.NET: Add Text to PDF Page. Add necessary references: This is a piece of VB.NET demo code to add text annotation to PDF page.
how to add text fields to pdf; how to add text to a pdf in acrobat
C# PDF Text Add Library: add, delete, edit PDF text in C#.net, ASP
A best PDF annotation SDK control for Visual Studio .NET can help to add text to PDF document using C#. C#.NET Demo Code: Add Text to PDF Page in C#.NET.
how to add text boxes to pdf; add text boxes to pdf document
WORD_TO_BIT_DFB
186
33002515 07/2012
VB.NET PDF Text Box Edit Library: add, delete, update PDF text box
VB.NET PDF - Add Text Box to PDF Page in VB.NET. Add Annotation – Add Text Box Overview. Adding text box is another way to add text to PDF page.
add text to pdf online; adding a text field to a pdf
33002515 07/2012
187
21
Unity Pro
WRITEREG
33002515 07/2012
WRITEREG: Write register
Introduction
This chapter describes the WRITEREG block.
What Is in This Chapter?
This chapter contains the following topics:
Topic
Page
Description
188
Mode of Functioning
191
Parameter description
192
WRITEREG
188
33002515 07/2012
Description
Function description
With a rising edge at the REQ input, this function block writes a register area from the 
PLC to an addressed slave via Modbus Plus.
EN and ENO can be configured as additional parameters.
NOTE: When programming a WRITEREG function, you must be familiar with the 
routing procedures used by your network. Modbus Plus routing path structures will 
be described in detail in "Modbus Plus Network Planning and Installation Guide".
NOTE: This derived function block only supports the local Modbus Plus interface (no 
NOM).
If using a NOM please work with the WRITE_REG block from the communication 
block library.
NOTE: This derived function block also does not support TCP/IP- or SY/MAX-
Ethernet. 
If TCP/IP- or SY/MAX-Ethernet is needed, please use the WRITE_REG block from 
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:
WRITEREG
33002515 07/2012
189
Representation in LD
Representation:
Representation in IL
Representation:
CAL WRITEREG_Instance (REQ:=StartWriteOnce,
NODEADDR:=DeviceAddress, ROUTPATH:=RoutingPath,
SLAVEREG:=OffsetAddress, NO_REG:=NumberOfRegisters,
REG_WRIT:=SourceDataArea, 
DONE=>SetAfterWritingData,ERROR=>SetInCaseOfError, 
STATUS=>ErrorCode)
Representation in ST
Representation:
WRITEREG_Instance (REQ:=StartWriteOnce,
NODEADDR:=DeviceAddress, ROUTPATH:=RoutingPath,
SLAVEREG:=OffsetAddress, NO_REG:=NumberOfRegisters,
REG_WRIT:=SourceDataArea, 
DONE=>SetAfterWritingData,ERROR=>SetInCaseOfError,
STATUS=>ErrorCode) ;
WRITEREG
190
33002515 07/2012
Parameter description
Description of input parameters:
Description of input / output parameters:
Description of the output parameters:
Parameter
Data type
Meaning
REQ
BOOL
With a rising edge at the REQ input, this function 
block writes a register area from the PLC to an 
addressed slave via Modbus Plus.
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 written to
NO_REG
INT
Number of registers to be written from slave
Parameters
Data type
Meaning
REG_WRIT
ANY_ARRAY_WORD
Source data field
(A data structure must be declared as a located 
variable for the source file.)
Parameters
Data type
Meaning
DONE
BOOL
Set to "1" for one scan after writing data
ERROR
BOOL
Set to "1" for one scan in case of error
STATUS
WORD
Error Code
Documents you may be interested
Documents you may be interested