beautypg.com

Output registers/coils (y, yw), Io registers/coils (m, mw) – Maple Systems MAPware-7000 User Manual

Page 301

background image

MAPware-7000 Programming Manual

301

1010-1040, Rev. 02

Output Registers/Coils (Y, YW)

These registers and coils are designed for use by the physical outputs (digital or analog) from an
attached or built-in (HMC7030A-L) output expansion module. The value read from these
internal registers/coils is used to determine and set the current state of the physical output of
the expansion module assigned to it. When you start a new project and assign I/O expansion
modules to each expansion slot of the HMC, the MAPware-7000 will automatically assign the
appropriate memory addresses according to slot location. For example, the eight built-in digital
outputs of the HMC7030A-L are assigned to coils Y00000-Y00007 and register YW0000. For a
HMC7000 unit that has eight digital outputs in expansion slot #1, the MAPware-7000 software
automatically assigns coil addresses Y01000-Y01007 and register YW0100 to the outputs. If
twelve digital outputs are located in slot#3, the software assigns coil addresses Y03000-Y03011
and register YW0300 to the outputs. If an analog module with two analog outputs is installed
into slot#5, then no coil addresses would be assigned (since these are analog outputs) and
registers YW0500-YW0501 are assigned.

The Y and YW registers are mapped to the same memory area in the HMC with sixteen Y coils
per YW register. For example, Y161 corresponds to the second least significant bit (bit 1) of
YW0010.

IO Registers/Coils (M, MW)

These registers and coils are reserved to perform special functions when the HMC7000 has built-
in or attached expansion modules. For example, the HMC7030A-L has the following I/O
Register/Coil memory allocated for the twelve digital inputs and eight digital outputs built into
the unit:

M00240

HSC Enable Bit (ch1)

M00241

HSC Reset Bit (ch1)

M00400

HSC Enable Bit (ch2)

M00401

HSC Reset Bit (ch2)

MW0000

PLC mode control

MW0003

Run/Stop Switch

MW0010

HSC Configuration Register (ch1)

MW0011

HSC Current Register (ch1)

MW0013

HSC Preset Register (ch1)

MW0020

HSC Configuration Register (ch2)

MW0021

HSC Current Register (ch2)

MW0023

HSC Preset Register (ch2)

These registers are used when the built-in I/O of the HMC7030A-L is configured as high speed
counters.

The MAPware-7000 automatically allocates the necessary IO registers to each expansion module
according to slot location and type of module. For example, a HMC7000 unit that has eight
digital inputs and eight digital outputs in expansion slot #1 has coil addresses M01080, M01081,
M01176, and M01177 and registers MW0100-MW0109 assigned for two high-speed counters.