KUNBUS-COM EtherCAT
134 / 135
11 Appendix
11.1 Configuration via Modpoll
Prerequisite:
You have made the SDI interface on the application
connector suitable for a PC by your application hardware (e.g. a level
converter).
Tip!:
With the KUNBUS-COM Evaluation Board you have a Sub-D
connector at your disposal with RS-232 levels that can be connected
to a serial COM interface of the PC or to a serial USB converter.
Complete Application
Configuration
To configure the module conveniently for application, we recommend
that you make the setting adjustments with the aid of the Modpoll
program supplied.
ü
To do this, open the command line prompt in the first step and then
change to the directory where Modpoll is located. Drag and drop the
modpoll.exe file into the input panel.
◦ Always begin new commands with the input "Modpoll".
ð
Define your application by specifying the protocol type, register address,
baudrate etc. We have compiled the relevant Modpoll commands for
you in the following table.
Example for the Configuration
of the SSC Output Register
modpoll –m rtu –r 0x1401 –t 4:hex –b 19200 COM1 0x1234
modpoll –m rtu –r 0x2401 –t 4:hex –b 19200 COM1
Overview of the Modpoll
Commands
Start
modpoll.exe
Help
-h
Protocol selection
Modbus ASCII Protocol
-m ascii
Modbus RTU Protocol
-m rtu
Modbus TCP Protocol
-m tcp
Nested Modbus RTU via TCP
-m enc
Addresses
Slave address
-a #
Register address
-r #
Number of registers
-c #
I/O
Discrete output (coil)
-t 0
Discrete input
-t 1
16-bit input register
-t 3
16-bit input register with hexadecimal display
-t 3:hex
32-bit integer data type in the input register table
-t 3:int
32-bit module 1000 data type in the input register
table
-t 3:mod
Appendix