Manual VIPA System 200V Chapter 4 Serial communicationHB97E - CPU - RE_21x-2BS03 - Rev. 15/16 4-11Initialize interfacesThe initialization of the interfaces happens in OB 100 and should beexecuted with the following approach:• Call SYNCHRON with SFC 235 and enter the wanted block size (pageframe basic address=0, block size, PAFE)• Parameterize the interfaces via SEND (SFC 230) with order no. 201 andparameter DB• To take over the parameters, call RESET (SFC 234) with order no. 0The SYNCHRON block initializes the synchronization between CPU andCP during the boot process and for this it has to be called in the start-upOB 100. Simultaneously the transition area of the interface is deleted andpredefined and the CP and the CPU agree about the block size.Name Declaration Type DescriptionSSNR IN INT Interface numberBLGR IN INT Block sizePAFE OUT BYTE Parameterization errorNumber of the logical interface (page frame address) to which theaccording order refers to. SSNR must be 0!To avoid long cycle run-times it is convenient to split large data amountsinto smaller blocks for transmitting them between CP and CPU. Youdeclare the size of this blocks by means of "block size".A large block size = high data throughput, but also longer run-times andtherefore a high cycle time strain.A small block size = smaller data throughput, but also shorter run-times ofthe blocks.Following block sizes are available:Value Block size Value Block size0 Default (64Byte) 4 128Byte1 16Byte 5 256Byte2 32Byte 6 512Byte3 64Byte 255 512ByteParameter type : IntegerValid range : 0 ... 255CALL SFC 235SSNR:=0BLGR:=6PAFE:=MB199OverviewSFC 235SYNCHRONParametersSSNRBlock sizeExample