Introduction to common PLC transmission instructions

Publisher:CW13236066525Latest update time:2023-12-28 Source: elecfansKeywords:PLC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Single data transfer instruction

The single data transfer instruction is used to transfer a data. According to the different word lengths of the transferred data, it can be divided into byte, word, double word and real number transfer instructions. The function of the single data transfer instruction is to send the data in the unit specified by the IN terminal to the unit specified by the OUT terminal when there is input at the EN terminal (ie EN=1).


The description of single data transfer instruction is shown in Table 6-3.

Table 6-3 Single data transfer instruction description

5491c638-94a0-11ee-939d-92fbcf53809c.png

The operands and their data types allowed for byte, word, double word and real number transfer instructions are shown in Table 6-4.

Table 6-4 Operands and data types allowed for byte, word, double word and real number transfer instructions

54bc8184-94a0-11ee-939d-92fbcf53809c.png

Byte transfer instruction

The function of the byte immediate transfer instruction is to immediately transfer a byte of data between the physical I/O terminal and the memory when there is an input at the EN terminal (enable terminal). The byte immediate transfer instruction can be divided into the byte immediate read instruction and the byte immediate write instruction, which cannot access the expansion module. The PLC uses a cyclic scanning method to execute the program. If an instruction in the program has just been executed, it will take a scan cycle to execute again. However, the immediate transfer instruction can be executed immediately without waiting when the input is ON.

Table 6-5 shows the description of byte immediate transfer instructions.
Table 6-5 Description of byte immediate transfer instructions

54ce446e-94a0-11ee-939d-92fbcf53809c.png

The operands allowed by the byte immediate read/write instructions are shown in Table 6-6.
Table 6-6 The operands allowed by the byte immediate read/write instructions

54e3fee4-94a0-11ee-939d-92fbcf53809c.png

Data block transfer instructions

The function of the data block transfer instruction is to send the data in the N units of the first address specified by the IN terminal to the N units of the first address specified by the OUT terminal when there is an input at the EN terminal (enable terminal). The data block transfer instruction can be divided into byte block, word block and double word block transfer instructions. The description of the data block transfer instruction is shown in Table 6-7.

Table 6-7 Data block transfer instruction description

550317fc-94a0-11ee-939d-92fbcf53809c.png

The operands allowed for byte, word, and double word block transfer instructions are shown in Table 6-8.

Table 6-8 Operands allowed for byte, word, and double word block transfer instructions

5519dc08-94a0-11ee-939d-92fbcf53809c.png

Byte swap instructions

The function of the byte swap instruction is to swap the high byte and low byte of the data in the specified unit at the IN terminal when there is input at the EN terminal.

The byte swap instruction description is shown in Table 6-9.

Table 6-9 Byte swap instruction description

55369654-94a0-11ee-939d-92fbcf53809c.png


Keywords:PLC Reference address:Introduction to common PLC transmission instructions

Previous article:How to calculate the current of 220V motor and 380V motor?
Next article:PLC function instructions: data types and addressing methods

Recommended ReadingLatest update time:2024-11-16 09:17

A brief discussion on the failures and phenomena of PLC maintenance
PLC maintenance: Power off and test continuity!! Note: Use the buzzer mode of the multimeter to test the continuity. Connect the red and black wires of the multimeter in advance. The first step is to turn on the power (pull up all the gates). Note that one of the two gates on the right hand side must
[Embedded]
SIMATIC S7-1500 PLC Ladder Diagram Programming (3)
【Example 3】Use functional instructions to write Example 2. A stepper motor is an actuator that converts an electrical pulse signal into the rotation angle of the motor. When the stepper driver receives a pulse, it drives the stepper motor to rotate a fixed angle (called the step angle) in the set direction.
[Embedded]
SIMATIC S7-1500 PLC Ladder Diagram Programming (3)
Brief analysis of Mitsubishi PLC high-speed counter and encoder application
1. Ordinary counter Let's learn about ordinary counters first, taking C0 as an example. See the figure below. When X0 has a rising edge, C0 will count once. When C0 counts to 1000, it will stop counting and the C0 counter switch will act. When programming, it is recommended to use the RST instruction to reset C
[Embedded]
Brief analysis of Mitsubishi PLC high-speed counter and encoder application
Analysis of Siemens PLC communication technology based on TCP/IP
#1 Deep Integration of IT and OT IT & OT integration In today's evolving world of industrial automation, data plays an increasingly important role in intelligent, efficient and fast systems and software applications. Traditional IT networks provide a variety of specifications and protocols that can he
[Embedded]
Analysis of Siemens PLC communication technology based on TCP/IP
The difference between PLC and motion controller The working principle of motion controller
A motion controller is an electronic device that is typically used in conjunction with motion control software to control robots, CNC machines, and other automated equipment to move or perform various tasks. The working principle of the motion controller is to convert the predetermined control scheme and
[Embedded]
The difference between PLC and motion controller The working principle of motion controller
Soft PLC cold start, warm start, hot start
Some soft PLC startup modes are divided into cold start, warm start and hot start. There are some instructions in the official help document, but they are directly translated. In fact, the startup method may not be too unfamiliar to PLC application engineers, but "everything is afraid of the word seri
[Embedded]
Soft PLC cold start, warm start, hot start
8 PLC Error Types and How to Fix Them
1. PLC features (1) High reliability. Since most PLCs use single-chip microcomputers, they are highly integrated. In addition, the corresponding protection circuits and self-diagnosis functions improve the reliability of the system. (2) Easy programming. PLC programming mostly uses relay control ladder dia
[Embedded]
Why do we need to encrypt and decrypt PLC?
All PLC encryptors have two good reasons. One is to protect intellectual property rights, and the other is to demand project payment. Intellectual property protectionists say that they are not happy that their hard-earned programs are copied by others. But think about it the other way around. I
[Embedded]
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号