HCBBS Forum (English)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

I’m seeking help from everyone regarding Zhejiang University Zhongkong

2012-02-16View Original

Thread Content

I’m seeking help from everyone: how to use custom variables (1 byte, 2 bytes, 4 bytes, 8 bytes, custom loops) in Zhejiang University’s Zhongkong system? This is how both custom circuits and conventional control schemes are used. What’s the difference between them, and in what situations are they used? Thank you all! ! ! ! ! !
Reply #22012-02-17
The JX-300X system adopts the following approach for handling the exchange of internal data between the operation station and the control station: a data exchange area is created in the memory of the control station’s main processor. Both the operation station and the control station use a common protocol for addressing memory in this area, and the exchange of internal data between them takes place through this area. If users define or reference such internal variables in a custom control algorithm, they need to define these variables. In the JX-300X system, each control station supports 4096 custom 1-byte variables. Users can configure custom 1-byte variables as follows: 1. NO: Address where the custom 1-byte variable is stored (as shown in the figure below): Address 0, Address 1, Address 2, Address 3, Address 4, Address 5, Address 6... Diagram showing where the custom 1-byte variable is stored. Even when no variable needs to be stored in a particular address, that address still exists. For example, when configuring, if address 1 is not entered in the NO field, no variables are stored in that address, yet address 1 still exists. Clicking the button will sort the custom 1-byte variables by address size. 2. Tag Number: Enter the definition tag number for the current custom 1-byte variable in this field. 3. Comment: Enter a textual description of the current custom 1-byte variable in this field. 4. Modification permissions: Select the modification permissions for the currently customized 1-byte variable from the dropdown list in this field. The JX-300X system provides four levels of permission protection: observer, operator, engineer, and privileged. Observation: When the modification rights are set to observation, this variable is in an unmodifiable state. Operator: When the modification rights are set to operator, it can be modified by operators, engineers, and users with privileged access. Engineer: When the modification rights are set to Engineer, it can be modified by engineers and users with elevated privileges. Privilege: When the modification rights are set to privilege, only users with privileged access can make modifications. 5. ON/OFF status description (ON/OFF status description, ON/OFF colors): These fields respectively describe the ON/OFF status of the digital signal and define its colors. 6. Alarm: When an alarm is required for a signal, select the alarm option, and it will be indicated with a “√” in this field. 7. Settings: When alarms are selected, the corresponding setting button in this field becomes available. By pressing this button, the digital alarm settings dialog box is opened, where settings can be made for the alarm status, alarm description, alarm color, and alarm level. In the alarm status options, select what value (on/off) the digital switch should have to trigger an alarm ; Enter a textual description of the alarm in the alarm description field ; Select the alarm color from the alarm color options. The alarm level option is a 1-byte custom variable used to set the alarm level (0-90). 8. Display: Three types of display buttons can be selected from the list box: time restoration button, tag number restoration button, and normal button. 9. Settings: The settings in this field are the same as those of the display settings button in the output quantity signal configuration. For usage instructions, refer to the setting of digital input/output signal points.  
Reply #32012-02-17
Definition of 2-byte variables -------------------------------------------------------------------------------- The definition of 2-byte variables in user-defined variables is very similar, in terms of physical meaning, function, and usage, to that of 1-byte variables; both represent internal variables that point to a certain address in the data exchange area. The difference is that the former represents analog values, while the latter represents digital values. A user-defined 2-byte variable represents a memory address in the data exchange area. In the JX-300X system, each control station supports 2048 user-defined 2-byte variables. In the custom variable window, select the 2-byte variable option to enter the configuration window for custom 2-byte variables (as shown in the figure below), where you can configure the custom 2-byte variables. Custom 2-byte variable configuration window 1. NO/Tag/Comment/Modification rights: The functions and usage of these 4 fields are the same as those of the corresponding fields in custom 1-byte variable configuration. 2. Data type: Select the data type for the current custom 2-byte variable from the dropdown list in this field; currently, four types are available: half-precision floating point, descriptive string, unsigned integer, and signed integer. Half-floating point: The range is -8 to 7.9999. The most significant bit is the sign bit, the next three bits represent the integer part, and the remaining bits constitute the decimal part; a decimal point is omitted between the integer part and the decimal part. For example, the half-precision floating-point number 2.5 can be represented in the form shown below. When half-precision floating-point operations are difficult, they are converted to integer operations; the half-precision value 2.5 is converted to the integer 10248. 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 Semi-precision floating-point storage format Description: Used in intermittent processes to display strings as integers; as shown in the figure below, it displays \"OK\" when the integer is 0, and \"Error\" when the integer is 1. Unsigned integer: Range: 0–65535. Signed integer: Range: -32768 to 32767. 3. Upper/Lower Limits: When the current custom 2-byte variable data type is a floating-point number or an integer, enter the engineering units of the limit values for that custom 2-byte variable in the upper and lower limit fields. 4. Settings: The button in the settings section becomes available only when the data type is set to descriptive type. By pressing this button, a dialog box as shown in the figure below will appear, and a string description should be entered in that dialog box. Enter a string in the string description box; at runtime, this string will be used to replace the integer sequence number preceding it. Chinese characters are allowed, and the length of the description string is 30 bytes. Description dialog box 5. Unit: This field is in the form of a drop-down list, containing some common engineering units that can be selected from, or custom units can be entered.   Return to the upper level
Reply #42012-02-17
Definition of 4-byte variables -------------------------------------------------------------------------------- In the custom variable window, select the 4-byte variable option to enter the configuration window for custom 4-byte variables (as shown below), where such variables can be configured. Each control station supports 512 custom 4-byte variables. Custom 4-byte variable configuration window 1. NO/Tag/Comment/Modification Rights/Unit: The functions and usage of these 5 fields are the same as those of the corresponding fields in the custom 1-byte variable configuration. 2. Data Type: In this field, select the data type for the currently custom 4-byte variable; currently, three types are available: floating point, unsigned long integer, and signed long integer. Floating-point numbers: the range is from ±1.175490351E-38 to 3.402823466E+38. Unsigned long integer: range is 0—4294967296. Signed long integer: range is -2147483648 to 2147483647. 3. Upper/Lower Limits: Enter the limit values for the current custom 4-byte variable in the upper limit and lower limit fields.  
Reply #52012-02-17
Custom 8-byte variables -------------------------------------------------------------------------------- In the custom variable window, select the 8-byte variable option to enter the configuration window for custom 8-byte variables (as shown below), where these variables can be configured. Each control station supports 256 custom 8-byte variables. Custom 8-byte variable configuration window 1. NO/Tag/Comment/Modification Rights/Unit: The functions and usage of these 5 fields are the same as those of the corresponding fields in the custom 1-byte variable configuration. 2. Data type: Users can select the data type for the currently customized 8-byte variable in this field; currently, only the cumulative type is available. 3. Range: Describes the definition range of an 8-byte variable. 4. Coefficient: The value sent from the control station to the operation station is multiplied by the range and then divided by the coefficient before being displayed. Return to the upper level  
Reply #62012-02-17
As the name implies, custom variables are analog and digital values that are not provided by the controller board, but rather intermediate variables defined by the user themselves; they represent various numerical values that are needed in process control. The number of bytes indicates the data type of the variable: 1 byte corresponds to a boolean type, 2 bytes to a half-precision floating-point type, 4 bytes to a floating-point type, and 8 bytes to a long integer type. Custom loops are based on the PID control module used in conventional control schemes; for specific usage methods, refer to the BSC module in the user manual.

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.