Sunteți pe pagina 1din 7

LS PLC

Input address: %IX1.1.9


I : input , X: Boolean (On/Off) , 1: base number, 1: slot number, 9: order of bits

Output is either relay or transistor(TR)


Video 3-A: Address calculator shows the relation between memory addresses
For example, type: MX3 and it shows equivalent to that memory address

Programming blocks and elements


Select F3 (normally open) and click anywhere in coding area to define a simple switch
Give it a name and type, for a simple switch it is a Boolean (on/off)
Click F9(coil) to define a motor. Motor can be on or off (so it is Boolean)
Address would be QX1.2.0 (check the IO diagram for the output modules)
Click on start simulation:

Video 3-B
F4 (normally closed) – so if we change the value to “on” the motor will be off
Positive transition (sF1) will send momentary pulse to trigger the devices. To recognize this
pulse, we need set coils (not ordinary coils), these coils have flip flop and receive moment
stimulates and keep running continuously. ( so if we turn off the switch the set coil will keep
running). We should reset these types of coil to stop them:
Negative transition (sF2) (for example this wants to stop the motor).
Now we select a reset coil, (sF4) which is same motor as previous step.
Negative coil (F11) will stop when a trigger current is received.
Use normally closed or contact (C3) to define a parallel switch…
Video 3-C (Function blocks)
Click on function blocks(F10)
Difference between function and function blocks:
“Function blocks” will keep the values in memory even if PLC is turned down but functions
don’t have memory and won’t keep the values when PLC is off.
RS flip-flop: in this flip flop the priority is with reset bottom, it means if the start is on and we
trigger the reset the RS will accept the reset command.
Set and reset coil cannot be used with flip fop.

SR flip flop are opposite of RS. Priority is with start switch.


Bit operation: you can define number of inputs.
When you define an input as Boolean the other inputs should also be Boolean. Since it is “And”
function, all the input should be 1 in order to get a 1 for output.

XOR: it is on when only one of the inputs are on


Input 1: 1, Input 2: 1 ... output: 0
Input 1: 0, Input 2: 0 … output: 0
Input 1: 1, Input 2: 0 … output: 1
Comparison blocks: GE (greater than or equal), LT (lower than)…
It sends a signal when IN1 is lower than IN2(IN1< IN2)
Video 3-D
Counter blocks (It is under whole in XBC)
CTU = up counter
CTD = down counter
CTUD = up/down counter
CTR = Ring counter

S-ar putea să vă placă și