13.07.2015 Views

FX Programming Manual. - Welcome to

FX Programming Manual. - Welcome to

FX Programming Manual. - Welcome to

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>FX</strong> Series Programmable Controllers Devices in Detail 44.11.1 Basic High Speed Counter OperationAlthough counters C235 <strong>to</strong> C255 (21 points) are all high speed counters, they share the samerange of high speed inputs. Therefore, if an input is already being used by a high speedcounter, it cannot be used for any other high speed counters or for any other purpose, i.e as aninterrupt input.The selection of high speed counters are not free, they are directly dependent on the type ofcounter required and which inputs are available.Available counter types;a) 1 phase with user start/reset: C235 <strong>to</strong> C240b) 1 phase with assigned start/reset: C241 <strong>to</strong> C245c) 2 phase bi-directional: C246 <strong>to</strong> C250d) A/B phase type: C251 <strong>to</strong> C255Please note ALL of these counters are 32bit devices.High speed counters operate by the principle of interrupts. This means they are eventtriggered and independent of cycle time. The coil of the selected counter should be drivencontinuously <strong>to</strong> indicate that this counter and its associated inputs are reserved and that otherhigh speed processes must not coincide with them.Example:When X20 is ON, high speed counter C235 isselected. The counter C235 corresponds <strong>to</strong> X20C235count input X0. X20 is NOT the countedsignal. This is the continuous drive mentioned X20K4789earlier. X0 does not have <strong>to</strong> be included in theC236program. The input assignment is hardwareD4related and cannot be changed by the user.When X20 is OFF, coil C235 is turned OFF and coil C236 is turned ON. Counter C236 has anassigned input of X1, again the input X20 is NOT the counted input.The assignment of counters and input devices is dependent upon the PLC selected. This isexplained in the relevant, later sections.Driving high speed counter coils:• The counted inputs are NOT used <strong>to</strong>drive the high speed counter coils.X0This is because the counter coilsC235need <strong>to</strong> be continuously driven ONX1K4789<strong>to</strong> reserve the associated high speedC236inputs.D4Therefore, a normal non-high speeddrive contact should be used <strong>to</strong> drivethe high speed counter coil.Ideally the special auxiliary contact M8000 should be used. However, this is notcompulsory.4-23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!