
Programming and Debugging Tools
6.1 Programming software
907 PC 331: Used for 07 KR/KT 91/92/93 and 07 KR/KT 31, supports instruction lists, function block diagrams, and ladder diagrams, and can run on IBM compatible PCs.
907 PC 29: Used for PCZB and CS20.
TCZ handheld terminal: used for programming, testing, and diagnosis, capable of editing programs online or offline.
6.2 Terminal Mode
Connect VT100 terminal or PC (9600 baud, 8 data bits, no checksum, 1 stop bit) through RS232 serial port (COM1), and then enter<CR>, 1 (select TERMINAL), 2 (select CHAR.MODE), N (maintain baud rate) in order to enter terminal mode. Common commands:
G: Launch user program
A: Suspend user program
WARM: Hot Start
KALT: Cold Start
Z: Display variable status
Y: Force modification of variable values
D: Display program
S: Edit program
SP: Save the program to Flash EPROM
Remote unit diagnosis and troubleshooting
7.1 Use the TEST button for diagnosis
Each remote unit (I/O module) has a TEST button and LED indicator light on the front. Operation Method:
Press the TEST button, and the LED of the currently selected channel will flash (starting from channel 0).
Release the TEST button, and the diagnostic information for this channel will be displayed on LED 0-7 for approximately 3 seconds.
Press the TEST button again to switch to the next channel.
After pressing the last channel, pressing TEST again will perform a light test (all LEDs will light up), and then releasing the DIP switch settings on the ECZ base (LED 0 corresponds to switch 1, and so on).
Press and hold the TEST button for more than 10 seconds to clear all faults stored in the unit.
The meaning of LED display (taking ICS 08 L1 as an example):
LED 0 (Unit error): Internal error within the unit
LED 1 (Bus error): Bus communication error (unit did not receive a call from the master station)
LED 3 (Cut wire): Input or output disconnection (to be detected after configuration)
LED 4 (Overload): Overload
LED 5 (Short circuit): Short circuit
LED 6 (Output): This channel is configured for output
LED 7 (Input): This channel is configured as an input
7.2 Error Flags in the Central Unit
The CS31 central unit classifies errors into four levels (FK1~FK4) and stores them in specific flag bits:
Address for detailed information of error class meaning flag bits
FK1 fatal error (system operation is no longer safe) M 255,11 MW 254.00~07
FK2 serious error (user program may not run properly) M 255,12 MW 254,08~15
FK3 minor error (such as remote unit disconnection) M 255,13 MW 255.00~07
FK4 warning (such as output overload, disconnection) M 255,14 MW 255,08~15
FK3 Common Error Identification (MW 255.00):
15: Remote unit disconnected (at the same time MW 255.01=unit type, MW 255, 02=group number)
16: CS31 bus error (no remote units on the bus)
17: NCB/NCBR bus amplifier error
200: The set cycle time (KD 00,00) is too short, causing CPU overload
FK4 Common Error Identification (MW 255,08):
1: Internal error in remote unit
2: Input/output disconnection
4: Overload
8: Short circuit
Steps to eliminate errors:
Eliminate physical faults (repair broken wires, eliminate overload).
Use the CS31QU function block (in the user program) or MAIL command (terminal mode) to confirm the error.
Set the error flag (M 255,13 or M 255,14) to 0 in the program or perform a cold/hot start.
7.3 Status Word EW 07,15
EW 07, 15 is a comprehensive status word, meaning:
Bit 0:=1 indicates no FK2 type errors
Bit 1:=1 indicates (as a slave) that it has been included in the bus cycle by the master station
Bit 2:=1 indicates that the real-time clock is valid
Bit 3:=1 indicates that the battery is valid (voltage is normal)
Bit 8~15: The maximum number of remote units that have appeared on the bus since the last power on or cold start

Common faults and solutions
8.1 Communication Failure
Phenomenon: The BE (Bus Error) and RE (Remote Unit Error) LEDs on the central unit light up.
Possible reasons and solutions:
Bus disconnection or short circuit: Check the bus cable and measure whether there is a 120 Ω terminal resistance between BUS1 and BUS2.
A remote unit loses power or is damaged: Check the power LED of the unit. If the unit is normal but there is no communication, try unplugging the module again.
Address conflict: If two units are set to the same address, the main station will consider them as disconnected after detecting a signal conflict. Check the DIP switch settings on all ECZ bases.
The initialization time of the simulation unit is too long: The simulation unit takes a long time to initialize after being powered on. If the main station polls during this period, it will report a "no remote unit" error (FK3 code 16). The system constant KW 00,09 can be set to allow the master station to wait for a sufficient number of slave stations to go online before starting the user program.
8.2 Short circuit or overload of output unit
Phenomenon: The red LED K of 07 KT 92/93 lights up, and the corresponding output channel automatically shuts off.
Solution: Check if the output load exceeds the rated value (transistor output 0.5A or 2A, depending on the model). Whether the output automatically recovers after the short circuit is eliminated depends on the setting of the system constant KW 00,08. Default (KW 00,08=0) is automatic recovery; If set to 1, manual confirmation is required through the program or TEST button.