Thank you! This worked like a charm. Also, I was able to toggle using a single Button by setting a state variable equal to ModbusTCPComX.Read("00001"). They i used conditional statements to evaluate which value to write. (I know the additional state variables are unnecessary. This is a WIP!)
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim state1 As Boolean
Dim state2 As Boolean
Dim state3 As Boolean
Dim state4 As Boolean
Dim state5 As Boolean
state1 = ModbusTCPCom1.Read("00001")
state2 = ModbusTCPCom1.Read("00003")
state3 = ModbusTCPCom1.Read("00005")
state4 = ModbusTCPCom1.Read("00007")
state5 = ModbusTCPCom1.Read("00009")
If state1 = 0 Then
ModbusTCPCom1.Write("00001", 1)
ModbusTCPCom1.Write("00003", 1)
ModbusTCPCom1.Write("00005", 1)
ModbusTCPCom1.Write("00007", 1)
ModbusTCPCom1.Write("00009", 1)
Else
ModbusTCPCom1.Write("00001", 0)
ModbusTCPCom1.Write("00003", 0)
ModbusTCPCom1.Write("00005", 0)
ModbusTCPCom1.Write("00007", 0)
ModbusTCPCom1.Write("00009", 0)
End If
End Sub