Embedded PLC
Instruction Manual
161
Instructions Description
TON
Timer On Delay
Use the TON instruction to turn an output on or off after the timer has been on for a preset
time interval. The TON instruction begins to count millisecond intervals when rung conditions
become true. As long as rung conditions remain true, the timer adjusts its accumulated value
(ACC) each evaluation until it reaches the preset value (PRE). The accumulated value is reset
when rung conditions go false, regardless of whether the timer has timed out. The Time Base
must be 10 msec. The timer will not work in any other Time Base.
This Bit Is Set When
And Remains Set Until One
of the Following
Timer Done Bit DN
(bit 13)
accumulated value is equal to or
greater than the preset value
rung conditions go false
Timer Timing Bit TT
(bit 14)
rung conditions are true and the
accumulated value is less than the
preset value
rung conditions go false or
when the done bit is set
Timer Enable Bit EN
(bit 15)
rung conditions are true rung conditions go false
XIC
Examine If Closed
Use the XIC instruction in the ladder program to determine if a bit is on. When the instruction
is executed, if the bit addressed is on (1), then the instruction is evaluated as true. When the
instruction is executed, if the bit addressed is off (0), then the instruction is evaluated as false.
XIO
Examine If Open
Use the XIO instruction in the ladder program to determine if a bit is off. When the instruction
is executed, if the bit addressed is off (0), then the instruction is evaluated as true. When the
instruction is executed, if the bit addressed is on (1), then the instruction is evaluated as false.
XOR
Exclusive Or
Performs a bit-by-bit logical Exclusive Or. The operation is performed using the value at source
A and the value at source B. The result is stored in the destination.
7.3 PLC Editor
Use the PLC editor provided in Alpha Toolbox to create and edit ladder logic files for the Expert. See section “4.1
Connection” on page 82 on how to connect to Alpha Toolbox with a computer.
To get to the PLC Editor in Alpha Toolbox navigate to the Setup/Other/PLC page and click on the Edit button.