Wx18.01, Run Mode; Wx18.02, Presets Updated; Wx18.03, Error Detected; Wx18.04, Power Failure Detected - Siemens SIMATIC TI505 User Manual

High speed counter encoder module
Hide thumbs Also See for SIMATIC TI505:
Table of Contents

Advertisement

WX18.01, RUN
Mode
WX18.02, Presets
Updated
WX18.03, Error
Detected
WX18.04, Power
Failure Detected
WX18.05, Interrupt
Function Enabled
WX18.06, Interrupt
Request Active
WX18.07, Outputs
Disabled
WX18.08, Count
Format for
Counters 1 and 4
WX18.09 through
WX18.16
High Speed Counter Encoder Module User Manual
The following paragraphs provide expanded definitions for status word
WX18.
RUN mode flag is set when the module is in the Run Mode. The flag is
cleared in Program Mode or when an error has been detected. When the
module is not in the Run Mode, the output drive and Interrupt functions are
disabled.
The presets updated flag indicates that the module has updated the
counters with Preset values. Requested when WY20.02 is set. All counters
are affected.
The error detected flag indicates an error has been detected. The Current
Count and Holding Register WX locations may contain error codes when an
error is detected. See Appendix B for the error code listing.
The power failure flag indicates a loss of 24 V user power, or that the
voltage is below the limits set for proper operation of the output circuitry.
The interrupt enabled flag indicates that the interrupt function is enabled,
and will request an interrupt service, TASK 8, from the PLC when an
output changes state. The outputs that can cause an interrupt are set in
bits WY19.09 through 16. Refer to the SIMATIC TI505 Programming
Reference Manual (PPX:505–8104–4 or later) for interrupt information.
The interrupt request flag indicates that an interrupt request has been
generated. The flag is cleared by setting bit WY20.06.
The outputs disabled flag indicates that the output drives are disabled. All
of the outputs are off.
The count format flag indicates the format of the Counter 1 and 4 data
words. When this bit is cleared, each value is represented as two 16-bit
signed integers. When set, each value is represented as a 32-bit signed
integer. The format of the presets is not affected.
With bit WX18.06 clear, each bit .09 through .16 is set when the
corresponding Output 1 through 8 is on. A bit is clear when the
corresponding output is off.
A counter or the PLC can activate the outputs. Either the counter or the
PLC can turn the output on, but both have to be off to turn an output off.
Consequently, the PLC cannot force an individual output off, but it can
disable all outputs by setting WY20.04 as shown in Table 3-9.
With bit WX18.06 set (Interrupt Active), these bits indicate which output(s)
have changed state and generated an interrupt request to the PLC.
Understanding Module Operation
3-7

Advertisement

Table of Contents
loading

Table of Contents