Slaves are defined to the system when the module initializes the Master command list. Each slave defined will be set to a state of one in this initial step. If the Master port fails to communicate with a slave device (retry count expired on a command), the Master will set the state of the slave to a value of 2 in the status table. This suspends communication with the slave device for a user specified scan count (ERROR DELAY COUNT parameter in the configuration file). Each time a command in the list is scanned that has the address of a suspended slave, the delay counter value will be decremented. When the value reaches zero, the slave state will be set to one. In order to read the slave status table, refer to the sample ladder logic. The ladder logic must send a special block to the module to request the data.
Event Command
Event Command blocks send MODBUS commands directly from the ladder logic to one of the Master ports. The Event Command will be added to the high-priority queue and will interrupt normal polling so that this special command can be sent as soon as possible. Note: Overuse of Event Commands may substantial slow or totally disrupt normal polling. Use Event Commands sparingly. Event Commands are meant to be used as one-shot commands triggered by special circumstances or uncommon events.
The Block Number defines the MODBUS port to be considered.
The slave address is represented in the block number in the range of 0 to 255, added to 1000 for commands to be sent out Port 1 or to 2000 for commands to be sent out Port 2. The sum of these two values determines the block number to use. Example1: To send an Event Command to Slave 34 from Master Port 1, use Block Number 1034. Example 2; To send an Event Command to Slave 227 from Master Port 2, use Block Number 2227 Note: Slave address 0 is a broadcast address. Commands with this address will affect all slaves on the network. Not all addresses in the range 1 to 255 are valid for all slave devices. This is especially true for addresses 248 through 255.
1.Payment method and delivery
Shipment: EMS,DHL,UPS & FEDEX
Payment: T/T or Western Union
2. About us
We are professional company and we are expert in this business, we have highly experienced production team, or sales team, or purchase team, we have most advanced production line. We are reputable in the market.
3. Application industry
Our main products are widely used in metallurgy, oil and gas, glass manufacturing, aluminum, petrochemical, coal mine, paper making and printing, textile printing and dyeing, machinery, electronic manufacturing, automobile manufacturing, tobacco, plastic machinery, electricity, water conservancy, water treatment/environmental protection, municipal engineering, boiler heating, energy, power transmission and distribution, etc.