tyler_plc
@tylermurray · Se unió el agosto 2026
Automation engineer · oil and gas
- Temas
- 2
- Respuestas
- 12
- Puntos
- 0
Respuestas de foro creadas
Traducido del English por IA ·
¿Existe una versión en la que la página 2 muestre el diagrama de proceso del sitio?
Is there a version where page 2 shows the site’s process diagram?
Traducido del English por IA ·
Nuestro PLC de pruebas responde a sys.ping, el historial muestra Successful y la duración. Me llevó una hora darme cuenta de que hay que volver a suscribirse después de cada reconexión, yo solo lo hacía una vez al arrancar.
Got our test PLC answering sys.ping, history shows Successful and the duration. Took me an hour to see that it has to subscribe again after every reconnect, I was only doing it once at boot.
Traducido del English por IA ·
¿Qué recibe realmente el dispositivo? La parte del PLC la empiezo la próxima semana.
What does the device actually receive? Writing the PLC side next week.
Traducido del English por IA ·
Lo más barato es cualquier ESP32 + un módulo W5500 + un splitter 802.3af que entregue 5 V. Unos 15 en total. Eso sí, muchos cables puente, y las placas W5500 son exigentes con los 3,3 V.
Cheapest is any ESP32 + a W5500 module + an 802.3af splitter that outputs 5 V. Maybe 15 total. Lots of jumper wires though, and the W5500 boards are picky about 3.3 V.
Traducido del English por IA ·
Longitud (celdas). Se me pasó por completo, gracias.
Length (cells). Missed it completely, thanks.
Traducido del English por IA ·
Buen momento, estoy diseñando una línea de clasificación esta semana. ¿Se puede estirar un transportador o solo escalarlo? Cuando escalo una cinta para hacerla más larga, los rodillos se vuelven enormes y se ve raro.
Good timing, I am drawing a sorting line this week. Can a conveyor be stretched or only scaled? When I scale a belt up to make it longer the rollers get huge and it looks silly.
Traducido del English por IA ·
CONNACK 4 con la pestaña Log de tu propia organización vacía es una pista importante. Tu organización nunca vio esos inicios de sesión.
CONNACK 4 with nothing in your own Log tab is a big hint. Your org never saw those logins.
Traducido del English por IA ·
Bucle de sondeo implementado, n llega a 3 en el segundo o tercer intento, es decir, unos 20-30 ms. Dos días sin huecos. También enviaba 0 en los fallos, lo que explica las extrañas caídas en el gráfico. Gracias Daniel.
Polling loop in, n hits 3 on the second or third try, so about 20-30 ms. Two days without a hole. I was also sending 0 on failures, which explains the weird dips on the chart. Thanks Daniel.
Traducido del English por IA ·
Ya tengo 4,7k en el breakout, y el escáner nunca falla, así que dudo que sea el cableado.
4.7k on the breakout already, and the scanner never misses, so I doubt wiring.
Traducido del English por IA ·
Lo que dice Emily es parte del asunto. El resto es el lío de UART de la Pi 3, que atrapa a todo el mundo.La Pi 3/4/Zero W tiene dos UART. ttyAMA0 es la PL011, la buena, con su propio reloj. ttyS0 es la mini UART, cuya velocidad en baudios se deriva del reloj del núcleo VPU; cuando el reloj del núcleo cambia, la velocidad se desvía y obtienes exactamente tus errores CRC de uno de cada cinco. En esos modelos, la PL011 está conectada por defecto al Bluetooth integrado y el conector GPIO recibe la mini UART. /dev/serial0 es un alias que siempre apunta a la que está en GPIO14/15.Así que, según tu configuración, estabas hablando con el chip Bluetooth o con la mini UART. Devuelve la PL011 al conector:
# /boot/firmware/config.txt (Bookworm)
enable_uart=1
dtoverlay=disable-bt
sudo systemctl disable hciuart
# y elimina console=serial0,115200 de /boot/firmware/cmdline.txt
sudo reboot
Después, abre /dev/serial0 en tu script, para que siga funcionando si cambias a otro modelo. Pierdes el Bluetooth integrado, que en una caja de lectura de contadores no vas a echar de menos.Si necesitas Bluetooth, la otra opción es core_freq=250 para fijar el reloj de la mini UART, pero prefiero la PL011.
Emily’s bit is part of it. The rest is the Pi 3 UART shuffle, which catches everyone.
The Pi 3/4/Zero W have two UARTs. ttyAMA0 is the PL011, the good one with its own clock. ttyS0 is the mini UART, whose baud rate is derived from the VPU core clock, so when the core clock moves the baud drifts and you get exactly your one-in-five CRC errors. On those models the PL011 is wired to the onboard Bluetooth by default and the GPIO header gets the mini UART. /dev/serial0 is an alias that always points at whichever one is on GPIO14/15.
So depending on your config you were either talking to the Bluetooth chip or to the mini UART. Give the PL011 back to the header:
# /boot/firmware/config.txt (Bookworm)
enable_uart=1
dtoverlay=disable-bt
sudo systemctl disable hciuart
# and remove console=serial0,115200 from /boot/firmware/cmdline.txt
sudo reboot
Then open /dev/serial0 in your script, so it keeps working if you move to another model. You lose onboard Bluetooth, which on a meter-reading box you don’t miss.
If you need Bluetooth, the other option is core_freq=250 to pin the clock for the mini UART, but I’d rather have the PL011.
Good explanation Ciaran, saving this for the next new hire.
Yep, a 4G router in each one. Signal is fine at most of them, marginal at two.

