Skip to content

Commit 2f7639b

Browse files
committed
thumbnail updated
1 parent a813458 commit 2f7639b

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed
2.14 MB
Loading

content/hardware/07.opta/opta-family/opta/tutorials/21.packaging-labeling-app-note/content.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ hardware:
2020

2121
Packaging and labeling are essential processes in the production and distribution of products. Packaging involves enclosing and protecting items to ensure they remain safe from damage, contamination, or spoilage during storage and transport. It also improves the manageability of the product, making it easier to handle. Additionally, packaging enhances presentation, playing a key role in maintaining product quality and meeting safety standards.
2222

23-
![Packaging and Labeling System Thumbnail](assets/thumbnail.png)
23+
![Packaging and Labeling System Thumbnail](assets/thumbnail-1.jpg)
2424

2525
Labeling complements this by providing crucial information such as barcodes, expiration dates and usage instructions. This ensures proper handling, traceability, and compliance with regulations. Together, packaging and labeling are critical for product identification, handling, safety, and customer satisfaction across industries.
2626

@@ -336,20 +336,20 @@ You can access this [link](https://dl.mitsubishielectric.com/dl/fa/document/manu
336336

337337
In the image, we can see that function FC 03 is used, which is responsible for reading holding-type registers only. We also have the configurations for starting address, polling time, timeout, and oneshot variable. The functions and addresses to be used for the servo driver are described in the table below.
338338

339-
| **Function** | **Start Address Decimal** | **Start Address Hex** | **Polling Time** | **Time out** | **Oneshot variable** | **Description** | **Linked Variable** |
340-
| ------------------------------- | --------------------- | ----------------- | ------------ | -------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
341-
| FC 03 - Read Holding Register | 24640 | 6040h | 0 | 1000 | N/A | At address 24640 is the Control Word, a 16-bit register that enables control of key operations (like turning the servo on/off or resetting alarms) via Modbus RTU by setting specific bits. By reading this address, we can retrieve information about the state of the Control Word. | getControlWordAxis |
342-
| FC 03 - Read Holding Register | 24641 | 6041h | 0 | 1000 | N/A | At address 24641 is the Status Word, a 16-bit register that provides real-time feedback on the current status of the device. By reading the Status Word, operators or control systems can monitor the servo’s condition, determine if any alarms are present, and verify if the system is ready, active, or requires intervention. | getStatusAxis |
343-
| FC 16 - Write Multiple Register | 24640 | 6040h | 0 | 1000 | N/A | At address 24640 is the Control Word. Now, instead of reading, we will write to the Control Word, allowing us to control the servo motor's operations. | setControlWordAxis |
344-
| FC 16 - Write Multiple Register | 24672 | 6060h | 0 | 1000 | N/A | The 6060h register, or "Mode of Operation" register, sets the control mode for the servo. Different values activate specific modes: -20 for position control, -21 for speed control, -22 for torque control, and 6 for homing mode, which moves the servo to a predefined home position. This register is crucial for configuring the servo’s control type for its intended operation. | setControlModeAxis |
345-
| FC 16 - Write Multiple Register | 10242 | 2802h | 0 | 1000 | N/A | The 2802h register is used to set position data, specifying a position to which the servo driver should move the servo motor. | setPositionAxis |
339+
| **Function** | **Start Address Decimal** | **Start Address Hex** | **Polling Time** | **Time out** | **Oneshot variable** | **Description** | **Linked Variable** |
340+
| ------------------------------- | ------------------------- | --------------------- | ---------------- | ------------ | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
341+
| FC 03 - Read Holding Register | 24640 | 6040h | 0 | 1000 | N/A | At address 24640 is the Control Word, a 16-bit register that enables control of key operations (like turning the servo on/off or resetting alarms) via Modbus RTU by setting specific bits. By reading this address, we can retrieve information about the state of the Control Word. | getControlWordAxis |
342+
| FC 03 - Read Holding Register | 24641 | 6041h | 0 | 1000 | N/A | At address 24641 is the Status Word, a 16-bit register that provides real-time feedback on the current status of the device. By reading the Status Word, operators or control systems can monitor the servo’s condition, determine if any alarms are present, and verify if the system is ready, active, or requires intervention. | getStatusAxis |
343+
| FC 16 - Write Multiple Register | 24640 | 6040h | 0 | 1000 | N/A | At address 24640 is the Control Word. Now, instead of reading, we will write to the Control Word, allowing us to control the servo motor's operations. | setControlWordAxis |
344+
| FC 16 - Write Multiple Register | 24672 | 6060h | 0 | 1000 | N/A | The 6060h register, or "Mode of Operation" register, sets the control mode for the servo. Different values activate specific modes: -20 for position control, -21 for speed control, -22 for torque control, and 6 for homing mode, which moves the servo to a predefined home position. This register is crucial for configuring the servo’s control type for its intended operation. | setControlModeAxis |
345+
| FC 16 - Write Multiple Register | 10242 | 2802h | 0 | 1000 | N/A | The 2802h register is used to set position data, specifying a position to which the servo driver should move the servo motor. | setPositionAxis |
346346

347347
Now, for the labeling machine, we will use only coils, which are described in the table below.
348348

349-
| **Function** | **Start Address Decimal** | **Polling Time** | **Time out** | **Oneshot variable** | **Description** | **Linked Variable** |
350-
| ----------------------------- | --------------------- | ------------ | -------- | ---------------- | ------------------------------------------------------------------------------------------------------ | --------------- |
351-
| FC 05 - Write Single Coil | 3000 | 0 | 1000 | N/A | The address with the value 3000 is responsible for activating the labeling machine, making it operate. | labelingControl |
352-
| FC 03 - Read Holding Register | 4000 | 0 | 1000 | N/A | The address with the value 4000 is responsible for reading the state of the labeling machine. | labelingStatus |
349+
| **Function** | **Start Address Decimal** | **Polling Time** | **Time out** | **Oneshot variable** | **Description** | **Linked Variable** |
350+
| ----------------------------- | ------------------------- | ---------------- | ------------ | -------------------- | ------------------------------------------------------------------------------------------------------ | ------------------- |
351+
| FC 05 - Write Single Coil | 3000 | 0 | 1000 | N/A | The address with the value 3000 is responsible for activating the labeling machine, making it operate. | labelingControl |
352+
| FC 03 - Read Holding Register | 4000 | 0 | 1000 | N/A | The address with the value 4000 is responsible for reading the state of the labeling machine. | labelingStatus |
353353

354354
Remember, it is important that the devices on the Modbus network are configured to communicate with each other to enable data transmission over the network. We will not cover how to configure these devices, as each manual provides the correct method for doing so.
355355

0 commit comments

Comments
 (0)