cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Connecting KepServerEnterprise with multiple Modbus devices to talk to FTView SE

SS_14362776
4-Participant

Connecting KepServerEnterprise with multiple Modbus devices to talk to FTView SE

I have used Modbus Device Simulator (PyModbus) to run 200 Battery, 90 PCS and 10 FIP Modbus devices on localhost each with 1000+ registers.

The simulator created devices sequentially from a port you specify, e.g. 300 devices starting on port 6001 will occupy the ports 6001-6300 with specified number of registers. Refer the attached test screenshots.

All simulator devices are working correctly and can see values update with open ModScan client software, but all the values are zeroed in the OPC Quick client and in FT View Live Data Test Client even though the comms quality is Good. Refer the ModScan Output image.

Unfortunately, I cannot set the ports for the channels independently. As soon as I change the port on one channel, same port gets assigned for all channels. 

I tried using FactoryTalk Live Data Test Client, with static registers (no random values) and I was able to read and write values from OPC and FT test client. 
The KepServer Enterprise 6.18 and the monitoring client (FTView SE 16) are running on the same virtual machine.
As soon as I run random values in the register, the Test Client values get zeroed. I also read on another thread, that the advanced tags were not included in some license package, which is why the Modbus clients only output zeros after 2 hours.

Is it possible to setup multiple instances of PyModbus TCP device simulators, and create lots of tags with cell data in KepServer to read it on FTview SE on the same machine?
3 REPLIES 3
MKhatri
14-Alexandrite
(To:SS_14362776)

Greetings!

 

Yes, it is possible to set up multiple PyModbus TCP simulators and read their data in Kepware and FTView SE on the same machine. However, you’ll need to carefully manage port assignments, ensure proper channel configurations in Kepware, and verify your license supports advanced tag features.
 

Recommended Solutions: - 
1. Multiple PyModbus Instances
Yes, you can run multiple PyModbus TCP simulators on the same machine:

Use different ports for each instance.
Launch each simulator in a separate terminal or script with unique port assignments.
Ensure Kepware channels are configured to match these ports.

 

2. Kepware Configuration Tips

Create separate channels for each simulator group (Battery, PCS, FIP).
Assign unique ports manually in each channel.
If Kepware overrides ports globally, consider:

Using different IPs via virtual adapters.
Running simulators on separate VMs or containers to isolate port bindings.

 

3. Licensing Check

Verify if your Kepware license includes Advanced Tags.
If not, consider upgrading or using static tags only.
You can check license details in the Kepware UI or via the https://my.kepware.com/s/login/.

 

4. FactoryTalk View SE Setup

Ensure FTView SE is configured to read from correct OPC tags.
Use static tag groups if random values cause issues.
Consider using FactoryTalk Historian for better tag management and logging.

Regards,
Mohit

SS_14362776
4-Participant
(To:MKhatri)

Hi,
I tried to match Kepware channels with unique ports in the simulator.
I have assigned different IPs for each channel via virtual adapters but still Kepware overrides ports globally. 
In terms of licensing, Rockwell doesn't provide advance tags plugin as standard. I have also tried KepwareEX 6 directly and the advance tags didn't help either. 
The only configuration that worked is to create multiple device ID's using one unique port and I was able to read/write static registers using device ID, which is not the ideal setup for my current testing.
is there any chance of assigning different ports to the channels, so that I can read the registers of each simulator device per channel?
Also is there any chance of getting one of your techs to have a look at this issue remotely?

MKhatri
14-Alexandrite
(To:SS_14362776)

Hello,

I recommend opening a support ticket for further investigation of this query. 

Please log in to mykepware.com and create a case with our team.

 

Regards,
Mohit

Announcements


Top Tags