Machine Uptime Devices

Hi,

I have some questions for the machine uptime counters. I am retro fitting an optical sensor and wanted to confirm the wiring :

  1. This is my device

Will it correlate to this wiring color for color?

  1. I was under the impression that I would have 2 pin connectors, but the device only. came with 1. Can I move the ribbon from the current to opto connector using the same rest of hardware?

  2. Is it possible to reset the counter via MQTT or what is the way to reset this device remotely without having to be logged into redzone?

Hi @danempiric sure, let me break it down:

1.The diagram for the opto sensor is provided below:

pin ID 1 (Brown) --> Opto Signal
pin ID 5 (Gray)  --> Opto Power
PIN ID 3 and 4 (Blue and Black) --> Short

I share you a image as reference:

2.Yes, the single-channel version of the sensor supports Optical Sensor/Digital Input wiring. I’ve shared an example below:

3.Yes, you can use MQTT to transmit sensor parameters, but you’ll need to wait for the next FLY message to apply the changes.

Let me outline the available reset options for the sensor:

Reset Timeout: This parameter allows you to set a timeout period after which the sensor resets automatically, eliminating the need to access Node-RED for each reset after initial configuration.

Shift Times: The sensor supports up to four shift times, where you can specify an hour and minute for automatic resets. You can configure one or all four as needed.

To choose a reset method, use the sensor’s reset mode setting to select the appropriate option.

Please take a look at this and feel free to let us know if you have any questions.
Thank you,
Eduardo M.

Thanks!

The wiring diagram is very helpful and I was able to move the ribbon to the OPTO and get it to start working.

For the reset the shifts and reset we need a capability to do it on-demand so those options might not totally work for continuous operation.

What’s the maximum value for the “opto_input_counter”? We could do an annual hard reset on it.

"opto_input_counter": 0,
"opto_input_uptime": 0,

Hi @danempiric Could you elaborate a bit more on your application? How do you plan to implement the sensor?

The options to reset the sensor’s counter/uptime are:

  1. Using the Clear Counters command, which resets the counter each time the sensor sends a FLY message (you can also set the FLY interval).
  2. Using Reset Timeout, with a maximum interval of approximately 18 hours.
  3. Using Shift Times, which resets daily at a specific time.

The maximum value for the counter and uptime is 4294967295 (32-bit).

Feel free to let us know if you have any questions.
Thank you,
Eduardo M.

Thanks for the explanation.

Our application is that we have a bottle filling line that is in operations across 2 shifts. However, it may intermittently stop during the day for breaks/container changes etc…

In those cases the operator would need to be able to reset the counter so that they can capture the count for that specific time period for reporting purposes.

The issue is that we do not know specifically when they will take the breaks and we can’t use the reset timer because there could be some downtime but we would still want to keep the same count.

I don’t see where to set the FLY interval, I currently have it set to OTF.

Hi @danempiric Thank you for the information. I would recommend doing this with your own software, such as a flag to indicate intermittent stops, for example.

Regarding the FLY interval, you can use a Wireless Device node to configure sensor parameters. There, you will see the Set FLY Interval option. You can enable the checkbox and set the desired interval.

Thank you,
Eduardo M.

Thanks, that what I was thinking we might have to do is just run the counter up and then have an offset to subtract the delta between 2 time values.

Hi @danempiric Yes, that approach should work. If you’re using Node-RED, you could utilize Flow or Node variables for the counter. I’m sharing a reference article for additional guidance:

Thank you,
Eduardo M.

Hi, I’ve had this optical counter running for the last few weeks and now I’m not reading anything.

The optical sensor is getting power because I can see the sensing light.

However when I open the enclosure and press config or reset, neither of the red lights flash. I’ve cycled on/off and switched between external and battery and still nothing. So I haven’t received any new info from the specific device. I do get signals from the other devices.

I’ve also swapped the ncd device with a different one with the the same wiring to the photo sensor and the swapped device works so it’s not the wiring to the photo sensor.

can you measure voltage at the output of the opto counter device ?

Where do I measure that? I have the wiring loop powered from the uptime monitor, should i measure the voltage across the black/blue to grey? Across these I’m getting about 22-24V.

There is an indicator light on the device that is on and then I can see that the field is broken when I pass something in front of it.

can you share the part number of the optical sensor

we are using a banner mini-beam sm312cvqd

It was working properly for the last few weeks and now it no longer is.

but when I use a different machine uptime monitor it works. I’m not sure if maybe something on the board could be shorted?
Banner SM312CVQD PHOTO ELECTRIC SENSOR.pdf (789.0 KB)

if it was working and works with a diff board then there should be no issue with wiring and must be related to the board.

measure voltage between Black and white of the beam break

I’m not getting any voltage between the black and white wires

Hi,

I’m not sure if what would cause this, but one the other opto sensor board stopped transmitting data.

I see that the sensor has voltage and I see the laser on the sensor. However when I press the reset button on the board I don’t see the red led flash.

The devices have been plugged in and working for the past few weeks, antennae is plugged in.

what happens when you press cfg button

Hi,

I nothing happens when I press config or reset.

I try to also do a hard reset by pressing reset then config for 20 sec then reset again.

if no fg light is coming on it means device does not have the power.

I am getting 12 VDC on the wires going to the opto sensor.

Is there any points on the board I can test to make sure power is being distributed?

I’ve confirmed also that I am getting 12 V across these terminals. where the power ribbon plugs into the board.