SPLat Logo

oEQU Directive

NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

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.