Rockwell-automation AutoMax Enhanced Ladder Language Reference Manual Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Zařízení Rockwell-automation AutoMax Enhanced Ladder Language Reference Manual. Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 352
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

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

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

Strany 2

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

Strany 3

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

Strany 4

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

Strany 5

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

Strany 6

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

Strany 7

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

Strany 8

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

Strany 9

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

Strany 10

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

Strany 11

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

Strany 12

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

Strany 13

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

Strany 14

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

Strany 15

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

Strany 16

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

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

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

Strany 18

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

Strany 19

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

Strany 20

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

Strany 21

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

Strany 22 - 1.5 Using Transition Contacts

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

Strany 23

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

Strany 24

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

Strany 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

Strany 26

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

Strany 27 - Construct

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

Strany 28 - 1.6 Always True Contact (ATI)

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

Strany 29

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

Strany 30 - 1.8 Coil (CO)

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

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

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

Strany 32

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

Strany 33

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

Strany 34

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

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

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

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

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

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

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

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

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

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

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

Strany 40 - Using Ladder Logic

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

Strany 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

Strany 42 - 

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

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

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

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

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

Strany 45 - 3.1.2 Output

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

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

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

Strany 47 - 3.2 Timer Off Delay (TOF)

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

Strany 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

Strany 49 - 3.2.2 Output

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

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

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

Strany 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

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

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

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

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

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

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

Strany 55 - 3.4 Timer Pulse (TP)

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

Strany 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

Strany 57 - 3.4.2 Output

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

Strany 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

Strany 59

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

Strany 60

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

Strany 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

Strany 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

Strany 63 - 4.1.1 Input

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

Strany 64 - 4.1.2 Output

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

Strany 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

Strany 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

Strany 67 - 4.2.1 Input

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

Strany 68 - 4.2.2 Output

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

Strany 69

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

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

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

Strany 71 - 4.3.1 Input

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

Strany 72 - 4.3.2 Output

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

Strany 73

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

Strany 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

Strany 75 - 4.4.1 Input

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

Strany 76 - 4.4.2 Output

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

Strany 77

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

Strany 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

Strany 79 - 4.5.1 Input

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

Strany 80 - 4.5.2 Output

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

Strany 81

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

Strany 82 - 4.6 Limit (LIMIT)

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

Strany 83 - 4.6.1 Input

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

Strany 84 - 4.6.2 Output

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

Strany 85

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

Strany 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

Strany 87 - 4.7.1 Input

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

Strany 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

Strany 89

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

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

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

Strany 91 - 4.8.1 Input

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

Strany 92 - 4.8.2 Output

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

Strany 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

Strany 94

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

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

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

Strany 96 - 5.1 Absolute Value (ABS)

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

Strany 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

Strany 98 - 5.1.2 Output

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

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

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

Strany 100 - 5.2.1 Input

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

Strany 101 - 5.2.2 Output

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

Strany 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

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

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

Strany 104 - 5.3.1 Input

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

Strany 105 - 5.3.2 Output

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

Strany 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

Strany 107 - 5.4.1 Input

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

Strany 108 - 5.4.2 Output

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

Strany 109 - 5.5 Multiply (MUL)

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

Strany 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

Strany 111 - 5.5.2 Output

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

Strany 112

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

Strany 113 - 5.6 Multiply Divide (MDV)

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

Strany 114 - 5.6.1 Input

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

Strany 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

Strany 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

Strany 117 - 5.7.1 Input

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

Strany 118 - 5.7.2 Output

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

Strany 119 - 5.8 Square Root (SQRT)

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

Strany 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

Strany 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

Strany 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

Strany 123 - 5.9.1 Input

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

Strany 124 - 5.9.2 Output

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

Strany 125

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

Strany 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

Strany 127

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

Strany 128 - Instruction

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

Strany 129

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

Strany 130

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

Strany 131

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

Strany 132

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

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

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

Strany 134 - 6.1 Logical And (AND)

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

Strany 135

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

Strany 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

Strany 137 - 6.2 Logical Not (NOT)

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

Strany 138

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

Strany 139

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

Strany 140 - 6.3 Logical Or (OR)

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

Strany 141

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

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

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

Strany 143

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

Strany 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

Strany 145

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

Strany 146

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

Strany 147

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

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

Strany 149 - 7.1.1 Input

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

Strany 150 - 7.1.2 Output

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

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

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

Strany 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

Strany 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

Strany 154 - 7.2.2 Output

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

Strany 155

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

Strany 156

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

Strany 157

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

Strany 158

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

Strany 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

Strany 160

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

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

Strany 162 - 8.1.2 Output

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

Strany 163

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

Strany 164

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

Strany 165 - 8.2.1 Input

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

Strany 166 - 8.2.2 Output

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

Strany 167

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

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

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

Strany 169 - 8.3.1 Input

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

Strany 170 - 8.3.2 Output

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

Strany 172

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

Strany 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

Strany 174

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

Strany 175

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

Strany 176

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

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

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

Strany 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

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

Strany 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

Strany 181

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

Strany 182 - 9.2.1 Input

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

Strany 183 - 9.2.2 Output

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

Strany 184

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

Strany 185

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

Strany 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

Strany 187 - 9.3.2 Output

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

Strany 188

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

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

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

Strany 190 - 9.4.1 Input

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

Strany 191 - 9.4.2 Output

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

Strany 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

Strany 193

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

Strany 194 - 9.5.1 Input

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

Strany 195 - 9.5.2 Output

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

Strany 196

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

Strany 197

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

Strany 198 - 9.6.1 Input

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

Strany 199 - 9.6.2 Output

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

Strany 200

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

Strany 201

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

Strany 202

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

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

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

Strany 204

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

Strany 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

Strany 206

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

Strany 207

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

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

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

Strany 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

Strany 210

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

Strany 211 - 10.1.2 Output

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

Strany 212

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

Strany 213

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

Strany 214

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

Strany 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

Strany 216 - 10.1.4 Input

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

Strany 217

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

Strany 218

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

Strany 220 - 10.2.2 Output

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

Strany 221

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

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

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

Strany 223

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

Strany 224 - 10.3.1 Input

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

Strany 225

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

Strany 226

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

Strany 228 - 10.3.2 Output

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

Strany 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

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

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

Strany 231 - 10.4.1 Input

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

Strany 232 - 10.4.2 Output

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

Strany 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

Strany 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

Strany 235 - 10.5.1 Input

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

Strany 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

Strany 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

Strany 239

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

Strany 240

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

Strany 241

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

Strany 242

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

Strany 243

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

Strany 244

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

Strany 245 - 

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

Strany 246 - 11.1 Set Event (SET)

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

Strany 247 - 

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

Strany 248

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

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

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

Strany 250

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

Strany 252

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

Strany 253

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

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

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

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

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

Strany 256

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

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

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

Strany 258

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

Strany 259

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

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

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

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

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

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

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

Strany 263

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

Strany 264

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

Strany 265

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

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

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

Strany 269 - 13.1.1 Input

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

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

Strany 271 - 13.2 Immediate Output (OUT)

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

Strany 272 - 13.2.2 Output

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

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

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

Strany 274

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

Strany 275 - A.1 Data Types

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

Strany 276 - A.1.2 Integer

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

Strany 277

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

Strany 278 - A.1.3 Timer Variables

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

Strany 279 - MPORTANT:

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

Strany 280 - A.1.4 Counter Variables

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

Strany 282 - ElementĆIndexing

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

Strany 283 - A.3.1 Local Variables

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

Strany 284 - A.3.2 Global Variables

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

Strany 285 - A.4 Arrays

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

Strany 286

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

Strany 287 - A.5 Constants

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

Strany 288

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

Strany 289

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

Strany 290 - A.6.3 About the Retained V

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

Strany 291

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

Strany 292

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

Strany 293

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

Strany 294

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

Strany 295

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

Strany 296

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

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

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

Strany 298

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

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

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

Strany 300

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

Strany 301

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

Strany 302

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

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

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

Strany 304

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

Strany 305

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

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

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

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

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

Strany 308 - E.1 Error Codes 3001Ć3010

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

Strany 309 - E.2 Error Codes 3011Ć3020

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

Strany 310 - E.3 Error Codes 3021Ć3030

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

Strany 311 - E.4 Error Codes 3031Ć3035

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

Strany 312

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

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

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

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

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

Strany 315

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

Strany 316

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

Strany 317

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

Strany 318

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

Strany 319

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

Strany 320

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

Strany 321

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

Strany 322

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

Strany 323

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

Strany 324

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

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

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

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

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

Strany 327

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

Strany 328

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

Strany 329

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

Strany 330

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

Strany 331

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

Strany 332

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

Strany 333

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

Strany 334

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

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

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

Strany 336

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

Strany 337

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

Strany 338

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

Strany 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

Strany 340

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

Strany 341

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

Strany 342

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

Strany 343

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

Strany 344

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

Strany 345

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

Strany 346

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

Strany 347

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

Strany 348

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

Strany 349

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

Strany 350

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

Strany 351

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

Strany 352 - 1 Allen-Bradley Drive

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

Komentáře k této Příručce

Žádné komentáře