xLadder user manual-V2.0.0.6

4.Quick reference manual

4.1 Special memory area:

SMB0 Always_On

SM0.0 Always ON

First_Scan_On

SM0.1 ON for the first scan cycle only

SMB1

Set to 1 by the execution of certain instructions when the operation result = 0 Set to 1 by exec. of certain instructions on overflow or illegal numeric value. Set to 1 when a math operation produces a negative result

Result_0

SM1.0

Overflow_Illegal SM1.1

Neg_Result

SM1.2

Divide_By_0

SM1.3 Set to 1 when an attempt is made to divide by zero

Set to 1 when the Add to Table instruction attempts to overfill the table Set to 1 when a LIFO or FIFO instruction attempts to read from an empty table Set to 1 when an attempt is made to convert a non-BCD value to a binary value Set to 1 when an ASCII value cannot be converted to a valid hexadecimal value

Table_Overflow

SM1.4

Table_Empty

SM1.5

Not_BCD

SM1.6

Not_Hex

SM1.7

SMB34 - SMB35 Time Interval Registers for Timed Interrupts

Timed Interrupt 0: Time interval value (in 1 ms increments from 1 ms to 255 ms). Timed Interrupt 1: Time interval value (in 1 ms increments from 1 ms to 255 ms).

Time_0_Intrvl

SMB34

Time_1_Intrvl

SMB35

4.2Interrupt Events:

I1.2 Rising edge PLC_EVENT_INPUTP0 0 Highest priority

I1.4 Rising edge PLC_EVENT_INPUTP1 1 High priority

Timer interrupt 0 PLC_EVENT_TIMER0 10 Low priority

Timer interrupt 1 PLC_EVENT_TIMER1 11 Lowest priority

4.3 High speed counter :

PR - 24DC - DA - R/PR - 24DC - DAI - RTA I1.0 HC0 I1.1 HC1 I1.2 HC2

29

Made with FlippingBook - Online magazine maker