7 Concurrent I/O (Input/Output)
7.3 I/O Instructions
7-4
HW1485509
HW1485509
7.3.2 Digital Output for a Group
The Digital Output instruction with the OutputGroup#( ) tag commands all 
8 output bits in the designated Universal Output Group to become the 
status of Byte range of 0-255. The decimal number is converted into a 
binary number, with each bit identifying the status for the individual 
outputs in the group.
For example, the result of DigitalOut OutputGroup#(1) = 162 would be 
Outputs 2, 6 and 8 ON (2 + 32 + 128 = 162), and Outputs 1, 3, 4, 5 and 7 
would be OFF.
In the job example below, Outputs 1 and 5 would be turned ON (1 + 16 = 
17) as all others in the group would be turned OFF.  The DigitalOutput 
OuputGroup#(2) turns all 8 outputs in the group OFF.
DigitalOut OutputGroup #(1) 17
JointMove Speed = 25%
DigitalOut OutputGroup #(1) 0