Answer:
Applicable controllers:
Dial switch trigger: suitable for MP2200 and MP2300, triggered by turning on the "CNFG" toggle switch of the machine controller and restarting the power supply;
MPE720 operation trigger: applicable to MP210M and MP2500MD. After starting MPE720, select Order → Self Configure All Modules/Module Self Configuration on the Module Configuration screen to trigger.
Differences in configuration results:
Specific operation results of triggering method
The dip switch (MP2200/MP2300) CNFG=ON, Initiate=ON module composition definition is updated, and all detected communication modules are configured according to default values
The dip switch (MP2200/MP2300) CNFG=ON and Initialize=OFF modules constitute a definition update. Modules that already have transmission definitions retain their current definitions, while newly detected modules use default values
MPE720 (MP210M/MP2500MD) automatically configures all module composition definitions and updates them. Existing defined modules retain their current definitions, while newly detected modules use default values
MPE720 (MP210M/MP2500MD) automatically configures a single module with only selected module configurations and transmission definitions. Existing definitions are reserved, and newly detected ones use default values
Question 2: What are the core differences in functionality and usage between the IF-01 module, which supports two protocols: Stepless and Stepless FD?
Answer: The core differences between the two are reflected in communication methods, number of channels, data processing capabilities, etc., as follows:
Comparing dimensions without steps or steps FD
Communication method: Half duplex (cannot transmit/receive simultaneously), Full duplex (can transmit/receive simultaneously)
1 information channel (MSG-SND/MSG-RCV dual-use) 2 channels (1 dedicated for sending and 1 dedicated for receiving)
The maximum data size for both sending and receiving is 254 words. Sending 254 words and receiving a maximum of 5080 words (20 buffers, each buffer containing 508 words)
Data exception handling: If one byte in one message is abnormal, all data will be discarded. Only the abnormal byte will be discarded, and normal data will be retained. The exception will be reported to the MSG-RCV function
Wiring requirements: Half duplex wiring (such as RS-485 2-wire system), full duplex wiring (such as RS-485 4-wire system, separate transmission/reception lines)
Suitable for simple one-way communication scenarios that require high-speed simultaneous transmission and reception, such as real-time data acquisition and control
Channel number setting: MSG-SND/MSG-RCV are both set to 1. MSG-SND is set to 1, and MSG-RCV is set to 2
Question 3: The Ethernet communication of the IF-01 module supports two connection types, TCP and UDP. How to choose? What are the precautions for using these two types under a step-by-step protocol?
Answer:
Selection criteria for connection type:
TCP: a connection type protocol that requires the establishment of a connection, supports data confirmation, error retransmission, flow control, and has high communication quality. It is suitable for scenarios that require high data reliability, such as control instruction transmission;
UDP: A connectionless protocol that does not require establishing a connection, has simple processing, fast communication speed, and is suitable for scenarios that require high real-time performance and can tolerate a small amount of data loss (such as real-time status monitoring).
Notes under the Stepless Protocol:
Attention to TCP usage:
TCP is a byte stream protocol, and continuous transmission of data may result in the synthesis of data packets. The receiving side cannot recognize the data boundary and measures need to be taken (such as setting a transmission interval of more than 1 second, establishing command response protocols, and avoiding packet segmentation);
Each connection only has one receive buffer, and before receiving data, the MSG-RCV function is used to read out old data to avoid new data overwriting old data.
UDP usage precautions:
No connection confirmation, sending to a non-existent socket will result in an error. It is necessary to ensure that the other party's device is online and the port is correct;
The receiving interval should be greater than twice the execution period of the MSG-RCV function (if the function period is less than 5ms, the sending interval should be set to 12ms or more) to avoid data coverage.

Email:wang@kongjiangauto.com