In Studio 5000, open the Output_Digital_Custom routine in the Output program of the S88Builder Task.
- Output Points – enter a new rung for each output slot. Program this rung to map the RSlots[rss].Digital.Bit[p] data to the real outputs as shown in the following image:
An alternative to this would be to just copy the entire output word from the RSlot digital tag as shown (the advantage here is less code and chance for messing things up; the disadvantage is lack of ability to troubleshoot by seeing the state of each output):
2. Example VFD digital output –The VFD digital outputs must be handled here but require some additional logic since we typically combine the drives inputs and outputs on the same slot. Therefore, this slot is bi-directional. As you can see in the image the RSlot data is moved to a temporary tag that is bit field distributed to the VFD logic command word because only the upper 16 bits are outputs.
Alternative method; break out each drive output, which is similar to how the module inputs were broken out above for general I/O (the advantage is that it provides visual feedback of output states for troubleshooting).