Rockwell-automation AutoMax Enhanced Ladder Language Reference Manual Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Ausrüstung Rockwell-automation AutoMax Enhanced Ladder Language Reference Manual herunter. Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 352
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - 



Seite 2

   '-',)++&apos

Seite 3

,5.2.1 Input Parameters for the Add Instruction%&%&%&!#'&%"$&!%&$'&"!

Seite 4

*5.2.2 Output Parameters for the Add Instruction$%$%$%!&%"&%$!#% $%#&%!  %'#%)"

Seite 5

5.2.3 Example of the Add Instructionpasspart1_wtpart2_wt

Seite 6

( !"!!" #""$"%$ ! !""!!" #"!&qu

Seite 7

+5.3.1 Input Parameters for the Divide Instruction$%$%$% "&%$!#% $%#&%!  %'#%*"

Seite 8

)5.3.2 Output Parameters for the Divide Instruction#$#$#$%$ %$#"$#$"%$$&"$( 

Seite 9

"5.3.3 Example of a Divide Instruction  switch1bulk!

Seite 10

,5.4.1 Input Parameters for the Modulo Instruction%&%&%&!#'&%"$&!%&$'&"

Seite 11

(5.4.2 Output Parameters for the Modulo Instruction"#"#"#$# $#"!#"#!$##%!#

Seite 12

&5.4.3 Example of the Modulo Instruction  $ !!$!#switch1 !"! !"!# ! !!

Seite 13

9.0 Shift Register Instructions 9Ć1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  ''*

Seite 14

,5.5.1 Input Parameters for the Multiply Instruction%&%&%&!#'&%"$&!%&$'&&qu

Seite 15

*5.5.2 Output Parameters for the Multiply Instruction$%$%$%!&%"&%$!#% $%#&%!  %'#%)

Seite 16

 nextboxes

Seite 17 -  

-5.6 Multiply Divide (MDV)&'&!&'%('"!'" ('#,'*")%&"%&quo

Seite 18

-5.6.1 Input Parameters for the Multiply Divide Instruction&'  &'&'"$('&#%'&

Seite 19

)5.6.2 Output Parameters for the Multiply Divide Instruction#$#$#$ %$!%$# "$#$"%$ $&"

Seite 20

"5.6.3 Example of a Multiply Divide Instruction  parts.made

Seite 21

)5.7.1 Input Parameters for the Negate Instruction"#"#"# $#"!#"#!$##%!#(

Seite 22 - 1.5 Using Transition Contacts

+5.7.2 Output Parameters for the Negate Instruction%&%&%&"'&#'&%"$&!%&$&a

Seite 23

5.8 Square Root (SQRT)

Seite 24

 %+.&+)--!%-,%#$-)(+(,%-%)( 1 (*.-+'!-!+,")+-$!%+.&+)-

Seite 25

5Ć265.8.1 Input Parameters for the Square Root InstructionThis table lists the inputs for the SQRT instruction and the variable type and datatype/rang

Seite 26

/5.8.2 Output Parameters for the Square Root Instruction !)*""!)*)* %+*&+*)%(* !$)*(+*!%$$* ,(!"*

Seite 27 - Construct

#5.8.3 Example of the Square Root Instructionswitch1    ! !

Seite 28 - 1.6 Always True Contact (ATI)

+5.9.1 Input Parameters for the Subtract Instruction$%$%$% "&%$!#% $%#&%!  %'#%*"

Seite 29

*5.9.2 Output Parameters for the Subtract Instruction$%$%$%!&%"&%$!#% $%#&%!  %'#%)

Seite 30 - 1.8 Coil (CO)

5.9.3 Example of a Subtract Instructionswitch1order

Seite 31 - 1.9 Set (Latch) Coil (SCO)

$5.10.1 Errors Caused by All Compute Instructions ""

Seite 32

'5.10.2 Errors Caused by the Absolute Value Instruction "$&"" ! !"!

Seite 33

.5.10.4 Errors Caused by the Divide, Modulo, and Multiply DivideInstruction&%%#%&"#(%*",#(%(&"&ap

Seite 34

(5.10.5 Errors Caused by the Multiply Instruction!  # %'# #!"!" #"  &qu

Seite 35 -  

 --4&'$/, 5 *,0/-)#/#-.$+-/&

Seite 36 -  

%5.10.6 Errors Caused by the Negate Instruction!#$!!  !   

Seite 37 -  

*5.10.7 Errors Caused by the Square Root Instruction#"""#%"')%"%#$#$"%$

Seite 38 -  

'5.10.8 Errors Caused by the Subtract Instruction!  # %&# #!"!" #"  

Seite 39 -  

, %"!%&$'&"!%&"#$"$ ""#$&"!%"!!#&ap

Seite 40 - Using Ladder Logic

&6.1 Logical And (AND)!"!" #""  "&%!"%"%$ 

Seite 41 -  

6Ć36.1.1 Input Parameters for the Logical AND InstructionThis table lists the inputs for the AND instruction and the variable type and datatype/range

Seite 42 - 

6.1.3 Example of a Logical AND Instructionswitch1part_1 part_2

Seite 43 -  

$6.2 Logical Not (NOT)   !   "   "! ! 

Seite 44 -  

)6.2.1 Input Parameters for the Logical NOT Instruction"#"#"# $#"!#"#!$##%!

Seite 45 - 3.1.2 Output

6.2.3 Example of a Logical NOT Instructionswitch1part

Seite 46 -  

12.0 I/O Read and Write Instructions 12Ć1. . . . . . . . . . . . . . . . . . . . . . . . . . . . .  $ # 4

Seite 47 - 3.2 Timer Off Delay (TOF)

&6.3 Logical Or (OR)!" !" #""  "&%! ""%&qu

Seite 48 - 3.2.1 Input

6Ć96.3.1 Input Parameters for the Logical OR InstructionThis table lists the inputs for the OR instruction and the variable type and datatype/range th

Seite 49 - 3.2.2 Output

6.3.3 Example of a Logical OR Instructionswitch1part_1 part_

Seite 50 -  

'6.4 Logical Exclusive Or (XOR)!"&#!$ !" #""  "'%!&

Seite 51 - 3.3 Timer On Delay (TON)

6Ć126.4.1 Input Parameters for the Logical Exclusive OR InstructionThis table lists the inputs for the XOR instruction and the variable type and datat

Seite 52 -  

6.4.3 Example of a Logical Exclusive OR Instructionswitch1

Seite 53 -  

$6.5 Errors Caused by Logical Instructions ""

Seite 54 -  

%  !#  !"! !#!!!!$##  

Seite 55 - 3.4 Timer Pulse (TP)

$7.1 Convert Integer Data to BCD (TO_BCD)  !  "  !   # 

Seite 56 - 3.4.1 Input

7Ć37.1.1 Input Parameters for the Convert Integer Data to BCD InstructionThis table lists the inputs for the TO_BCD instruction and the variable and t

Seite 57 - 3.4.2 Output

/(+& .( !)$/ 5  0 3-$/ 5

Seite 58 -  

7Ć47.1.2 Output Parameters for the Convert Integer Data to BCD InstructionThis table lists the outputs for the TO_BCD instruction and the variable typ

Seite 59

 7.1.3 Example of a Convert Integer Data To BCD Instructionswitch1part

Seite 60

$7.2 Convert From BCD to Integer Data (BCD_TO)  !  " #   !  

Seite 61 -  

7Ć77.2.1 Input Parameters for the Convert From BCD to Integer Data InstructionThis table lists the inputs for the BCD_TO instruction and the data and

Seite 62 -  

7Ć87.2.2 Output Parameters for the Convert From BCD to Integer Data InstructionThis table lists the outputs for the BCD_TO instruction and the variabl

Seite 63 - 4.1.1 Input

7.2.3 Example of a Convert From Binary Data to Integer Data Instructionswitch1

Seite 64 - 4.1.2 Output

(7.3 Errors Caused by the Data Conversion Instructions  !  !  !#  !"! !

Seite 65

7Ć117.3.2 Errors Caused by the Convert Integer Data To BCD InstructionThese errors can occur when you are using the TO_BCD instruction in a program. T

Seite 66

7Ć127.3.3 Errors Caused by the Convert From Binary Data to Integer Data InstructionThese errors can occur when you are using the BCD_TO instruction in

Seite 67 - 4.2.1 Input

+ %& "(!%&$'&"!%&""#*&&)!($%""%$&

Seite 68 - 4.2.2 Output

,&)$-%"+"2"#&)"!","+/"!!!"+)$.$"+&'", 2

Seite 69

*Defining a Mask!!$%!!'%%$#! %!&%)$%% %%$ %$%%!##$"! %!%!%! !%%$ %

Seite 70 -  

)8.1.1 Input Parameters for the Move Source Data to Destination Instruction"#"#"# $#"!#"#!$

Seite 71 - 4.3.1 Input

(8.1.2 Output Parameters for the Move Source Data to Destination Instruction"#"#"#$# $#"!#"#!

Seite 72 - 4.3.2 Output

8.1.3 Example of a Move Source Data to Destination Instructionswitch1tolerance

Seite 73

*8.2 Move Bits Between Integers/Double Integers (MVB)$%!'%$%(  %#$!& %#$ $%#&%! %!!")&&

Seite 74

8Ć78.2.1 Input Parameters for the Move Bits Between Integers/Double Integers InstructionThis table lists the inputs for the MVB instruction and the va

Seite 75 - 4.4.1 Input

'8.2.2 Output Parameters for the Move Bits Between Integers/Double Integers Instruction!"!"!"#"#"!

Seite 76 - 4.4.2 Output

8.2.3 Examples of a Move Bits Between Integers/Double Integers Instructionswitch1pa

Seite 77

$ ! #!   !  

Seite 78 -  

8Ć118.3.1 Input Parameters for the Masked Move InstructionThis table lists the inputs for the MVM instruction and the variable type and datatype/range

Seite 79 - 4.5.1 Input

) "#!("#!$#"#"$###" $#"#!$#""$# $

Seite 80 - 4.5.2 Output

*8.3.2 Output Parameters for the Masked Move Instruction$%$%$%!&%"&%$!#% $%#&%!  %'#

Seite 81

 switch1source

Seite 82 - 4.6 Limit (LIMIT)

(8.4 Errors Caused by Move Instructions  !  !  # !"! ! !  

Seite 83 - 4.6.1 Input

&8.4.2 Errors Caused by the Move Source Data to Destination Instruction "$%"" ! !&qu

Seite 84 - 4.6.2 Output

)8.4.3 Errors Caused by the Move Bits Between Integers/Double Integers Instruction#"" " %"'( %"%

Seite 85

' !""!" !" #"!"!" %" "#

Seite 86 - 4.7 Mask Compare (MSK)

9Ć2Use this instruction: To:Circular Rotate Bits Right (ROR) Rotate a specified number of the least significantbits into the most significant bit posi

Seite 87 - 4.7.1 Input

"  !

Seite 88 - 4.7.2 Output

9Ć49.1.1 Input Parameters for the Shift Left InstructionThis table lists the inputs for the SL instruction and the variable type and datatype/range th

Seite 89

$9.1.2 Output Parameters for the Shift Left Instruction   !##

Seite 90 -  

%1.1 Normally Open Contact (NOI)  #"!!

Seite 91 - 4.8.1 Input

  

Seite 92 - 4.8.2 Output

"  

Seite 93

9Ć89.2.1 Input Parameters for the Circular Rotate Bits Left InstructionThis table lists the inputs for the ROL instruction and the variable type and d

Seite 94

#9.2.2 Output Parameters for the Circular Rotate Bits Left Instruction "

Seite 95 -  

!  

Seite 96 - 5.1 Absolute Value (ABS)

! 

Seite 97 - 5.1.1 Input

9Ć129.3.1 Input Parameters for the Circular Rotate Bits Left on Transition InstructionThis table lists the inputs for the RL instruction and the varia

Seite 98 - 5.1.2 Output

%9.3.2 Output Parameters for the Circular Rotate Bits Left On Transition Instruction   ! !   !  &qu

Seite 99 -  

!9.3.3 Example of a Circular Rotate Bits Left On Transition Instruction 

Seite 100 - 5.2.1 Input

"  !

Seite 101 - 5.2.2 Output

%1.2 Normally Closed Contact (NCI)  #"!!

Seite 102

9Ć169.4.1 Input Parameters for the Shift Right InstructionThis table lists the inputs for the SR instruction and the variable type and datatype/range

Seite 103 -  

%9.4.2 Output Parameters for the Shift Right Instruction   ! !   !  " $  $

Seite 104 - 5.3.1 Input

  

Seite 105 - 5.3.2 Output

"  

Seite 106 - 5.4 Modulo (MOD)

9Ć209.5.1 Input Parameters for the Circular Rotate Bits Right InstructionThis table lists the inputs for the ROR instruction and the variable type and

Seite 107 - 5.4.1 Input

$9.5.2 Output Parameters for the Circular Rotate Bits Right Instruction   !#

Seite 108 - 5.4.2 Output

"9.5.3 Example of a Circular Rotate Bits Right Instruction"

Seite 109 - 5.5 Multiply (MUL)

# ! 

Seite 110 - 5.5.1 Input

9Ć249.6.1 Input Parameters for the Circular Rotate Bits Right on Transition InstructionThis table lists the inputs for the RR instruction and the vari

Seite 111 - 5.5.2 Output

$9.6.2 Output Parameters for the Circular Rotate Bits Right On Transition Instruction   !

Seite 112

E&",##%*(%* &%#&('&(* &%*(%*t )*($("&(&-&('&(* &% 

Seite 113 - 5.6 Multiply Divide (MDV)

%1.3 Positive Transition Contact (PTI)  #!!

Seite 114 - 5.6.1 Input

#9.6.3 Example of a Circular Rotate Bits Right On Transition Instructionswitch1 #

Seite 115 - 5.6.2 Output

9Ć279.7 Errors Caused by Shift Register InstructionsThis section describes the possible errors for all Shift Register instructions and thoseadditional

Seite 116 - 5.7 Negate (NEG)

%9.7.2 Errors Caused by the Circular Rotate Bits Left, Circular Rotate Bits Lefton Transition, Circular Rotate Bits Right, and Circular Rotate Bits

Seite 117 - 5.7.1 Input

* "")#$"%$# ""%$#"")&"#$$"#

Seite 118 - 5.7.2 Output

)$""($#% ""($ $""($#

Seite 119 - 5.8 Square Root (SQRT)

10Ć3When you are using an array instruction you must specify how many elements tooperate on per

Seite 120 - 5.8.1 Input

10Ć4The array instructions execute following this sequence of events:D The array instructions execute when the enable bi

Seite 121 - 5.8.2 Output

10Ć5 Use this instruction to perform one of these opĆerations on a single operand:D calculate the absolute value (ABS

Seite 122 - 5.9 Subtract (SUB)

10Ć6As long as EN remains true, the instruction completes the operation by operating onthe number of elements specified in Elems/Scan with each progra

Seite 123 - 5.9.1 Input

$  !! D D

Seite 124 - 5.9.2 Output

%1.4 Negative Transition Contact (NTI)  #!!

Seite 125

3  '"-#.-'- +-# '.& +(! % & '-,-(,-(+ $'.-!

Seite 126

10Ć910.1.2 Output Parameters for the Unary Array InstructionThis table lists the outputs for the AR1 instruction and the variable type and datatype/ra

Seite 127

# !  " ! 

Seite 128 - Instruction

 switch1

Seite 129

) #$##$"%$ $ !" "  $# !)"$ #D   $$D 

Seite 130

,!!!!!$$+($"$% #($"!%&!&"'!#&$%'&!%

Seite 131

*10.1.4 Input Parameters for the MultiĆArray Instruction#$#$#$!%$# "$#$"%$ $&"$)

Seite 132

$   D D #D

Seite 133 -  

)  #!##"%!!"####"#!#D

Seite 134 - 6.1 Logical And (AND)

0 '(*"&% %*(*!$%$&%"&*!&'(*"&%/&

Seite 135

1Ć61.5 Using Transition ContactsThis section explains the methods for using transition contacts PTI and NTI and howthe transitions will be interpreted

Seite 136

10Ć1810.2.2 Output Parameters for the MultiĆArray InstructionThis table lists the outputs for the AR2 instruction and the variable type and datatype/r

Seite 137 - 6.2 Logical Not (NOT)

  switch_1

Seite 138

" "D D D D

Seite 139

)#!"#"!"##!$#"#!$# ! !"#!!($##$#"  !#(

Seite 140 - 6.3 Logical Or (OR)

)10.3.1 Input Parameters for the Array Compare Instruction"#"#"# $#"!#"#!$##%!

Seite 141

%  !D D $D

Seite 142 - result

&     "      D  

Seite 143

(  "$ $"$$ "$'%&$$ "(&qu

Seite 144

10Ć2610.3.2 Output Parameters for the Array Compare InstructionThis table lists the outputs for the ARC instruction and the variable type and datatype

Seite 145

% switch1    

Seite 146

1.5.2 Using a Variable on a Coil and on a Transition Contact

Seite 147

& !"!!" #""!""! % """"

Seite 148 -  

10Ć2910.4.1 Input Parameters for the Array Shift Up InstructionThis table lists the inputs for the ASU instruction and the variable type and datatype/

Seite 149 - 7.1.1 Input

)10.4.2 Output Parameters for the Array Shift Up Instruction#$#$#$ %$!%$# "$#$"%$ $&"

Seite 150 - 7.1.2 Output

10.4.3 Example of an Array Shift Up Instructionswitch1batch

Seite 151 - result

' !"!!" #""!""! & ""&quo

Seite 152

10Ć3310.5.1 Input Parameters for the Array Shift Down InstructionThis table lists the inputs for the ASD instruction and the variable type and datatyp

Seite 153 - 7.2.1 Input

10Ć3410.5.2 Output Parameters for the Array Shift Down InstructionThis table lists the outputs for the ASD instruction and the variable type and datat

Seite 154 - 7.2.2 Output

10.5.3 Example of an Array Shift Down Instructionswitch1batch

Seite 155

'10.6 About the State of the Unary Array, MultiĆArray, andArray Compare Instruction Outputs under VariousInput Conditions$ $ 

Seite 156

)  ""#"!"# ""!!!"!#!!("#!$

Seite 157

1.5.3 Using a Variable on More Than One Coil and On a TransitionContact

Seite 158

10Ć38These errors can occur when you are using the AR1 instruction in a program.The result of the arithmetic cal

Seite 159 -  

10Ć3910.7.2 Errors Caused by the MultiĆArray InstructionErrors can occur when parameters are latched and checked. If an error occurs at thispoint, no

Seite 160

)D $#"!"   '!D $#"!&quo

Seite 161 - 8.1.1 Input

10Ć4110.7.3 Errors Caused by the Array Compare InstructionErrors only occur when parameters are latched and checked. If an error occurs at thispoint,

Seite 162 - 8.1.2 Output

(10.7.4 Errors Caused by the Array Shift Up and Array Shift Down Instructions  "$&"" !

Seite 163

+ ! !"! $%# # %# $%#&% $% %$"& # )&%  $

Seite 164

$!!CAUTION: Avoid jumping backwards an excessive number of times since thiscan cause a STOP ALL error code 14,

Seite 165 - 8.2.1 Input

(   "!#"!" #"!" #"

Seite 166 - 8.2.2 Output

 

Seite 167

' !"#!" #""!  " #!&#"" #"

Seite 168 -  

1.5.4 Forcing or Setting Variables Used on Transition Contacts

Seite 169 - 8.3.1 Input

  switch1

Seite 170 - 8.3.2 Output

 

Seite 172

" 

Seite 173

12Ć2 Use the I/O Read instruction to get information from I/O modules. This instruction isuseful for reading data from:D nonĆRelianc

Seite 174

12Ć3 This table lists the inputs for the I/O Read instruction and the variable type and the datatyp

Seite 175

12Ć4 Address Enter the address of the location that contains the datayou want to read. Use this input

Seite 176

12Ć5 This table lists the outputs for the I/O Read instruction and the variable type and datatype/

Seite 177 -  

12Ć6  byte 1 data's loc

Seite 178 - 9.1.1 Input

12Ć7 When switch1 is true, the instruction reads oneword of data from register 300 of the I/Omodule in slot 4

Seite 179 - 9.1.2 Output

%1.5.5 Using a Variable on a Set (SCO) Coil and Reset Coil (RCO) Pairand on a Transition Contact$  !

Seite 180

12Ć8 Use the I/O Write instruction to send information to I/O modules. This instruction isparticularly useful for writing data to:D

Seite 181

12Ć9 This table lists the inputs for the IOW instruction and the variable type and datatype/range

Seite 182 - 9.2.1 Input

12Ć10 Address Enter the address of the location where you want to writedata. If you enter an address,

Seite 183 - 9.2.2 Output

12Ć11 byte 1 data's

Seite 184

12Ć12 When switch1 becomes true, the instructionwrites one word of data from the variable pumpto register 300

Seite 185

12.3 Listing of Base Addresses for Each Supported Slot in the AutoMax ChassisSlot Hex Address Range Slot Hex Address Range 

Seite 186 - 9.3.1 Input

12Ć1412.4 Errors Caused by the I/O Read and I/O Write InstructionsThis section describes the possible errors for I/O read and I/O write instructions.I

Seite 187 - 9.3.2 Output

!  

Seite 188

13Ć2 Use the Immediate Input instruction to update the program's latched valuecorresponding to a global variable with tha

Seite 189 -  

&13.1.1 Input Parameters for the Immediate Input Instruction   !   !  " %

Seite 190 - 9.4.1 Input

1.5.6 Using Transition Contacts in a Program with a Jump and LabelConstruct

Seite 191 - 9.4.2 Output

'13.1.2 Output Parameters for the Immediate Input Instruction ! ! !"!"!! !"!!#

Seite 192

13Ć513.2 Immediate Output (OUT)Use the Immediate Output instruction when you need to update a global variable'sphysical location prior to the end

Seite 193

$13.2.2 Output Parameters for the Immediate Output Instruction   !##

Seite 194 - 9.5.1 Input

0""%&')%$(&'%'#$*)%-&'%'#(*((.#%"$#(+&ap

Seite 195 - 9.5.2 Output

)!""%#" ! !#"D !""#!#!####( #(!"

Seite 196

-A.1 Data Types&&'#"&%&## ""'%#( "'%'!%"#(&

Seite 197

0 !()"&'($)()%*)) $*#'%!)(%'(%#%$!*')!%$(A rack with:Contains a maximum of:%$

Seite 198 - 9.6.1 Input

&! ! " ##% "  % 

Seite 199 - 9.6.2 Output

'A.1.3 Timer Variables "  ! !  '  %This element:Is a:

Seite 200

,To reference any element of a timer variable in a ladder logic programD &&""!'#''!%)% "

Seite 201

"1.6 Always True Contact (ATI)!! !

Seite 202

%A.1.4 Counter Variables !  %#This element:Is a:   

Seite 203 -  

2To reference any element within a counter variable in a ladder logic programD ++$"''& ,(,# (-', *.*$% '

Seite 204

AĆ10A.2 Accessing Data Within Variables Via BitĆIndexing andElementĆIndexingFor the ladder instruction parameters, you can specify bits within integer

Seite 205

AĆ11Element and bit variable names can each be a maximum of 16 characters (AćZ, 0ć9,and _), not including the delimiter (. or [ ]). Valid ranges for c

Seite 206

(A.3.2 Global Variables%!"!!'!#!! !!"!"%!&

Seite 207

,A.4 Arrays##*$ #"#!#$ '! *!  $!  %(%  ##*$  %This type of array:Can have

Seite 208 -  

1+( $++!"&*+),+"'&+!+,*

Seite 209

AĆ15A.5 ConstantsUse constants to specify:D unchanging values within ladder instruction input parametersD an element of an array (array[2])D a bit wit

Seite 210

0%*$%%('%#)%""%, $ $ ) " /) %$#)%(%'+' "'%# )(' "'

Seite 211 - 10.1.2 Output

Variable TypeLadder Program ConditionNonĆvolatileglobalVolatile global Local

Seite 212

"1.7 Always False Contact (AFI)!! 

Seite 213

0A.6.2 About the User Specified Initialization Method$+' " (%$ *')%*(('&  +"*)

Seite 214

*A.6.4 About Initializing Timer and Counter Variables$##)#!#!$#! !"#%!"&

Seite 215

AĆ20A.6.6 Defining the Type of Initialization To Use for a VariableYou can define how a variable is initialized when a program is downloaded to thePro

Seite 216 - 10.1.4 Input

,A.6.7 Defining the Initial Value of a Variable!&  %'&%%'#! % $( "#!#$!( !

Seite 217

1*' )* &##&-!%*#*&*($!%/&+(%.*)*'%&*%#$%*&

Seite 218

*'""$#$ #!! #"("# "!!!

Seite 220 - 10.2.2 Output

2((!& #,*#&"#%!))#$!*#&)'")%*(-'-+ ,$& * % & ',+$')*("*&

Seite 221

6(0'(+ -.,&. *5,1* 53 +00,D #$0$.*(+$(% 0(*$.' /$4-(.$#D "' +&$ 0(*$./-.$/$0

Seite 222 -  

6((!& #-*#&"',&+!))#$!*#&)'")%*,1" +1/$",1+0$.$)$*$+0/(+-.,&. */

Seite 223

   +-)((4,#*+*/!/ 5

Seite 224 - 10.3.1 Input

!1.8 Coil (CO)

Seite 225

3$-#$')+("+&2(.&20'--(D #'" (.'- +,)+ , -D ., -# .++ '- % & '-(!

Seite 226

0D + ,# !-',$(',(, +,,# 

Seite 228 - 10.3.2 Output

##"

Seite 229

DĆ2D.1 Using the PreĆDefined Program Scan VariablesUse the following Boolean variables to execute logic based on the Processor's scan.Only use th

Seite 230 -  

DĆ3 Use the following Boolean variables to help you handle error conditions. Use error_enoand no_erro

Seite 231 - 10.4.1 Input

DĆ4 Use the following double integer parameters to help you check and monitor theprogram'

Seite 232 - 10.4.2 Output

## D 

Seite 233

EĆ2E.1 Error Codes 3001Ć3010Error Code: Text Description: How To Correct the Error:3001 Cannot divide by zero Define the divisor of the DIV, MDV, orMO

Seite 234 -  

EĆ3Error Code:Text Description: How To Correct the Error:3008 The number of bits to rotate isnegativeFor the rotate instructions, make surethat N is w

Seite 235 - 10.5.1 Input

'1.9 Set (Latch) Coil (SCO) ! "!"! !"!! !!#$!"!! !&qu

Seite 236 - 10.5.2 Output

EĆ4E.3 Error Codes 3021Ć3030Error Code: Text Description: How to Correct the Error:3021 The value in Length1 is too largefor array block's In1Mak

Seite 237

EĆ5Error Code:Text Description: How to Correct the Error:3029 An illegal register of an IOR orIOW instruction is selectedCorrect the slot and register

Seite 239

1"! "!"! #! "&$**'+!)."*

Seite 240

2µµ      *'"

Seite 241

&µµ       "

Seite 242

FĆ4µµ      ComputeABSAbsolute

Seite 243

6µµ      -')$"+

Seite 244

FĆ6µµ      Array(Continued)AR

Seite 245 - 

FĆ7µµ      Array(Continued)AR

Seite 246 - 11.1 Set Event (SET)

(1.10 Reset (Unlatch) Coil (RCO)!"!#"#"!" #"" !"$ "%&qu

Seite 247 - 

2µµ      ++0)(-%(.! 

Seite 248

FĆ9µµ      Shift(C i d)SRShif

Seite 249 -  

FĆ10µµ      I/OIORInput Read

Seite 250

*µµ      $#$!#"&

Seite 252

0! ! ! " !%#))&* (-!)%&*!%* *#&

Seite 253

2µ   *'" ,*,(! * ,/(*$   

Seite 254 -  

#µ    #"!"     

Seite 255 -  

GĆ4µ   ComputeABS Absolute Value 4.7 1.6 17Co p eADD2 2ĆInput A

Seite 256

8µ   .(*%#, -&   .( %# .2    

Seite 257 -  

"1.11 Errors Caused by the Relay Instructions!!!

Seite 258

2µ   )$&! ')(-&(.#")(-&(.#&quo

Seite 259

GĆ7µ   Logical(C i d)AR2(AR2 operation) ĆĆog ca(Continued)AND,O

Seite 260 -  

(µ   % %%   "" !##&a

Seite 261 -  

GĆ9µ   ControlSET Set Event ĆĆ 2.4 11Co oJMP Jump 1.9 1.2 9LBL

Seite 262 -  

)µ   #"#   #  %!!"%#

Seite 263

2 ())*(.,"#,&,('('%#')*(!*&-'!+,",".'

Seite 264

1 )''#!*&* )&#,(!#)(!'*!&%)&$$%#&#,(!#!%#('(&($*

Seite 265

&$&"  !$$

Seite 267 - 

(!"03A).--$"--")#-$"(+1++1.&-%3++1(!++1)'*+"(,-+. -%)(.-*.-,(!"++%).,(*

Seite 269 - 13.1.1 Input

*"#24B,-+%-).444'/4'*"#2'*%4++(#*4C&*%'*%-#.#/ 3.'*%"&

Seite 270 - 13.1.2 Output

2)*;>3827*5#&5.&'0*6>2.7.&0.=&7.32>"6.2,.2 453,5&16>3827"43:226758(7.32

Seite 271 - 13.2 Immediate Output (OUT)

/)*78 8#88#888888!8!8!88!8888

Seite 272 - 13.2.2 Output

/'(9;;;;;;;; ;;;;;;;;;

Seite 273 - 

(!"03)/%'"+(,-+. -%)(,*"+-"3I''"!%-"(*.-(!.-*.-(,-+. -%)(,3''&quo

Seite 274

( !13L!&(-.,/.%)(!"%(! 3,,),-31'*&!333! %(#2!,)-3!--$((-.,/.%)(!&qu

Seite 275 - A.1 Data Types

*"#355M.'+),-#*./-0!/&+*#$&*#"5--+-.53),(#5*,0/.50/,0/.5.'+1#

Seite 276 - A.1.2 Integer

)!"2555N55"$/")./-0 /&*)"#&)"!5--*-.552(+'"

Seite 277

( !14Q+/).%!(.44R4!&2(-.,/.%)(-4!-!.(&.$)%&!"%(! 4,,),-41'*&!4

Seite 278 - A.1.3 Timer Variables

-%&5888804"1&..3-2314$3).-&')-&%811.12885",/+&8-/432

Seite 279 - MPORTANT:

/ '#)"(&"'(&)(#"(##)"((*(''(-#)& $

Seite 280 - A.1.4 Counter Variables

&'"!"###"'!!%#$ "#!$#'V!"&apos

Seite 282 - ElementĆIndexing

For additional information1 Allen-Bradley DriveMayfield Heights, Ohio 44124 USATel: (800) 241-2886 or (440) 646-3599http://www.reliance.com/automaxPub

Seite 283 - A.3.1 Local Variables

%     D  !

Seite 284 - A.3.2 Global Variables

. %&%&%& "'&%!$& %&$'&

Seite 285 - A.4 Arrays

0   # $*(* $#%* %+$*(,(!".%+-$**%+)%(* !)!$)*(+*!%$*)*(+*+(

Seite 286

$ "counter1  switch1switch2

Seite 287 - A.5 Constants

 "&!#&!+")*+$,' ',&+)&*+),+#'&/*#&!)'!# 0

Seite 288

12.3 Changing the Preset Value of a Counter Instruction byUsing Ladder Logic&,%!% +!')*+-#,&&,%+)"%*+)

Seite 289

3 , -# $' +$(,-+.-$)(-) (& ($,& -$/$-$ ,-*+ 3 !$( -$' ,)+ 1'*& , -

Seite 290 - A.6.3 About the Retained V

2D !&"&+*,"& ,"%*"&+,*-,"'&+"&,&apo

Seite 291

%   !   "    " !   "!

Seite 292

4 $%,-&!&%,-,-$!%(*.-,")+-$!%(,-+.-%)(( -$!/+%&!-2*!(  --2

Seite 293

13.1.2 Output Parameters for the RTO Instruction!"*+##"*+*+!&,+',+*&)+!"%*+),+"&%%+!-

Seite 294

 

Seite 295

%3.1.4 Example of an RTO Instruction#  switch1 !switch2    #

Seite 296

43.2.1 Input Parameters for the TOF Instruction$%,-&!&%,-,-$!%(*.-,")+-$!%(,-+.-%)(( -$!/+%&!-1*!(  --1

Seite 297 - ((!& #,

23.2.2 Output Parameters for the TOF Instruction!"*+##"*+*+!&,+',+*&)+!"%*+),+"&%%+!-

Seite 298

   !%'

Seite 299 - ((!& #-

 

Seite 300

$3.2.4 Example of a TOF Instruction"switch1timer2!

Seite 301

3 #$+,% %$+,+,# $')-,+!(*,# $'+,*-,$('',# .*$% ,0) &apos

Seite 302

0  ()!! ()()$*)%*)($') #()'*) $##)+' !).%#))

Seite 303 - 

 

Seite 304

$3.3.4 Example of a TON Instruction#  belt.5 !timer2  " 

Seite 305

33.4.1 Input Parameters for the TP Instruction"#+,$$#+,+,"#&(-,+ '*,"#&+,*-,#'&&,&quo

Seite 306 - 

03.4.2 Output Parameters for the TP Instruction ()!! ()()$*)%*)($') #()'*) $##)+' !).%#)).%

Seite 307 - 

 

Seite 308 - E.1 Error Codes 3001Ć3010

%3.4.4 Example of a TP Instruction"timer1"switch1 !tank_fill"

Seite 309 - E.2 Error Codes 3011Ć3020

 $'$.2 (*/.,'!.!,-&quo

Seite 310 - E.3 Error Codes 3021Ć3030

/)& "%+%*'))%()!$)!%$!$()'*)!%$!$) "

Seite 311 - E.4 Error Codes 3031Ć3035

/ ()$"%'#()'*)$#()$$"%'),$$')'#)'$'$*!#)&

Seite 312

  

Seite 313 - "

+4.1.1 Input Parameters for the Equal To Instruction$%$%$% "&%$!#% $%#&%!  %'#%*"

Seite 314 - 

%4.1.2 Output Parameters for the Equal To Instruction ! ! !"!"! ! !"!" ! "!

Seite 315

4.1.3 Example of an Equal To Instructionswitch1bottle_count

Seite 316

"4.2 Greater Than Or Equal To (GE)!! 

Seite 317

,4.2.1 Input Parameters for the Greater Than Or Equal To Instruction%&%&%&!#'&%"$&!%&$&a

Seite 318

'4.2.2 Output Parameters for the Greater Than Or Equal To Instruction"#"#"#$#$#"!#"#!$#

Seite 319

 4.2.3 Example of a Greater Than Or Equal To Instructionquality

Seite 320

 &1&!"4 )+0/-("/&qu

Seite 321

  

Seite 322

+4.3.1 Input Parameters for the Greater Than Instruction$%$%$% "&%$!#% $%#&%!  %'#%*&qu

Seite 323

%4.3.2 Output Parameters for the Greater Than Instruction ! ! !"!"! ! !"!" ! &qu

Seite 324

4.3.3 Example of a Greater Than Instructionswitch1level[15]

Seite 325 - !

4.4 Less Than Or Equal To (LE)

Seite 326 - 

,4.4.1 Input Parameters for the Less Than Or Equal To Instruction%&%&%&!#'&%"$&!%&$&apo

Seite 327

'4.4.2 Output Parameters for the Less Than Or Equal To Instruction"#"#"#$#$#"!#"#!$#

Seite 328

 switch1part[depth]

Seite 329

  

Seite 330

,4.5.1 Input Parameters for the Less Than Instruction%&%&%&!#'&%"$&!%&$'&&qu

Seite 331

 ,,),-/-! 2.$!)'*/.!(-.,/.%)(- 3 ,,),-/-! 2&&)'*/.!(-.,/.%

Seite 332

&4.5.2 Output Parameters for the Less Than Instruction!"!"!"#"#"! "!" #"

Seite 333

4.5.3 Example of a Less Than Instructionswitch1 level[15]

Seite 334

 4.6 Limit (LIMIT)

Seite 335 - 

*4.6.1 Input Parameters for the Limit Instruction#$#$#$!%$# "$#$"%$ $&"$)!

Seite 336

*4.6.2 Output Parameters for the Limit Instruction#$#$#$ %$!%$# "$#$"%$ $&"$)!

Seite 337

4.6.3 Example of a Limit Instructionswitch1part_id[20

Seite 338

(4.7 Mask Compare (MSK)!"!!" #""&"(!""%$ !"$"

Seite 339

4Ć274.7.1 Input Parameters for the Mask Compare InstructionThis table lists the inputs for the MSK instruction and the variable type and datatype/rang

Seite 340

)4.7.2 Output Parameters for the Mask Compare Instruction$%$%$% &%!&%$ #%$%#&%  &$%$ &%

Seite 341

 4.7.3 Example of a Mask Compare Instructionmeasuretolerance

Seite 342

 )#%&0&.,%/!+ 2 (*.-+'!-!+,")+-$!

Seite 343

!    

Seite 344

*4.8.1 Input Parameters for the Not Equal To Instruction#$#$#$!%$# "$#$"%$ $&"$)!

Seite 345

&4.8.2 Output Parameters for the Not Equal To Instruction ! ! !"!"! ! !"!" ! 

Seite 346

!4.8.3 Example of a Not Equal To Instruction  switch1bottle_count 

Seite 347

)4.9.1 Errors Caused by All Compare Instructions!  !# %'# #!" !" #"!  

Seite 348

2 +'%(-,#&+,*-,#'&+,'(* '*%%,"'(*,#'&+"''+ *

Seite 349

5.1 Absolute Value (ABS)

Seite 350

)5.1.1 Input Parameters for the Absolute Value Instruction"#"#"# $#"!#"#!$##%!

Seite 351

/5.1.2 Output Parameters for the Absolute Value Instruction!")*##")*)*!&+*'+*)&(*!"%)*(+*"&%

Seite 352 - 1 Allen-Bradley Drive

  

Kommentare zu diesen Handbüchern

Keine Kommentare