Modbus Command Configuration The ProSoft Technology MCM Modbus Master and Slave communication drivers support several data read and write commands. When configuring a Master port, the decision on which command to use is made depending on the type of data being addressed, and the level of Modbus support in the slave equipment. When configuring as a slave, it may be important to understand how the Modbus commands function in order to determine how to structure the application data.
Floating Point Support
The movement of floating point data between the MCM module and other devices is easily accomplished as long as the device supports IEEE 754 Floating Point format. This IEEE format is a 32-bit single precision floating point format. The programming necessary to move the floating point data takes advantage of the CPS command that exists in the Compact Logix and SLC processors. The CPS command is unique for CPX/SLC data movement commands in that it is an untyped function, meaning that no data conversion is done when moving data between file types (that is, it is an image copy not a value copy). The structure of the CPS command to move data from a Floating Point file into an integer file
This command will move one floating point value
in two 16 bit integer images to the integer file. For multiple floating point values increase the count field by a factor of 2 per floating point value. The structure of the COP command to move data from an Integer file to a Floating Point file (something you would do to receive floating point values from the module) is as follows:This command will move two 16 bit integer registers containing one floating point value image to the floating point file. For multiple values increase the count field.
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.