Could I use two communication at the same time? (WIFI STATION and MODBUS TCP/IP)

chikichaka
Posts: 14
Joined: Tue Aug 09, 2022 7:53 am

Could I use two communication at the same time? (WIFI STATION and MODBUS TCP/IP)

Postby chikichaka » Mon Jan 16, 2023 6:57 am

I'm developing a data acquisition device.

I'm using WIFI STA mode for uploading data to AWS IOT
and I will implement MODBUS TCP/IP for industry automation like PLC.
For connect MODBUS TCP/IP, I will use WIFI Module. It will be connected to ESP32 by SPI

Can my device use two communication at the same time?

ghost07
Posts: 36
Joined: Mon Oct 03, 2022 11:47 am

Re: Could I use two communication at the same time? (WIFI STATION and MODBUS TCP/IP)

Postby ghost07 » Mon Jan 16, 2023 9:42 am

As far as I know, almost every ESP-32 already has WiFi module, so using second adapter indicates you need to be connected to
two separate networks, right? If ModbusTCP network has access to internet, then you don't need second WiFi adapter, you can just bind AWS IoT socket listener to port 80 or 433, and ModbusTCP to port 502.

What external WiFi module are you going to use?

Who is online

Users browsing this forum: Baidu [Spider] and 228 guests