Mitsubishi Electronics FX1S Input assignment, Counter Speeds, Availability of High Speed Counters

Page 98

FX Series Programmable Controllers

Devices in Detail 4

4.11.2Availability of High Speed Counters

The following device table outlines the range of available high speed counters.

FX1S

FX1N

FX2N

FX2NC

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I

 

 

1 Phase counter

 

1 Phase counter

 

2 Phase counter

 

 

 

 

 

 

 

N

 

 

 

 

assigned

 

 

A/B Phase counter

 

 

 

 

user start/reset

 

 

 

 

 

bi-directional

 

 

 

P

 

 

 

 

start/reset

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

U

 

C235

C236

C237

C238

C239

C240

C241

C242

C243

C244

C245

 

C246

C247

C248

C249

 

C250

C251

C252

C253

C254

C255

 

 

T

 

 

 

 

 

 

 

 

 

 

 

X0

 

U/D

 

 

 

 

 

U/D

 

 

U/D

 

 

U

U

 

U

 

 

A

A

 

A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X1

 

 

U/D

 

 

 

 

R

 

 

R

 

 

D

D

 

D

 

 

B

B

 

B

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X2

 

 

 

U/D

 

 

 

 

U/D

 

 

U/D

 

 

R

 

R

 

 

 

R

 

R

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X3

 

 

 

 

U/D

 

 

 

R

 

S

R

 

 

 

U

 

 

U

 

 

A

 

A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X4

 

 

 

 

 

U/D

 

 

 

U/D

 

 

 

 

 

D

 

 

D

 

 

B

 

B

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X5

 

 

 

 

 

 

U/D

 

 

R

 

 

 

 

 

R

 

 

R

 

 

R

 

R

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X6

 

 

 

 

 

 

 

 

 

 

S

 

 

 

 

 

S

 

 

 

 

 

S

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X7

 

 

 

 

 

 

 

 

 

 

 

S

 

 

 

 

 

 

S

 

 

 

 

S

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Key:

C235

U - up counter input

D - down counter input

R - reset counter (input)

S - start counter (input)

A - A phase counter input

B - B phase counter input

- Counter is backed up/latched

 

Input assignment:

• X6 and X7 are also high speed inputs, but function only as start signals. They cannot be used as the counted inputs for high speed counters.

Different types of counters can be used at the same time but their inputs must not coincide. For example, if counter C247 is used, then the following counters and instructions cannot be used;

C235, C236, C237, C241, C242, C244, C245, C246, C249, C251, C252, C254, I0❏❏, I1❏❏, I2❏❏.

Counter Speeds:

General counting frequencies:

-Single phase and bi-directional counters; up to 10 kHz.

-A/B phase counters; up to 5 kHz.

-Maximum total counting frequency (A/B phase counter count twice) FX1S & FX1N 60kHz, FX2N & FX2NC 20kHZ.

For FX2N & FX2NC Inputs X0 and X1 are equipped with special hardware that allows

higher speed counting as follows:

-Single phase or bi-directional counting (depending on unit) with C235, C236 or C246; up to 60 kHz.

-Two phase counting with C251; up to 30 kHz.

4-24

Image 98
Contents Programming Manual Page FX Series Programmable Controllers ForewordFX Series Programmable Controllers FAX Back Combined Programming Manual J FX Series Programmable Controllers Hardware Warnings Software WarningsFX Series Programmable Controllers Contents STL Programming Applied Instructions Rotation And Shift Functions 30 to External FX Serial Devices Functions 80 to Execution Times And Instructional 10-1 Viii FX Series Programmable Controllers Chapter Contents Introduction OverviewWhat is a Programmable Controller? What do You Need to Program a PLC?Special considerations for programming equipment Current Generation CPU all versionsAssocciated Manuals Manual name Number FX Base Unit HardwareManual name Number FX DU, GOT and DM units Memo Basic Program Instructions FX Series Programmable ControllersBasic Program Instructions Detailed device information What is a Program?Outline of Basic Devices Used in Programming How to Read Ladder Logic ExampleProgram example Load, Load InverseOUT instruction Timer and Counter Variations OutDouble Coil Designation Use of dual coilsLast coil effect And, And Inverse Peripheral limitationsOr, Or Inverse ORILoad Pulse, Load Trailing Pulse Single Operation flags M2800 to M3071Pulse, And Trailing Pulse LDF ANF OUTOr Pulse, Or Trailing Pulse ORF ORBSequential processing limitations Or BlockBatch processing limitations Block ANB13 MPS, MRD and MPP MPS, MRD and MPP usageMultiple program examples Master Control and Reset MCRNested MC program example Set and Reset Resetting timers and counters16.1Basic Timers, Retentive Timers And Counters Timer, Counter Out & ResetRetentive timers Normal 32 bit Counters Bit countersAvailability of devices High Speed CountersPLF Leading and Trailing PulseInverse Usages for INVNo Operation No Operation20 End Program scanMemo STL Programming FX Series Programmable ControllersSTL Programming What is STL, SFC And IEC1131 Part 3? General noteLook Inside an STL How STL OperatesEach step is a program Embedded STL programs How To Start And End An STL ProgramCombined SFC Ladder representation Activating new statesReturning to Standard Ladder Initial StepsTerminating an STL Program Using SET to drive an STL coil Moving Between STL StepsOut is used for distant jumps Using OUT to drive an STL coilOUT is used for loops and jumps Rules and Techniques For STL programs Basic Notes On The Behavior Of STL programsT001 K20 K50 Method 2 Special Single Pulse Flags Single Signal Step ControlMethod 1 Using locking devices Restrictions on using applied instructions Restrictions Of Some Instructions When Used With STLUsing ‘jump’ operations with STL Using STL To Select The Most Appropriate Program STL OUT SETUsing STL To Activate Multiple Flows Simultaneously Limits on the number of branchesLimits on the number of branches General Rules For Successful STL Branching Instruction FormatGeneral Precautions When Using The FX-PCS/AT-EE Software Programming Examples Simple STL FlowIdentification of normally closed contacts SET STLPoints to note Selective Branch/ First State Merge Example ProgramFull STL flow diagram/program Advanced STL Use Devices in Detail FX Series Programmable ControllersDevices in Detail Available devices Configuration detailsInputs Device MnemonicAlias O/P OutputsDevice Mnemonic Y General Stable State Auxiliary Relays Auxiliary RelaysDevice Mnemonic M Battery Backed/ Latched Auxiliary Relays External loadsSpecial Diagnostic Auxiliary Relays Special Single Operation Pulse RelaysGeneral Stable State State Relays State RelaysDevice Mnemonic S Battery Backed/ Latched State Relays PLC FX 1S FX 1N FX 2NSTL/SFC programming Assigned statesMonitoring STL programs IST instructionAnnunciator Flags Device availability PointersJumping to the end of the program Device Mnemonic PNested levels Interrupt PointersAdditional applied instructions Pointer positionInput Interrupts Timer InterruptsRules of use Additional notes Driving special auxiliary relaysDisabling high speed counter interrupts Disabling Individual InterruptsDevice Mnemonic K Constant KConstant H Example device usage N/ADevice Mnemonic T TimersTimer accuracy Driving special auxiliary coils General timer operationSelectable Timers Using timers in interrupt or ‘CALL’ subroutines Retentive TimersTimer Accuracy Internal timer accuracyTimers Used in Interrupt and ‘CALL’ Subroutines ConditionHigh speed counters Setting ranges for countersCounters Device Mnemonic CBattery backed/latched counters General/ Latched 16bit UP Counters General/ Latched 32bit Bi-directional Counters Battery backed/ latched counters Selecting the counting direction Basic high speed counter operation Further uses NoneDriving high speed counter coils Basic High Speed Counter OperationAvailability of High Speed Counters Input assignmentCounter Speeds Calculating the maximum combined counting speed on FX1S Direction setting Device specificationSetting range Using the SPD instructionRST 11.5 2 Phase Bi-directional Counters C246 to C250 Device size11.6 A/B Phase Counters C252 to C255 Example device usage None Data RegistersDevice Mnemonic D General Use Registers Data register updatesData retention Battery Backed/ Latched Registers Using the FX2-40AW/APUse of diagnostic registers Special Diagnostic RegistersFile Registers Special caution when using FX1SWriting to file registers Program memory registersExternally Adjusted Registers UsesDevice Mnemonic V,Z Index RegistersUse of Modifiers with Applied Instruction Parameters Available formsMisuse of the Modifiers Using Multiple Index RegistersModifying a Constant Bits, Words, BCD and Hexadecimal Bit Devices, Individual and GroupedAssigning grouped bit devices Moving grouped bit devicesAssigning I/O Word Devices Interpreting Word DataFX Series Programmable Controllers Binary Coded Decimal value= Error Word Data Summary14.4 Two’s Compliment Inverted7 Additional1Floating Point And Scientific Notation Some useful constantsScientific Notation Floating Point Format FLT