PreviousNext
Help > Modbus Steps Reference > Step Configuration and Settings > Connection Name
Connection Name

Modbus Steps is using a unique system to identify connections at run-time. You can use Modbus Steps to communicate in parallel with different Modbus Devices.
During an Open Step, a connection ID is automatically created in the current execution thread based on the Connection Name. All the Steps using the same Connection Name in a same execution are communicating with the same device.

Connection Name is an expression, so you can use a string constant as Connection Name or directly as a TestStand Variable or an expression.

Thanks to this skill, you can execute in Parallel different execution of the same sequence file to communicate with different devices without changing all the steps.

Tip  Make sure to change programmatically the resource (COM port, IP address…) for each thread in the pre-expression of the open connection step to communicate with different devices in different execution.

Note  The parameters of steps configuration for all Modbus Steps is added to the report by default.

 

See Also