beckhoff — 11.3.2.5 Fox20

Reference | Boxes Bit 2: = 'Preset 2' take-over request to encoder Bit 3: = strobe bit for transmission of data byte Bit 4-6: not used Special function Bit 7: Enable Latch function 11.3.2.4 M3120 | M3120 The M3120 is an incremental encoder box with up to four channels. It is available in four different versions with one, two, three and four channels. When inserting the box, you need to choose the right type, since each channel represents in logical terms a single box. Therefore, in the event of an error input, the total number of boxes changes. The M3120 channels are called INC 4, INC 3, INC 2 and INC 1; these descriptions correspond to the label on the box!

Variables Each channel of the M3120 has four variables, two input variables and two output variables: 1. Status byte (8 bit input variable), displays the current status of that channel. 2. Value (24 bit input variable), delivers the current counter status/latch value. 3. Control byte (8 bit output variable) allows you to, e.g. toggle between counter and latch variable 4. Set value (24 bit output variable) to set the counter value. Please refer to the M3120 manual for further details. 11.3.2.5 Fox20 | Fox20 The Fox-20 module has four sockets for digital and analogue sub-modules (the first socket is for analogue sub-modules only). TwinCAT 2 306 Version: 1.7