At the moment a universal hardware toolbox is developed with all sorts of I/O, based on a MEGA2560 controller. The principles of the toolbox are partial based on industrial standards, like I/O based on 4-20mA for the AI en AO. It has the following connections/options:

  • Powersupply 230Vac, 2P with earth
  • USB female socket for the Arduino IDE/Visual studio connection
  • USB female socket for HMI
  • SMS notification (4G)
  • 4 pcs Analogue Inputs, 4-20mA, passive
  • 4 pcs Analogue Outputs, 4-20mA or 0-10Vdc, 2 wire
  • 4 pcs Relays outputs NO, 2P, 250Vac, 16Amp, with auxiliary contact NO
  • 10 pcs GPI pins, 5Vdc, DI or DO; not connected DI signals are pulled up to high
  • I2C
  • 6 pcs Analogue Inputs, 5Vdc
  • 6 pcs Analogue Outputs, 5Vdc
  • 24 Vdc outlet, 1,5A (fused)
  • 12 Vdc outlet, 1,2A (fused)
  • 5 Vdc outlet, 0,5A (fused)
  • 4 pcs GND connections

All contacts are mounted on clamps. All I/O and power supplies have a common ground. The contacts of the 16A relays are potential free. There are ground terminals next to the relay clamps. They are internally connected with the earth of the mains powersupply.
Except for the GPI pins all I/O is pre-configured and (as a result) available in the AFSM HMI. The FiniteStateMachine is filled with a test control and can be modified. All standard AFSM software can be used.

The figure contains the principles of the toolbox.

To test the principles two states are activated; “Relais” and “RampUp

RampUp; An extra converter from 4-20mA to 0-5Vdc is used (the blue component on the figure) to give a feedback of the A01 signal.
Relais; The relais have an auxillary contact to check the state of the relais. This is used for the motorgroups; when the aux.contact is not activated in less then 100mS, the relais (Motor1) is deactivated again. 1500mS After succesfull start of Motor1, Motor 2 is activated. Motor1 is activated/deactivated every 10.000mS.

Below the used finite state machine code and a snap-shot of the digital plotter.