Cyclical Process Data
Once cycle switching begins, the controller and the device exchange process data at a fixed interval. Write "Q", read "I": Q is sent to the controller; I comes from the controller. The application should only modify and read values; it should not send periodic frames on its own.
Direction
I/Q refers to the viewing angle: Q always represents the output on this side. This product is a module IO :
| District | About this module | |
|---|---|---|
| Q | Module Output | Write, send to the controller IO |
| I | Module Input | Read, from the controller IO |
The length of the process area is determined GSDML by the configuration tool (typical examples include bytes Q 20 andI 32 bytes, though these are not the only possible sizes) and is located in slot 1 / subslot 1.
GSDML The 20-byte Input (device → controller) corresponds to SDK's Q (Out / ProcessData.Out[i], write direction),GSDML and the 32-byte Output (controller → device) corresponds to SDK's I (In / ProcessData.In[i], read direction, read-only).
Cycle
| Item | Value |
|---|---|
| Where to set it | Configuration Tool / Controller Configuration |
| Lower Limit | 1 ms |
| Who sends the periodic frames? | Protocols are sent based on configuration; applications do not push frames. |
After making changes to the cycle, re-export it to ensure the configurations on both sides match. Do not change the configuration while the cycle is in progress.
What Does the App Do?
First, make sure you're connected, then:
- By Process Write Q(Sent to the controller)
- By Process Read I(Sent by the controller)
- Watch IOPS and IOCS Determine whether this shot is usable
When the link is not established, the Q value you enter remains on the device locally; it is only transmitted during the cycle once the link is established. Do not assume that “the value has been changed locally” means “the controller has already received it.”
Things Not to Do
- Do not write "I." "I" comes only from the controller.
- Don't copy I to Q. The two sides aren't mirror images of each other.
- Do not shut down the equipment while it is still in the cycle changeover phase.