Rockwell-automation AutoMax Enhanced Ladder Language Reference Manual Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Ekwipunek Rockwell-automation AutoMax Enhanced Ladder Language Reference Manual. Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 352
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

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

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

Strona 2

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

Strona 3

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

Strona 4

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

Strona 5

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

Strona 6

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

Strona 7

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

Strona 8

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

Strona 9

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

Strona 10

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

Strona 11

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

Strona 12

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

Strona 13

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

Strona 14

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

Strona 15

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

Strona 16

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

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

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

Strona 18

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

Strona 19

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

Strona 20

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

Strona 21

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

Strona 22 - 1.5 Using Transition Contacts

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

Strona 23

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

Strona 24

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

Strona 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

Strona 26

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

Strona 27 - Construct

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

Strona 28 - 1.6 Always True Contact (ATI)

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

Strona 29

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

Strona 30 - 1.8 Coil (CO)

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

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

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

Strona 32

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

Strona 33

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

Strona 34

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

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

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

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

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

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

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

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

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

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

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

Strona 40 - Using Ladder Logic

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

Strona 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

Strona 42 - 

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

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

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

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

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

Strona 45 - 3.1.2 Output

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

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

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

Strona 47 - 3.2 Timer Off Delay (TOF)

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

Strona 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

Strona 49 - 3.2.2 Output

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

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

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

Strona 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

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

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

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

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

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

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

Strona 55 - 3.4 Timer Pulse (TP)

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

Strona 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

Strona 57 - 3.4.2 Output

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

Strona 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

Strona 59

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

Strona 60

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

Strona 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

Strona 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

Strona 63 - 4.1.1 Input

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

Strona 64 - 4.1.2 Output

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

Strona 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

Strona 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

Strona 67 - 4.2.1 Input

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

Strona 68 - 4.2.2 Output

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

Strona 69

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

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

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

Strona 71 - 4.3.1 Input

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

Strona 72 - 4.3.2 Output

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

Strona 73

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

Strona 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

Strona 75 - 4.4.1 Input

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

Strona 76 - 4.4.2 Output

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

Strona 77

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

Strona 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

Strona 79 - 4.5.1 Input

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

Strona 80 - 4.5.2 Output

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

Strona 81

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

Strona 82 - 4.6 Limit (LIMIT)

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

Strona 83 - 4.6.1 Input

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

Strona 84 - 4.6.2 Output

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

Strona 85

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

Strona 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

Strona 87 - 4.7.1 Input

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

Strona 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

Strona 89

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

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

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

Strona 91 - 4.8.1 Input

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

Strona 92 - 4.8.2 Output

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

Strona 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

Strona 94

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

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

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

Strona 96 - 5.1 Absolute Value (ABS)

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

Strona 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

Strona 98 - 5.1.2 Output

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

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

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

Strona 100 - 5.2.1 Input

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

Strona 101 - 5.2.2 Output

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

Strona 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

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

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

Strona 104 - 5.3.1 Input

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

Strona 105 - 5.3.2 Output

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

Strona 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

Strona 107 - 5.4.1 Input

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

Strona 108 - 5.4.2 Output

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

Strona 109 - 5.5 Multiply (MUL)

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

Strona 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

Strona 111 - 5.5.2 Output

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

Strona 112

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

Strona 113 - 5.6 Multiply Divide (MDV)

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

Strona 114 - 5.6.1 Input

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

Strona 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

Strona 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

Strona 117 - 5.7.1 Input

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

Strona 118 - 5.7.2 Output

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

Strona 119 - 5.8 Square Root (SQRT)

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

Strona 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

Strona 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

Strona 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

Strona 123 - 5.9.1 Input

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

Strona 124 - 5.9.2 Output

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

Strona 125

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

Strona 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

Strona 127

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

Strona 128 - Instruction

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

Strona 129

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

Strona 130

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

Strona 131

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

Strona 132

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

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

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

Strona 134 - 6.1 Logical And (AND)

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

Strona 135

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

Strona 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

Strona 137 - 6.2 Logical Not (NOT)

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

Strona 138

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

Strona 139

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

Strona 140 - 6.3 Logical Or (OR)

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

Strona 141

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

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

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

Strona 143

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

Strona 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

Strona 145

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

Strona 146

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

Strona 147

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

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

Strona 149 - 7.1.1 Input

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

Strona 150 - 7.1.2 Output

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

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

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

Strona 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

Strona 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

Strona 154 - 7.2.2 Output

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

Strona 155

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

Strona 156

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

Strona 157

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

Strona 158

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

Strona 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

Strona 160

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

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

Strona 162 - 8.1.2 Output

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

Strona 163

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

Strona 164

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

Strona 165 - 8.2.1 Input

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

Strona 166 - 8.2.2 Output

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

Strona 167

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

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

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

Strona 169 - 8.3.1 Input

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

Strona 170 - 8.3.2 Output

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

Strona 172

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

Strona 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

Strona 174

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

Strona 175

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

Strona 176

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

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

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

Strona 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

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

Strona 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

Strona 181

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

Strona 182 - 9.2.1 Input

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

Strona 183 - 9.2.2 Output

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

Strona 184

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

Strona 185

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

Strona 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

Strona 187 - 9.3.2 Output

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

Strona 188

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

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

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

Strona 190 - 9.4.1 Input

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

Strona 191 - 9.4.2 Output

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

Strona 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

Strona 193

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

Strona 194 - 9.5.1 Input

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

Strona 195 - 9.5.2 Output

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

Strona 196

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

Strona 197

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

Strona 198 - 9.6.1 Input

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

Strona 199 - 9.6.2 Output

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

Strona 200

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

Strona 201

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

Strona 202

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

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

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

Strona 204

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

Strona 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

Strona 206

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

Strona 207

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

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

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

Strona 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

Strona 210

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

Strona 211 - 10.1.2 Output

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

Strona 212

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

Strona 213

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

Strona 214

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

Strona 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

Strona 216 - 10.1.4 Input

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

Strona 217

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

Strona 218

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

Strona 220 - 10.2.2 Output

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

Strona 221

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

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

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

Strona 223

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

Strona 224 - 10.3.1 Input

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

Strona 225

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

Strona 226

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

Strona 228 - 10.3.2 Output

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

Strona 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

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

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

Strona 231 - 10.4.1 Input

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

Strona 232 - 10.4.2 Output

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

Strona 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

Strona 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

Strona 235 - 10.5.1 Input

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

Strona 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

Strona 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

Strona 239

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

Strona 240

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

Strona 241

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

Strona 242

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

Strona 243

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

Strona 244

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

Strona 245 - 

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

Strona 246 - 11.1 Set Event (SET)

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

Strona 247 - 

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

Strona 248

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

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

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

Strona 250

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

Strona 252

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

Strona 253

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

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

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

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

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

Strona 256

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

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

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

Strona 258

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

Strona 259

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

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

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

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

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

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

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

Strona 263

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

Strona 264

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

Strona 265

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

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

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

Strona 269 - 13.1.1 Input

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

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

Strona 271 - 13.2 Immediate Output (OUT)

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

Strona 272 - 13.2.2 Output

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

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

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

Strona 274

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

Strona 275 - A.1 Data Types

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

Strona 276 - A.1.2 Integer

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

Strona 277

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

Strona 278 - A.1.3 Timer Variables

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

Strona 279 - MPORTANT:

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

Strona 280 - A.1.4 Counter Variables

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

Strona 282 - ElementĆIndexing

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

Strona 283 - A.3.1 Local Variables

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

Strona 284 - A.3.2 Global Variables

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

Strona 285 - A.4 Arrays

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

Strona 286

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

Strona 287 - A.5 Constants

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

Strona 288

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

Strona 289

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

Strona 290 - A.6.3 About the Retained V

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

Strona 291

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

Strona 292

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

Strona 293

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

Strona 294

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

Strona 295

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

Strona 296

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

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

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

Strona 298

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

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

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

Strona 300

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

Strona 301

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

Strona 302

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

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

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

Strona 304

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

Strona 305

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

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

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

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

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

Strona 308 - E.1 Error Codes 3001Ć3010

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

Strona 309 - E.2 Error Codes 3011Ć3020

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

Strona 310 - E.3 Error Codes 3021Ć3030

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

Strona 311 - E.4 Error Codes 3031Ć3035

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

Strona 312

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

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

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

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

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

Strona 315

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

Strona 316

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

Strona 317

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

Strona 318

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

Strona 319

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

Strona 320

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

Strona 321

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

Strona 322

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

Strona 323

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

Strona 324

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

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

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

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

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

Strona 327

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

Strona 328

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

Strona 329

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

Strona 330

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

Strona 331

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

Strona 332

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

Strona 333

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

Strona 334

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

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

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

Strona 336

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

Strona 337

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

Strona 338

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

Strona 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

Strona 340

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

Strona 341

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

Strona 342

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

Strona 343

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

Strona 344

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

Strona 345

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

Strona 346

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

Strona 347

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

Strona 348

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

Strona 349

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

Strona 350

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

Strona 351

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

Strona 352 - 1 Allen-Bradley Drive

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

Komentarze do niniejszej Instrukcji

Brak uwag