Ok Russ,
what I would do is use the macropump, as an example here is some stuff I do in the macropump.
Ref= GetInbit(100,6)
GoZ10=GetInBit(100,8)
GoZero=GetInBit(100,7)
Clamp=GetInBit(100,10)
If Ref=1 Then
DoOEMButton(1024)
While IsMoving()
Wend
DoOEMButton(1023)
While IsMoving()
Wend
DoOEMButton(1022)
While IsMoving()
Wend
End If
If Clamp=1 Then
SetModOutput(0,1)
Else
SetModOutput(0,0)
End If
If GoZ10=1 Then
Code"G0Z10"
End If
If GoZero=1 Then
DoOEMButton(1017)
While IsMoving()
Wend
End If
In the above example I am using an extra I/O module so the modbus address will be different, if I recall the address of the base unit is 99 but best check on that. Also note that in the "clamp" part that is me sending a signal out to my PLC over serial Modbus and it is not how you would call an output via CSMIO Modbus, you would have to check the CSMIO manual for that.
Hood