modbus discrete input

edmondchoi

Member
Join Date
Dec 2015
Location
kowloon
Posts
4
hello, i am confused about modbus discrete input.

i found an example online,
HMI is Client, PLC is server.
To read the "motor servo-on status" by HMI.

it use function code 02 which refer to
"The client reads the status of the discrete inputs
of the server."

isn't it servo-on status an "OUTPUT" of the PLC?

Please help .:geek::geek::geek::geek:
 
To read the "motor servo-on status" by HMI.
it use function code 02 which refer to
"The client reads the status of the discrete inputs
of the server."

isn't it servo-on status an "OUTPUT" of the PLC?
I suppose the PLC sends commands to the motor and receives a status:

Code:
    PLC
-------------+
  MODBUS     |
  TABLE      |
+--------+   |PLC output       
| COILS  |-----------------> To motor 
+--------+   |
| INPUTS |<----------------- From motor status
+--------+   |PLC Input
             |
-------------+
a) The input section of the modbus table receives the motor status. The HMI uses function 2 to read the input (status). You could say that the status is an "output" from the PLC to HMI (incorrect), but from the point of view of the modbus table is an input.

b) When you want to start/stop the motor, the HMI uses function 5 to write to the coils section (coils=outputs). Then the PLC activates the correspondent channel in the output module.
 

Similar Topics

Hi Everyone, We are EDAC Electronics Australia and we provide wireless automation solutions and I/O distribution products, with expertise in...
Replies
8
Views
776
Hello, I am attempting to add some IO Discrete tags to a AVEVA InTouch project (version 2020). These tags use the MBTCP driver and attempt to map...
Replies
1
Views
1,203
Hi Experts, I am working on ,Modbus CPU is Ic200CPU001 GE. i followed manual gfk2220a.pdf in which program is working great i can read holding...
Replies
1
Views
2,492
Hi folks, I have a Controllogix in communication with a zigbee coordinator using Logix AIO for modbus tcp. This zigbee coordinator have 3 slaves...
Replies
0
Views
57
Back
Top Bottom