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

How do I simulate random tag values against a device in kepware

SOLVED
Aquamarine

How do I simulate random tag values against a device in kepware

 
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: How do I simulate random tag values against a device in kepware

Greetings @asekar,


There are a few different ways to achieve this in KEPServerEX. The easiest method is to use the Simulator Driver. Here are the steps you will want to follow to do this:

 

1. In the KEPServerEX Configuration, create a new Channel

2. Select the Simulator Driver, and select Next through all other settings to keep them at default

3. Create a new Device

4. Select next through all settings, keeping the defaults

5. Create a new Tag

6. For the address, enter RAMP (5000, 0, 20, 1)

7. Launch the OPC Quick Client, and open the group <Channel>.<Device> that contains the tag you just created at this address:

<Channel>.<Device>.<Tag>

8. Observer the Ramp function addressing used will produce a value that cycles from 0 to 20, incrementing by 1, every 5000 ms.

 

For other Simulator functions, see this section of the Simulator Driver help manual:

https://www.kepware.com/en-us/products/kepserverex/documents/simulator-manual.pdf#page=16

 

 

For any non-Simulator Driver being used in KEPServerEX, the Device can be placed in Simulate mode. This will create memory registers for all tags that can be written to and read from (but the Values will not persist between Server/Client resets). To do this:

 

1. Right-click on a Device, select Properties

2. Set Simulated to Yes

 

For more information on Simulated mode, see this section of the KEPServerEX V6 Help manual:

https://www.kepware.com/en-us/products/kepserverex/documents/kepserverex-manual/#page=79

 

 

Does this answer this question for you? Or is there anything else we can assist with?

 

Best regards,

Steven M

2 REPLIES 2
Highlighted

Re: How do I simulate random tag values against a device in kepware

Greetings @asekar,


There are a few different ways to achieve this in KEPServerEX. The easiest method is to use the Simulator Driver. Here are the steps you will want to follow to do this:

 

1. In the KEPServerEX Configuration, create a new Channel

2. Select the Simulator Driver, and select Next through all other settings to keep them at default

3. Create a new Device

4. Select next through all settings, keeping the defaults

5. Create a new Tag

6. For the address, enter RAMP (5000, 0, 20, 1)

7. Launch the OPC Quick Client, and open the group <Channel>.<Device> that contains the tag you just created at this address:

<Channel>.<Device>.<Tag>

8. Observer the Ramp function addressing used will produce a value that cycles from 0 to 20, incrementing by 1, every 5000 ms.

 

For other Simulator functions, see this section of the Simulator Driver help manual:

https://www.kepware.com/en-us/products/kepserverex/documents/simulator-manual.pdf#page=16

 

 

For any non-Simulator Driver being used in KEPServerEX, the Device can be placed in Simulate mode. This will create memory registers for all tags that can be written to and read from (but the Values will not persist between Server/Client resets). To do this:

 

1. Right-click on a Device, select Properties

2. Set Simulated to Yes

 

For more information on Simulated mode, see this section of the KEPServerEX V6 Help manual:

https://www.kepware.com/en-us/products/kepserverex/documents/kepserverex-manual/#page=79

 

 

Does this answer this question for you? Or is there anything else we can assist with?

 

Best regards,

Steven M

Re: How do I simulate random tag values against a device in kepware

Thanks Steven. I tried it and it worked like charm :)

 

Arvind