Overview
The Momentary Pushbutton Module, CE-MD-014-0001, extends MachineMotion functionality with two momentary pushbuttons. This plug-and-play module only requires a single connection to the MachineMotion controller. Compatible modules, such as the Power Switch (CE-MD-005-0000) & additional pushbutton modules can also be daisy chained to each other, making it possible to connect up to sixteen modules per MachineMotion controller.
This document covers requirements for current version of MachineMotion controller. For previous version, refer to link below:
Features
Includes two momentary pushbuttons
Connects (daisy chain) with compatible modules
Configurable address
Technical Specifications
General Specifications
Part Number | CE-MD-014-0001 |
Certifications |
|
Weight | 0.45 kg |
Dimensions | 46 x 88 x 133.0 mm |
Material |
|
Operating Temperature | 0 to 40°C |
Included in the Box |
|
Momentary Pushbutton Module Physical Interface
![]() Figure 1: Physical interface |
Status LED Indicators
Name | LED Color | Indicated (when ON) |
---|---|---|
POWER | White | 24 VDC supplied to module |
COMM | Yellow and Blue | RS-485 communication functional |
FUSE | Red | Module internal fuse tripped |
Pushbuttons (black/white)
Pushbutton type | Momentary |
Mechanical life (minimum) | 250,000 operations |
Connecting to a MachineMotion Controller
![]() Figure 2: Momentary Pushbutton module with MachineMotion AI |
CTRL IN Male M12 connector pinout
Pin | Description |
---|---|
Pin 1 | 24 VDC (input) |
Pin 2 | Ground (input) |
Pin 3 | RS-485 A (input) |
Pin 4 | NRS-485 B (input) |
Pin 5 | Reserved |
Pin 6 | Reserved |
Pin 7 | N/A |
Pin 8 | Reserved |
CTRL OUT Female M12 connector pinout
Pin | Description |
---|---|
Pin 1 | 24 VDC (output) |
Pin 2 | Ground (output) |
Pin 3 | RS-485 A (output) |
Pin 4 | NRS-485 B (output) |
Pin 5 | Reserved |
Pin 6 | Reserved |
Pin 7 | N/A |
Pin 8 | Reserved |
MQTT Topics
Topic | Message | Type | Description |
---|---|---|---|
|
| READ | true if the device is available/connected |
|
| READ | Hardware Revision |
|
| READ | firmware Revision |
|
| READ | State of the black button on top |
|
| READ | State of the white button on the bottom |
|
| WRITE | Sets the LED colors. 0=OFF, 1=ON |
MachineLogic Sequence Example
Sequence example to handle a button being pushed and to change the LED color of the device to Green:
Topic for Wait For Event:
If Black Button: devices/push-button-v2/+/digital-input/0
If White Button: devices/push-button-v2/+/digital-input/1
Message: 1
Topic for Output Generate Event:
devices/push-button-v2/+/set-led
Message: {“red”:0,”green”:1,”blue”:0}
![]() Figure 3: MachineLogic example to handle a button being pushed and to change the LED color of the device |
How to replicate the LED color of the Access Request Module on the Momentary Pushbutton
If you are using the Momentary Pushbutton in conjunction with an Access Request Module (CE-SA-017-0001) you can use the example below to ensure that the LEDs have the same behavior. Follow these steps below:
Find your **Device ID ** as defined in Table 1 below
Find your Serial Number on the back of the Access Request Module
Add your Device ID & Serial Number in the example below
from machinelogic import Machine
import json
from time import sleep
access_request_serial_number = 1110003 # serial number can be found on device label
pushbutton_device_id = 1
m = Machine()
payload = "{}"
old_payload = None
def mirror_access_request_led(topic, message):
global payload
print("Access Request LED Change: ", message)
message = json.loads(message.replace("'","\""))
# incoming status will be: {"red": INT,"green":INT,"blue":INT,"blink": INT}
red = message['red'] % 254
green = message['green'] % 254
blue = message['blue'] % 254
payload = json.dumps({"red": red,"green":green,"blue": blue})
m.on_mqtt_event(
f'safety-module-hub/access-request/{access_request_serial_number}/led',
mirror_access_request_led
)
while True:
if payload != old_payload:
m.publish_mqtt_event(f'devices/push-button-v2/{pushbutton_device_id}/set-led', payload)
old_payload = payload
sleep(0.1)
Momentary Pushbutton module address configurations
Below are the valid address configurations that can be used for the Pushbutton module
Valid address configurations
Switches | Switches | |||||||
Device ID | Device Type | |||||||
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
OFF | OFF | OFF | OFF | ON | OFF | OFF | OFF | Momentary Pushbutton Module 1 |
ON | OFF | OFF | OFF | ON | OFF | OFF | OFF | Momentary Pushbutton Module 2 |
OFF | ON | OFF | OFF | ON | OFF | OFF | OFF | Momentary Pushbutton Module 3 |
ON | ON | OFF | OFF | ON | OFF | OFF | OFF | Momentary Pushbutton Module 4 |
OFF | OFF | ON | OFF | ON | OFF | OFF | OFF | Momentary Pushbutton Module 5 |
ON | OFF | ON | OFF | ON | OFF | OFF | OFF | Momentary Pushbutton Module 6 |
OFF | ON | ON | OFF | ON | OFF | OFF | OFF | Momentary Pushbutton Module 7 |
ON | ON | ON | OFF | ON | OFF | OFF | OFF | Momentary Pushbutton Module 8 |
OFF | OFF | OFF | ON | ON | OFF | OFF | OFF | Momentary Pushbutton Module 9 |
ON | OFF | OFF | ON | ON | OFF | OFF | OFF | Digital I/O Module 10 |
OFF | ON | OFF | ON | ON | OFF | OFF | OFF | Momentary Pushbutton Module 11 |
ON | ON | OFF | ON | ON | OFF | OFF | OFF | Momentary Pushbutton Module 12 |
OFF | OFF | ON | ON | ON | OFF | OFF | OFF | Momentary Pushbutton Module 13 |
ON | OFF | ON | ON | ON | OFF | OFF | OFF | Momentary Pushbutton Module 14 |
OFF | ON | ON | ON | ON | OFF | OFF | OFF | Momentary Pushbutton Module 15 |
ON | ON | ON | ON | ON | OFF | OFF | OFF | Momentary Pushbutton Module 16 |