In this example, the master addresses a query to slave device 10 (0A hex).
The function code
(01) is for a Read Coil Status operation. It requests the status of the coil at address 1245 (04A1
hex).
Note: Only one coil is to be read, as specified by the number of coils field (0001).
If the coil address is nonexistent
in the slave device, the slave will return the exception response
with the exception code shown (02). This specifies an illegal data address for the slave. For
example, if the slave is a 984-385 with 512 coils, this code would be returned.
4.2 Exception Codes
http://www.modicon.com/techpubs/excpt7.html (2 of 3) [1/11/2000 10:43:26 PM]