January 2012 8.13 Data Transfer NC => PLC, PLC => NC 1655
The NC transfers M functions to the PLC via M strobes. If G functions are
transferred to the PLC, the following configuration is required:
Channel-dependent parameter object
NCchannel/ChannelSettings/key name of the channel/CfgPlcStrobes:
• mStrobes: in addition to the key names of the M functions, also list the
key names of the G functions to be transferred to the PLC
• aliasStrobes: define the key name of the alias strobes
Parameter object
System/PLC/CfgPlcMStrobe:
Use the key names to define the M and G functions and their transfer
parameters. For G functions to be transferred to the PLC, the offset (here:
1000) is added to the number of the G function.
Parameter object
System/PLC/CfgPlcStrobeAlias:
Use the key name to assign the type GFUNCTION to the alias strobe and
define the offset.
With the parameters of the alias strobe, you make the following definitions:
MP_type=GFUNCTION: (defined) G functions are transferred to the PLC
MP_mCode=1000 and MP_mOffset=TRUE: Specifies that an offset (here
1000) is added to the code of the G functions
• Codes < 1000 are M functions
• Codes > 1000 are G functions
On the basis of the entries in CfgPlcMStrobe, the NC checks which G
functions are transferred to the PLC. Transfer is activated with the M strobe
(see "M Functions (M Strobe)" on page 1548).