I have a node that is connected to a GM300 with 3 channel lines exposed (1, 2, 4) and only using 6 channels.
My macro firsts puts the node in command mode then issues commands.
This is a test macro to see what IOs are being used.
2 = *4408672 gpio2 = out0 P P *70 P P *722 P gpio2 = out1 P P **722 # Set command mode then should change gpio2 to output set low add pauses then report status more pauses set gpio2 to output high then say time and date then ends command mode.
none of the IOs change state, the other commands do what they are supposed to do including setting command mode in the remote node.
I can do this with only 1 GPIO output. I can sent send a series of pulses into an Arduino and convert this to a parallel output. Am I being a bone head here and not getting any responses because this is so simple that I missed the point?
I don't believe you can specify gpio2=SOMETHING the way you are inside of the macro. You would need to specify setting by a cop command macro and then call that macro inside the other.
I have been moving for the last several months and am now finally set up to work on this problem.
question 1 is the gpiox = outx the correct way to refer to the gpio lines on the CM108?
question 2 since it appears that I cannot use this command in a macro how do I do this in cop command? I really don't understand what is going on and the correct syntax. This can't really be this difficult. There has to be someone using the gpio's to switch channels.