plc ladder simulator 2 functions blocks

plc ladder simulator 2 functions blocks

Citation preview

PLC LADDER SIMULATOR 2  FUNCTIONS BLOCKS      EQU (EQUAL) NEQ (NOT EQUAL) LES (LESS THAN) LEQ (LESS AND EQUAL) GRT (GREATER THAN) GEQ (GREATER AND EQUAL) LIM (LIMIT) MEQ (MASKED EQUAL) CTU (COUNT UP COUNTER) CTUD (COUNT UP-DOWN COUNTER) TON (TIMER ON-DELAY) TOF (TIMER OFF-DELAY) TP (PULSE TIMER) RTO (RETENTIVE TIMER ON) BSL (BIT SHIFT LEFT) BSR (BIT SHIFT RIGHT) ROL (ROTATE LEFT) ROR (ROTATE RIGHT) AND (LOGIC AND) OR (LOGIC OR) NOT (LOGIC NOT) XOR (LOGIC XOR) ADD (ADDITION)

SUB (SUBTRACTION) MUL (MULTIPLICATION) DIV (DIVISION) ABS (ABSOLUTE VALUE) SQR (SQUARE ROOT) XPY (X TO THE POWER OF Y) ASN (ARC SINE) ACS (ARC COSINE) ATN (ARC TANGENT) COS (COSINE) LN (NATURAL LOGARITHM) LOG (BASE-10 LOGARITHM) SIN (SINE) TAN (TANGENT) NEG (NEGATE) DEC (DECREMENT) INC (INCREMENT) DEG (RADIANS TO DEGREES) RAD (DEGREES TO RADIANS) JMP (JUMP TO LABEL) JSR (JUMP TO SUBROUTINE) LBL (LABEL LOCATION) IIM (IMMEDIATE INPUT MASK) IOM (IMMEDIATE OUTPUT MASK) REF (I/O REFRESH) TND (TEMPORARY END INSTRUCTION) CLR (CLEAR)

COP (COPY) FLL (FILL) MOV (MOVE) MVM (MASKED MOVE) SCL (SCALE DATA) SCP (SCALE WITH PARAMETERS) SQC (SEQUENCER COMPARE) SQL (SEQUENCER LOAD) SQO (SEQUENCER OUTPUT)

      EQU (EQUAL)  If source A it's equal to source B, the instruction is logically true.   

 

FILE TYPE DN (Done)

Output Coil

[O, B, T, C, R]

Source A

Address word

[ALL]

Source B

Address word or a constant value

[ALL]

 

 

NEQ (NOT EQUAL)  If source A it’s not equal to source B, the instruction is logically true.

        FILE TYPE DN (Done)

Output Coil

[O, B, T, C, R]

Source A

Address word

[ALL]

Source B

Address word or a constant value

[ALL]

 

   

LES (LESS THAN)  If source A is less than source B, the instruction is logically true.

    FILE TYPE DN (Done)

Output Coil

[O, B, T, C, R]

Source A

Address word

[ALL]

Source B

Address word or a constant value

[ALL]

     

LEQ (LESS AND EQUAL)  If source A is less than or equal to source B, the instruction is logically true.  

    FILE TYPE DN (Done)

Output Coil

[O, B, T, C, R]

Source A

Address word

[ALL]

Source B

Address word or a constant value

[ALL]

     

GRT (GREATER THAN)  If source A is greater than source B, the instruction is logically true.  

    FILE TYPE DN (Done)

Output Coil

[O, B, T, C, R]

Source A

Address word

[ALL]

Source B

Address word or a constant value

[ALL]

     

GEQ (GREATER AND EQUAL)  If source A is greater than or equal to source B, the instruction is logically true.  

    FILE TYPE DN (Done)

Output Coil

[O, B, T, C, R]

Source A

Address word

[ALL]

Source B

Address word or a constant value

[ALL]

     

LIM (LIMIT)  If the test value is in within the range of the low and the high value, the instruction is logically true.  

    FILE TYPE DN (Done)

Output Coil

Low Limit

Address word or a constant value

[ALL]

Test

Address word

[ALL]

High Limit

Address word or a constant value

[ALL]

     

MEQ (MASKED EQUAL)  Compares the source data to reference data through a mask.

[O, B, T, C, R]