Home
P_LINK Supplementary File
Contents
1. May 29 31 47 2001 17 12 16 393 Response Read Lendh 0 Write Command amp Response Tue May 29 35 43 2001 17 16 12 589 CMD CTDRV WRITE ADR WL65 CNT 1 RT 1 Length 2 02 00 Le Tue May 29 35 43 2001 17 16 12 591 Response Write Length 0 Bit Read Command amp Response 2 29 11 36 52 2001 17 17 22 234 CMD CTDRV_READ ADR WL1024 CNT 16 RT 0 Length a0 00 Tue May 29 11 36 52 2001 17 17 22 237 Response Read net 0 Bit Write Command amp Response Tue 29 11 38 06 2001 17 18 35 515 CMD CTDRV_WRITE ADR WL1024 CNT 1 RT 0 Length 01 Tue 29 11 38 06 2001 17 18 35 519 Response Write Length 0 2 Driver implementation 2 1 Development resources 2 1 1 Contacts e John Gu Ci Technologies Pty Limited PH 61 2 9855 1000 FAX 61 2 9488 9164 E_MAIL JohnGu cit com au e Graeme Sutton Project Manager Driver Development Ci Technologies Pty Ltd Tel 61 2 98551000 Direct 61 2 94977003 Fax 61 2 94889164 E mail GraemeSutton cit com au 2 1 2 Documents e MICREX F User s manual instructions 160 e MICREX F User s Manual communication FEH161 2 1 3 Software Hardware 1 Micrex F Loader Ver3 00 type FLT FDIAT3E which is programming software for Micrex F series PLC Copyright 2001 Ci Technologies Page 12 Citect for Windows V5 xx P_LINK driver 2 Mircex F FLT ASFK Adapter which is used together with Micrex F Loader software 3 F70S PLC with NCIH PLI ins
2. W21 32 W21 63 W22 0 W22 31 Reception Area Reception Area W22 32 W22 63 W23 0 W23 31 Reception Area Reception Area W23 32 W23 31 Note that a station can only ever write to an address configured as its own Transmission area though it can read from all areas From Citect Workstation s point of view all areas labelled as Reception Area under Station A in the preceding figure are all read only memories Write access to address such as WLO WL63 is not possible through Citect since this area is configured as the Reception area instead this write must be done through Station 0 which have configured this address as its Station 0 s Transmission area 1 2 4 Advanced Driver generated statistics Number Label Description 0 Total Requests Total number of requests 1 Total Responses Total number of responses Debug messages explained The debug messages are from the standard driver TraceTx and TraceRx functions The message data will be displayed as it is Driver Start up Tue May 29 11 30 42 2001 17 11 11 704 CMD CTDRV_INIT_UNIT ADR WLO CNT 1 RT 1 Length 2 CO 40 Tue 29 11 30 42 2001 17 11 11 705 Response Init Length 0 Tue 29 11 30 48 2001 17 11 17 373 Citect Startup 5 30 Rev 00 Copyright 2001 Ci Technologies Page 11 Citect for Windows 5 P_LINK driver Read Command amp Response Tue May 29 2 31 47 2001 17 12 16 391 CMD CTDRV READ ADR WL65 CNT 1 RT 1 Length 2 00 00 T Tue
3. amp 1 2 3 2 Parameters options and Da D a Dre see 9 VE LOL AT 1 1 1 1 E A E 11 2 DRIVER IMPLEMENTATION ee eeene eee eee tn ness tn asse etta asse teens 12 2 DEVELOPMENT RESOURCES 12 Dld 110001110611511 Nea e 12 2422 19001411161115 diseases 12 Lob Software 12 2527 RISK AREAS i EN e 13 2 3 DEVELOPMENT 2 2111100002200000000001 O a Aa 13 Copyright 2001 Technologies Page 3 Citect for Windows V5 xx P_LINK driver 1 User information This driver aims to support the P Link module NCIH PL1 through P Link Network Card CNVADO20 01 The P Link module is a component of Micrex F Series PLCs to enable linking several processors distributed over a wide area 1 1 Application notes for Device NC1H PL1 Detail Manufacturer FUJI ELECTRIC JAPAN Device name NCIH PLI which is FUJI MIECREX F series P Link Interface Module Communications method FUJI Proprietary P Link Protocol through P Link Network Card CNVAD020 01 and P Link API 1 1 1 Overview NCIH PL1 is mounted on the base module of the Micrex F and connects the FUJI Micrex F series PLCs to the P Link Network The module uses P Link protocol to exchange data with other nodes
4. such as a Citect PC P Link Card CNVAD020 01 P Link Network NCIH PLIP Link 7 interface module Micrex F Series PLC Copyright 2001 Ci Technologies Page 4 Citect for Windows V5 xx P_LINK driver 1 1 2 Setup guide Step 1 Hard switch Settings 1 Setting Mode Selection of the CPU module For 705 RUN Running Mode The processor is in the operation state It does not accept the operation stop instruction or program writing from the program loader TERM Terminal Mode The processor accepts the operation start or stop instruction or program writing from the program loader STOP Stop Mode The processor is in the stop state It does not accept the operation start instruction or program writing from the program loader TEST Test Mode The test mode is used for debugging The processor accepts various instructions and operation from the program loader Please set the Mode selection depending on the usage Typically this is set to the RUN Mode 2 Setting the Station number of the P Link module ST No switch 0 to F on the dial correspond to station numbers 0 to 15 MODE switch Top position Station Number setting switch Bottom position System definition a When the station number setting switch position is selected P Link station numbers are set with the ST No switch When the power is turned on the processor reads the setting switch data as the P Link station numbers These station numbers cannot be changed
5. Citect for Windows Version 5 P_LINK driver User information and design ASIA PACIFIC EUROPE NORTH amp SOUTH AMERICA Ci Technologies Pty Limited Ci Technologies Netherlands Pty Ltd Ci Technlogies Inc 10 12 West Street PO Box 174 Uy Suite 140 4828 Parkway Plaza Blvd Pymble NSW 2073 Australia The Netherlands Charlotte NC 28217 1958 USA Tel 61 2 9855 1000 Fax 61 2 9488 9164 Tel 31 71 576 1550 Fax 31 71 576 6842 Tel 1 704 329 3838 Fax 1704 329 3839 Citect for Windows V5 xx P_LINK driver Copyright 2001 Ci Technologies Page 2 Citect for Windows V5 xx P_LINK driver Contents 1 0000 4 1 1 APPLICATION NOTES FOR DEVICE NCIH PLI eee 4 74 4 QUI 4 Id eMe vr bid eb d tad ua 5 1 1 3 Hints Tips and Frequently asked questions 6 ld 4 Reference Required Components iiio d ei Re 7 1 1 5 Reference Communications TONNES aca sata ie Pa cita orta EL a qi a ro EE AN las 7 1 1 6 References Wiring DiAigramssssrsssentsneesenessentimentseseneree 7 1 1 7 Reference 8 1 22 Stet sith dn foe acad taie di ate 8 HE 1265631011031 sre cds dy reed et PO tire MAU Fei amp 1 2 2 Driver generated error 0065 munis derniere er p
6. High speed Bit Area Station 0 P Link memory W21 a c DIGITAL INT BCD 4 0 1151 c 0 F LONG High speed Word Area Station 0 P Link memory W22 a c DIGITAL INT BCD 4 0 3071 0 F LONG Low speed Word Area 1 Station 0 P Link memory W23 a c DIGITAL INT BCD 4 0 3071 0 F LONG Low speed Word Area 2 Station 0 Note Referring to the preceding table under Citect data format the entry inside the square bracket e g WL a c is optional Each unit of P Link memory is primarily a 16 bit INT data type but can optionally be accessed as a bit in the word Additionally it may also be accessed as a LONG and as a BCD as the driver will do necessary data conversion internally 1 2 Driver reference Detail Driver name P LINK Maximum array size 2048 bits 1 2 1 Description This driver is used to communicate FUJI MICREX F series P Link interface module NCIH PLI The P Link Interface Module is connected to a Personal Computer and to Citect through a P Link Network Card CNVAD020 01 1 2 2 Driver generated error codes Driver Error Mapped to Meaning of Error Code Code Generic Error label Hexadecimal OxE000FF28 GENERIC UNIT OFFLINE DEVICE API PARAM ERROR OxE000FF42 GENERIC UNIT OFFLINE DEVICE API SYSTEM ERROR OxE000FF43 GENERIC GENERAL ERROR DEVICE API LENGTH ZERO Equivalent to Maximum Request Length Copyright 2001 Ci Technologies Page 8 Cite
7. Special Opt BLANK Comment This field is user defined and is not used by the driver Ports form Field Default Allowable values Port Name This field is user defined and is not used by the driver Port number BLANK Board name Refers to the board previously defined in boards form Baud rate BLANK Data bits BLANK Stop bits BLANK Parity BLANK Special Opt Comment This field is user defined and is not used by the driver I O Devices form Field Default Allowable values Name This field is user defined and is not used by the driver Number Must be unique but is not used by the driver Address BLANK Protocol P LINK Port name Refers to the port previously defined in ports form Comment This field is user defined and is not used by the driver 1 1 6 Reference Wiring diagrams Standard P Link wiring connection Wiring must be connected in series never branched Wiring need not be made in the order of station numbers Terminating resistors 75ohms must be connected to both ends of the P Link If terminating resistors are not connected at the cable ends or connected in another location a P Link transmission error may occur Copyright 2001 Ci Technologies Page 7 Citect for Windows V5 xx P_LINK driver 1 1 7 Reference Data types IO Device Type Citect data Citect data types Description Special format Usage Limitations Valid Ranges P Link memory WL a c DIGITAL INT BCD 4 0 511 0 LONG
8. after the power is turned ON Settings of local station numbers in the system definition are ignored b When the switch is set to system definition the P Link station numbers are set by P Link registration in the system definition using the program loader Step 2 P Link Network registration 1 Starting the VRIONT device VRIREG P Link registration program has to be successfully run first before running Citect with the P_LINK driver The VRIREG program sets up the P Link system so that the VRIONT service is started automatically upon system start up During this registration process a device name string is assigned to the VRIONT device allowable strings FMV2PLKO FMV2PLK9 Note Please take note that there is no English version of the VRIREG P Link registration program as of the moment Only Japanese version is available Its accompanying manuals and instructions are also in Japanese Please contact Fuji Electric Japan regarding its availability 2 Setting up the P Link network Before the Citect P_LINK driver can be used the P Link network should first be defined including the definition of the P Link memory mapping This should be done for all the MICREX F devices which are interconnected through the P Link Copyright 2001 Ci Technologies Page 5 Citect for Windows 5 P_LINK driver Network For setting up the P Link memory of the MICREX F device the MICREX F Programmer utility supplied by Fuji Electric should b
9. ct for Windows V5 xx P_LINK driver GE jd 5 GENERIC_UNIT_OFFLINE DEVICE_API_PLINK_NOT_RUNNING 0x0000FFFF GENERIC UNIT OFFLINE DEVICE API ERROR N N i 1 2 3 Parameters options and settings Standard Parameters Parameter Default Allowable values Block bytes 212 4 to 212 Delay mS 0 0 to 300 MaxPending 2 1 to 32 Polltime mS 0 0 to 300 Timeout mS 1000 500 to 30000 Retry 1 0 to 8 WatchTime 30 to 128 Driver Specific Parameters Parameter Default Allowable values MaxOutStanding 1 1 HSBA 2 0 to 15 HSBABlocks P to 2 blocks HSWA 1 0 to 35 HSWABlocks 1 1 to 8 blocks LSWAI 1 0 to 95 LSWABlocks 1 1 to 16 blocks LSWA2 1 0 to 95 LSWA2Blocks 1 to 16 blocks LinkStations 0 Oto F FMV2PLK 0 0 to 9 0 for FMV2PLKO 1 for FMV2PLKI 9 for FMV2PLK9 Note Common P Link Memory Configuration for the Local Station HSBA High Speed Bit Area Block start address HSBABlocks number of blocks of HSBA configured HSWA High Speed Word Area Block start address HSWABlocks number of blocks of HSWA configured LSWAI Low Speed Word Area 1 Block start address LSWA1Blocks number of blocks of LSWAI configured LSWA2 Low Speed Word Area 2 Block start address LSWA2Blocks number of blocks of LSWA2 configured Copyright 2001 Ci Technologies Page 9 Citect for Windows V5 xx P_LINK driver LinkStations the P Link stations which are to be link
10. e used Step 3 Citect Computer P Link Setup Before the driver is used the Common P Link Memory Configuration should be filled up properly The settings should be put in Citect ini 1 1 3 Hints Tips and Frequently asked questions 1 1 3 1 Restarting the VRIONT device There are instances when the VRIONT device will refuse to communicate through the P Link API This may be caused by more than one application using the VRIONT device at one time As an example while a Citect P Link project is running an application using the P Link API eg test program is run This procedure will cause the VRIONT device to lock up somehow and further attempts running the Citect P Link project will never bring P Link communication online again We could re boot the Citect PC but sometimes this is not practical A simple workaround is to close all applications using the VRIONT device go to Control Panel Devices select the VRIONT device then restart stop and start it After this operation VRIONT will be ready to use 1 1 3 2 Adding and Removing P Link stations LinkStations will be checked during runtime in either during a read or a write command On every read and write command the LinkStation s configuration will be checked If configuration did not change read and write command return NORMAL Otherwise if the LinkStation configuration changed a WARNING message will be sent back to Citect Take note that this warning is not considered an
11. ed in the network Eg 0 1 2 3 4 5 B means that Stations 0 to 5 and Station 11 will be connected to the network Example of a P Link memory configuration in relation to settings in Citect ini Station 0 P Link Module for 1705 CPU The P Link Module s memory is configured using the Micrex F PLC Programmer software Station A P Link Network Card 020 01 This station simulates a valid Micrex F Station this enables a PC to communicate to other Micrex F stations through the P Link Common Memory and Citect This memory may be configured by using the P LINK API but is automatically done by the driver through the Common P Link Memory Configuration for the Local Station settings in Citect ini file VRIONT device registered as FMV2PLKO Citect ini setting for Station A FMV2PLK 0 HSBA 2 HSBABlocks 2 HSWA 1 HSWABlocks 1 LSWAI 1I LSWAIBlocks 1 LSWA2 1 LSWA2Blocks 1 LinkStations 0 A Station 0 Transmission Area Configuration WLO WL63 2 blocks W21 0 W21 31 1 block W22 0 W22 31 1 block W23 0 W23 31 1 block Station A Transmission Area Configuration WL64 WL127 2 blocks W21 32 W21 63 1 block W22 32 22 63 1 block W23 32 W23 63 1 block Copyright 2001 Ci Technologies Page 10 Citect for Windows V5 xx P_LINK driver Illustration Station 0 F70S CPU Station A Citect Workstation Reception Area Reception Area WL64 WL127 W21 0 W21 31 Reception Area Reception Area
12. error so this message will not appear in the kernel main page This message will only appear in the Hardware alams page as Device Warning If this type of warning message appears in the hardware alarms page this means that the LinkStations configurations may have changed So the customer is urged to check the citect ini for correct entry in the LinkStations parameter LinkStations will not be checked at initialisation When Citect sends initialise command to the driver the driver can only reply in 2 ways Either the initialisation request returns SUCCESS or FAILURE If the return is SUCCESS then the device is set ONLINE If FAILURE the device is set OFFLINE Return values other than SUCCESS is treated as FAILURE this includes the warning value returned by a change in LinkStations This is the reason why we can t check LinkStations during initialisation If we want the device to go to OFFLINE then we can Workaround is to have a cicode function that reads a dummy tag every start up of the project Copyright 2001 Ci Technologies Page 6 Citect for Windows V5 xx P_LINK driver 1 1 4 Reference Required components The VRIONT device should be started normally first before using this driver 1 1 5 Reference Communications forms Boards form Field Board Name Default Allowable values This field is user defined and is not used by the driver Board Type Address 0 I O Port BLANK Interrupt BLANK
13. talled 4 020 01 P Link network card attached to the PC where Citect is installed 5 VRIREG registration software 2 2 Risk areas N A 2 3 Development plan N A Copyright 2001 Ci Technologies Page 13
Download Pdf Manuals
Related Search
Related Contents
Käyttöohje User guide 4” High Velocity Fan Model: LF-4PB 10 CM Ventilador Alto de USER MANUAL - Flight Simulator Center Sun Microsystems Sun Management Center 3.5 User's Manual 取扱説明書等 - アイ・オー・データ機器 EN Pizzarette / DE Pizzarette / FR Pizzarette SE (AVVC) System RFP #2013-200 Issued: April 15, 2013 Proposals Lenco DF-1020 Marché de Noël EDC1072LDW ................................................ ........... Copyright © All rights reserved.
Failed to retrieve file