open pdf file in asp net c# : Add text box in pdf document application SDK cloud windows winforms wpf class 1756-rm085_-en-p5-part502

RockwellAutomation Publication 1756-RM085C-EN-P - August 2011
51
Chapter
4
Converting Instructions
Introduction
This chapter explains how the translation tool converts individual instructions. 
Conversion Rules Review
When converting instructions, the conversion tool follows these rules: 
• Instructions that are not supported by Logix5000 are converted with all 
their parameters intact. A PCE (Programming Conversion Error) is 
generated to highlight the error.
• PLC-5 and SLC 500 parameters use 16 bits. They will be extended to 
32 bits for Logix parameters.
• All references to S:0/0, S:0/1, S:0/2, and S:0/3 are replaced with the Logix 
keywords S:C, S:V, S:Z, and S:N, respectively.   
• Each reference to the OV and UN bits of a COUNTER file type results in 
a PCE instruction.
•  Each logic reference to a PRE or ACC value generates a PCE instruction.
• Any constant that represents a serial port is always converted to 0, the 
Logix serial port.
• If you directly modify the ladder logix text of the PC5/SLC file before 
importing, you may get a syntax error. The translation tool will show you 
the error and where to find it. It then gives you the option to correct the 
error and import the file again. Syntax errors should never occur if the 
program is exported directly from the PLC-5/SLC application.
Instruction List
The following table lists the PLC-5 and SLC 500 instructions alphabetically. It 
also includes comments to identify conversion issues:  
Instruction
Name
Processor
Parameter
Considerations
ABL
ASCIITestBuffer
for Line
PLC-5
SLC 500
Channel
Channelisset to zero.Generatesa serialport control tag.
Control
Characters
ABS
Absolute Value
SLC 500
Source
Destination
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 boxes to pdf; adding text to a pdf in preview
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
add text boxes to a pdf; add text field to pdf
52
RockwellAutomation Publication 1756-RM085C-EN-P - August 2011
Chapter4
ACB
ASCIINumberof
Charactersin
Buffer
PLC-5
Channel
Channel is set to zero.Generates a serialport controltag.
Control
Characters
ACI
ASCIIString
to Integer
PLC-5
SLC 500
Source
Destination
ACL
ASCIIClear
Buffer
SLC 500
Channel
Channel is set to zero.Generates a serialport controltag.
Transmit Buffer
Receive Buffer
ACN
ASCIIString
Concatenate
PLC-5
SLC 500
Source A
Source B
Destination
ACS
ArcCosine
PLC-5
SLC 500
Source A
Destination
ADD
Add
PLC-5
SLC 500
Source A
Source B
Destination
AEX
ASCIIString
Extract
PLC-5
SLC 500
Source
Index
Number
Destination
AFI
AlwaysFalse
PLC-5
na
AHL
ASCIISet/Reset
Handshake Lines
PLC-5
SLC 500
Channel
Channel is set to zero.Generatesa serial port controltag.
ANDMask
Doesnot convert S:24 for indexing.Uses.POS value fromControl.
OR Mask
Doesnot convert S:24 for indexing.Uses.POS value fromControl.
Control
Channel Status
AIC
ASCIIInteger to
String
PLC-5
SLC 500
Source
Destination
AND
LogicalAND
PLC-5
SLC 500
Source A
Source B
Destination
ARD
ASCIIRead
Characters
PLC-5
SLC 500
Channel
Channel is set to zero.Generates a serialport controltag.
Destination
Doesnot convert S:24 for indexing.Uses.POS value fromControl.
Control
String Length
CharactersRead
Instruction
Name
Processor
Parameter
Considerations
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 insert text into a pdf with acrobat; how to add text box in pdf file
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
adding a text field to a pdf; adding text pdf files
RockwellAutomation Publication 1756-RM085C-EN-P - August 2011
53
Chapter 4
ARL
ASCIIRead Line PLC-5
SLC 500
Channel
Channelisset to zero.Generates a serialport controltag.
Destination
Doesnot convert S:24 for indexing.Uses.POSvalue from Control.
Control
String Length
Characters Read
ASC
ASCIIString
Search
PLC-5
SLC 500
Source
Index
Search
Result
ASN
Arc Sine
PLC-5
SLC 500
Source
Destination
ASR
ASCIIString
Compare
PLC-5
SLC 500
Source A
Source B
ATN
Arc Tangent
PLC-5
SLC 500
Source
Destination
AVE
Average
PLC-5
File
Doesnot convert S:24 for indexing.
Destination
Inserts0 for dimension to vary.
ControlFile
Length
Position
AWA
ASCIIWrite
with Append
PLC-5
SLC 500
Channel
Channelisset to zero.Generatesa serialport control tag.
Source
Doesnot convert S:24 for indexing.Uses.POSvalue from Control.
Control
String Length
Characters Sent
AWT
ASCIIWrite
PLC-5
SC 500
Channel
Channelisset to zero.Generatesa serialport control tag.
Source
Doesnot convert S:24 for indexing.Uses.POSvalue from Control.
Control
String Length
Characters Sent
BND
Branch End
PLC-5
SLC 500
na
Convertsto right bracket (]).
BRK
BRK
PLC-5
na
Instruction
Name
Processor
Parameter
Considerations
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
add text fields to pdf; how to add text to a pdf in reader
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
how to insert text box in pdf; how to insert text in pdf file
54
RockwellAutomation Publication 1756-RM085C-EN-P - August 2011
Chapter4
BSL
Bit Shift Left
PLC-5
SLC 500
File
Doesnotconvert S:24 for indexing.Logsmessage directlyin the rung along
with the PCE instruction.
Control File
Bit Address
Length
If the length isgreater than 1, ensure the correct bit numbersare being
operated on byusing ONS and BTDinstructionsin parallelbranches.
BSR
Bit Shift Right
PLC-5
SLC 500
File
Do not use S:24 for indexing. Logsmessage directlyin the rung along with
the PCE instruction.
Control File
Bit Address
Length
If the length isgreater than 1, ensure the correct bit numbersare being
operated on byusing ONS and BTDinstructionsin parallelbranches.
BST
Branch Start
PLC-5
SLC 500
na
Convertsto left bracket ([).
BTD
Bit Distribute
PLC-5
Source
Source Bit
Destination
Destination Bit
Length
BTR
Block-Transfer
Read
PLC-5
Rack
Ignoresrackparameter.Converts instruction to MSGinstruction and
generates a PCE instruction.
Group
Ignoresgroup parameter.
Module
Ignoresmodule parameter.
Control Block
Data File
Uses thisdata file to set the LocalTag attribute.Add RES and FAL
instructionsto make adjustmentsfor the 16-bit to 32-bit conversion.
Length
Ignoresthe length parameter.
Continuous
Ignoresthe continuousparameter.
BTW
Block-Transfer
Write
PLC-5
Rack
Ignoresrackparameter.Converts instruction to MSGinstruction and
generates a PCE instruction.
Group
Ignoresgroup parameter.
Module
Ignoresmodule parameter.
Control Block
Data File
Uses thisdata file to set the LocalTag attribute.Add RES and FAL
instructionsto make adjustmentsfor the 16-bit to 32-bit conversion.
Length
Ignoresthe length parameter.
Continuous
Ignoresthe continuousparameter.
CIO
ControlNet I/
OTransfer
PLC-5
Control Block
Convertsto a MSGinstruction and generates a PCE instruction.
CIR
Custom Input
Routine
PLC-5
na
There isno Logix equivalent.Generates a PCE instruction.
AGA3,AGA7 and APIroutinesuse thisinstruction.See
Converting CAR
routines
CLR
Clear
PLC-5
SLC 500
Destination
Instruction
Name
Processor
Parameter
Considerations
.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
add text pdf file acrobat; how to add text to a pdf in acrobat
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.
add text to pdf file online; how to input text in a pdf
RockwellAutomation Publication 1756-RM085C-EN-P - August 2011
55
Chapter 4
CMP
Compare
PLC-5
Expression
Checkthe converted expression for correct precedence order.
COP
Copy
PLC-5
SLC 500
Source
Doesnot convert S:24 for indexing.If source and destination typesdiffer,
logsmessage directlyin the rung along with the PCE instruction.
Destination
Doesnot convert S:24 for indexing.
Length
COR
Custom
Output Routine
PLC-5
na
There is no Logixequivalent.APCE instruction isgenerated.
AGA3,AGA7 and APIroutinesuse this instruction.
COS
Cosine
PLC-5
SLC 500
Source
Destination
CPT
Compute
PLC-5
SLC 500
Destination
Expression
Checkthe converted expression for correct precedence order.
CTD
Count Down
PLC-5
SLC 500
Counter
Preset
Accum
CTU
Count Up
PLC-5
SLC 500
Counter
Preset
Accum
DCD
Decode 4 to 1
of 16
SLC 500
Source
There is no Logixequivalent.Logsmessage directlyin the rung along with
the PCE instruction.
Destination
DDT
Diagnostic
Detect
PLC-5
Source
Doesnot convert S:24 for indexing.Followthe DDT instruction with MOV
and FALinstructionon parallelbranchestoensure the correctbitsare being
operated on.
Reference
Doesnot convert S:24 for indexing.
Result
Doesnot convert S:24 for indexing.
Compare Control
Length
Position
Result Control
Length
Position
DDV
Double Divide
SLC 500
na
There is no Logixequivalent.Logs message directly in the rung along with
the PCE instruction.
DEG
Degree
PLC-5
SLC 500
Source
Destination
DFA
DiagnosticFault
Annunciator
PLC-5
na
Thereisno Logixequivalent.Logsamessagetothe message directlyinthe
rung along with the PCE instruction.
The DDMCroutine usesthisinstruction to provide diagnosticand
automaticmessaging capabilitiesto an HMI.See
Converting CAR routines
DIV
Divide
PLC-5
SLC 500
Source A
Source B
Destination
Instruction
Name
Processor
Parameter
Considerations
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 enter text in pdf form; how to add text fields to pdf
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.
how to add text to pdf; add text to pdf document online
56
RockwellAutomation Publication 1756-RM085C-EN-P - August 2011
Chapter4
DTR
Data Transition
PLC-5
Source
Mask
Reference
ENC
Encode 1 of 16
to 4
SLC 500
Source
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
Destination
EOC
End of SFC
Compression
PLC-5
na
Ignoresaspart of an SFC section.
EOR
End of Rung
PLC-5
SLC 500
na
No action istaken.
EOT
End of Transition PLC-5
na
Ignoresaspart of an SFC section.
ESE
End of SFC
Section
PLC-5
na
Ignoresaspart of an SFC section.
EOP
End of SFC
Program
PLC-5
na
Ignoresaspart of an SFC section.
EQU
Equalto
PLC-5
SLC 500
Source A
Source B
ERI
Error on Input
Instruction
PLC-5
na
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
ERO
Error on Output
Instruction
PLC-5
na
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
ESI
End of SFC
Simultaneous
Branch
PLC-5
na
Ignoresaspart of SFC section.
FAL
File Arithmetic
PLC-5
Control
Length
Position
Mode
Destination
Uses the .POS value for indexing,not S:24.
Expression
Uses the .POS value for indexing,not S:24.Checkconverted expressionfor
correct precedence order.
FBC
File Bit Compare PLC-5
Source
Doesnot convert S:24 for indexing.Follow the DDT instruction with MOV
and FALinstructiononparallelbranchesto ensurethecorrectbitsare being
operated on.
Reference
Doesnot convert S:24 for indexing.
Result
Doesnot convert S:24 for indexing.
Compare Control
Length
Position
Result Control
Length
Position
Instruction
Name
Processor
Parameter
Considerations
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
how to insert text in pdf reader; add text pdf acrobat
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 pdf document; add text to pdf file
RockwellAutomation Publication 1756-RM085C-EN-P - August 2011
57
Chapter 4
FFL
FIFO Load
PLC-5
SLC 500
Source
FIFO
Doesnot convert S:24 for indexing.
ControlFile
Length
Position
FFU
FIFO Unload
PLC-5
SLC 500
FIFO
Doesnot convert S:24 for indexing.
Destination
ControlFile
Length
Position
FLL
File Fill
PLC-5
SLC 500
Source
Destination
Length
Doesnot convert S:24 for indexing.
FOR
For Loop
PLC-5
Label
Convertslabel“n”to “label_n”because a Logixlabel cannotbe a number.
See.
Converting FOR/NXT/BRK instructions
Index
Initial Value
TerminalValue
Step Size
FRD
FromBCD
PLC-5
SLC 500
Source
Destination
FSC
File Search and
Compare
PLC-5
Control
Length
Position
Mode
Expression
Usesthe .POSvalue for indexing, not S:24.Check converted expression for
correct precedence order.
GEQ
Greater Than or
Equalto
PLC-5
SLC 500
Source A
Source B
GRT
Greater Than
PLC-5
SLC 500
Source A
Source B
HSC
High Speed
Counter
SLC 500
Counter
There is no Logixequivalent.Logsmessage directlyin the rung along with
the PCE instruction.
Preset
HSD
HSC Interrupt
Disable
SLC 500
Type
There is no Logixequivalent.Logsmessage directlyin the rung along with
the PCE instruction.
Counter
Preset
Accum
HSE
HSC Interrupt
Enable
SLC 500
Counter
There is no Logixequivalent.Logs message directly in the rung along with
the PCE instruction.
Instruction
Name
Processor
Parameter
Considerations
58
RockwellAutomation Publication 1756-RM085C-EN-P - August 2011
Chapter4
HSL
HSC Load
SLC 500
Counter
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
Source
Length
IDI
Immediate Data
Input
PLC-5
Data File Offset
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
Length
Destination
IDO
Immediate Data
Output
PLC-5
Data File Offset
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
Length
Destination
IID
I/O Interrupt
Disable
SLC 500
Slots
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
IIE
I/O Interrupt
Enable
SLC 500
Slots
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
IIM
Immediate Input
with Mask
SLC 500
Slot
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
Mask
Length
IIN
Immediate Input PLC-5
RRG
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
INT
I/O Interrupt
SLC 500
na
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
INV
Invert
PLC-5
na
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
IOM
Immediate
Output with
Mask
SLC 500
na
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
IOT
Immediate
Output
PLC-5
RRG
JMP
Jump
PLC-5
SLC 500
Label
Convertslabel“n” to “label_n” because a Logix label cannot be a number.
JSR
Jump to
Subroutine
PLC-5
SLC 500
Ladder Program
Convertsto a routine name.
Input Parameters
Return Parameters
LAB
Label
PLC-5
na
Ignoresaspart of SFC section.
LBL
LBL
PLC-5
SLC 500
Label
Convertslabel“n” to “label_n” because a Logix label cannot be a number.
You must modifythe converted FOR instruction.
LEQ
Less Than or
Equalto
PLC-5
SLC 500
Source A
Source B
LES
Less Than
PLC-5
SLC 500
Source A
Source B
Instruction
Name
Processor
Parameter
Considerations
RockwellAutomation Publication 1756-RM085C-EN-P - August 2011
59
Chapter 4
LFL
LIFO Load
PLC-5
SLC 500
Source
LIFO
Doesnot convert S:24 for indexing.
ControlFile
Length
Position
LFU
LIFO Unload
PLC-5
SLC 500
LIFO
Doesnot convert S:24 for indexing.
Destination
ControlFile
Length
Position
LIM
Limit
PLC-5
SLC 500
Low Limit
Test
High Limit
LN
Natural Log
PLC-5
SLC 500
Source
Destination
LOG
Log to the Base
10
PLC-5
SLC 500
Source
Destination
MCR
Master Control
Relay
PLC-5
SLC 500
na
MEQ
MaskCompare
Equalto
PLC-5
SLC 500
Source Operand
Source Mask
Compare Operand
MOD
Modulo Divide
PLC-5
SLC 500
na
There is no Logixequivalent.Logs message directly in the rung along with
the PCE instruction.
MOV
Move
PLC-5
SLC 500
Source
Destination
MSG
Message
PLC-5
SLC 500
Type
Logsmessage and generatesa PCE instruction. Add RES and FAL
instructions to make adjustmentsfor the 16-bit to 32-bit conversion.
You must configure MSG communication parameters.
MUL
Multiply
PLC-5
SLC 500
Source A
Source B
Destination
MVM
Move with Mask PLC-5
SLC 500
Source Operand
Source Mask
Destination
NEG
Negate
PLC-5
SLC 500
Source
Destination
NEQ
Not Equal to
PLC-5
SLC 500
Source A
Source B
NOP
No Operation
PLC-5
na
Instruction
Name
Processor
Parameter
Considerations
60
RockwellAutomation Publication 1756-RM085C-EN-P - August 2011
Chapter4
NOT
LogicalNOT
PLC-5
SLC 500
Source
Destination
NSE
SFC Next
Selection Branch
PLC-5
na
Ignoresaspart of SFC section.
NSI
SFC Next
Simultaneous
Branch
PLC-5
na
Ignoresaspart of SFC section.
NXB
Next Branch
PLC-5
SLC 500
na
Convertsto a comma (,).
NXT
Next
PLC-5
Label
Doesnot convert the labelnumber.You must modify the converted FOR
instruction.See
Converting FOR/NXT/BRKinstructions
ONS
One Shot
PLC-5
Source Bit
OR
LogicalOR
PLC-5
SLC 500
Source A
Source B
Destination
OSF
One Shot Falling PLC-5
Storage Bit
Output Bit
Combinesoutput bit and output word.
Output Word
OSR
One Shot Rising PLC-5
SLC 500
Storage Bit
If SLC 500 instruction, convertsto an ONSinstruction.
Output Bit
Combinesoutput bit and output word.
Output Word
OTE
Output Energize PLC-5
SLC 500
Destination Bit
OTL
Output Latch
PLC-5
SLC 500
Destination Bit
OTU
Output Unlatch
PLC-5
SLC 500
Destination Bit
PID
PID
PLC-5
SLC 500
Control Block
Verify the converted PIDconfiguration parameters.
PV Value
Tieback Value
CVValue
RAC
HSC Reset
Accumulator
SLC 500
Counter
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
Source
RAD
Degreesto
Radians
PLC-5
SLC 500
Source
Destination
REF
SFC Reference
PLC-5
na
Ignoresaspart of SFC section.
REF
I/O Refresh
SLC 500
Channel 0
There isno Logix equivalent.Logsmessage directlyin the rung along with
the PCE instruction.
Channel 1
RES
Reset
PLC-5
SLC 500
File Reference
Instruction
Name
Processor
Parameter
Considerations
Documents you may be interested
Documents you may be interested