Add button is used to create variables of string and integer type and initialize them.
Integers are stored in N7:X files and must be a Decimal number in the range from 32767 to -32768. Strings are
stored in ST14:X files and their values must be ASCII characters. Maximum string length is 80 characters plus a
carriage return and line feed (CRLF). When string files are written they are displayed in capital letters, but if they
were written in lower case they will be stored in lower case.
The Add Rung button adds another rung to the bottom of the ladder.
To move a rung, select the rung by clicking it with the mouse. To move the rungs by dragging them to top or
bottom.
After editing save the changes.
9.2.2
Instruction box
Each instruction has a box to contain its parameters and their values. Use the mouse to hover over the items in
the box. Type the required values for the field.
Continue adding/ editing rungs/ instructions to complete the ladder logic.
9.2.3
MON and MSG instructions
There are two special case instructions that are exclusive to the SC controller. One is MON, or Monitor, the
other is MSG, or Message. MON monitors for events in the SC controller CPU and can be used as a trigger to
activate a rung. MSG is an output and inserts commands directly into the SC controller's CPU. When used in a
multiple tool application on the leading SC controller, MON and MSG can interact with the trailing controller
CPUs.
These instructions require a specific syntax and have unique fields.
9.3
Applying a name and version
Under Setup Card header -> Select PLC Card
After saving the ladder logic Alpha Toolbox will display the PLC tab. Type a Name and Version number to be
applied to the ladder logic. The Length field is automatically generated by the SC Controller.
9.4
Variables
Under Setup Card header -> Select PLC Card -> Under Variables Card header -> Select Add Card
To initialize any address for the PLC input and output.
Enter the address and its respective values under the variables.
SC Series Controllers
Embedded PLC
111 / 1032