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

M3120 1:

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.