Settings of Modbus poll software can be found in attachment. I am using Moxa 1150 with DB9 connector to connect PLC with PC. Now, I want to test communication additionally with Modbus poll software on PLC. (parts of program for MODBUS communication can be found in attachment) In order to test communication I used second PLC as Master, and everything WORKED well.
In case you need it, simply load saved setting.According to example programs on forum I made program for Modbus communication for slave S1200 (6ES7 214-1AG40-0XB0) and communication board CB1241 (6ES7 241-1CH30-1XB0) using TIA (Version V13 SP1 Update 9). Save your setting to mbp file to simplify work with Poll Definition. The first line shows number of connected sensors and the second current temperature with an accuracy of 0.1° C. Picture ch - Setting of temperature sensor
To control binary inputs select option 05 in function menu : Write Single Coil (short cut F7). Auto Read Enable: to enable automatic reloading.It begins at the address 200 - ending at the address 201 Address: defines the address of used variables that will be logged (for addresses see figure bellow).Function: definition of running function 01 COIL STATUS for monitoring of output states.Open Poll Definition menu to control binary outputs. Set up device IP address and Port (standard is 502)Īpplication is now connected to selected device and in periodic interval loads input values (see the picture c).ĭownload and application of Modbus Poll + examples.In Connection menu select Connect (keyboard short cut F3).Auto Read Enable: to enable automatic reading of valuesĪddresses of inputs in terms of protocol are configured, now set up connection to device itself.Scan Rate: delay between two following loadings.Beginning at the address 100 - ending at the address 103 Address: definition of used variables that will be loaded (for addresses see figure bellow).Function: definition of running function 02 INPUT STATUS for monitoring of input states.Setting of inputs in Modbus Poll program ( Picture a) In setup menu select option Poll Definition (keyboard short cut F2). Launch Modbus Poll application ( mbpoll.exe file). Program Modbus Poll & Damocles MINI Dry contact inputs - model MINIĬonnect the Damocles MINI unit to ethernet and power supply. (The actual name may differ in your software – it used to be an address to distinguish multiple devices on a RS-485 line in case of Modbus/RTU). Check the setting of this variable in case you are enable to establish a connection. Set the current counter value, the first counter is at the address 201(H)-202(L), second on 203(H)-204(L) ….Ĭaution: Modbus/TCP implementation support requires setting the " Slave ID " variable to number 2. The current counter value, the first counter is at the address 201(H)-202(L), second on 203(H)-204(L) …. 1 through x, where x is the value at address 100. Mapping of variables for the Modbus/TCP protocolĬurrent number of installed (configured in Setup) sensorsĬurrent value of the sensor No. It is necessary to restart the program after to run it again. Notice: Modbus Poll application version 3.20 in its unregistered version works only for 4 minutes after launch. You find out what is possible to read via Modbus/TCP protocol.
The Poseidon2 and Damocles2 works as a TCP Server at port 502 (Modbus standard).