Yes, with additional information.
Output 1 and Output 2 are Motor 1
Output 3 and Output 4 are Motor 2
Output 5 through Output 8 are Output 5 through Output 8.
Look at the AM-1S or AM-2S manual under Wire LED's or Wire Light Bulbs to see how you should wire the solenoids. I don't think there's any reason you probably couldn't use the motor outputs as well as long as the solenoids aren't polarity sensitive.
Also, the max current the AM-1 is rated for isn't specified but the max current the AM-1S is rated for is only 400mA continuous combined across all outputs; just something to be aware of.
Another thought, if it doesn't quite work out because there's not enough grunt to power the solenoids directly:
- You could use the turnout program in the AM-1 to drive latching relays (push the button to turn on, push the button again to turn off) to drive the solenoids.
- You could drive normal relays from the project you write to drive the solenoids.
It's more money etc but it could be a last resort to provide enough grunt.
- Tim