plc programming examples

PLC example – addition instruction write water lightPLC example – counter value in binary outputPLC example – PLSY control stepper motor forward and reversePLC example – PWM instructionPLC example – RS instruction usagePLC example – SFTL instruction usagePLC example – SFTR instruction usagePLC example – traffic light control

FX2N series PLC analog I/O modules

(1) analog input module FX2N-2AD. The module is a 2-channel voltage input (DC 0~10V,DC 0~5V) or current input (DC 4~20mA), 12-bit high accuracy resolution conversion speed for the 2.5ms/channel. This module occupies 8 I/O point applies FX1N and FX2N, FX2NC series.(2) analog input module FX2N-4AD. The module has 4 input channel, 12-bit resolution. Select a … Continue reading FX2N series PLC analog I/O modules

Omron PLC programming software to use the function block

Omron PLC programming software also increases the function block function block preparation software features to IEC61131-3A function block call a ladder exampleThe main purpose is to promote good function block structured programming, function calls; allow complex programs to create less code, more manageable process.A block from the block header and block body compositionPhysique - to … Continue reading Omron PLC programming software to use the function block

Frequency measurement for Omron PLC high-speed counter

By PRV instruction, you can read the frequency of the input pulse, high-speed counter frequency measurement, frequency is measured in Hz, hexadecimal 8-bit output, and can be used only in high-speed counter 0. In addition, also during high-speed counter 0 comparison operation at the same time, measurement frequency. Even in the frequency measurement, nor will … Continue reading Frequency measurement for Omron PLC high-speed counter

Hardware interrupt (OB40) – Siemens S7-300PLC organization block OB

Response process from different modules (eg I / O modules, CP or FM module module) issued a warning or a hardware interrupt request signal.OB 40 runs, the operating system does not receive the other hardware interrupt requests.You can modify the parameters for analog or digital module with a programming tool which is set by the … Continue reading Hardware interrupt (OB40) – Siemens S7-300PLC organization block OB

Cyclic interrupt (OB 35) – Siemens S7-300PLC organization block OB

Set or modify the interval (default is 100ms) from the programming tool. Ranging from lms ~ lmin. When allowed to interrupt the cycle, OB35 cycle run at regular intervals. When OB1 OB35 run to set time, OB 35 is executed again. When using OB 35 properties, should ensure that the value of the interval is set longer than … Continue reading Cyclic interrupt (OB 35) – Siemens S7-300PLC organization block OB