MMF_BITS: Control and Status Bits
(Original Document)
Function Description
This function block makes the MMF MotionControl bits and MMF MotionStatus bits available in Control Expert.
Additional parameters EN and ENO may be configured.
FBD Representation
Representation:
LD Representation
Representation:
IL Representation
Representation:
CAL MMF_BITS_Instance (RingC:=RingC, SA1C:=SA1C, SA2C:=SA2C,
    SA3C:=SA3C, SA4C:=SA4C, SA5C:=SA5C, IA1C:=IA1C,
    FS1C:=FS1C, FS2C:=FS2C, MFB:=MFB, RingS=>RingS,
    SA1S=>SA1S, SA2S=>SA2S, SA3S=>SA3S, SA4S=>SA4S,
    SA5S=>SA5S, IA1S=>IA1S, FS1S=>FS1S, FS2S=>FS2S)
ST Representation
Representation:
MMF_BITS_Instance (RingC:=RingC, SA1C:=SA1C, SA2C:=SA2C,
    SA3C:=SA3C, SA4C:=SA4C, SA5C:=SA5C, IA1C:=IA1C,
    FS1C:=FS1C, FS2C:=FS2C, MFB:=MFB, RingS=>RingS,
    SA1S=>SA1S, SA2S=>SA2S, SA3S=>SA3S, SA4S=>SA4S,
    SA5S=>SA5S, IA1S=>IA1S, FS1S=>FS1S, FS2S=>FS2S) ;
Parameter Description
Description of input parameters:
Parameter
Data Type
Meaning
INIT
Rising input forces all Control registers to FFFF0000 (all ALLOW bits on; all CONTROL bits off) and initializes the attached MMFControlBits as well (This is unconventional but useful writing of inputs.).
RingC
Control for the SERCOSRing.
SA1C - SA8C
MMFControlBits
Control for SercosAxes 1...8.
IA1C - IA4C
MMFControlBits
Control for ImaginaryAxes 1...4.
CS1C - CS4C
MMFControlBits
Control for CoordinatedSets 1...4.
FS1C - FS4C
MMFControlBits
Control for Follower Sets 1...4.
Description of in-output parameters:
Parameter
Data Type
Meaning
MFB
Must be connected to the MMFStart block of 200 registers (usually named MFB).
Description of output parameters:
Parameter
Data Type
Meaning
RingS
Status from the SERCOSRing.
SA1S - SA8S
MMFStatusBits
Status for SercosAxes 1...8.
IA1S - IA4S
MMFStatusBits
Status for ImaginaryAxes 1...4.
CS1S - CS4S
MMFStatusBits
Status for CoordinatedSets 1...4.
FS1S - FS4S
MMFStatusBits
Status for FollowerSets 1...4.
Example
This function block allows Control Expert programmers to use Booleans (coils and contacts) to effect Control bits and evaluate Status bits. For instance, the contact for in position for axis 5 would be SA5S.IN_POSITION. To clear faults on the first ImaginaryAxis, energize coil IA1C.CONTROL_CLEAR_FAULT.