1 The client driver obtains configuration data from the MNET.CFG file when the module restarts. The configuration data obtained includes the timeout parameters and the Modbus Command List. These values are used by the driver to determine the type of commands to issue to the other nodes on the Modbus TCP/IP network.
2 When configured, the client driver begins transmitting read and/or write commands to the other nodes on the network. If writing data to another node, the data for the write command is obtained from the module's internal database to build the command.
3 Presuming successful processing by the node specified in the command, a response message is received into the client driver for processing.
4 Data received from the node on the network is passed into the module's internal database, assuming a read command.
5 Status data is returned to the SLC processor for the client and a Command List error table can be established in the module's internal database.
Client Command List
In order for the client to function, the module's Client Command List must be defined. This list contains up to 16 individual entries, with each entry containing the information required to construct a valid command. This includes the following:
Command enable mode ((0) disabled, (1) continuous [controlled by SLC Data files exclusively]).
IP address and service port to connect to on the remote server
Slave Node Address
Command Type - Read or Write up to 125 words per command
Database Source and Destination Register Address - Determines where data will be placed and/or obtained
Count - Select the number of words to be transferred - 1 to 125
Poll Delay - 1/10th seconds
Client Command Errors
You can use the Client Command Error Pointer, which is configured for each client in the MNET.CFG file. This pointer references the offset register where all command error codes will be stored. This means that the first register refers to command 1 and so on.For every command that has an error, the module automatically sets the poll delay parameter to 30 seconds. This instructs the module to wait 30 seconds until it attempts to issue the command again. As the list is read in from the configuration file and as the commands are processed, an error value is maintained in the module for each command. This error list can be transferred to the processor. The errors generated by the module are displayed in the following table.
Superior products
We mainly make spare parts for DCS, PLC, robot control system and large servo system.
Main products: various modules/cards, controllers, touch screens, servo drives.
Advantages: professional off production accessories,
Fast delivery, accurate delivery time,
Main brands include ABB, GE/FANC, FOXBORO, TRICONEX, BENTLY NEVADA, A-B, EMERSON, OVATION, MOTOROLA, XYVOM, HONEYWELL, REXROTH, KUKA, NI, DEIF, Reliance Electric, Yokogawa, WOODWARD, SCHNEIDER, MOOG, PROSOFT and other brands