SPLat Logo

oEQU Directive

SPLat will be shutdown for the Christmas Holiday season from Thursday 20 December 2018 thru Sunday 6 January 2019. We will check emails periodically and will continue to process orders but at a slower pace. Santa hat

oEQU Directive

The oEQU directive is a special variant of the EQU directive intended for defining output numbers.

Example

AlarmLamp   oEQU    15

The difference between oEQU and EQU is that SPLat/PC will use information gathered from oEQU directives to add label information to the I/O window. As you move the mouse across the outputs the corresponding labels will appear in the title bar of the window, providing SPLat/PC has scanned the program line (as will be the case during simulation or single stepping).

By using this directive your program becomes easier to read. It also allows you to re-assign I/O points easily.

Note: Future programming software will have likely have stronger "typing". That means the software will raise an error if a label defined with the oEQU directive is used in other than an I/O instruction.