Rockwell-automation AutoMax Enhanced Ladder Language Reference Manual Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Équipement Rockwell-automation AutoMax Enhanced Ladder Language Reference Manual. Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 352
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

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

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

Page 2

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

Page 3

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

Page 4

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

Page 5

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

Page 6

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

Page 7

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

Page 8

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

Page 9

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

Page 10

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

Page 11

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

Page 12

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

Page 13

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

Page 14

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

Page 15

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

Page 16

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

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

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

Page 18

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

Page 19

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

Page 20

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

Page 21

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

Page 22 - 1.5 Using Transition Contacts

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

Page 23

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

Page 24

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

Page 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

Page 26

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

Page 27 - Construct

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

Page 28 - 1.6 Always True Contact (ATI)

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

Page 29

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

Page 30 - 1.8 Coil (CO)

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

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

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

Page 32

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

Page 33

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

Page 34

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

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

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

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

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

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

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

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

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

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

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

Page 40 - Using Ladder Logic

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

Page 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

Page 42 - 

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

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

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

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

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

Page 45 - 3.1.2 Output

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

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

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

Page 47 - 3.2 Timer Off Delay (TOF)

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

Page 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

Page 49 - 3.2.2 Output

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

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

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

Page 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

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

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

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

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

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

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

Page 55 - 3.4 Timer Pulse (TP)

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

Page 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

Page 57 - 3.4.2 Output

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

Page 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

Page 59

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

Page 60

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

Page 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

Page 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

Page 63 - 4.1.1 Input

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

Page 64 - 4.1.2 Output

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

Page 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

Page 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

Page 67 - 4.2.1 Input

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

Page 68 - 4.2.2 Output

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

Page 69

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

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

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

Page 71 - 4.3.1 Input

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

Page 72 - 4.3.2 Output

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

Page 73

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

Page 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

Page 75 - 4.4.1 Input

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

Page 76 - 4.4.2 Output

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

Page 77

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

Page 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

Page 79 - 4.5.1 Input

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

Page 80 - 4.5.2 Output

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

Page 81

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

Page 82 - 4.6 Limit (LIMIT)

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

Page 83 - 4.6.1 Input

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

Page 84 - 4.6.2 Output

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

Page 85

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

Page 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

Page 87 - 4.7.1 Input

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

Page 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

Page 89

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

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

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

Page 91 - 4.8.1 Input

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

Page 92 - 4.8.2 Output

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

Page 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

Page 94

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

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

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

Page 96 - 5.1 Absolute Value (ABS)

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

Page 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

Page 98 - 5.1.2 Output

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

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

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

Page 100 - 5.2.1 Input

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

Page 101 - 5.2.2 Output

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

Page 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

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

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

Page 104 - 5.3.1 Input

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

Page 105 - 5.3.2 Output

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

Page 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

Page 107 - 5.4.1 Input

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

Page 108 - 5.4.2 Output

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

Page 109 - 5.5 Multiply (MUL)

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

Page 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

Page 111 - 5.5.2 Output

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

Page 112

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

Page 113 - 5.6 Multiply Divide (MDV)

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

Page 114 - 5.6.1 Input

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

Page 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

Page 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

Page 117 - 5.7.1 Input

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

Page 118 - 5.7.2 Output

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

Page 119 - 5.8 Square Root (SQRT)

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

Page 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

Page 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

Page 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

Page 123 - 5.9.1 Input

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

Page 124 - 5.9.2 Output

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

Page 125

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

Page 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

Page 127

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

Page 128 - Instruction

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

Page 129

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

Page 130

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

Page 131

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

Page 132

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

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

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

Page 134 - 6.1 Logical And (AND)

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

Page 135

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

Page 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

Page 137 - 6.2 Logical Not (NOT)

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

Page 138

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

Page 139

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

Page 140 - 6.3 Logical Or (OR)

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

Page 141

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

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

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

Page 143

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

Page 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

Page 145

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

Page 146

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

Page 147

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

Page 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/

Page 149 - 7.1.1 Input

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

Page 150 - 7.1.2 Output

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

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

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

Page 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

Page 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

Page 154 - 7.2.2 Output

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

Page 155

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

Page 156

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

Page 157

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

Page 158

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

Page 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

Page 160

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

Page 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,

Page 162 - 8.1.2 Output

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

Page 163

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

Page 164

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

Page 165 - 8.2.1 Input

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

Page 166 - 8.2.2 Output

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

Page 167

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

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

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

Page 169 - 8.3.1 Input

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

Page 170 - 8.3.2 Output

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

Page 172

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

Page 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

Page 174

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

Page 175

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

Page 176

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

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

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

Page 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

Page 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$  !

Page 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

Page 181

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

Page 182 - 9.2.1 Input

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

Page 183 - 9.2.2 Output

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

Page 184

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

Page 185

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

Page 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

Page 187 - 9.3.2 Output

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

Page 188

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

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

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

Page 190 - 9.4.1 Input

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

Page 191 - 9.4.2 Output

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

Page 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

Page 193

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

Page 194 - 9.5.1 Input

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

Page 195 - 9.5.2 Output

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

Page 196

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

Page 197

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

Page 198 - 9.6.1 Input

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

Page 199 - 9.6.2 Output

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

Page 200

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

Page 201

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

Page 202

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

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

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

Page 204

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

Page 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

Page 206

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

Page 207

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

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

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

Page 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

Page 210

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

Page 211 - 10.1.2 Output

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

Page 212

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

Page 213

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

Page 214

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

Page 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

Page 216 - 10.1.4 Input

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

Page 217

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

Page 218

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

Page 220 - 10.2.2 Output

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

Page 221

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

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

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

Page 223

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

Page 224 - 10.3.1 Input

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

Page 225

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

Page 226

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

Page 228 - 10.3.2 Output

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

Page 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

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

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

Page 231 - 10.4.1 Input

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

Page 232 - 10.4.2 Output

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

Page 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

Page 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

Page 235 - 10.5.1 Input

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

Page 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

Page 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

Page 239

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

Page 240

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

Page 241

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

Page 242

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

Page 243

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

Page 244

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

Page 245 - 

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

Page 246 - 11.1 Set Event (SET)

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

Page 247 - 

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

Page 248

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

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

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

Page 250

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

Page 252

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

Page 253

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

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

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

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

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

Page 256

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

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

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

Page 258

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

Page 259

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

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

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

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

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

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

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

Page 263

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

Page 264

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

Page 265

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

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

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

Page 269 - 13.1.1 Input

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

Page 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

Page 271 - 13.2 Immediate Output (OUT)

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

Page 272 - 13.2.2 Output

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

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

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

Page 274

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

Page 275 - A.1 Data Types

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

Page 276 - A.1.2 Integer

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

Page 277

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

Page 278 - A.1.3 Timer Variables

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

Page 279 - MPORTANT:

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

Page 280 - A.1.4 Counter Variables

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

Page 282 - ElementĆIndexing

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

Page 283 - A.3.1 Local Variables

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

Page 284 - A.3.2 Global Variables

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

Page 285 - A.4 Arrays

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

Page 286

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

Page 287 - A.5 Constants

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

Page 288

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

Page 289

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

Page 290 - A.6.3 About the Retained V

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

Page 291

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

Page 292

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

Page 293

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

Page 294

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

Page 295

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

Page 296

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

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

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

Page 298

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

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

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

Page 300

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

Page 301

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

Page 302

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

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

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

Page 304

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

Page 305

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

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

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

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

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

Page 308 - E.1 Error Codes 3001Ć3010

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

Page 309 - E.2 Error Codes 3011Ć3020

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

Page 310 - E.3 Error Codes 3021Ć3030

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

Page 311 - E.4 Error Codes 3031Ć3035

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

Page 312

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

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

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

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

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

Page 315

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

Page 316

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

Page 317

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

Page 318

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

Page 319

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

Page 320

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

Page 321

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

Page 322

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

Page 323

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

Page 324

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

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

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

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

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

Page 327

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

Page 328

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

Page 329

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

Page 330

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

Page 331

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

Page 332

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

Page 333

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

Page 334

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

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

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

Page 336

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

Page 337

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

Page 338

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

Page 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

Page 340

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

Page 341

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

Page 342

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

Page 343

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

Page 344

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

Page 345

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

Page 346

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

Page 347

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

Page 348

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

Page 349

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

Page 350

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

Page 351

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

Page 352 - 1 Allen-Bradley Drive

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

Commentaires sur ces manuels

Pas de commentaire