151
5.5.32 Modbus Read
Fashion:
Classic:
Short description:
When there is a high level at En, the Modbus Read block will be activated and the xLogic shall
communicate with a peripheral device as a master via RS232 or RS485 interface. Furthermore, the
output will be switched on when communication is established successfully. Otherwise the output (Q pin)
remains “off” which means communication has failed.
A signal at input R resets output Q and disables this block at the same time
Connection
Description
Input
En
A high signal at En input will enable “Modbus Read” function block to be activated
Input
R
To disable the MODBUS read function and set the output to 0 via the R (Reset)
input. Reset has priority over En
Parameter
Slave address
: 1 is default .
Communication protocol:
Modbus(RTU)
Communication parameter:
baud rate (BPS),Data bits, Stop bits,
Parity
,
Overtime (response time out)
Comm Type:
RS232,RS485,Ethernet( Communication interface of xLogic )
Data register Index:
High Low /Low High
Command:
01 Read coils(0x)
02 Read Discrete Input(1x)
03 Read Holding Registers(4x)
04 Read Input Registers(3x)
Register start address, count
Output
Q
Q is set or reset depending on the communication status.
Successful communication , Q=1;
Failed communication ,Q=0;
Note:
This function block(com type: Ethernet) can not be used for the Ethernet
CPU(ELC-12DC-DA-R-N) built-in web server, it is only for the old version, if you are using new
series Ethernet(hardware version:1), please use the MODBUS READ WRITE block instead.
Get the version number by the software menu Tools-> transfer-> Get PLC version
Summary of Contents for ELC-12AC-R-N
Page 1: ...Applied to ELC PR series Ver 3 0 Programmable Relay User s Manual Rievtech Electronic Co Ltd...
Page 27: ...27 PR 14 and PR 18 series 1 PR 18 CPU 2 PR E extension PR 24 series...
Page 31: ...31 AC type digital inputs Analog Inputs DC 0 10V Analog inputs current Inputs 0 20mA...
Page 40: ...40...
Page 120: ...120 C Analog input value of CPU and extensions D Analog output value of CPU and extensions...
Page 121: ...121 E F digital flag status F AF analog flag value...
Page 122: ...122 G M status H AM value...
Page 221: ...221 7 Click Install button to install Program is being installed...
Page 250: ...250...
Page 256: ...256 You can read the parameters from the PLC...
Page 258: ...258...
Page 267: ...267 TCP Sever 192 168 0 227 port 8004 is ok TCP Sever 192 168 0 227 port 8005 is ok...
Page 268: ...268 TCP Sever 192 168 0 227 port 8006 is ok TCP Sever 192 168 0 227 port 8007 is ok...
Page 269: ...269 TCP Sever 192 168 0 227 port 8008 is ok TCP Sever 192 168 0 227 port 8009 is ok...
Page 290: ...290 Slave1 IP 192 168 0 101 TCP server port 8001 Slave2 IP 192 168 0 102 TCP server port 8002...
Page 317: ...317 Network settings You can view the network parameters in such table...
Page 331: ...331 B005 Read the I1 IA status from the slave1 to the F11 F20 of the master Setting as follows...
Page 332: ...332 B006 Read the I1 IA status from the slave2 to the F21 F30 of the master Setting as follows...
Page 346: ...346 7 4 2 The scheme of xLogic The circuit diagram of industry gate...
Page 353: ...353 7 6 2 The scheme of xLogic Components K1 main contactor...
Page 357: ...357 4 cursors Cursor key Type 1x MODBUS code 02 C1 C4 256 259 BIT R...
Page 392: ...392...