background image

68

© Systeme Lauer GmbH

AEG250PX-Expander driver

○ ○ ○ ○ ○

○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○

○○

D

D3.6 Communication error

During PCS - programmable controller communication, the PCS operates as master

and the programmable controller as slave. Thus, it is the task of the PCS to set up

and monitor communication. Thereby, the correct communication is monitored

between the programmable controller and the PCS. The following error message

is provided for this purpose:

======== COMMUNICATION ERROR ============

TIMEOUT

In both, in the PCS and in the programmable controller there is a time monitoring

function for the serial data exchange and sync. word processing. In the PCS, the

time-out time totals 4 seconds as default value. After that an error message is

displayed in the PCS and the error LED flashes. The PCS tries again to establish

the communication in the background. If this is successful and word 3 is processed,

then the above shown error message is erased. Example: Interruption of the adapter

cables.

The data interchange is performed in data blocks and each block is examined for

length, content and block check. If a fault is discovered, then the block is requested

once more. With more repetitions in a sequence, the communication is interrupted

and the above shown error message appears.

======== COMMUNICATION ERROR ============

Timeout programmable controller

The status of the programmable controller is scanned during establishing the

communication. Thus, the PCS can ascertain  whether the programmable controller

is in RUN mode. If the programmable controller in the STOP mode then the above-

mentioned message appears. If the programmable controller is switched into RUN

mode then the message is erased and the communication is resumed.

Communication

Содержание PCS 091

Страница 1: ...CS 776 adapter cable only for A120 2 direct driver with the PCS 778 adapter cable 2 expander driver with the PCS 778 adapter cable only for A250 PLC systems 1 Modicon 984 series with CPU 120 130 145 3...

Страница 2: ...20 Interface KOS 201 202 module PCS 859 EPROM firmware Protocol Lauer Adapter cable PCS 776 Driver type expander driver AEG120DR driver Plug and Play communication using the PG interface without progr...

Страница 3: ...n 984 120 380 381 385 480 485 680 685 780 785 X A B Interface Modbus interface Protocol MODBUS 1 SLAVE Adapter cable PCS 780 Driver type direct driver AEG250PX driver Fast A250 communication with the...

Страница 4: ...UNIT KOS 19 A3 1 1 Screening of the communication cable 19 A3 2 Programming cable PCS 733 20 B AEG120DR driver B1 First Commisioning 22 B1 1Delimitation 22 B1 2Loading the AEG 120 DR driver into the P...

Страница 5: ...3 2 Programming cable PCS 733 45 C3 3 Data transfer sequences 46 C4 Listing 47 D AEG250PX driver D1 First commissioning 54 D1 1 Delimitation 54 D1 2 Loading of the AEG250PX driver into the THE PCS 54...

Страница 6: ...Data transfer PCS PLC 63 D3 4 PCS PLC effective response times 64 D3 5 Speed optimization 65 D3 6 Communication error 68 D4 Printout of the AEG250PX handlingsoftware 69 D5 1 Ideograms and symbols 76 D...

Страница 7: ...ver for KOS 201 202 PLCs Required devices and accessories 1 The PCS operating console itself already parameterized 2 The PCS 776 connecting cable for the PCS programmable controller connection via the...

Страница 8: ...nstant is assigned a flag byte which in turn submits an FB 200 parameter BAUD The following baud rates are possible 1200 baud L KH00 4800 baud L KH01 9600 baud L KH02 and 19200 baud L KH03 A1 2 Descri...

Страница 9: ...can be procured to determine the exact cause of the fault This bit is reset as soon as communication runs correctly again BAUD Baud rate input flag byte This flag byte is preset with the desired baud...

Страница 10: ...end otherwise process your own pro gram 6 Determine the momentary reset pushbutton and set with positive edge RESET 7 Bind all function blocks and load these into the controller 8 Switch the programm...

Страница 11: ...to word 14 ABx 8 to ABx 29 all message bits with erase behavior 2 all message bits for concealed logging with erase behaviors 2 4 all preset values After restart the PCS proceeds with the following as...

Страница 12: ...16 ANZ I O MB I BEZ TOGGLM E Ex A Ax M Mx SM SMx T Z TN B2 B8 B16 ANZ I O M O NETWORK 0002 L BAUD U KH 3 AB 2 1 BAUD RATE COMMAND BYTE U SM 2 activating flag SPZ NORM FIRST CYCLE L AB 2 1 O KH C0 AB 2...

Страница 13: ...L EB 2 13 AB 2 13 L EB 2 14 AB 2 14 L EB 2 15 AB 2 15 L EB 2 16 AB 2 16 L EB 2 17 AB 2 17 L EB 2 18 AB 2 18 L EB 2 19 AB 2 19 L EB 2 20 AB 2 20 L EB 2 21 AB 2 21 L EB 2 22 AB 2 22 L EB 2 23 AB 2 23 L...

Страница 14: ...2 44 AB 2 44 L EB 2 45 AB 2 45 L EB 2 46 AB 2 46 L EB 2 47 AB 2 47 L EB 2 48 AB 2 48 L EB 2 49 AB 2 49 L EB 2 50 AB 2 50 L EB 2 51 AB 2 51 L EB 2 52 AB 2 52 L EB 2 53 AB 2 53 L EB 2 54 AB 2 54 L EB 2...

Страница 15: ...AB 2 76 L EB 2 77 AB 2 77 L EB 2 78 AB 2 78 L EB 2 79 AB 2 79 L EB 2 80 AB 2 80 L EB 2 81 AB 2 81 L EB 2 82 AB 2 82 L EB 2 83 AB 2 83 L EB 2 84 AB 2 84 L EB 2 85 AB 2 85 L EB 2 86 AB 2 86 L EB 2 87 A...

Страница 16: ...108 AB 2 108 L EB 2 109 AB 2 109 L EB 2 110 AB 2 110 L EB 2 111 AB 2 111 L EB 2 112 AB 2 112 L EB 2 113 AB 2 113 L EB 2 114 AB 2 114 L EB 2 115 AB 2 115 L EB 2 116 AB 2 116 L EB 2 117 AB 2 117 L EB 2...

Страница 17: ...AB 2 13 AB 2 14 DATE TIME INVALID 1 AB 2 15 AB 2 35 AB 2 36 COMMAND WORD A KH 0F00 AB 2 38 COMMAND WORD B KH 0800 AB 2 39 COMMAND WORD C KH 0000 L KH F AB 2 34 L KH 80 AB 2 37 NETWORK 0002 BE PB FOR...

Страница 18: ...200 BAUD NAME HANT_PROGRAMMING UNIT RESET M 1 1 ERROR M 1 2 BAUD MB 1 TOGGLM M 1 3 UN M 1 3 IF 0 SHORT CYCLE BEB NOP NOP WARNING NOP ONLY OWN PLC PROGRAM NOP FROM HERE ONWARDS NOP U M 1 2 A 5 1 GLOBAL...

Страница 19: ...this is not recommended for error technical reasons There the data lines should be covered as completely as possible by the screen With grounding at both sides is to be noted however that possibly be...

Страница 20: ...boards top view LED screw type terminal A3 2Programming cable PCS 733 1 gn 1 2 2 3 yel 3 4 yel TXD 4 5 yel RXD 5 6 6 7 7 8 GND 8 9 9 10 10 11 11 12 yel Ready 12 13 13 14 14 15 15 16 16 17 17 18 18 19...

Страница 21: ...itself already parameterized 2 The PCS 778 connecting cable for the PCS programmable controller connection via the PU interface 3 This manual with AEG master floppy disk PCSKOMM project for A120 AEG25...

Страница 22: ...ion DIL switches 5 and 6 and or the rotary switch on the rearside of the PCS can be set to 2 values NO SYNC NO TIME OUT 2 SYNC AND TIME OUT With SYNC the usage of a synchronization word is mandatory N...

Страница 23: ...programmable controller and set DIL switches 5 and 6 or the PCS rotary switch correspondingly 3 Switch off the PCS and then on again power reset At least the ERR LED must light now 4 Connect the prog...

Страница 24: ...line TIMEOUT COMMUNICATION Transfer fault in the BKOS protocol In this case the PCS programmable controller connection is routed in a noisy environment the cable length is too long or the grounding is...

Страница 25: ...his the power supply is potential free Use a separate power supply for the PCS 24 V 10 VA if the supply voltage is influenced by high interference It should be equipped with appropriate noise filters...

Страница 26: ...The usage of a synchronization word enables the application of a time out timer on the PCS side DETERMINE THE DATA AREA A common data area must be defined to enable access of the programmable controll...

Страница 27: ...am B2 2Synchronous communication If you want to use the entire functional extent of the PCS then the access to the data in the programmable controller must be synchronized i e programmable controller...

Страница 28: ...o the data area Nothing more may be changed now in the data area by the programmable controller program From now on step 2 and 3 will be cyclically executed If a time out appears then processing is re...

Страница 29: ...eas MW 100 FLAG WORD AREA PCS WORD 0 255 MW 355 E 2 1 RESTART INPUT A3 1 FAULT OUTPUT M 1 1 TIMER TIME OUT PROCESSING M 1 2 RESET TIMER TIME OUT M 1 3 EDGE COMMUNICATION LOSS M 1 4 EDGE RESTART M 1 5...

Страница 30: ...data lines should be covered as completely as possible by the screen With grounding at both sides is to be noted however that possibly because of ground potential shifts a potential compensation wire...

Страница 31: ...31 Systeme Lauer GmbH AEG120DR driver B B3 2Programming cable PCS 733 PC PCS connection Communication...

Страница 32: ...MW 114 NOP KH00FF after MW 115 NOP MW 102 zero sync words MW 103 UN SM 1 initialize time out timer M 1 1 M 1 2 L K 4 TSW 1 U M 1 1 SE T 1 DZB 1000MS L TSW 1 U M 1 2 R T 1 A 2 1 BE PB2 Synchronization...

Страница 33: ...xample for one NOP PCS 090 NOP L MW 104 KH 8000 SPB TEST1 L KH 81 MW 114 L KH FC8 MW 113 TEST1 L MW 104 KH 4000 SPB TEST2 L KH 0 MW 114 TEST2 L MW 104 KH 2000 SPB TEST3 L KH FFFF MW 115 TEST3 L MW 104...

Страница 34: ...34 Systeme Lauer GmbH AEG120DR driver B...

Страница 35: ...dy parameterized PCS Systeme Lauer company 1 The PCS operating console itself already parameterized 2 The PCS 780 connecting cable for the PCS programmable controller connection via the MODBUS interfa...

Страница 36: ...he driver is called MODBUSPS DRV The procedure is the same as described in the PCSPRO PCS9092 manual The following variables for the MODBUSPS driver can be set The AA variable and or COM_TIMEOUT PCS t...

Страница 37: ...ariable and or COM_SL_NUM Address of the accessed programmable controller Although the RS 232C interface is a point to point connection a programmable controller address between 1 and 32 can be entere...

Страница 38: ...ng message appears on the upper display line of the PCS COMMUNICATION ERROR An explanatory help text is shown on the lower display line TIMEOUT COMMUNICATION Transfer fault in the MODBUS 1 protocol In...

Страница 39: ...power supply is potential free p Use a separate power supply for the PCS if the supply voltage is influenced by high interference It should be equipped with appropriate noise filters In this case 0 V...

Страница 40: ...ion word SYNC The usage of a synchronization word enables the application of a time out timer on the PCS side At a CPU Stop the communication is not interrupted This CPU state can only be detected in...

Страница 41: ...een written Bit variables should be used only once per word since the access of the PCS occurs only word by word A word that has been retrieved changed and written back by the PCS can overwrite anothe...

Страница 42: ...he last writing of word 3 up to the time out message in the programmable controller should be set to a minimum of 2 seconds In the PCS the time out time is set via the AA driver variable or COM_TIMEOU...

Страница 43: ...1750 table area 40400 data area is loaded with a length of 25 words You can define the presettings for the PCS in this table area This depends on the PCS type Network 2 The communication time out time...

Страница 44: ...error technical reasons There the data lines should be covered as completely as possible by the screen With grounding at both sides is to be noted however that possibly because of ground potential shi...

Страница 45: ...45 Systeme Lauer GmbH MODBUS 1 direct driver C C3 2Programming cable PCS 733 PC PCS Connection Communication...

Страница 46: ...of data dependents on the current number of variables in the display The fewer variables are shown in the display the quicker is the reaction time For jog operation we recommend to select a menu via t...

Страница 47: ...S Number Modus Data bits Parity Stop bits Baud rate Key addr Delay MODBUS 01 RTU 8 EVEN 1 19200 1 10 ms 02 RTU 8 EVEN 1 19200 1 10 ms SEGMENT SCHEDULER CONSTANT CYCLE Number of drops 1 Number of segme...

Страница 48: ...r C Segment 01 Netzwerk 00001 41001 STAT 004 41003 41850 41750 SUB 40400 40657 BLKM 0025 Segment 01 Netzwerk 00002 00101 0300 T 01 00101 40656 002 00001 00101 002 40402 00001 10001 40403 002 P SUB 000...

Страница 49: ...LM 0001 0001 00101 41852 41853 002 40404 41855 40404 41800 SUB 40415 SUB 40415 40657 40657 BKLM BKLM 0008 0008 00101 40403 40403 002 40403 40402 COMP BKLM 0001 0001 ASCII Numerical operand list ADDR D...

Страница 50: ...00 0000 40656 00000 0000 TIMEOUT 40657 00000 0000 SCRATCH 41750 00000 0000 INIT_VAL Start presettings 41751 00000 0000 41752 00000 0000 41753 00000 0000 41754 00000 0000 41755 00000 0000 41756 00000 0...

Страница 51: ...41815 00000 0000 41816 00000 0000 41817 00000 0000 41818 00000 0000 41819 00000 0000 41820 00000 0000 41821 00000 0000 41822 00000 0000 41823 00000 0000 41824 00000 0000 41850 32768 8000 K8000 Constan...

Страница 52: ...52 Systeme Lauer GmbH MODBUS 1 direct driver C...

Страница 53: ...PCS System Lauer company 1 The PCS operating console itself already parameterized 2 The PCS 778 adapter cable for the PCS programmable controller connection via RS 232C 3 This manual 4 Floppy disk and...

Страница 54: ...ftware and or PCS 9092 for the configuration Other software packages can initiate malfunctions in the PCS and programmable controller D1 2 Loading of the AEG250PX driver into the THE PCS During config...

Страница 55: ...e DRIVER VARIABLES menu item The default settings are shown In the table below DIL5 DIL6 Variable Preset values off off AC 19200 Baud on off AD 9600 Baud off on AE 19200 Baud on on AF 9600 Baud All ba...

Страница 56: ...riables thereby takes longer Limit this variable only if all other measures have not resulted in sufficient time savings The possible values are between 1 and 32 Default value is 32 Set the rotary swi...

Страница 57: ...le controller Did you make the same definitions for the data block in programmable controller and in PCS Have you used the correct cable Is the cable defective 3 The communication is active but after...

Страница 58: ...pacitance although it is very low Ensure clear supply voltage reference points To facilitate this the power supply is potential free Use a separate power supply for the PCS 24 V 10 VA if the supply vo...

Страница 59: ...these areas are too small in the programmable controller Inputs RESET E2 1 Input that admits a restart after loss communication Outputs COM_ERR A2 1 Output that is active at communication loss Flag b...

Страница 60: ...re communication faults in OB1 are recognized via a time out timer If the timer is not set anew by a missing job package then the preset time default value 4 sec runs down and the A2 1 output is set I...

Страница 61: ...and are written back into the PCS data block The ADR_W variable indicates the position in the data block The number of consecutive data words is defined by the DW_COUNT_W variable D2 1 10 FB213 FB213...

Страница 62: ...easons There the data lines should be covered as completely as possible by the screen With grounding at both sides is to be noted however that possibly because of ground potential shifts a potential c...

Страница 63: ...he PCS is the master during communication It has the task of establishing the communication and of sending orders to the programmable controller PCS and programmable controller communicate asynchronou...

Страница 64: ...e speed of communication The so called key LED time is measured That means the time in which a key is transferred to the programmable controller and an LED is set in the PCS This time is made up of 2...

Страница 65: ...0 095 Disable all functions not required in the command words via the programmable controller program Thereby the response on data which are always transferred is reduced In addition with data word 13...

Страница 66: ...r only if you absolutely need it By setting bit 6 of DW36 to a logical 0 you block the transfer of the date This has only a slight meaning since the date is transferred only at changes Therefore once...

Страница 67: ...900 920 950 Display as few variables as possible on the shown display page because the amount of transferred data increases with the number of the variables It is advantage to make sure that the varia...

Страница 68: ...PCS tries again to establish the communication in the background If this is successful and word 3 is processed then the above shown error message is erased Example Interruption of the adapter cables...

Страница 69: ...T PSEND U COM_ERR if com error jump to cycle end UN RESET SPB ZY_END NO_ERR L COUNT_W all job in receive buffer done K 0 SPB JOB U VLAUF init timer reset U COM_OK TIM_RES BA FB202 init the new receive...

Страница 70: ...write KH 20 SPB WRITE L JOB_W and function KH 40 SPB AND L JOB_W or function KH 80 SPB OR READ BA FB210 NAME READ_FUN SP A_END WRITE BA FB211 NAME WRIT_FUN SP A_END AND BA FB212 NAME AND_FUN SP A_END...

Страница 71: ...NAME INIT NETWORK 2 L K 1000 offset for 256 word pcs data P_DAT_OFF L K 1256 offset 100 word I O buffer P_REC_OFF and receive buffer NETWORK 3 BE FB202 NETWORK 1 NAME JOB_INI NETWORK 2 L P_REC_OFF poi...

Страница 72: ..._W OUT PSEND L K 0 counter 0 COUNT_W NETWORK 3 BE FB210 NETWORK 1 NAME READ_FUN NETWORK 2 L PJOB_W actual job ADD K 1 PJOB_W next job L COUNT_W decrement data counter SUB K 1 COUNT_W L P_DAT_OFF point...

Страница 73: ...D K 1 PJOB_W pointer to received data WR_LP BA LA6 received data to data buffer NAME LA6 IN PJOB_W OUT ADR_W L PJOB_W ADD K 1 PJOB_W pointer to next data L ADR_W increment data pointer ADD K 1 ADR_W L...

Страница 74: ...ata TEMP1_W BA LA4 actual data to data buffer NAME LA4 IN TEMP1_W OUT ADR_W L ADR_W increment data pointer ADD K 1 ADR_W L PJOB_W pointer to next data ADD K 1 PJOB_W L DW_COUNT_W decrement counter rec...

Страница 75: ...ta TEMP1_W BA LA4 actual dat to data buffer NAME LA4 IN TEMP1_W OUT ADR_W L ADR_W increment data pointer ADD K 1 ADR_W L PJOB_W pointer to next data ADD K 1 PJOB_W L DW_COUNT_W decrement counter recei...

Страница 76: ...onsible for testing and determining the suitability for the specific application or for use under actual conditions Systeme Lauer does not assume any warranty for this Modifications reserved D5 3 Qual...

Страница 77: ...m at i on pr ocess i ng Koop M al y 07022 9660123 07022 9660123 Techni calSupportSI C Suppor tm anager Schauwecker 07022 9660220 Suppor t Ar ndt Gekel er Hauber Kol bus 07022 9660226 07022 9660221 070...

Страница 78: ...Data exchange 68 Data packages 63 Data traffic 60 63 Data transfer 46 63 Diagnosis 24 38 Driver 35 Driver variable 24 28 38 40 E ERR LED 23 37 F Fault output 57 FB 200 60 FB201 60 FB202 60 FB205 60 F...

Страница 79: ...time 26 64 S Scan time 40 Screening 19 25 30 44 62 screening 39 Sequence 46 Speed optimization 65 SYNC or NOSYNC 26 40 Synchronization 22 27 32 Synchronization word 36 38 Synchronous 26 Synchronous c...

Страница 80: ...r driver D Operating instructions manuals are protect by the copyright All rights will be reserved The copy duplication translation convertion in parts or all is not allowed One exception is a back up...

Отзывы: