CHn_REF_SEL! Select the standard latch input edge, which can be the MARK/ORG upper or lower edge of this channel or other channels; When selecting across channels, the input logic is determined by the channel in which the signal enters. CHn_ORG_SEL! Provide 0 to 8 types of origin latch combinations, including the upper edge of the origin signal during reverse rotation, the upper edge of the origin signal during forward rotation, both forward and reverse rotation latch, the upper edge of the origin when the Z pulse is true, the lower/upper edge of the Z pulse when the origin signal is true, and the "OR" combination of 6 and 7. CHn_ANALOG_OUT! For real valued variables, the range is -8192 to+8192, and if it exceeds the range, it will be limited to the maximum/minimum amplitude; The ± 8V terminal outputs 976.5625 μ V/word, and the ± 10V terminal outputs 1.220703125mV/word. If there is an offset voltage, it can be added to the variable or adjusted on the servo amplifier side. AUTORUN @ reflects the status of the system switch ENABLE/ISABLE; BATTERY @ and BTYWAR @ are used for battery monitoring; Sync1_LOCKED @ and Sync1_MILLISECONDS are used for synchronizing the status and interval settings of Sync-1 in the same rack.
MCIM-2 wire breakage detection: differential mode is only effective
MCIM-2 has added disconnection detection compared to MCIM-1. The default single ended mode is the same as MCIM-1 and cannot use wire breakage detection; The differential mode uses a balanced circuit to detect A, B, and Z phase disconnections and make the counting points more uniform during constant speed rotation. To enable differential mode, CHn_DIF-PODE @ needs to be defined in the configuration task, with addresses of BUS=1, SLOT=s, REGIST=45, and BIT of 03, 09, 15, 21, and 27 (channels 1 to 5), respectively. Write 1 to enable and default 0 to disable. When the wire is disconnected, CHn_PG_SRR @ becomes 1, and after recovery, it becomes 0. The address is REGIST=46, and the corresponding BIT is the same as above. If there is a situation where the encoder cable is crushed but the low speed is normal and the high speed is losing pulses on site, priority should be given to checking whether the differential mode is turned on, shielded, and the terminals are tightened, and then checking the PG-ERR @ status.
Error codes and fault trees
The status indicator displays "Init...", "vX.XX", "PSC7" in sequence when powered on, with vX.XX being the OS version. When the system switch is turned to the middle position, the task automatically runs; Pressing and holding for more than 3 seconds will restart and initialize, and user tasks can be downloaded from the CF card when inserted. The UP/DOWN button is used to view the error history. The CPU OK light indicates that the DSP module watchdog is functioning properly; Before turning off the lights, check if the power supply and control card are properly plugged in, and if the backplane power supply is still not restored, replace the control card. BAT-OK lights should be turned off in the order of battery connection, battery voltage, battery replacement, and card replacement.
In terms of error codes: F001 bus error, accessing undefined address, checking for control card, slot, installation errors, and replacing cards block by block if necessary; F002 watchdog error, check configuration tasks, control card and slot definitions, application task I/O usage; F004 overload error, adjust task priority, control block task execution interval, and other application tasks; ERR! If the OS file is damaged or NdOS is displayed, use a CF card to download the OS again. BASIC execution errors F140 to F154 include GOSUB/RETURN mismatch, jump address error, FOR/NEXT usage error, SQRT negative number, bus error, channel not opened, GOSUB nesting exceeding 32 layers, and no DATA in the STORE line. They should be checked item by item in conjunction with the programming manual. CF card error F901 read failure, F902 write failure, F903 creation failure, F904 version incompatibility, F905 CRC error, F940 communication error, F941 CF timeout. The handling principle is to retry read and write after restarting, save user data to CF card again, replace CF card, and if it still fails, replace the control card.
