Joke Collection Website - Public benefit messages - What are the parameters of rs instruction of Mitsubishi PLC?

What are the parameters of rs instruction of Mitsubishi PLC?

The RS instruction of Mitsubishi PLC is a serial data transmission instruction, and its parameters M represent the number of data sent, N represents the number of data received, S sends the first address of data storage characters, and D receives the first address of data storage characters.

When the RS instruction is valid, it informs the PLC that M pieces of data with address S are waiting to be sent, and is ready to receive at most N pieces of data and store them in the register with address D. ..

RS instruction is used to send and receive serial data to RS232, RS485 and other extended function boards and special adapters. The number of data received and sent can be set by D register or directly by K and H constants.

In a system that does not transmit data, the number of transmissions is set to k0; In a system that does not receive data, the received number is set to K0.

Extended data

Wireless PLC:

Wireless PLC is a PLC with wireless communication function (PLC is also called programmable logic controller). Based on the characteristics and performance of traditional PLC, the remote measurement and control are optimized:

The hardware not only has the functions of traditional PLC such as input acquisition, relay control, timer and serial communication, but also adds communication functions such as GPRS, SMS and wireless digital broadcasting.

In software, in addition to the five scanning cycles of traditional PLC, such as reading input, executing program, processing communication request, executing CPU self-diagnosis and writing output, remote acquisition management functions such as channel management, driver management, acquisition management and application management are added.

Compared with traditional PLC, the biggest advantage of wireless PLC is that it can directly construct remote measurement and control schemes such as remote measurement system, remote control system and remote alarm system without external wireless communication module and programming interface driver.

Detailed explanation of Mitsubishi FX2n PLC function instruction application, edited by Li Jincheng? Electronic Industry Press? Chapter 1 1 External Equipment Manual? 1 1.5 serial asynchronous communication instruction

Baidu encyclopedia-wireless PLC