Tecomat TC600 Series Manual Download Page 96

Tecomat TC600

TXV 138 08.02

96

Allowed voltage tolerance for closing of fast inputs (DI0 to DI3 of mod-

ules TC603 to TC607) is

17,5 V~

  

to 30 V~

 

or 18,5 V- to 30 V-. Allowed volt-

age tolerance for opening of the input is

0 V~

 

to 13,5 V~

  

or 0 V- to 14 V-.

13.5   Checking of Voltage of Binary Transistor Outputs

Voltage of binary transistor outputs is measured between connectors

UDO and GND of the relevant group of outputs. Allowed voltage range is
9.6 V- to 28.8 V-.

13.6   Battery Exchange

Exchanging of the battery (Panasonic CR2032 or a similar lithium battery

of 3 V, 210 mAh, 

20 mm) can be performed without losing of the user pro-

gram and set parameters in the following way:

turn off the PLC and inputs and outputs power supply

remove the BM cover

disconnect jumper V1 (next to the battery)

take out the battery (on the upper edge of the CPU board)

insert a new battery

connect jumper V1

screw on the BM cover
When the battery is disconnected (jumper V1 is disconnected), memory

of the user program and the RTC circuit are supplied for the period of about
5 minutes from the backing condenser.

Metal instruments which could short-circuit the battery (for
example the tweezers, flat pincers etc.) must not be used
to insert the new battery. Pay attention to correct polarity.

The recommended interval of the battery exchange is 5 years. For the

way of indication of lower battery voltage see Article 4.2.

13.7   Fuse Exchange

The internal fuse of the voltage converter can be exchanged without

demounting of the BM cover through a cut-out on the bottom side of the
cover. Non-breaking of the fuse is signalled by the lighted green LED diode
placed behind the fuse when the regulator power supply is on. Type and
value of the fuse are given on the label close to the fuse. Exchange of the
fuse is done with the PLC power supply turned off.

13.8   Cleaning

To clean the PLC, no solvents, diluents, alcohols or similar substances

may be used. To clean the surface covered by labels, it is possible to use
fabric imbued with some diluted detergent cleaning means. Cleaning of
dusty units is performed by a stream of air.

14.  The Guarantee

Guarantee and reclamation conditions follow the 

Commercial Conditions

of Teco a.s..

Summary of Contents for TC600 Series

Page 1: ...25 TC626 Modules 24 5 1 5 Analog Inputs of the TC634 Module 25 5 2 Special Functions 29 5 2 1 Interrupt Inputs 29 5 2 2 Counter of Type 3 29 5 2 3 Admeasurement of Position by the Incremental Encoder 30 5 2 4 Measurement of the Signals Period and Phase Shift 31 6 Packaging 32 7 Transport 32 8 Storage 32 9 Installation 32 9 1 Principles of Proper Installation 32 9 2 Ensuring of the Required Operati...

Page 2: ...ervicing of the Type 3 Counter 76 10 5 10 Incremental Encoder Servicing 79 10 5 11 Measurement of the Signal Period and Phase Shift 81 10 5 12 Physical Addresses of Inputs and Outputs 84 10 6 Testing of Input and Output Signals 84 10 7 Instruction Set 85 11 Diagnostics and Removal of Faults 86 11 1 Conditions for Proper Function of the Diagnostics 86 11 2 Indication of Errors 86 11 3 Serious Error...

Page 3: ... programmable logic controllers TXV 001 06 02 With regard to high inheritance of properties of individual types of this series majority of data is given together for the whole series Parameters are given individually in the case that parameters of a series type differ 1 Abbreviations and Terms PLC Programmable Logic Controller CPU PLC Central Processor Unit CH1 CH2 CH3 PLC Serial Channels RTC circ...

Page 4: ...y are usually used for defi nition of subsystems decoders combination sequential time or numeric subsystems Configuration Constants K Data set of data in the user program memory designed for setting of the system configuration and modification of the system activity Not available to the user program are edited from within the development environment If not edited the system shows standard behaviou...

Page 5: ... Two serial communication channels fitted in a standard manner with op tional interfaces and possibility of addition of a third communication channel allow for simultaneous local connection of intelligent peripheries equipped with a serial communication channel readers of the bar code printers fre quency converters etc connection of the operation board and connection to a computer with the develop...

Page 6: ...er number Note MR 02 5XK 068 91 Interface RS 232 without galvanic separation from internal control circuits MR 04 5XK 068 93 Interface RS 485 without galvanic separation from internal control circuits MR 09 TXK 085 03 Interface RS 485 with galvanic separation from internal control circuits MR 17 TXK 085 11 Interface RS 422 without galvanic separation from internal control circuits IM 70 TXK 080 10...

Page 7: ...1 8 8 TC632 TXN 061 82 8 8 TC633 TXN 061 83 16 TC634 TXN 061 84 8 2 6 Design Modules of PLC s of the TC600 series are designed as devices to be EN 50022 idt EN 50022 1977 Metal jacket of the modules and mechanical arrange ment guarantees higher resistance against interferences BM electronic circuits are realized on two printed wiring boards the cen tral unit and input and output unit EM s are fitt...

Page 8: ...8 10 Arrangement no of groups x no of outputs 1x4 2x4 2x1 2x4 2x4 2x1 Analog inputs Total number of inputs 4 4 Arrangement no of groups x no of inputs 1x4 1x4 TC601 to TC606 Analog outputs Total number of outputs 4 or 8 optional Arrangement no of group x no of outputs 1x4 or 1x8 TC631 TC632 TC633 TC634 Binary inputs Total number of inputs 8 8 16 Arrangement no of groups x no of inputs 2x4 2x4 4x4 ...

Page 9: ...ty against disturbances idt EN 61131 2 1992 IEC 1131 2 1992 tab 16 Emitted disturbance levels for group 1 class A mod CISPR 11 1997 Vibrations Fc 10 Hz to 150 Hz 0 15 mm 10 cycles idt EN 60068 2 6 1995 IEC 68 2 6 1995 Corr 1995 Operating position vertical Type of operation permanent 3 3 Basic Parameters BM EM EM 2 Type of appliance to be built in Class of el object mod IEC 536 1 1976 IEC 536 2 199...

Page 10: ... possibility of cascading Instruction set extended Instruction length 1 to 6 bytes Number of serial communication chan nels 2 1 optional Transmission speed of CH1 CH2 CH3 0 3 to 230 4 kBd 1 Number of analog outputs optionally 0 4 or 8 1 Maximum transmission speed is limited by the maximum allowed trans mission speed of the set communication channel mode 4 2 User Accessible Memories Memory of the u...

Page 11: ...zone for instructions READDBX and WRITEDBX and way of calling of in structions in the user program are given on the distribution diskette xPRO which forms a part of the PLC delivery For serial communication with the DataBox either CH1 can be used which always operates in the PC mode or channels CH2 CH3 set in the PC mode To support serial communication with the DataBox the COMPLC EXE program is av...

Page 12: ... Number of outputs depends on the type of the chosen piggyback see Article 2 5 OT 13 OT 14 Number of output channels 4 8 Arrangement of outputs 1x4 1x8 Common group conductor minus Galvanic separation from internal control circuits no Type of output voltage Voltage range resolution 1 LSB 1 0 to 9 96 V 39 mV Error of output voltage typ 1 LSB max 4 LSB Binary output representation 8 bits Output curr...

Page 13: ...han nel connection distance transmission speed and level of disturbances 4 4 1 1 Interface RS 232 Interface RS 232 ensures conversion of output signals of TTL level to level defined by the specification V 28 EIA RS 232 and of input signals according to V 28 to the TTL level It allows for connection of two end de vices in the duplex mode It is suitable for connection realised in short dis tance in ...

Page 14: ...ter activation Transmission speed max 230 4 kBd 1 Cable length max 1200 m 2 Sensitivity of differential inputs RxD RxD 200 mV Input resistance of differential inputs RxD RxD min 12 k Voltage of differential inputs RxD RxD for level 1 min 0 2 V max 12 V Voltage of differential inputs RxD RxD for level 0 min 0 2 V max 7 V Voltage of differential outputs TxD TxD for level 1 min 1 5 V Rl 75 max 5 V Io...

Page 15: ...e Transmission speed max 230 4 kBd 1 Cable length max 1200 m 2 Sensitivity of the differential input RxD RxD 200 mV Input resistance of the differential input RxD RxD min 12 k Voltage of the differential input RxD RxD for level 1 min 0 2 V max 12 V Voltage of the differential input RxD RxD for level 0 min 0 2 V max 7 V Voltage of the differential output TxD TxD for level 1 max 5 V Io 0 2 3 V Rl 10...

Page 16: ...Communication Channel 3 CH3 CH3 is an optional part of the PLC It can be complemented only in types without analog outputs It serves especially for connection of intelligent pe ripheries with a serial input or output of data or connection of an external control board mutual interconnection of PLC s or connection of a PLC to a superior system It can operate in several modes Mode PC connection of a ...

Page 17: ...T and MODE We again hold the buttons SET and MODE pressed until the triple dash appears on the display State of parameters is saved upon termination of the mode in the power independent memory of parameters and the PLC switches to the HALT mode or some of error mes sages may possibly be signalled Tab 4 1 Adjustable CPU parameters ordered from the left to the right and in the rows Object to be set ...

Page 18: ...he SET button for about 1s we increase its value by 10 By pressing the MODE button we save the set value and move to setting of another parameter Address is set only for modes PC and PLC In the uni mode setting of the address is a part of the initialisation table in the user program When setting the parameter serial channel communication speed a message of the following type is shown on the displa...

Page 19: ... superior system gains time for preparation necessary to start receiving of a reply The delay time is set in ms and may take values from 0 to 99 ms Value 0 means that the minimum reply delay shall correspond with the time neces sary to transmit 1 byte thus it depends on the set speed Values 1 to 99 give the delay in milliseconds and are not dependent on the communication speed The reply delay is s...

Page 20: ... using the initialisation ta ble in the user program Parameters of CH1 are implicitly set by the producer to the following values mode PC address 0 speed 19 2 kb s delay 0 CTS detection off CH2 and CH3 are implicitly off 4 5 2 Management of the user program source memory When setting parameters of the source memory a message of the fol lowing type is shown on the display with the following meaning...

Page 21: ...nnected in one or the other polarity Inputs DI1 to DI3 of modules TC603 to TC607 can be used for basic function identical with other inputs or for realization of the PLC special func tions TC601 TC621 TC602 TC622 TC603 TC623 TC604 TC624 TC605 TC625 TC606 TC626 TC607 Total number of inputs 12 20 12 16 12 16 20 Arrangement no of groups x no of inputs 1x8 1x4 2x8 1x4 1x8 1x4 2x8 1x8 1x4 2x8 2x8 1x4 T...

Page 22: ...r of outputs 8 16 4 4 20 Arrangement no of groups x no of outputs 1x8 2x8 1x4 1x4 2x8 1x4 TC631 TC632 TC633 TC634 Total number of outputs 8 Arrangement no of groups x no of outputs 1x8 Group common conductor plus Galvanic separation from other electric circuits yes Operational voltage of out puts 9 6 V to 28 8 V Current of outputs max 1 A Current of the common conductor max 6 A max 4 A 6 A 4 A Res...

Page 23: ...t no of groups x no of outputs 1x4 2x4 2x1 2x4 2x4 2x1 TC631 TC632 TC633 TC634 8 2x4 Galvanic separation from other electric circuits yes Contact parameters Closed voltage max 250 V Closed current max 1 A Closed alternating output max 250 VA Closed direct current output max 24 W for voltage 24 V max 43 W for voltage 48 V max 57 W for voltage 250 V Current through the group common conductor max 4 A...

Page 24: ...m value of the input data 4095 corresponds with the up per limit of the measurement range Exceeding of the converter range is not signalled Conversion to technical units is performed on the user program level The FS format provides the highest possible resolution TC601 to TC604 TC621 to TC624 TC605 TC606 TC625 TC626 Number of input channels 4 Arrangement no of groups x no of inputs 1x4 Group commo...

Page 25: ... binary value and conversion of the value into the chosen format Number of input channels 8 Arrangement of inputs 8 differential Method of A D conversion sigma delta modulation Input filtration digital filter 50 Hz Calibration automatic at the PLC initialization and at every change of the measure ment range Conversion time of one channel 60 ms Reconfiguration time of one channel 1 180 ms Total mea...

Page 26: ... Measurement range can be selected by a program 0 V to 10 V 0 V to 2 V Resolution see table 5 2b Format of input data see table 5 1b Total measurement range see table 5 3b Temperature drift see table 5 3b Input resistance 10 M Resistance of the signal source max 10 k Input voltage 1 max 12 V 1 Greatest difference of voltage measured among all input clips of the mo dule may not exceed this value Va...

Page 27: ...2000 0 to 630 0 to 65535 0 to 6300 0 to 10000 0 to 2520 0 to 65535 0 to 25200 0 to 10000 1 At conversion to the format of C tenths correction of non linearity of idt EN 60751 1995 2 For the marked format value 7FFF signals interruption of the scanner value 7FFF 8001 signals short circuit of the scanner 3 For the marked format exceeding of the upper limit of the range is sig nalled by value 7FFF Ta...

Page 28: ...0 30518 A 1 A LSB 0 01 LSB 4 to 20 mA 0 24414 A 1 A LSB 0 01 LSB 0 to 10 V 0 15259 mV 1 mV LSB 0 01 LSB 0 to 2 V 0 030518 mV 0 1 mV LSB 0 01 LSB Tab 5 3a Accuracy of measurement of inputs for TC634 resistance tem perature scanners Scanner type Maximum error 25 C Temperature drift 0 to 50 C Pt100 W100 1 385 0 5 C 0 011 C C Pt100 W100 1 391 0 5 C 0 011 C C Ni1000 W100 1 617 0 4 C 0 009 C C Ni1000 W1...

Page 29: ... to DI3 described under item 5 1 1 TC601 TC602 TC603 to TC607 Number of interrupt inputs 4 Voltage for log 0 opening of the circuit max 14V 13 5V Voltage for log 1 closing of the circuit min 18 5 V 17 5 V max 30 V 30 V Delay from log 0 to log 1 max 5 s Delay from log 1 to log 0 max 5 s Width of the input pulse min 30 s Interrupt period see item 10 5 8 Response time of the PLC see item 10 5 8 For o...

Page 30: ...eaching of a pre selection overflow or underflow of the range relevant bits are set in the STAT state word and the interrup tion process P44 is evoked Control of admeasurement is performed through the CONT state word To connect the encoder binary inputs DI0 direct output of trace 1 of in cremental encoder DI1 direct output of trace 2 of incremental encoder and DI3 direct output of the zero pulse o...

Page 31: ...in values in time units Time of the cycle of the internal clock signal is 30 5175 µs Use of binary inputs for measurement of the period or phase shift does not disturb neither limit their basic function described in Article 5 1 1 TC601 TC602 TC603 to TC607 Possibility of function comple mentation yes Nominal voltage 24 V Voltage for log 0 opening of the circuit max 14 V Voltage for log 1 closing o...

Page 32: ... C 9 Installation 9 1 Principles of Proper Installation Tecomat PLC s of the TC600 series are built in devices designed for being mounted in closed cases From the viewpoint of correct function of the system it is necessary to choose the size and design of the case so that by the construction arrangement it is possible to limit as much as possible the effect of especially power parts of the device ...

Page 33: ... Operational Temperature In cases without forced inside air circulation the PLC must be placed in such a way so that the distance between the bottom and top side of the PLC and inside sides of the case is at least 100 mm If this cannot be ensured by good unprompted air circulation it is necessary to ensure air circulation by building in a ventilator The maximum allowed air temperature entering the...

Page 34: ...7 Outside proportions of the PLC BM EM and EM 2 are apparent from Figs 9 1 9 2 and 9 3 Fig 9 1 Mechanic proportions of PLC BM of the TC600 series Fig 9 2 Mechanic proportions of PLC EM of the TC600 series Fig 9 3 Mechanic proportions of PLC EM 2 of the TC600 series ...

Page 35: ...connected into a socket plug on the right side of the BM EM 2 After connecting the cable modules on the bar are moved to their close proximity Possible ways of extension are given in Figs 9 4 to 9 7 Fig 9 4 BM extension by one EM Fig 9 5 BM extension by one EM 2 Fig 9 6 BM extension by two EM 2 Fig 9 7 BM extension by one EM 2 and one EM 1 Basic module BM 2 Extension module EM 3 Half extension mod...

Page 36: ...3 4 terminal board K of optional CH1 interface 5 socket L of CH1 interface RS 232 6 terminal board N of optional CH2 interface 7 terminal board M of the PLC power supply 8 socket plug R for connection of the EM 9 connector for connection of the protective conductor 10 fuse of the power supply converter 11 socket for connection to the BM Fig 9 8 Arrangement of Connecting Terminal Boards of TC601 BM...

Page 37: ...ard K of optional CH1 interface 5 socket L of CH1 interface RS 232 6 terminal board N of optional CH2 interface 7 terminal board M of the PLC power supply 8 socket plug R for connection of the EM 9 connector for connection of the protective conductor 10 fuse of the power supply converter 11 socket for connection to the BM Fig 9 9 Arrangement of Connecting Terminal Boards of TC602 BM above and TC62...

Page 38: ...minal board K of optional CH1 interface 6 socket L of CH1 interface RS 232 7 terminal board N of optional CH2 interface 8 terminal board M of the PLC power supply 9 socket plug R for connection of the EM 10 connector for connection of the protective conductor 11 fuse of the power supply converter 12 socket for connection to the BM Fig 9 10 Arrangement of Connection Terminal Boards of TC603 BM abov...

Page 39: ...d K of optional CH1 interface 5 socket L of CH1 interface RS 232 6 terminal board N of optional CH2 interface 7 terminal board M of the PLC power supply 8 socket plug R for connection of the EM 9 connector for connection of the protective conductor 10 fuse of the power supply converter 11 socket for connection to the BM Fig 9 11 Arrangement of Connection Terminal Boards of TC604 BM above and TC624...

Page 40: ...l board K of optional CH1 interface 6 socket L of CH1 interface RS 232 7 terminal board N of optional CH2 interface 8 terminal board M of the PLC power supply 9 socket plug R for connection of the EM 10 connector for connection of the protective conductor 11 fuse of the power supply converter 12 socket for connection to the BM Fig 9 12 Arrangement of Connection Terminal Boards of TC605 BM above an...

Page 41: ...nal analog outputs of CH3 6 terminal board K of optional CH1 interface 7 socket L of CH1 interface RS 232 8 terminal board N of optional CH2 interface 9 terminal board M of the PLC power supply 10 terminal board R for connection of the EM 11 connector for connection of the protective conductor 12 fuse of the power supply converter 13 socket for connection to the BM Fig 9 13 Arrangement of Connecti...

Page 42: ... or CH3 4 terminal board K of optional CH1 interface 5 socket L of CH1 interface RS 232 6 terminal board N of optional CH2 interface 7 terminal board M of the PLC power supply 8 socket plug R for connection of the EM 9 connector for connection of the protective conductor 10 fuse of the power supply converter Fig 9 14 Arrangement of Connection Terminal Boards of TC607 BM ...

Page 43: ... or EM 2 5 connector for connection of the protective conductor Fig 9 15 Arrangement of Connection Terminal Boards of TC631 EM 2 1 terminal boards A B of binary inputs 2 terminal board C of binary relay outputs 3 socket for connection to the BM 4 socket plug for connection of the EM or EM 2 5 connector for connection of the protective conductor Fig 9 16 Arrangement of Connection Terminal Boards of...

Page 44: ...f the protective conductor Fig 9 17 Arrangement of Connection Terminal Boards of TC633 EM 2 1 terminal board A of analog inputs AI0 to AI3 2 terminal board B of analog inputs AI4 to AI7 3 socket for connection to the BM 4 socket plug for connection of the EM or EM 2 5 connector for connection of the protective conductor Fig 9 18 Arrangement of Connection Terminal Boards of TC634 EM ...

Page 45: ...s of the SELV supply according to 01 Between the primary and secondary winding of the transformer a Cu shielding foil must be wound up connected with the inside protective termi nal board of the case or the winding must be arranged spatially in such a way so that the mutual capacity between the windings is minimized It is suitable to insert switches into the supply lead which make work on program ...

Page 46: ...9 17 scheme of con nection of switches and the power supply to one group of inputs of TC601 to TC607 TC621 to TC626 is indicated Fig 9 17 Example of connection of switches to binary inputs of the PLC of the TC600 series Supply voltage of a group of switches may be connected in arbitrary po larity within the group individual inputs must be poled identically For fitting and marking of terminal board...

Page 47: ...heme of connec tion of loads and the power supply to one of the groups of outputs of TC601 TC621 TC602 TC622 is indicated Transistor outputs of other types of the series are connected in the similar way as well Fig 9 18 Example of connection of loads to binary transistor outputs of the PLC of the TC600 series For fitting and marking of terminal boards of binary transistor outputs of individual PLC...

Page 48: ...on of loads to relay contacts led out to the terminal board in the group and of in dependently led out contact of TC604 TC624 TC606 TC626 Relay out puts of other types of the series are connected similarly Fig 9 19 Example of connection of loads to binary relay outputs of the PLC of TC600 series For fitting and marking of terminal boards of binary relay outputs of indi vidual PLC types see Article...

Page 49: ...e required input type is shown on the label close to the jumpers Connector C6 connected with the controller cover is intended for con nection of the shielding of lead in conductors If the shielding is connected with the device frame in another place for example to the input terminal board of the distribution board it is no more connected with the C6 connector Examples of the installation realizati...

Page 50: ... individually by the jumper for the direct current voltage or current signal supply Jumpers are placed above corresponding couples of input connectors and are accessible through openings in the controller cover Disconnected jumper corresponds with the voltage input connected jumper corresponds with the current input For passive resistance temperature scanners voltage input type is set the jumper i...

Page 51: ...4 P6 P8 P9 P10 AGND common analog ground In Fig 9 23 scheme of connection of loads to the OT 13 piggyback analog outputs is indicated Fig 9 23 Connection of loads to the OT 13 piggyback analog outputs Connector Signal Note P1 AO0 analog output 0 P2 AO4 analog output 4 P3 AO1 analog output 1 P4 AO5 analog output 5 P5 AO2 analog output 2 P6 AO6 analog output 6 P7 AO3 analog output 3 P8 AO7 analog ou...

Page 52: ...g circuits of the interface are led out to the 9 pole socket Dsub CONNECTOR L marked as SERIAL CHANNEL 1 RS 232 The connection is realized by the cable TXK 646 51 06 ended on the PC side by the 9 pole Dsub socket If the optional CH1 interface is fitted by connecting the cable TXK 646 51 06 signals of CH1 will be disconnected automatically from the optional interface Lead out Signal Signal type Use...

Page 53: ...t Marginal network equipment Fig 9 25 Interconnection of two CH1 interfaces RS 485 of the PLC of TC600 series Binding circuits of the interface are led out to connectors K1 to K6 of the terminal board marked as SERIAL CHANNEL 1 Connector Signal Signal type Use K1 frame connection of the shielding K2 TxD output data signal K3 TxD output data signal K4 RxD input data signal K5 RxD input data signal ...

Page 54: ...TS output controlling signal 1 N4 TxD output data signal N5 RxD input data signal N6 GND signal ground 1 Use of the signal is described in the handbook Serial Communication of Tecomat Programmable Logic Controllers TXV 001 06 02 Still level of the signal corresponds with the value of logical 1 In Fig 9 27 five conductor interconnection with the possibility of CTS signal detection is shown Interfac...

Page 55: ...D input output data signal N3 N5 RxD TxD input output data signal N6 GND signal ground Interconnection is realized in the way described under item 9 5 9 Binding circuits of the interface are led out to connectors N1 to N6 of the terminal board marked as SERIAL CHANNEL 2 Connector Signal Signal type Use N1 frame connection of the shielding N2 TxD output data signal N3 TxD output data signal N4 RxD ...

Page 56: ...ed as OPTIONAL I O Connector Signal Signal type Use P6 P8 RxD TxD input output data signal P7 P9 RxD TxD input output data signal P10 GND signal ground Interconnection is realized in the way described under item 9 5 9 9 5 12 Connection of Interrupt Inputs Interrupt inputs are connected identically as common binary inputs see item 9 5 3 9 5 13 Connection of the Type 3 Counter Source of counted even...

Page 57: ...ig 9 30 signal 1 direct output of trace 1 signal 2 direct output of trace 2 signal 3 direct output of the zero pulse Fig 9 30 Connection of the incremental encoder with outputs with the open PNP collector on the left and NPN collector on the right to the PLC of TC600 series 9 5 15 Connection of Inputs for Measurement of the Period and Phase Shift Measurement inputs are connected identically as com...

Page 58: ... following procedure check correctness of the connection and voltage value of the PLC power supply check interconnection of the PLC protective connectors with the main protective connector of the distribution board or case check correctness of the connection and voltage value of the power sup ply of input and output circuits turn on the PLC power supply 10 3 PLC Initialization After the power supp...

Page 59: ...ontrol of activation of the source user program En trance in the mode is controlled by the attendance persons at turning on of the PLC power supply In the course of the mode binary outputs are blocked in the still state and analog outputs are set to zero After termina tion of the SET mode the PLC transfers automatically to the HALT mode Detailed description of setting of the PLC parameters is give...

Page 60: ...restart is always performed with full memory initialization During restart the following is performed test of integrity of the user program resetting of the whole PLC scratchpad resetting of the remanent zone only at cold restart setting of the remanent zone only warm restart initialization of system registers S initialization and checking of PLC inputs and outputs When the user program is run wit...

Page 61: ...of the technology operation with exclusion of the possibility of in terventions in the PLC user program The xPRO development environment has the following properties integrated environment Turbo Vision including the editor possibility to work with several files at the same time every one of them having its own window compiler into the machine code of processors of all series symbolic names of labe...

Page 62: ... cycle time If the cycle of processing of the user program lasts longer than the maximum allowed cycle time PLC announces critical error of exceeding the cycle time blocks the outputs and interrupts cycling running of the user program This constant defines the longest possible time during which the controlled object may remain without an action intervention The default set value is 250 ms the reco...

Page 63: ...tputs and analog inputs of the first EM 2 always 2 for binary inputs and outputs and analog inputs of the second EM 2 always 2 for EM binary inputs and outputs and analog inputs always 2 for the CH2 serial channel always 3 for the CH3 serial channel TYP type of inputs or outputs 10 serial channel CH2 or CH3 Parameters MODUL ADR TYP of serial channel 2 3 can be entered together in the symbolic way ...

Page 64: ...f the input and output unit These servicing algorithms are realized by the system thus servicing by the user program remains simple The xPRO program contains the function for automatic generation of sw configuration according to the connected PLC type and its further editing This enables the user to have the sw configuration created exactly accord ing the real technical equipment or create a basis...

Page 65: ...inary inputs are assigned to the scratchpad memory together with binary outputs TC631 TC632 or individually TC633 by the directive unit with general structure according to 10 5 2 unit 0 ADR Digit_63x 1 1 Xn Yn On binary inputs and transistor outputs unit 0 ADR Digit_63x 1 1 Xn Yn On binary inputs and relay outputs unit 0 ADR Digit_633 2 0 Xn 0 On binary inputs The module address parameter ADR depe...

Page 66: ...cle loop according to the state of the outputs image with the initial address defined by the parameter Z_OUT of directive unit Zone of binary outputs in the scratchpad has the following structure bit 7 6 5 4 3 2 1 0 DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0 Z_OUT DO15 DO14 DO13 DO12 DO11 DO10 DO9 DO8 Z_OUT 1 DO19 DO18 DO17 DO16 Z_OUT 2 Besides the way of outputs control given above binary outputs are ac ces...

Page 67: ...directive unit Zone of analog inputs in the scratchpad has the following structure AI0 7 6 5 4 3 2 1 0 Z_IN 11 10 9 8 Z_IN 1 AI1 7 6 5 4 3 2 1 0 Z_IN 2 11 10 9 8 Z_IN 3 AI3 7 6 5 4 3 2 1 0 Z_IN 6 11 10 9 8 Z_IN 7 Besides the way of control given above analog inputs are accessible by direct reading of instructions LD with the operand U and physical input ad dress For structure of the physical addre...

Page 68: ... TC634 analog inputs is set in the initialization table with the name defined by the parameter INITAB of directive unit The table contains 8 items of the type word with the following meaning table word Ini634 CONT 0 setting of input AI0 CONT 1 setting of input AI1 CONT 2 setting of input AI2 CONT 3 setting of input AI3 CONT 4 setting of input AI4 CONT 5 setting of input AI5 CONT 6 setting of input...

Page 69: ...65535 8132 0 to 25200 0 1 8232 0 to 10000 8040 Current 0 to 20 mA 0 to 65535 8140 0 to 20000 A 8240 0 to 10000 8042 4 to 20 mA 0 to 65535 8142 40000 to 20000 A 8242 0 to 10000 8080 Voltage 0 to 10 V 0 to 65535 8180 0 to 10000 1 mV 8280 0 to 10000 8082 0 to 2 V 0 to 65535 8182 0 to 20000 0 1 mV 8282 0 to 10000 1 For details see item 5 1 5 The following example gives declaration of the TC634 module ...

Page 70: ...ding to the binary representation of levels written in images of outputs is done in the cycle loop Initial address of the zone in the scratchpad is defined by the pa rameter Z_OUT of directive unit Zone of images of analog outputs in the scratchpad has the following structure AO0 7 6 5 4 3 2 1 0 Z_0UT AO1 7 6 5 4 3 2 1 0 Z_OUT 1 AO7 7 6 5 4 3 2 1 0 Z_OUT 7 Besides the way of outputs control given ...

Page 71: ...ng edge of input2 no without IRQ from input 3 unit 0 0 IntIn_600_ Xn Yn On IniIRQ Parameter TYP POC_IN POC_OUT of the directive unit is input sym bolically as IntIn_600_ or numerically 20 1 1 Placement of the state and control word parameters Xn Yn depends on the BM type on occupa tion of the scratchpad by images of inputs and outputs Interrupt inputs occupy 1 byte in the scratchpad in the image o...

Page 72: ...ocess Most significant part of tVP is formed by the time necessary to the possible finishing of the cycle loop max 4 ms and time neces sary to finish user program instructions being processed at the moment In the case of some special instructions for example PID or user instructions for example TER_ID05 time for the in struction execution may reach up to 10 ms max 10 ms if servicing according to F...

Page 73: ...H t IL t VP t P42 t OH t OL It is apparent from the times definition that the user may affect the pro grammable controller response by the program structure and by selection of the output switch type For example if the user instruction is placed as the first or last instruction in the P0 process in time t VP the sum of times t OC a t USI may be applied Exceeding of the allowed time of the interrup...

Page 74: ...me of the programmable controller to change of the signal at the interrupt input at processing of the response in the P42 process and writing to the scratchpad Time diagram in Fig 10 3 illustrates prolongation of the response time of the programmable controller to change of the signal when standard binary inputs are used interrupt inputs in the basic mode Response time of the programmable controll...

Page 75: ...input DI3 Fig 10 4 Relation among the interrupt period number of allowed interrupts and response time of the program to individual interrupts To service concurrence of IRQ s from several asynchronous signals the PLC is equipped with the IRQ buffer register If the requirement of the minimum interrupt period is not met the stack may overflow and the IRQ may be lost This state is signalled by the err...

Page 76: ... 2 STAT 1 STAT 0 Z_IN Less significant byte of the counter value Z_IN 1 More significant byte of the counter value Z_IN 2 STAT 0 1 reaching of the maximum counter range 65535 in this cycle STAT 1 1 reaching of the pre selection in this cycle STAT 2 1 reaching of the maximum counter range The bit is set to zero by the zero level of the RESET signal or from the ascending edge of bit CONT 4 STAT 3 1 ...

Page 77: ...t time of the interrupt process must not exceed 5 ms It is also necessary to keep in mind that evoking of interrupt processes causes prolongation of the program cycle time which may even lead to exceeding of the maximum allowed cycle time Reading of the state word counter value and writing of the control word and counter pre selection can be performed by reading from and writing to the counter phy...

Page 78: ...Tecomat TC600 TXV 138 08 02 78 counter Fig 10 6 Time diagram of the freely running counter counter Fig 10 7 Time diagram of the self filling counter with pre selection Time diagrams of the counter modes ...

Page 79: ...t range in this cy cle values 7FFF FFFFh STAT 1 1 underflow of the minimum admeasurement range in this cy cle values 8000 0000h STAT 2 1 reaching of pre selection for the ascending direction in this cycle STAT 3 1 reaching of pre selection for the descending direction in this cycle STAT 4 immediate movement direction 0 ascending from lower values to the higher ones 1 descending from higher values ...

Page 80: ...he request causes setting to zero of the admeasured value and the STAT 5 bit CONT 1 admeasurement reset Change of state of the bit from 0 to 1 evokes setting to zero of the admeasured value During state 1 admeasurement is not reset CONT 6 allowing of interrupt from overflow or underflow of the ad measurement range 0 interrupt prohibited 1 interrupt allowed CONT 7 allowing of interrupt from reachin...

Page 81: ...ically 50 2 0 Placement of the function output parameter Xn depends on the pro grammable controller type occupation of the scratchpad by images of in puts and outputs Both measurement modes occupy in the image of inputs of the PLC scratchpad memory 2 bytes at address defined by the parameter Xn of di rective unit A content of the image is updated in the user program cycle loop In measurement of th...

Page 82: ...n connected in put For conversion of the number of cycles of the internal clock signal to the time information the following relationship holds T µs n x 30 5175 T signal period time at input DI0 of BM n contents of two bytes of the scratchpad determined by the parame ter Xn of directive unit In the case of measurement of a sine alternating signal period doubling of frequency occurs at the input ci...

Page 83: ...wo bytes of the scratchpad determined by the parame ter Xn of directive unit In the case of measurement of phase shift of alternating signals it is necessary to rectify the signals in single wave program phase unit 0 0 Digit_600 2 2 X0 Y0 On binary inputs unit 0 0 Period_600 X2 X_On phase meter def Time XW2 signal phase shift in clock cycles def cons1 30 5175 const of conversion cycles µs reg floa...

Page 84: ...scratchpad by the user program otherwise in the cycle loop the outputs will be set according to the original value in the image of outputs Another possibility is to turn off servicing of PLC outputs in the software configuration in the compiler at compilation of the user program item of the directive unit and service the outputs exclusively by direct writing using the U operand and the physical ad...

Page 85: ... step controllers rec ords of events and various stack structures instructions of the sequence controller instructions realizing the set of logical operations including counting of ones bits in the operand of the word type In this way it is possible to easily realize the majority and general threshold functions parity func tions MOD 2 and arbitrary symmetric functions 8 user stacks and instruction...

Page 86: ...initialization If an error of the EPROM or RAM system memory is found the diagnostic system cannot continue in its operation This state is signalled by lighting the letter E or t on the display 11 2 Indication of Errors The central unit is equipped with the main error stack which contains 8 last error codes announced by the diagnostics of the whole PLC and a local stack containing 8 last error cod...

Page 87: ...emory 80 03 00 00 wrong ensuring character CRC of the whole program in the EEPROM source memory 80 04 00 00 user program is not in the EEPROM source memory Fault in the EEPROM source memory has occurred the user program is designed for another series of central units or it has not been recorded in the EEPROM at all It is nec essary to load a new user program in EEPROM or discon nect the EEPROM mem...

Page 88: ...verflow of the stack of return addresses The maximum number of nested subprograms has been ex ceeded Nesting means calling of another subprogram from within the subprogram being already executed 80 11 PC PC underflow of the stack of return addresses Return instruction from a subprogram RET RED REC was not preceded by calling of the subprogram CAL CAD CAC CAI 80 12 PC PC non zero stack of return ad...

Page 89: ...orrected and the corrected program must be loaded in the PLC again 81 00 31 AJ 31 AJ initialization table is missing Initialization table is missing in the user program which is necessary for servicing of some types of the PLC inputs and outputs for example analog inputs special functions etc This table must be added to the user program and the cor rected program must be loaded in the PLC again 81...

Page 90: ...LC outputs stopped to report themselves The likely cause is a fault at the address decoder of the input and output unit or the connection with the CPU is faulty 81 00 43 AJ 43 AJ use of non existent inputs or outputs Servicing of non existent inputs or outputs has been run The most likely cause lies in co operation of the superior PC s programming software and the PLC central unit 81 00 61 00 61 0...

Page 91: ... cause loss of the message and the consequence of their more frequent occurrence is even disconnection of the communication Error 10 05 or some of errors of group 11 may arise on the one time basis at establishment of communication with the superior system in the middle of a message being transmit ted by this system If such errors no more occur in the course of further communication everything is ...

Page 92: ...00 source block of data defined outside of the range Source block of data for the move instruction has been de fined outside the range of the scratchpad data or table In struction will not be executed 15 00 00 00 target block of data defined outside of the range Target block of data for the move instruction has been de fined outside the range of the scratchpad or table Instruc tion will not be exe...

Page 93: ...ion of the power supply and state of signals No Consider all following possibilities Yes no signal diode is lighted Power supply of the converter is not on or the converter is dam aged Yes only POWER is lighted Error in the PLC or in the cable between the PC and the converter Continue at item 14 Yes during the data transmission only TxD blinks RTS is lighted either permanently or is not lighted at...

Page 94: ...ication falls out often The problem occurs in programs operating in protected mode or under operation system with graphical interface Windows In the xPRO program which operates in the protected mode from version 2 1 PC serial channel equipped with an equivalent of circuit 16550 with buffer stacks is a necessity Among communication options in the xPRO program we then check the option UART 16550A an...

Page 95: ...n the BM the board is interconnected with freely de mountable insertion connection with the CPU board Optional piggybacks are placed on the BM CPU board To make them accessible it is necessary to take out the mounting unit formed by the CPU board the shielding cover and the inputs and outputs board After removal of the BM covers and after unscrewing of 6 screws on the bottom side of the BM trough ...

Page 96: ... RTC circuit are supplied for the period of about 5 minutes from the backing condenser Metal instruments which could short circuit the battery for example the tweezers flat pincers etc must not be used to insert the new battery Pay attention to correct polarity The recommended interval of the battery exchange is 5 years For the way of indication of lower battery voltage see Article 4 2 13 7 Fuse E...

Page 97: ...port of this type which has the following meaning PAR setting of parity mode 2 number of set cannel on parity switched on Parity can be either switched on or off In case of switched on parity it is always even parity By pressing of SET key setting is changed by pressing of MODE the set value is stored and we pass to the following or previous parameter setting Parity is standardly switched on It is...

Reviews: