Home

Section 3 Specifications of Communication FB

image

Contents

1. F E D C B A 9 8 7 6 5 4 3 2 1 O0 WM WL L H Member names for structure are shown in Unused Input pulse format R0001 R0002 OFF OFF 90 degree phase differential pulse ON OFF Forward pulse Reverse pulse OFF ON Sign command pulse ON ON Disables pulse counting 16 bit count 32 bit count selection R0003 OFF Selects 16 bit count ON Selects 32 bit count Linear operation mode ring operation mode selection R0004 OFF Selects linear operation ON Selects ring operation Gate operation mode selection enable R0005 OFF Disables gate operation Count enable of the module must be left turned on ON Enables gate operation The module refers to the internal gate command and external gate command and then outputs the count enable command to the module Preset operation phase Z detection operation selection enable R0006 OFF Disables for both preset operation and phase Z detection operation ON Enables for either preset operation or phase Z detection operation Preset operation phase Z detection operation selection R0007 OFF Selects preset operation ON Enables phase Z detection operation Comparison detection operation selection R0008 OFF Disables comparison detection operation ON Enables comparison detection operation Origin LS input R0009 OFF Enabled when origin LS is ON ON Enabled when origin
2. Start command V0001 BOOL IN Rising edge Waiting for internal reset command Valid when START ON Falling edge Waiting for the rising edge of the start command When using both CH1 and CH2 start up them simultaneously Internal reset command V0002 BOOL IN Rising edge Outputs the reset command to the high speed RST CMD counter module Internal gate command V0003 BOOL IN Command when gate operation is enabled GATE CMD ON Enables the module to count OFF Forbids the module to count Internal preset command V0004 BOOL IN Command when preset operation is enabled PSET CMD Rising edge Performs preset Alarm reset command V0005 BOOL IN Command valid only when an alarm for a transmission error or ARMRST register monitoring time up is generated Rising edge Alarm reset Bit command signa WV0006 Note 1 IN OUT Refer to Signal assignment of bit command signal BITCMD1 Two word area is required CH selection WV0007 INT IN Specifies the channel of the counter CH_SEL 0 CH1 1 CH2 Transmission monitoring WV0008 UINT IN Valid when the value in the error monitoring timer register of the timer value high speed counter module is used and CH1 is specified COM TMR Up to 6553 5 ms by 0 1ms Setting 0 disables transmission monitoring and no transmission errors will be generated Register write monitoring WV0009 UINT IN Timer to monitor the response after data is written to the r
3. Open V0001 BOOL IN ON Sends the communication parameters to the general OPEN purpose communication module to initialize communication When communication becomes possible communication ready turns ON OFF Performs the processing for ending communication Communication ready turns OFF Send request V0002 BOOL IN Starts to send data When sending has ended this needs to be S REQ turned OFF by the application program Transmission keyword WV0003 WORD IN Designates transmission keyword There are 6 types of sending S_TFW transmission keyword polling selecting control positive acknowledge1 positive acknowledge 2 and negative acknowledge Send data area WV0004 WORD IN Designates the data area for station No file No and extended designation 1 S_DADR1 station No Send data area WV0005 WORD IN Designates the data area for extended file No and data length designation 2 S_DADR2 However when transmission keyword is control this becomes the command code area Send data area WV0006 WORD IN Designates the data area for the start address of file command designation 3 S_DADR3 code and negative acknowledge cause data Send data S_DAT WV0007 WORD IN OUT Stores send data Receive data R DAT WV0008 WORD IN OUT Stores received data Communication parameter WV0009 INT IN OUT Stores the initialization parameters PARA RAS information WV0010 Note 1 IN OUT Operating inf
4. Ej C free zpj E CfdPYX zpj E Cfvrpr zpi m c Frpr zpj Ed cfrsz zpj Ed MHCNT zpi S C modm zpj E C r 4 zpj E wsPos zpj sj cfdFRN zpj E Cfrizs zpi zi _cfdFvR Zpj E Cfr252 zpi s cfdPk zpj E Cfrpa zpj Files of type sxziP Project Zpi Cancel Me 2 5 Section 2 Installation 2 3 How to Use Expansion FBs Select the compressed project and then click the OK button The compressed project is extracted and the following dialog appears Import Programs Project File Name _C free Zpi Program List Untitled Project ME _cinc 0 ME cac 1 ME ccacit 3 MAE cHEX1I 4 ME cBccti 5 All Select All Release ram Mle _cPos11 6 a AE _CFCK11 7 le Programs in the project are displayed MAE _cuimck 8 AE _CPCK11 9 G _CSMK11 10 MAE _Cwencb 11 See note The above list indicate the call relation of Program Please select Program which does import from the above list In selected Program all Program not protected of the called lower layer are imported All Function All Function Block Note When importing programs C2VER is not necessary dummy program Therefore uncheck its box When you click the All Select button all the programs in the p
5. 4 8 4 1 7 High speed counter FB muitifunctional version MHCNTR MHONTRa snesen 4 12 4 1 8 High speed counter FB standard version MHCNTH MHONTHAa seem 4 17 4 1 9 Multichannel counter FB MHCNTM MHONTMA 2 0 ceceeceeeeeeceeeeeeeeeeeeeeeeceeeeseeeessneeeesneeeesnaeess 4 20 4 2 High speed Input Module Counter FB cccsseccceeeeeeseeeeeeeeeaeeeeeeeeeeseneeesseaaesenseeesesneeeeeseneeeneee 4 23 4 231 Overview OL EB atn dt ite ep a EI ettam aO ILLA 4 23 422 2 MGMORYSIZG 0f F Brne e reeacet saccechested OAE ma eeatect a cepenicans pacumseesgayantens 4 23 A22 3 COUNLODEFALION MOOG e 4 24 4 2 4 Sample Applications of Counter Expansion FB sss enne 4 25 4 2 5 Details of high speed input module counter FB ssssssseeeeeneemeemmene 4 26 4 2 6 Settings for ring and gate operations ssssssssssseseseeeeneneneen nennen nennen nnne 4 29 Section 5 Specifications of Simple Positioning FB 5 1 5 1 Overview of Simple Positioning eeeeeeeeeeieeeeeeeeeeee eee nene nennen nnns nnnm nnn nnn ennnen nnmnnn annann nas 5 1 5 2 Specifications of Simple Positioning FB eeeeeeseeeeeeeeeeeneeeenne nennen nnne nnn nnn 5 2 5 2 1 Functions of simple positioning FB innreise nirai iniiae riaa 5 2 5 2 2 Simple positioning FB list sorsien reneradio tac Rte ir a iaia aee u
6. RS signal CS signal DR signal ER signal CD signal CI sinnal Reserved Send error Overrun Oarity error Reserved Reserved Reserved Initialization end Receive error Framing error General purpose communication module status 15 14 13 12111009 87 654 32 1 0 3 64 Mode switch x8 Mode switch x4 Mode switch x2 Mode switch x1 Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved RS 485 station No x8 RS 485 station No x4 RS 485 station No x2 RS 485 station No x1 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm 3 7 1 General The C modm FB communicates data between the CPU module and FA device equipped with MODBUS interface While there are MODBUS master and slave devices this FB makes MICREX SX a master device and communicates data with MODBUS slave devices MODBUS master device may not be connected to this FB Determine which functions to use according to the specifications for the MODBUS slave devices to be connected a is suffixed to the name of the FB supporting array structure Note When using FBs supporting array structure use V2 2 3 0 or later version of Standard loader FB functions gt 1 Initialization of communication port function Initialize communication ports to be used the setting of transmission speed data bit length
7. Running V0015 BOOL OUT This signal is turned ON when the data setting FB is enabled and RUN STS commands to the positioning FB take effect ABS INC selection V0016 BOOL OUT Select command to positioning FB ABS INC Number of pulses DV0017 DINT OUT Number of pulses setting data command to positioning FB setting PLS Frequency setting WV0018 INT OUT Frequency setting data command to positioning FB FRQ PTP positioning V0019 BOOL OUT PTP positioning command signal to positioning FB command PTP_CMD Next stage startup V0020 BOOL OUT While positioning is executed using the set value data of the local FB NXT_CMD this signal is ON FB running V0021 BOOL OUT While positioning is executed using the set value data of this FB this FB RUN signal is ON FB completed V0022 BOOL OUT When the PTP positioning using the set value data of this FB is FB OK completed successfully this signal is turned ON Note When data setting FBs are cascaded the signal and data from the preceding stage FB are passed to the next stage FBs in order Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 1 Positioning operation condition 1 When operation command is ON running signal is turned ON to enable positioning 2 When positioning is enabled various operation commands PTP positioning manual operation and origin return commands are accepted 3 When running
8. Time PTP positioning command input to FB ON PTP positioning executing output from FB ON PTP normal end 77777 output from FB OFF Positioning completed OFF output from FB Frequency setting 1 input to FB setting 2 input to FB Frequency changeover OFF ON OFF ON input to FB Frequency selected output from FB OFF ON OFF ON Frequency can be changed over during PTP positioning or manual operation Frequency cannot be changed over during origin return operation At the rising edge of PTP positioning command manual forward rotation command or manual reverse rotation command the frequency that is selected by frequency changeover command is made to be the target frequency OFF Frequency setting 1 ON Frequency setting 2 Each time the status of frequency changeover command is changed between OFF and ON the target frequency is changed over At the rising edge Frequency setting 2 At the falling edge Frequency setting 1 When only the set value is changed the target frequency is not changed To change the frequency it is necessary to change over the status of frequency changeover signal 1 In the above figure frequency is not changed from f4 to f5 When the frequency set value is lower than the self startup frequency operation is performed using the self startup frequency If Frequency set value Self startup
9. Processing impossible because self diagnosis is General purpose communication module detected an error AO being executed CO Hardware error detected during receiving General purpose communication module detected an error Parity error Franming error etc C1 Receive buffer has overflowed General purpose communication module detected an error C2 Send buffer has overflowed General purpose communication module detected an error C3 Number of send data over General purpose communication module detected an error 3 63 Section 3 Specifications of Communication FB 3 6 FUJI Bar Code Reader Procedure FB CfdPK 3 6 6 RAS RAS information in general purpose communication is assigned as shown in the following figure RAS data is stored in the position shown in the figure below from the start address of the device which is assigned to RAS information parameter WV0007 WM WL 712 WM WL 713 Port status Control data Port status Status of general purpose communication module Send request count Send end count Receive count Frame detection count M OPEN status M SEND status M RECEIVE status M SEND error count M RECEIVE error count Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Error data 1514131211109 87 654 3 2 1 0
10. Reserved Reserved Error data 1514131211109 876 54 32 1 0 RS signal CS signal DR signal ER signal CD signal CI sinnal Reserved Send error Overrun Oarity error Reserved Reserved Reserved Initialization end Receive error Framing error General purpose communication module status 151413 12111009 87 654 32 1 0 3 54 Mode switch x8 Mode switch x4 Mode switch x2 Mode switch x1 Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved RS 485 station No x8 RS 485 station No x4 RS 485 station No x2 RS 485 station No x1 Section 3 Specifications of Communication FB 3 6 FUJI Bar Code Reader Procedure FB CfdPK 3 6 1 General The CfdPK FB communicates data between the CPU module and FUJI PK series bar code reader using the start stop synchronization type transmission protocol For more information of the detailed transmission parameters that are necessary to control FUJI bar code reader refer to the manual supplied with the PK2 series bar code reader a is suffixed to the name of the FB supporting array structure Note When using FBs supporting array structure use V2 2 3 0 or later version of Standard loader FB functions 1 Initialization of communication port function Initialize the RS 232C port the setting of
11. eeee eee essseeeee nennen nnne 3 55 soa ee 1 10 Ir eere 3 55 9 6 2 Specifications Tor GIG PUK asees eonen ea saner Aar aE a RAE EE EN eaS iiae ET 3 56 cca EAEE ie eE NSA 3 60 3 6 4 Data sending E a a a E Ea EREE E EREE pauses anes E EEE EEEE 3 62 3 6 5 Data recelving uice aaa Ea eben se ee ds Ea Sipe a E code ETNA 3 63 UB Ex 3 64 3 7 MODBUS Procedure FB C modm cccceceesseeceeensneneeeeeeensnenaeeeeeeesneaaeeeeeseesneseeeeeseesneeseeanees 3 65 SITE MECI M I EE 3 65 3 7 2 Specifications for C MOAM eer rris torti testet etie qe HIER REF ERES EPR EUR E EX Ie R RES ER RERO TENA 3 66 cry ecalnir ir Mo Sn 3 75 3 7 4 Data sending recelving rne Li iniret tte eere Deut aedes ance ronde pea inen bonae Du NR CHR Ea EARNE 3 78 UTI MD p 3 80 Section 4 Specifications of High speed Counter FB 4 1 4 1 High speed Counter Module FB 4 eeeseeeeeeeseeeeeeeeeees sene tenen nnne nnn nnn nunnan nasse nnn nas 4 1 4 151 Overview of FB asini ie cete te dii ERR e eH et Pede E s rios 4 1 4 1 2 Memory Size ot FB atii Ee DER ete a oir ee ERE RE SR a cies a du a a erase Pup 4 2 4 1 3 Operationimodes OPE B 4 nece ee ae ea edt erba nante drin 4 2 4 1 4 Control speciflcatiolis 2 eite eerte acre ttd obe RR UD LR raid epe ERES RIDE a ind un 4 3 4 1 5 Details of Operation MOUES scie sten Serene erin cide Ree A es eA 4 4 42126 Enron IMOMAT OTe
12. 23 22 21 20 19 18 17 16 31 430 29 428 27 26 25 24 3 73 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm 6 Retain register writing multiple words code 10 Writes data in consecutive registers starting with the one designated by a slave device The format of requst message and response message is as follows FB terminals Slave station No WV0003 gt Function code WV0004 Request message Response message Slave station No Slave station No Function code 10h Function code 10h Start address upper order Start address upper order FB terminals gt Slave station No WV0017 gt Function code WV0018 Start address WV0005 gt Start address lower order Start address lower order No of written words upper order No of written words upper order gt Start address WV0019 Data length WV0006 No of written words lower order gt Data length WV0020 No of written words lower order Number of bytes WV0007 Number of bytes CRC lower order CRC upper order Write data upper order Send data WV0008 gt Write data lower order CRC lower order CRC upper order Notes 1 In case of abnormal response 80hex is added to function code WV0018 2 CRC is automatical
13. For FUJI Inverter For FUJI temperature For FUJI temperature controller PYX series and PYH series CfdP YX controller For FUJI bar code CfdPK For FUJI bar code reader PK2 series For MODBUS _C_modm MODBUS procedure FB communicates data with MODBUS slave statins making MICREX SX the master station 1 2 List of High speed Counter Standard Expansion FBs _MHCNTR High speed counter multifunctional version FB _MHCNTH High speed counter simple function version FB Counter FB _MHCNTM Multiple channel counter FB _ MHCNTD High speed input module counter FB 1 3 List of Simple Positioning Standard Expansion FBs _MSMOV One axis PTP positioning FB imple Positioning FB g _MSMVDAT One axis PTP positioning data setting FB 1 1 Section 2 Installation 2 1 Personal Computer Environment Required for Strandard Expansion FBs To use standard expansion FBs the operating environment of SX Programmer Standard plus the hard disk capacity necessary to install the expansion FBs that you want to use are required as personal computer operating environment Personal computer IBM AT compatible CPU Intel Pentium 233 MHz or higher is recommended Hrad disk 200MB or more External storage Necessary for installation Floppy disk drive Min 1 unit 1 25M bytes 1 44M bytes 3 5 inch CD ROM drive Min 1 unit Quadruple speed or higher device is recommended Memory capacity
14. Number of monitoring Data write command Operations CPU High speed counter module m g Up to 65535 times 5 Preset overflow During linear operation mode preset operation 7FFFFFFFh 4 Effective count value hard count value 40000000h 4 7 hoc Me Count value Differential Count value of module C0000000h 80000000h Preset value 0 Differential Preset value Effective count value 0 40000000h C0000000h CODODBOUN 447474445 d preeesanps Stan eet eee npe tmd Effective count value hard count value 80000000h Upad overflow generates The function block outputs an actual count value of module with a differential added Although the user does not usually need to consider this it is necessary to consider the difference when changing the count value using a preset value When a preset value is inappropriate as shown in the figure above an overflow occurs while the count value is output Handling of the error gt The counter holds the maximum value 7FFFFFFFh 7FFFH as the count value and waits for an internal reset After the internal reset the count value is cleared to zero the counter restarts its processing 4 9 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 6 Preset underflow During linear operation mode preset operation The function block outputs an actual count value of module with a differential added
15. OFF OFF Trapezoidal acceleration or deceleration is performed Acceleration deceleration time is registered to the parameter area Positioning is executed by two step motion In the vicinity of target position the feedrate of self startup frequency is used The federate at self startup frequency the federate at stoppage is registered to the parameter area Deceleration point is automatically detected Frequency can be changed over during operation Two types of frequency can be set which is selected with frequency changeover command The data at the time of changeover is read at the rising edge of frequency changeover command Even when frequency setting data is rewritten target frequency does not change unless frequency changeover command status is changed Either absolute position setting or relative position setting can be selected when finite length mode is set In infinite length mode all data are processed as relative position data While PTP positioning is executed PTP positioning executing signal is turned ON Each time PTP positioning is started PTP normal end signal is turned OFF When the positioning at target point is completed successfully PTP normal end signal is turned ON If the positioning at target point ended unsuccessfully due to positioning cancel or forcible stop command PTP normal end signal continues to be OFF 5 12 Section 5 Specificatio
16. OFF Positioning completed output from FB OFF Pause command input to FB OFF ON OFF OFF Pausing output from FB OFF ON OFF Pause command is enabled during PTP positioning or origin return operation Pause command is disabled during manual operation When pause command is turned OFF again positioning operation is resumed While pulse output is stopped by pause command positioning completed signal continues to be OFF PTP positioning executing and returning to origin signals also continue to be ON If pause command is turned OFF while decelerating under pause command acceleration takes place to immediately reach the set frequency In this case because pulse output is not stopped pausing signal continues to be OFF While positioning completed signal is ON pausing signal continues to be OFF Even when pause command is turned ON pausing signal will continue to be OFF If pause command is ON at the rising edge of PTP positioning command or origin return command pausing signal is immediately turned ON No pulse is output At the same time positioning completed signal is turned OFF PTP normal end signal or origin return normally ended signal is turned OFF and PTP positioning executing signal or returning to origin signal is turned ON 5 24 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning F
17. Receive error V0014 Send data transmission keyword for sending send data area designation 1 send data area designation 2 and send data area designation 3 are set and then send request is turned ON by the application program The FB detects the rising edge to execute the processing for sending When the processing for sending is completed the FB automatically comes in receiving waiting mode executing the processing for receiving When the processing for sending and receiving has completed received data transmission keyword for receiving receive data area designation 1 receive data area designation 2 and receive data area designation 3 are stored and then the receive end flag is set ON for only one pulse In case of transmission error both end flag and receive error flag are set ON for only one pulse 3 52 Section 3 Specifications of Communication FB 3 5 FUJI Temperature Controller Procedure FB CfdPYX 2 Sending receiving status list 00 Normally ended 01 Reserved 02 Send buffer has overflowed 40 Data send time out 41 Protocol response error 42 BCC error General purpose communication module 39 disconnected Not detected 91 SX bus send error 92 SX bus receive error AO Object port error General purpose communication module detected an error Processing impossible because in code General purpose communication module detected an error A3
18. 5 33 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 14 Deceleration point detection During PTP positioning operation deceleration point is automatically detected Moving length during deceleration gt Current frequency Shaded part is the moving length Speed during deceleration Self startup frequency Time The moving length during deceleration is calculated using the following formula a Current frequency fs Hz b Maximum frequency 20 kHz fmax Hz C Acceleration deceleration time T ms d Moving length at stoppage Ps pulses e Deceleration time from current frequency to 0 Hz td ms f Number of deceleration pulses from current frequency to 0 Hz Po pulses 9 Moving length during deceleration Pd pulses Deceleration time td T x fs fmax Number of deceleration pulses Po fs x td 2 Moving length during deceleration Pd Po Ps Deceleration starts at the position where the number of remaining pulses Pr to the target position becomes as follows Pr lt Pd Deceleration time and the number of deceleration pulses are approximated by the number of pulses to frequency 0 Hz Current frequency Shaded part is the moving length Speed during deceleration Self startup frequency Time The simple positioning expansion FB starts processing for deceleration when the deceleration point is passed f the moving length at stoppage is small
19. 90 91 SX bus send error 92 SX bus receive error AO Object port error General purpose communication module detected an error Processing impossible because in code General purpose communication module detected an error A3 conversion mode A5 Processing impossible because in loader mode General purpose communication module detected an error Processing impossible because self diagnosis is General purpose communication module detected an error ne being executed CO Hardware error detected during receiving General purpose communication module detected an error C1 Receive buffer has overflowed General purpose communication module detected an error C2 Send buffer has overflowed General purpose communication module detected an error C3 Send data size over General purpose communication module detected an error 3 23 Section 3 Specifications of Communication FB 3 2 FUJI General Purpose Inverter Procedure FB CfdFRN 3 2 5 RAS RAS information in general purpose communication is assigned as shown in the following figure RAS data is stored in the position shown in the figure below from the start address of the device which is assigned to RAS information parameter WV0011 WM WL 4672 WM WL 673 Port status Control data Port status Status of general purpose communication module Send request count Send end count
20. input to FB ON PTP positioning executing output from FB GN SE PTP normal end OFF output from FB Positioning completed output from FB OFF ON 5 26 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function If forcible stop command is ON at the rising edge of PTP positioning command manual forward rotation command manual reverse rotation command or origin return command none of PTP positioning command manual forward rotation command manual reverse rotation command and origin return command is accepted If the target position is reached while decelerating under forcible stop command during PTP positioning operation pulse output is stopped In this case PTP positioning operation is regarded as completed successfully Speed Forcible stop command input to FB PTP positioning executing output from FB PTP normal end input to FB Positioning completed input to FB a ON Y ON OFF OFF M uu stop time Pulse output is stopped when the target position is reached Self startup frequency Time OFF ON ON Also during origin return operation if the origin is detected while decelerating under forcible stop command pulse output is stopped In this case origin return operation is regarded as completed successfully Speed Forcible stop command input to FB O
21. 516 M WL 2564 WM WL 1540 Receive count WM WL 517 WM WL 2565 WM WL 1541 Frame detection count WM WL 518 M WL 2566 WM WL 1542 M_OPEN status WM WL 519 M WL 2567 WM WL 1543 M_SEND status WM WL 520 M WL 2568 WM WL 1544 M RECEIVE status WM WL 521 WM WL 2569 WM WL 1545 M_SEND error count WL WL WL WL WL WL WL WL WL WL WL WL WL WL WL WL WM WL 522 WM WL 2570 WM WL 1546 M RECEIVE error count WL WL WL WL WL WL WL WL WL WL WL WL WL WL WL WL WL WL WM WL 4 523 WM WL 2571 WM WL 1547 Reserved WM WL 4 524 WM WL 2572 WM WL 1548 Reserved WM WL 4 525 WM WL 2573 WM WL 1549 Reserved WM WL 4 526 WM WL 2574 WM WL 1550 Reserved WM WL 527 WM WL 2575 WM WL 1551 Reserved WM WL 4 528 WM WL 2576 WM WL 1552 Reserved WM WL 529 WM WL 2577 WM WL 1553 Reserved WM WL 4 530 WM WL 2578 WM WL 1554 Reserved WM WL 531 M WL 2579 M WL 1555 Reserved Port status General purpose communication module status Control data Error data 1514131211109 8 7 6 54 32 10 1514131211109 87 654 32 10 RS signal Mode switch x8 CS signal Mode switch x4
22. Add delete application from the Control Panel window The figure below shows an example of WindowsXP screen image F Add or Remove Programs ee ex Currently installed programs Sort by Name Pin 73 Adobe Acrobat 5 0 Size 15 87MB Remove Programs j9 Flex PC Programmer E Size 3 05MB z E FujiElectric UG00S CW Size 57 38MB A Micrex F PLC Programmer E Size 3 54MB Add New Programs m Paint Shop Pro 7 Anniversary Edition Size 277 00MB Ta a STANDARD EXPANSION FB for SX Programmer Standard Ver 1 3 1 0E Add Remove Windows E Components To change this program or remove it computer angejR fe Change Remove i9 SX Programmer Standard Size 1 82MB 2 Select Standard Expansion FB for SX Programmer Standard Ver and click the Change Remove button The following confirmation screen for file deleting appears Confirm File Deletion I E x Do you want to completely remove the selected application and all of its components o ce 3 Clicking the OK button on the confirmation screen starts uninstalling the Standard Expansion FB for SX Programmer Standard file When uninstalling is completed a message to the effect is displayed or SX Programmer Standard Setup Maintenance Complete InstallShield Wizard has finished performing maintenance operations on STANDARD EXPANSION FB for SX Programmer Standard 2 9 Section 2 Installation 2 A Uninstall 3
23. Receive buffer area WM WL 591 A WM WL 592 Send buffer area 80 d WM NL 4671 80 words WM WL 672 Parameter area 40 words WM WL 71 il WM WL 712 RAS area 2 WM WL 731 Bees 3 49 Section 3 Specifications of Communication FB 3 5 FUJI Temperature Controller Procedure FB CfdPYX 3 5 3 Initialization 1 Initialization parameters In order to initialize RS 485 communication ports which are to be used it is necessary to set proper values for each communication parameter item so as to match the communication specifications of the FUJI temperature controller The table below shows the setting contents of these parameters 0 General purpose communication Sets the station number of the general purpose communication module on the SX bus module station No Designates an interface port on the general purpose communication module 1 Port No 1 RS 232C port 0 RS 485 port Designates a port No for sending receiving message to from a general purpose communication module 2 Message port No 3 Not used Set 0 zero for the data Reserved 15 The timer for monitoring during the period from when the CPU module sends a send 16 Response monitoring timer request to a device until communication ends Normally set this value to 100 one second in 0 01 second steps 17 Retry count In case of communication error this designates how many times to retry co
24. 1 200 11 Floating origin setting DINT Pulses 231 1 to 291 1 0 12 Software OT range in direction DINT Pulses 0 to 2 1 231 1 13 Software OT range in direction DINT Pulses 0 to 231 1 231 1 14 Reserved DINT 0 15 Reserved DINT 0 16 Reserved DINT 0 17 Reserved DINT 0 Description of FB parameters 1 Parameter No 0 Axis selection This parameter selects an axis for the output module with pulse output function OFF CHO and CH2 are enabled ON CHh1 and CH3 are enabled 2 Parameter No 1 Direction of rotation changeover This parameter selects the relation between the direction to increase the current position value and the command pulse output from the output module with pulse output function OFF Forward rotation command forward pulse output for the direction to increase the current position value ON Reverse rotation command reverse pulse output for the direction to increase the current position value This setting is not the signal that is directly passed to the direction of rotation bit command of the output module with pulse output function The positioning FB changes over the bit command signal of the output module with pulse output function referring to the direction to increase the current position value and the setting of this parameter 3 Parameter No 2 Pulse output type selection This parameter selects the type of pulse that is output from the output module with pulse output function O
25. 12 RS 485 mode WM WL 13 to 34 Reserved WM WL 35 Response monitoring timer WM WL 36 to 39 Reserved RAS information format of the memory assigned to WV0011 gt The memory that is assigned to WV0011 must be set secured as follows Specify the start address of the memoryor WV0011 Start address WM WL Work area for sending 256 words WM WL 255 WM WL 256 Work area for receiving 256 words WM WL 511 WM WL 512 Receive buffer area WM WL 1023 isi WM WL 1 024 Send buffer area 512 words WM WL 1 535 WM WL 1536 RAS area 20 words WM WL 1555 WM WL 1556 CRC area WM WL 1811 pau 3 70 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm 4 Function code 1 Coil reading code 01 Input bit reading code 02 Reads the status of the output input bit of a slave device The format of request message and response message is as follows FB terminals Request message Response message FB terminals Slave station No WV0003 gt Slave station No Slave station No gt Slave station No WV0017 Function code WV0004 gt Function code Function code gt Function code WV0018 Start address upper order Number of bytes of read data gt Data length WV0020 Start address WV0005 gt Start address lower
26. 5 3 4 Origin return operation Origin return operation is started at the rising edge of origin return command lt Origin return operation pattern gt Origin return Acceleration frequency deceleration time Speed b Self startup frequency Origin return command input to FB Returning to origin output from FB Origin return normally ended output from FB Positioning completed output from FB Origin LS OFF ON OFF input to FB Origin signal input to FB ON Ignored because no origin LS has been passed Trapezoidal acceleration or deceleration is performed Acceleration deceleration time is registered to the parameter area Origin return frequency and origin return direction are registered to the parameter area When origin LS signal is turned ON feedrate is changed to the value for self startup frequency Self startup frequency is registered to the parameter area The rising edge of origin signal after origin LS signal is turned OFF made to be the origin of the machine coordinate system At the origin of machine coordinate system pulse output is stopped and origin return operation is completed Origin signal detected before origin LS is passed is ignored The origin of machine coordinate system is made to be the floating origin and the position data in the work coordinate system is preset Floating origin data is registered to the param
27. REV_CMD While manual reverse rotation is executed reverse rotating by manual operation signal is ON The movement of manual reverse rotation takes place in the direction to decrease the current position value Origin return command V0005 BOOL IN When the rising edge of this signal origin return operation is ORG_CMD executed While returning to origin returning to origin signal V0032 is ON When origin return operation ended normally origin return normally ended signal V0033 is turned ON Origin LS V0006 BOOL IN When this signal is turned ON origin LS is detected ORG LS When this signal is turned ON while returning to origin frequency is changed over to self startup frequency Origin signal V0007 BOOL IN At the rising edge of this signal after passing the origin LS origin is ORG SIG detected to finish the origin return operation Making the rising edge of this signal the origin of machine coordinate System the target position command position and current position in the machine coordinate system are cleared to zero At the same time the target position command position and current position in the work coordinate system are preset to the set value of floating zero Frequency changeover V0008 BOOL IN OFF Frequency setting 1 ON Frequency setting 2 FRQ SL Frequency changeover is enabled during PTP positioning or manual operation The status of frequency changeover output or the respon
28. XON XOFF control RS 485 mode Reserved Code conversion Frame detection Number of receive data bytes WM WL 19 WM WL 20 WM WL 21 WM WL 22 WM WL 23 WM WL 24 WM WL 25 WM WL 26 WM WL 27 WM WL 28 WM WL 29 WM WL 30 WM WL 31 WM WL 32 WM WL 33 WM WL 34 WM WL 35 WM WL 36 to 39 RAS information format of the memory assigned to WV0007 gt The memory that is assigned to WV0007 must be set secured as follows This format is common to all non procedural FBs Specify the start address of the memory for WV0007 Start Ww Cfmpr Cfrpr2 WM WL Work area for sending 256 words WM WL 255 WM WL 256 M Work area for receiving 256 words WM WL 511 WM WL 512 RAS area 20 words WM WL 531 Start address WM WL WM WL 255 WM WL 256 WM WL 511 WM WL 512 WM WL 1535 WM WL 1536 WM WL 2559 WM WL 2560 WM WL 2579 C free Work area for sending 256 words Work area for receiving 256 words Receove buffer area 1024 words Send buffer area 1024 words RAS area 20 words Number of start codes bytes Start code1 Start code2 Start code3 Start code4 Start code5 Number of end codes bytes End code1 End code2
29. conversion mode A5 Processing impossible because in loader mode General purpose communication module detected an error Processing impossible because self diagnosis is General purpose communication module detected an error Ao being executed CO Hardware error detected during receiving General purpose communication module detected an error C1 Receive buffer has overflowed General purpose communication module detected an error C2 Send buffer has overflowed General purpose communication module detected an error C3 Send data size over General purpose communication module detected an error 3 53 Section 3 Specifications of Communication FB 3 5 FUJI Temperature Controller Procedure FB CfdPYX 3 5 5 RAS RAS information in general purpose communication is assigned as shown in the following figure RAS data is stored in the position shown in the figure below from the start address of the device which is assigned to RAS information parameter WV0010 WM WL 712 WM WL 713 Port status Control data Port status Status of general purpose communication module Send request count Send end count Receive count Frame detection count M OPEN status M SEND status M RECEIVE status M SEND error count M RECEIVE error count Reserved Reserved Reserved Reserved Reserved Reserved Reserved
30. 1 Communication specifications Transmission speed 300 600 1200 2400 4800 9600 19200 38400 57600 76800 115200 bps Note Data bits Selected from 7 8 bits Parity bit Selected from none odd even Stop bits Selected from 1 2 bits DCE Selected from DTE DCE modem DTE mode Modem DTE mode Turn CD ON when receiving DTE mode ER always ON Signal control DCE mode DR always ON DTE mode Off RS always ON Sending unconditional Signal flow On RS ON during sending Sending when CS is ON control ing iti DCE mode Off CS always ON Sending unconditional On CS ON when RS is ON Sending when ER is ON XON XOFF control Selected from ON OFF To use flow control with XON and XOFF XON and XOFF must not occur in data RS 485 mode Selected from 4 wire 2 wire Code conversion Selected from none ASCII conversion EBCDIC conversion Frame detection None Disable frame detection function Fixed length Designate the number of receive data bytes Variable length Designate start and end codes Horizontal parity BCC None None Upper order Lower order Lower order Upper order Calculation range designation Designate position Formula Selected from add add and invert EOR CRC BCC code Selected from character code binary code Transmission timer value Set value 10ms Note The non procedural FBs that can select the transmission speed of 300 60
31. Avoid designating a port No which is already used for sending receiving messages to from other module Designates a port No for sending receiving messages to from a general purpose 3 Message port No 2 communication module 1 to 127 For Cfrpr2 only Note Avoid designating message port No 1 or a port No which is already used for sending receiving messages to from other module Designates the transmission speed 4 Transmission speed 0 1200 1 2400 2 4800 3 9600 4 19200 5 38400 6 57600 7 76800 P 8 115200 90 300 91 600 bps Note 7 8 90 and 91 canbe set for _Cfrpr or _Cfrpr2 only Designates the data bit length When 7 is selected 7 bits make up one data when 5 Data bit 8 8 bits make up one data 0 7 bits 1 8 bits This is a bit which is added to data for the purpose of error detection Designate the 6 Parity bit proper one to match the setting of the device at the other end 0 None 1 Odd 2 Even This bit indicates the end of data Designate the proper one to match the setting of 7 Stop bit the device at the other end 0 1 bit 2 2 bits When signal line control is not performed there is no difference in functions between DCE and DTE modes The RS 232C of the general purpose communication module is of DTE specification however it can be used as a DCE specification interface when signal lines are converted as follows 8 DCE designation No 7 pin RS to CS No 6 pin DR to ER No 8 pin CS to RS No 4 pin
32. First click here Section 2 Installation 2 2 Installation 3 When you click the Next button in the Welcome dialog the License Agreement dialog appears After reading the contents thoroughly move on to the next operation STANDARD EXPANSION FB for SX Programmer Standard Setup E License Agreement Please read the following license agreement carefully Press the PAGE DOWN key to see the rest of the agreement Software End User License Agreement This Software End User License Agreement this amp greement is between you both the individual installing the Software and any single legal entity on behalf of which such individual is acting Licensee and Fuji Electric FA Components amp Systems Co Ltd Fuji IT IS IMPORTANT THAT YOU READ CAREFULLY AND UNDERSTAND THIS AGREEMENT BY CLICKING THE Yes BUTTON LOCATED ON THIS PAGE LICENSEE AGREES TO BE BOUND BY THIS AGREEMENT IF LICENSEE DOES NOT AGREE WITH ALL THE TERMS OF THIS AGREEMENT AND DOES NOT AGREE TO x Do you accept all the terms of the preceding License Agreement If you choose No the setup will close To install STANDARD EXPANSION FB for SX Programmer Standard you must accept this agreement InstallShield cs e 4 When you click the Next button in the License Agreement dialog the Choose Designation Location dialog appears Specify the target folder and then click the OK button to start the installation p
33. NP1F HC2 HC2MR HC2MR1 HC8 When gate operation mode is selected for linear operation or ring operation pulses are counted while the internal gate is on or the external gate input is in the count enabled state Linear operation mode is not available with NP1F HC8 When gate input is disabled pulses are not counted even if pulses are input When gate operation mode is not selected always set in the pulse counting enabled state Otherwise pulses cannot be counted in other operation modes 3 Phase Z detection operation NP1F HC2 HC2MR HC2MR1 The current count value is set to the count value at preset operation phase Z detection when the origin LS input signal is ON at the rising edge of ON to OFF of the phase Z detection signal of the external connection signal 4 Comparison detection operation NP1F HC2 HC2MR HC2MR1 By setting comparison detection operation mode for the bit command 1 register comparison between the count value and comparison value is allowed Resetting will disable it The comparison result is output to the bit information signal and external connection terminal when the count value is equal to or greater than the comparison value Data which is changeable for setting during FB operation are as follows Internal reset Internal gate when gate operation mode is selected nternal preset command when preset operation mode is selected Comparison value when comparison detection mode is selected Pres
34. Receive data R_DAT WV0005 WORD IN OUT Stores received data Communication parameter WV0006 INT IN OUT Stores the initialization parameters PARA RAS information WV0007 Note 1 IN OUT Operating information of this FB RAS Communication ready OK V0008 BOOL OUT Turns ON when initialization has ended normally to indicate that the system is ready for sending receiving data Open status O STS WV0009 WORD OUT 2 digit hexadecimal code to indicate the result of initialization Send end S END V0010 BOOL OUT Turns ON when sending has completed Send error S ERR V0011 BOOL OUT Turns ON if a send error has occurred Send status S STS WV0012 WORD OUT Code to indicate the result of sending Receive end R END V0013 BOOL OUT Turns ON when receive has completed Receive error R ERR V0014 BOOL OUT Turn ON if a receive error has occurred Receive status R STS WV0015 WORD OUT Code to indicate the result of receiving Number of receive data bytes WV0016 INT OUT Stores the number of bytes of receive data R_LEN Note 1 Work area for sending WORD Work area for receiving WORD Receive buffer area WORD Send buffer area WORD Parameter area INT RAS area INT For more information about data type refer to Appendix 1 3 57 Section 3 Specifications of Communication FB 3 6 FUJI Bar Code Reader Procedure FB CfdPK Send text data format of the memory assigned to WV0004
35. Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 18 Outputting the set data of local FB when the data setting FB is used When the rising edge of startup command is detected the set value data of local FB is output to the positioning FB At the same time PTP positioning command is issued to the positioning FB Timing of startup for cascade connection gt Frequency Positioning operation in the previous stage FB Positioning operation with the set values of local FB Positioning operation in the next stage FB Time Setting 1 input to FB ABS INC number of pulses frequency Setting 2 input to FB ABS INC number of pulses frequency Positioning completed input to FB OFF PTP normal end input to FB OFF PTP positioning executing input to FB ON Startup command input to FB PTP positioning command input to FB FB running input to FB OFF FB completed input to FB OFF ON Next stage startup input to FB OFF ON Positioning data input to FB Through output gt Set value of local FB X Through output For a cascaded intermediate step next stage startup command output of the previous stage FB is connected to the startup command signal For the first step first startup command signal is necessary SW etc The rising edge of startup command signal is a
36. WM WL 4 51 1 WM WL 51 2 Receive buffer area WM WL 591 ee WM WL 592 Send buffer area 80 d WIE 80 words WM WL 4672 WL RAS area 3 29 Section 3 Specifications of Communication FB 3 3 FUJI General Purpose Inverter Standard Communication FGI BUS Procedure FB CfdFVR 3 3 3 Initialization 1 Initialization parameters In order to initialize RS 485 communication ports which are to be used it is necessary to set proper values for each communication parameter item so as to match the communication specifications of the FVR 11 series general purpose inverter The table below shows the setting contents of these parameters General purpose communication Sets the station number of the general purpose communication module on the SX bus module station No Designates an interface port on the general purpose communication module 1 Port No 1 RS 485 port 2 Message port No Designates a port No for sending receiving message to from a general purpose communication module 3 Reserved Not used 4 Tanemissionspeed Designates the transmission speed p 0 1200 1 2400 2 4800 3 9600 4 19200 bps Designates the data bit length When 7 is selected 7 bits make up one data when 8 8 bits make up one data 5 Data bit 0 7 bits 1 8 bits This is a bit which is added to data for the purpose of error detection Designate the 6 Parity bit proper one to m
37. output module as shown below CPU parameter Ex CPU running definition Memory allocation setting 1 0 group setting Fail soft operation setting IP address G ateway setting Levet DEFAULT z 120 List Input select Input for referring output value Direct 0 SX station No 1 Pulse Sink Direct D SX station No 1 Pulse Sink Oi A R Then click the Detail button to display the Detail setting for digital output with pulse dialog Set ON the checkbox for channels to be used for pulse setting Detail setting for digital output with pulse r Pulse setting v CH 0 CH 1 Pulse use v CH 2 CH_3 Pulse use r Port output data area setting Ow psp spo ri fio g 8 16 point batch 1w psp pa pia fi io 3 8 7 6 5 4 z 2 z o 16 point batch Cancel Help 5 47 Appendix 1 Data Type and Range Data type and range BIT BOOL 0 1 on off INT 32768 to 32767 123 DINT 2147483648 to 2147483647 100 UINT 0 to 65535 1000 UDINT 0 to 4294967295 10000 WORD 0000 to FFFF H0000 H1234 HABCD DWORD 00000000 to FFFFFFFF H00000000 H12345678 HABCDEF10 App 1 1 Fuji Electric FA Components amp Systems Co Ltd Mitsui Sumitomo Bank Ningyo cho Bldg 5 7 Nihonbashi Odemma cho Chuo ku Tokyo 103 0011 Japan Phone 81 3 5847 8011 Fax 481 3 5847 8172 URL httpz www fujielectric co jp fcs eng Info
38. refer to Appendix 1 Send data format of the memory assigned to WV0008 The memory that is assigned to WV0008 must be set secured as follows Specify the start address of the memory for WV0008 Upper order Lower order Start address WM WL Data 2 Data 1 WM WL 1 Data 4 Data 3 WM WL 255 Data 512 Data 511 Receive data format of the memory assigned to WV0009 The memory that is assigned to WV0009 must be set secured as follows Specify the start address of the memory for WV0009 Upper order Lower order Start address WM WL Data 2 Data 1 WM WL 1 Data 4 Data 3 WM WL 255 Data 512 Data 511 3 69 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm Communication parameter format of the memory assigned to WV0010 The memory that is assigned to WV0010 must be set secured as follows Specify the start address of the memory for WV0010 Start address WM WL General purpose communication module station No WM WL 1 Port No WM WL 2 Message port No 1 WM WL 3 Reserved WM WL 4 Transmission speed WM WL 5 Reserved WM WL 6 Parity bit Stop bit WM WL 7 WM WL 8 DCE designation WM WL 9 ER DR signal control WM WL 10 Signal flow control WM WL 11 XON XOFF control WM WL
39. the target position may be reached while decelerating In this case pulse output is stopped in the middle of deceleration In order to surely perform the processing for stopping by two step motion the moving length at stoppage must be greater than the following value Moving length at stoppage gt Maximum set value of frequency x Maximum time interval to call the simple positioning expansion FB Delay time to call this FB Current frequency SSsereas Calculated curve Speed Actual curve Self startup frequency Time 5 34 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 15 Position data management The simple positioning expansion FB outputs the position data in machine coordinate system and the position data in work coordinate system For both coordinate systems there are 3 types of position data target position command position and current position as shown below Position data Machine coordinate Target position data System Command position data Current position data Work coordinate Target position data system Command position data Current position data For PTP positioning operation the number of output pulses is calculated referring to the position data in work coordinate System 1 When absolute position is set Number of output pulses Set value for the number of pulses Current position in work coordinate system 2 Whe
40. 3 Calculates start code text part and end code and inserts them behind the end code Start code TEXT End code BCC e Note In this case the BCC code type cannot be designated as binary Specify other than CR 16 for the BCC expression Section 3 Specifications of Communication FB 3 1 Non procedural FB 33 BCC calculation formula Calculation method to check for transmission error D1 D2 Dn 0 Add Di D2 Dn 1 Add and invert Inversion of D1 D2 Dn 2 EOR D1 EOR D2 EOR EOR Dn 3 CRC Note When CRC is selected specify BCC Code Format to 0 Binary CRC 16 X5 eX XX 1 34 BCC code type Designates the code type of BCC data 0 Binary 1 ASCII 2 EBCDIC 35 Send timer value The timer for monitoring during the period from when the CPU module FB sends a send request to an external device until communication ends This value can be set in 0 01 second steps Example For 1 second set this value to 100 Up to 327 67 seconds can be set 36 39 Reserved Not used Note 1 Parameter Nos 16 to 35 are valid even if changed after opening After opening if parameter Nos 16 to 35 are changed and a setup error occurs or if other parameters are changed an open error results and communication OK is turned OFF Note 2 No in the above table is the number of the words from the start for communication parame
41. 32 bit count selection R0003 OFF Selects 16 bit count ON Selects 32 bit count Gate operation mode selection enable R0004 OFF Disables gate operation ON Enables gate operation F E D CB A 9 8 7 6 5 4 3 2 1 O0 WM WL 1 Unused 4 22 Section 4 Specifications of High speed Counter FB 4 2 High speed Input Module Counter FB 4 2 1 Overview of FB The high speed counter function can be realized by using the high speed input module NP1X3206 A together with the high speed input counter expansion FB Functional overview 1 Pulse input format selection 90 phase difference pulse Positive rotation pulse Negative rotation pulse Pulse command Sign signal 2 Operation mode Ring operation Gate operation Reset operation 3 Counting range Signed binary 16 bits 32768 to 32767 Signed binary 32 bits 2147483648 to 2147483647 4 2 2 Memory size of FB aes Nace NP1X3206 A Approx 0 35k steps awos qo words a is suffixed to the name of the FB supporting array structure Note When using FBs supporting array structure use V2 2 3 0 or later version of Standard loader 4 23 Section 4 Specifications of High speed Counter FB 4 2 High speed Input Module Counter FB 4 2 3 Count operation mode 1 Ring operation mode Input pulse mode and 16 32 bit count selection are set by the function block FB No overflow
42. CNT RUN v13 DIR v14 INSTS v15 BITCMD1 BITCMD1 wv4 WV5 CH SEL WV5 STS DAT STS DAT WV6 WV6 INDAT INDAT WV7 WV7 OUTDAT ____ OUTDAT DV8 DV8 4 20 Initialization completion Internal reset command response Internal gate command response Count value Count operation Rotation direction External input status Bit command signal Bit command signal response Input variable Output variable Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 2 Description of FB parameters Start command V0001 BOOL IN At the rising edge of this signal processing to operate the START counter FB is performed Internal reset command V0002 BOOL IN If this signal is turned on while start command is on reset RST CMD command is output to the high speed counter module At the rising edge of this signal Internal gate command V0003 BOOL IN Command when gate operation is enabled GATE_CMD ON Turns on the external input changeover signal of the high speed counter module OFF Turns off the external input changeover signal of the high speed counter module Bit command signal WV0004 Note 1 IN OUT Refer to Signal assignment of bit command signal BITCMD1 Two word area is required CH selection WV0005 INT IN Specifies the channel of the counter CH_SEL 0 CH1 1 CH1 2 CH2 3 CH 4 CH4 5 CH5 6 CH6 7 CH7 Bit command signal WV0006 N
43. CfdPK 1 FB format Open Send request Number of send data bytes Send data Receive data Communication parameter RAS information _CfdPK _CfdPKa OPEN V1 S REQ V2 S LEN WV3 S DAT EN wv4 R_DAT WV5 PARA WV6 RAS WV7 OK V8 O STS WV9 S END v10 S_ERR v11 S_STS WV12 R END v13 R_ERR v14 R_STS WV15 R LEN WV16 S DAT wv4 R_DAT WV5 PARA WV6 RAS WV7 3 56 Communication ready Open status Send end Send error Send status Receive end Receive error Receive status Number of receive data bytes Send data Receive data Communication parameter RAS information Section 3 Specifications of Communication FB 3 6 FUJI Bar Code Reader Procedure FB CfdPK 2 Explanation of FB parameters Open V0001 BOOL IN ON Sends the communication parameters to the general OPEN purpose communication module to initialize communication When communication becomes possible communication ready turns ON OFF Performs the processing for ending communication Communication ready turns OFF Send request V0002 BOOL IN Starts to send data When sending has ended this needs to S REQ be turned OFF by the application program Number of send data bytes WV0003 INT IN Stores the number of bytes of send data S LEN Send data S DAT WV0004 WORD IN OUT Stores send data
44. FB Positioning completed output from FB OFF ON ON OT input to FB OFF ON OFF OT error output from FB OT input to FB OFF ON OT error output from FB OFF ON The deceleration time when an OT error is detected depends on the parameter set value of ordinary acceleration deceleration time When pulse output is stopped due to an OT error detected positioning completed signal is turned ON PTP positioning executing forward rotating by manual operation reverse rotating by manual operation and returning to origin signals are turned OFF While pulse output is stopped no OT error is detected even if OT or OT signal is turned ON Also when pulse output is stopped by pause command no OT error is detected When decelerating under forcible stop command OT error is detected if pulse is being output However for the deceleration curve priority is given to forcible stop time 5 28 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function OT error detecting method depends on operation mode 1 During PTP positioning operation OT error occurs if either OT or OT signal is turned ON If either OT error or OT error is detected positioning operation is stopped When either OT error or OT error is turned ON PTP positioning command is not accepted 2 During
45. FB 3 3 FUJI General Purpose Inverter Standard Communication FGI BUS Procedure FB CfdFVR 3 3 4 Data sending receiving 1 Data sending receiving procedure Set send text data Send text data WV0007 Set send station address Send station address WV0003 Set send command type Send command type WV0004 Set send function code Send function code WV0005 Turned ON by the application program Turned OFF by the application program Pees mid Send request V0002 fe Recevetetdaa o tC mE WV0008 Recaivestationradaress One WV0016 Received command type 000000000 Ll WV0017 Receive function code WV0008 70 Accesories C CC S AOTETUCTTOS WV0018 Receivestatus OITA WV0015 Receive end V0013 TP In case of receive error P Output only one scanning Receive error V0014 Ld iE Send text data send station address send command code and send function code are set and then send request is turned ON by the application program FB detects the rising edge to execute the processing for sending When the send station address is for all stations 99 the receive end flag is automatically turned ON the moment sending is completed receive error flag is also turned ON if abnormal When the send station address is for one station 99 the system automatically enters receiving waiting mode the moment sending is completed executing the processing for receiving When the delimiter between frames is d
46. Min 64 MB Mouse USB mouse serial mouse bus mouse or PS2 mouse Keyboard 106 Japanese A01 keyboard Ctrl alphanumeric Display Resolution 800 x 600 dots or higher 1024 x 768 dots or higher is recommended Windows95 98 ME English version Ss WindowsNT WorkstationV4 0 English version SP6 or highrer Windows2000 Professional English version WindowsXP English version Section 2 Installation 2 2 Installation The standard expansion FB is included in the SX Programmer Standard System Software Package CD ROM Operating Procedure 1 Activate Windows and then insert the product CD ROM into the CD ROM drive The following dialog appears im SX Programmer Standard Startup MICmREX SX FLEX PC SX Programmer Standard Le 2004 Fuji Electric FA Cormponeni ms Co Ltd e Front runners c the ft Note If the installation dialog does not appear perform the following operations Click Start on the Windows screen and then RUN Enter drive where the CD ROM is inserted autorun exe for the name and then click the OK button 2 When you click Standard Expansion FB Setup the following dialog appears STANDARD EXPANSION FB for SX Programmer Standard Setup Welcome to the InstallShield Wizard for STANDARD EXPANSION FB for SX Programmer The InstallShield Wizard will install STANDARD EXPANSION FB for SX Programmer Standard on your computer To continue click Next
47. S otn cscs E E E cene sU E c 5 30 5 3 13 Acceleration and deceleration ccsecccceseceeeeeeeeeeeneeeeeeeeeeeneesesenensaeeeeesaesenenenenseeeeseneesesenenteeseees 5 32 5 3 14 Deceleration point detection ccesecceceseeeeeeeeeeseneeeeeeeeeseneeeesenensaseeeessesesesenenseeesenseneenssnenseeseees 5 34 5 3 15 Position data management sssessssssssseseeseeeenee enne nnne nnne nennt nne ntes nnn iens tnnt ri rns enne rennen 5 35 5 9 16 Frequency data management sesopo dare Aves pense en Ra a aba ede done etre widens ie EE FER d 5 38 5 3 17 Operation when the data setting FB is used sssssssssssseeeneeeeneee nennen nene 5 39 5 3 18 Outputting the set data of local FB when the data setting FB is used ssssssssse 5 40 5 4 Parameters for Simple Positioning Expansion FB sensere nnne 5 43 5 4 1 Simple positioning parameter specifications ssssssssssssesseeeeeeeenneenennee nnne 5 44 5 5 Pulse Output Setting for High speed Output Module sees ceeseeeeee 5 47 Appendix 1 Data Type and Range eee App 1 1 Section 1 General Communication program for MICREX SX series to communicate data with external devices via the general purpose communication module is made using the function blocks dedicated to communication function block will be abbreviated to FB below The following FB
48. assignment of bit command signal WV0004 At the rising edge of the start command START this area is reflected to the HC8 module F E D C B A 9 8 7 6 5 4 3 2 1 O WM WL L e Member names for structure are shown in Unused Input pulse format R0001 R0002 OFF OFF 90 degree phase differential pulse OFF ON Forward pulse Reverse pulse ON OFF Sign Counting pulse ON ON Disables pulse counting 16 bit count 32 bit count selection R0003 OFF Selects 16 bit count ON Selects 32 bit count Gate operation mode selection enable R0004 OFF Disables gate operation Count enable of the high speed counter module must be left turned on ON Enables gate operation The high speed counter module refers to the internal gate command and external gate command and then outputs the count enable command to the high speed counter module F E D C B A 9 8 7 6 5 4 3 2 1 O0 WM WL 1 Unused Note 2 Signal assignment of bit command signal response WV0006 F E D C B A 9 8 7 6 5 4 3 2 1 0 WM WL ET Member names for structure are shown in Unused Input pulse format R0001 R0002 OFF OFF 90 degree phase differential pulse OFF ON Forward pulse Reverse pulse ON OFF Sign Counting pulse ON ON Disables pulse counting 16 bit count
49. coordinate system Current position in machine coordinate system 20 006 10 006 Preset value Error at stoppage Target position and command position in work 35 000 15 000 Machine coordinates Set value of coordinate system floating origin Current position in work coordinate system 35 006 15 006 Machine coordinates Set value of floating origin Error at stoppage 6 6 Unchanged Work coordinates offset 15 000 5 000 Set value of floating origin Preset data 10 000 Set value of floating origin 5 000 The target position and command position in machine coordinate system are changed to the preset values The current position in machine coordinate system becomes the preset value added by the error Work coordinates offset becomes the position data in machine coordinate system added by the set value of floating origin Work coordinates offset becomes the set value of floating origin 5 21 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 8 Cancellation of positioning At the rising edge of positioning cancel command during PTP positioning or origin return operation positioning is halted When positioning is halted deceleration takes place by the set value of ordinary acceleration deceleration time After pulse output is stopped positioning completed signal is turned ON and PTP positioning executing and returning to origin signals are turned OFF O
50. counter Overflow underflow flag is cleared by internal reset signal If an overflow or underflow flag is detected count value is set to the positive or negative maximum value Internal reset EM Forward ai il ml teas apt el Serene ea Count pulse Reverse tcc JiGuScscneseecsSeiceuscdceuce Maximum positive value Count value a ee Maximum negative value Internal overflow flag Internal underflow flag Note 1 The NP1F HC8 has no Linear operation function Note 2 When linear operation mode is used be sure to use expansion FB _MHCNTR _MHCNTRa Linear operation counting range 1 When 16 bit is specified with NP1F HC2 HC2MR HC2MR1 A 32767 s Underflow flag ON 16 bit positive maximum value 32767 16 bit positive maximum value 32767 0 0 16 bit negative 16 bit negative maximum value maximum value t Oni X Fixed to 32768 32768 Overflow flag ON 32768 Count value to be input mwmmmmmm Count value to be output when an overflow or underflow occurred Overflow If the UP counting is performed when count value is 32767 overflow flag is set in the error signal and bit data registers and positive maximum value 32767 is set as the count value to be output Underflow If the DOWN counting is performed when count value is 32768 underflow flag is set in the error signal and bit data registers and negative maximum value 32768 is set as the count
51. counting status CNT RUN ON Disabled OFF Enabled Rotation direstion V0014 BOOL OUT Indicates the status of the signal input to the high speed input module DIR ON Forward OFF Reverse For information about the data type refer to Appendix 1 4 27 Section 4 Specifications of High speed Counter FB 4 2 High speed Input Module Counter FB Note 1 Bit command signal device format assigned to WV0004 The device that is assigned to WV0004 must be set secured as follows At the rising edge of the start command V0001 this area is reflected to the high speed counter module D C B A 9 8 7 6 5 3 2 1 0 WM WL i H WM WL 1 Unused Member names for structure are shown in Input pulse format R0001 R0002 OFF OFF 90 degree phase differential pulse ON OFF Forward pulse Reverse pulse OFF ON Sign Counting pulse ON ON Disables pulse counting 16 bit count 32 bit count selection R0003 OFF Selects 16 bit count ON Selects 32 bit count For the high speed input module only 16 bit count specification is enabled By using this FB 16 or 32 bit specification can be selected Gate operation mode selection enable R0004 ON Disables gate operation Count enable of the high speed input module is left turned on OFF Enables gate operation The high speed counter module refers to the internal gate command and then outputs
52. data format of the memory assigned to WV0008 gt The memory that is assigned to WV0008 must be set secured as follows Specify the start address of the memory for WV0008 Upper order Lower order Start address WM WL Data 2 Data 1 Data 4 Data 3 WM WL 1 3 28 Section 3 Specifications of Communication FB 3 3 FUJI General Purpose Inverter Standard Communication FGI BUS Procedure FB CfdFVR Communication parameter format of the memory assigned to WV0009 The memory that is assigned to WV0009 must be set secured as follows Specify the start address of the memory for WV0009 Start address WM WL General purpose communication module station No WM WL 1 Port No WM WL 2 Message port No WM WL 3 Reserved WM WL 4 Transmission speed WM WL 5 Data bit WM WL 6 Parity bit WM WL 7 Stop bit WM WL 8 to 15 Reserved WM WL 16 Response monitoring timer WM WL 17 Retry count WM WL 18 to 39 Reserved RAS information format of the memory assigned to WV0010 gt The memory that is assigned to WV0010 must be set secured as follows Specify the start address of the memory for WV0010 Start address WM WL Work area for sending 256 words WM WL 255 WM WL 7 296 Work area for receiving 256 words
53. designation Reserved RAS information format of the memory assigned to WV0007 gt The memory that is assigned to WV0007 must be set secured as follows Specify the start address of the memory for WV0007 Start address WM WL WM WL 255 WM WL 256 WM WL 511 WM WL 512 WM WL 4 591 WM WL 592 WM WL 671 WM WL 672 WM WL 711 WM WL 712 WM WL 731 Work area for sending 256 words Work area for receiving 256 words Receive buffer area 80 words Send buffer area 80 words Parameter area 40 words RAS area 20 words 3 59 Section 3 Specifications of Communication FB 3 6 FUJI Bar Code Reader Procedure FB _CfdPK 3 6 3 Initialization 1 Initialization parameters In order to initialize RS 232C communication ports which are to be used it is necessary to set proper values for each communication parameter item so as to match the communication specifications of the PK2 series bar code reader The table below shows the setting contents of these parameters 0 General purpose communication Sets the station number of the general purpose communication module on the SX bus module station No 1 Port No Designates an interface port on the general purpose communication module 0 RS232C port Designates a port No for sending receiving mes
54. frequency operation is performed using the self startup frequency Frequency selected signal indicates the currently selected status Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 6 Work coordinates position preset At the rising edge of work coordinates position preset command the position data in the work coordinates system is preset Work coordinates position preset command is accepted when positioning is completed when positioning completed signal is ON Timing chart for work coordinates position preset command signal Positioning completed input to FB ON OFF Work coordinates position preset command input to FB Preset data Set value 2 input to FB Set value 1 et value Work coordinates target position 1 Setvalue 2 Target position output from FB Work coordinates n command position 1 Setvalue output from FB 1 Preset to the set value 1 2 For PTP positioning or origin return operation changed over to the target position 3 Not accepted because positioning is being executed Work coordinates position preset command presets the target position and command position in the work coordinate System to the set values Work coordinates current position is calculated from the preset value and the error at stoppage Work coordinates offset is also updated The position data in the machine coordinate system is not r
55. is completed and positioning completed is turned ON At that time positioning completed signal is turned ON only for one cycle Signal timing is shown below 1 Operation command is turned OFF when positioning is completed 1 Not accepted because manual reverse rotation is being executed at the rising edge of manual forward rotation command Operation command ON input to FB Running ON output from FB Positioning completed output from FB on 2 Operation command is turned OFF in the middle of positioning Operation command input to FB ON Running output from FB ON Positioning completed output from FB ON OFF Positioning is executed 5 11 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 2 PTP positioning operation PTP positioning is started at the rising edge of PTP positioning command PTP positioning operation pattern is shown below Acceleration Frequency deceleration 1 time Speed PS Self startup frequency Frequency Frequency Moving length at stoppage PTP positioning command input to FB ON PTP positioning executing ON output from FB PTP normal end output from FB OFF ON Time OFF Positioning completed output from FB OFF ON Frequency changeover input to FB OFF Frequency selected output from FB OFF ON ON
56. is enabled response GATE OK Used as the response signal to the internal gate command Internal preset command V0018 BOOL OUT Response signal used when preset operation is enabled response PSET OK Rising edge Performs preset Alarm reset command V0019 BOOL OUT Used as the response signal to the alarm reset command when response ARM OK alarm for a transmission error or register monitoring time up is generated 4 18 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB Count value DV0020 DINT OUT When preset operation is selected at preset operation outputs the value used when presetting is performed phase Z detection When phase Z detection operation is selected IS EINZIG outputs the value used when phase Z is detected Count value DV0021 DINT OUT Outputs the counter value to be input CNT DAT When preset operation mode is selected the value actually input is different from the counter value 16 bit selected 32768 to 32767 32 bit selected 2147483648 to 2147483647 Count operation V0022 BOOL OUT ON during counting operation of the high speed counter module CNTRUN OFF Stopped ON Counting Rotation direstion V0023 BOOL OUT Outputs the current rotation direction of the high speed counter DIR module OFF Forward ON Reverse Comparison detection V0024 BOOL OUT Detection signal enabled when comparison detection mo
57. modm 4 Retain register writing 1 word code 06 Writes data in the register 1 word that is designated by a slave device The format of requst message and response message is as follows FB terminals Request message Response message FB terminals Slave station No WV0003 gt Slave station No Slave station No gt Slave station No WV0017 Function code WV0004 gt Function code 06h Function code 06h gt Function code WV0018 Register address upper order Register address upper order gt Data length WV0020 Start address WV0005 gt Register address lower order Register address lower order Write data upper order Write data upper order Send data WV0008 gt Write data lower order Write data lower order 2 Receive data WV0009 CRC lower order CRC lower order CRC upper order CRC upper order Notes 1 In case of abnormal response 80hex is added to function code WV0018 2 3 4 5 Forcible ON OFF multiple bits code OF Forcibly sets ON OFF a bit coil that is designated by a slave station The format of request message and response message is as follows FB terminals Request message Response message Function 06 does not use the data length WV0006 or the number of bytes WV0007 Set H0000 for each parameter CRC is automatically calcula
58. or underflow occurs Internal reset to 0 Positive rotation P4 Count pulse Negative posc ceees i rotation l Positive idee ias pM MM Mp M MM M M M MM MEA UU maximum value Positive Count value 1 i Negative maximum value The counting range can be set to 16 or 32 bit signed binary value by internal setting 2 Gate operation mode Pulse counting is performed when the internal gate input is in count enabled state Internal gate Counting enabled when the 4th bit of the bit command signal is ON Setting required for every four channels Internal reset Pulse counting enabled Pulse counting enabled EI Internal gate input poco i Positive rotation Jpp duselndc ed Count pulse T L LI 1 Negative llr 77r7777777 i i rotation 1 i Positive PODS eral he ccn epe pu ds n pu pum po GC UL hey oc vq hg gq re Mier ae joes maximum value Positive i Count value T Negative Count reset to 0 Negative ln Se ee ee ee OO maximum value Pulse counting is performed only when the internal gate input is in count enabled state When the gate input is in the count disabled state no pulse counting occurs for pulse inputs if any The counting range can be set to 16 or 32 bit signed binary value by internal setting 4 24 Section 4 Specifications of High speed Counter FB 4 2 High sp
59. parity bit etc 2 Data sending receiving function Sends data from an application program in the MICREX SX series CPU module to MODBUS devices via the general purpose communication module or outputs the data received via the general purpose communication module to an application program 3 Transmission condition monitoring function Monitors data transmission condition and outputs error information if abnormal 4 Supported function codes This FB supports the following functions For the data format for individual function refer to 3 7 2 4 Function codes 01 Coil output reading 06 Retain register writing 1 word 02 Input bit reading 08 Diagnosis see note 03 Retain register reading OF Forcible ON OFF multiple bits 04 Input register reading 10 Retain register writing multiple words 05 Forcible ON OFF 1 bit Note For more information of diagnosis refer to MODBUS specification Connecting method of _C_modm gt The connecting method between the general purpose communication module and MODBUS devices 1 1 connection by RS 232C and 1 N connection by RS 485 2 wire system are available lt FB operating conditions gt System configuration One FB is necessary for each communication port RS 232C RS485 to be used One FB is used to communicate data with the MODBUS devices that are connected to one port This FB can be used with V2536 or later version of the general purpose communication m
60. pulses setting 2 PLS2 DV10 Frequency setting 2 FRQ2 WV11 Positioning completed PSET PSET Positioning completed V12 V12 PTP positioning executing 4 PTP RN PTP RN prp positioning executing V13 V13 PTP normal end j PTP END PTP END PTP normal end V14 V14 5 8 Section 5 Specifications of Simple Positioning FB 5 2 Specifications of Simple Positioning FB 2 Description of FB parameters Operation command V0001 BOOL IN While this signal is ON running output is turned on to enable the data RUN CMD setting FB While this signal is OFF running output is turned OFF and the data setting FB is initialized When initialized the signal and data from the preceding stage pass through said data setting FB to be output as they are Output signals of the data setting FB or FB running and FB completed are turned OFF Startup command V0002 BOOL IN PTP positioning command output V0013 is turned ON at the rising CMD edge of this signal For the second and following stages the next stage startup command output from the preceding stage is connected ABS INC selection 1 V0003 BOOL IN PTP positioning signal from the preceding stage FB See note ABS INC1 Till startup command is enabled signal from the preceding FB passes through the data setting FB to be output as it is to positioning FB Number of pulses DV0
61. selection b Number of pulses data c Frequency data d PTP positioning command 5 41 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function Sample connection of data setting FB is shown below MSMVDAT MSMVDAT RUN CMD RUN_STS RUN CMD RUN STS V1 VF V1 VF CMD ABS INc BS INC selection CMD ABS INC V2 VIO lumbar v2 V10 ABS INC1 pis lO pulsessetting ABS INC selection 1 ABs_INC1 PLS v3 Dvi1 T v3 DV PLS1 pro Frequency setting of pulses setting 1 PLS4 FRQ DV4 v12 PTP positioning bV4 v12 FRQ1 PTP cmp command Frequency setting 1 FRQ1 PTP CMD WYS Vis PTP positioning ys v13 PTP CMD IN NXT CMD command PTP CMD IN NXT CMD V6 V14 V6 V14 VLD STP FB RUN VLD STP FB_RUN V7 V15 V7 V15 END_STP FBOK END STP FB OK V8 V16 V8 V16 ABS INC2 ABS INC2 V9 V9 PLS2 ____ PLS2 DVA DVA FRQ2 FRQ2 WVB WVB ____ PSET PSET PSET PSET vc vc vc VC ___ PIPRN PIPRN PIPRN PIPRN VD VD VD VD PIPEND PTPEND PIPEND PTPEND VE VE VE VE When unnecessary PTP positioning command of the 1st stage FB should be turned OFF Because the signal is output till the rising edge of startup command is detected the positioning FB is started if PTP positioning command is turned ON In the initial state where running signa
62. sending has ended this needs to be S REQ turned OFF by the application program Slave station No Query WV0003 INT IN Designates destination slave station No STN NO Function code Query WV0004 WORD IN Designates which MODBUS function to use This code is set in F CODE the lower order byte Example WORD 16 0010 Start address Query WV0005 WORD IN Designates the start address of the data that becomes the object ADD of reading or writing operation For diagnosis 08 diagnosis code is input Set data in the following format E 8 amp 7 0 Upper order Lower order Data length Query WV0006 WORD IN Designates the size the number of bits or words of read data or LEN 1 write data Some functions do not use this parameter In such case set this item to 0000h Set data in the following format E sj Tf 0 Upper order Lower order Number of bytes WV0007 WORD IN Designates the number of bytes of write data when multiple bits LENA OF or multiple words 10 are to be written For other functions set this item to 0000h Set data in the following format E 87 0 Upper order Lower order Send data S DAT WV0008 WORD IN OUT Stores send data For data reading or diagnosis the data are all set to 0 zero Receive data R_DAT WV0009 WORD IN OUT Stores received data Communication parameter WV0010 INT IN OUT Stores the initialization parameters PARA Refer to 3 7 3 Initialization for details
63. signal is ON OT error immediately occurs at the rising edge of manual reverse rotation command 11 When forcible stop command is ON 6 7 8 9 If OT error is detected while manual forward rotation is executed forward rotating by manual operation signal is turned ON after the operation is stopped During manual forward rotation no positioning is executed beyond SOT range If manual forward rotation is continued the system finally stops at SOT position After stopping at SOT position SOT error signal is turned ON If OT error is detected while manual reverse rotation is executed reverse rotating by manual operation signal is turned OFF after the operation is stopped During manual reverse rotation no positioning is executed beyond SOT range If manual reverse rotation is continued the system finally stops at SOT position After stopping at SOT position SOT error signal is turned ON Note Manual forward rotation is disabled when OT error OT error SOT or SOT error is detected Manual forward reverse rotation is possible even when these errors are detected For manual forward reverse rotation command not only the rising edge but also the level of ON are checked Therefore even if manual forward rotation command is turned ON while manual reverse rotation is executed the mode won t be changed to manual forward rotation after manual reverse rotation is complet
64. signal is ON the rewriting of the following signals in the parameter area is not reflected on the control of this FB Axis selection Select from ChO0 to Ch3 Rotation direction changeover Selection of forward pulse output in the direction to increase the current value or reverse pulse output Pulse output type selection Select either forward pulse reverse pulse or sign pulse train Origin return direction Select either the direction to decrease the current value or the direction to increase the current value Infinite length mode selection Select either finite length mode or infinite length mode When running signal is ON the current value data from the high speed output module is continuously monitored to update the position data in the work coordinate system as well as the position data in the machine coordinate system 4 When operation command signal is ON running signal is turned ON and this FB is initialized in the following manner BOOL signal output from this FB all ON XOT and XOT errors are also reset Position data Cleared to zero Offset for work coordinates Cleared to zero Target frequency and current frequency data Cleared to zero Frequency command data Input value is output as it is Bit command Input value is output as it is Note If positioning is being executed when operation command signal changes from ON to OFF running output signal is turned OFF after positioning
65. the count enable command to the high speed input module 3 2 1 0 Unused 4 28 Section 4 Specifications of High speed Counter FB 4 2 High speed Input Module Counter FB Note 2 Bit command signal response device format assigned to WV0006 The device that is assigned to WV0006 must be set secured as follows At the rising edge of the start command V0001 this area is reflected to the high speed counter module F E D C B A 9 8 7 6 5 4 3 2 1 O0 WM WL ji H Member names for structure are shown in Input pulse format R0001 R0002 OFF OFF 90 degree phase differential pulse ON OFF Forward pulse Reverse pulse OFF ON Sign Counting pulse ON ON Disables pulse counting Unused 16 bit count 32 bit count selection R0003 OFF Selects 16 bit count ON Selects 32 bit count Gate operation mode selection enable R0004 ON Disables gate operation Count enable of the high speed input module is left turned on OFF Enables gate operation The high speed counter module refers to the internal gate command and then outputs the count enable command to the high speed input module F E D CB A 9 8 7 6 5 4 3 2 1 O0 WM WL 1 Unused 4 2 6 Settings for ring and gate operations Settings for ring and gate operations using the high spee
66. under positioning cancel command pulse output is stopped Also in this case origin return operation is regarded as completed successfully 5 22 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function Positioning cancel command is issued while operation is halted pausing signal is turned OFF Positioning cancel input to FB ON Pausing input to FB ON OFF PTP positioning executing input to FB ON OFF PTP normal end input to FB OFF Positioning completed OFF ON input to FB Neither PTP positioning command nor origin return command is accepted if positioning cancel command is ON at the rising edge of PTP positioning command or origin return command 5 23 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 9 Pause If pause command is turned ON during PTP positioning or origin return operation pulse train command output is stopped When pause command is turned OFF pulse train output is resumed While operation is halted and pulse train output is stopped pausing signal is turned ON Operation pattern under pause command Acceleration deceleration time v Speed Self startup frequency 4 4 Time PTP positioning command input to FB ON PTP positioning executing ON output from FB PTP normal end output from FB
67. value to be output 4 4 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 2 When 32 bit is specified with NP1F HC2 HC2MR HC2MR1 a 2147483647 n Underflow flag ON 32 bit positive 7 Sooo 32 bit positive maximum value maximum value 2147483647 2147483647 0 0 PREG AST E EH EN EN NN NN EN Um 32 bit negative 32 bit negative maximum value maximum value 2147483648 Overflow flag ON 2147483648 X Fixed to 2147483648 Count value to be output Count value to be output when an overflow or underflow occurred Count register MSB LSB Upper Lower Sign bit 0 signal 1 signal Overflow If the UP counting is performed when count value is 2147483647 overflow flag is set in the error signal and bit data registers and positive maximum value 2147483647 is set as the count value to be output Underflow If the DOWN counting is performed when count value is 2147483648 underflow flag is set in the error signal and bit data registers and negative maximum value 2147483648 is set as the count value to be output Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 2 Preset operation mode Preset operation is the operation to store the current count value in the preset count register and then rewrite the current count value to an arbitrary value preset value The following two methods are available for pr
68. 0 76800 and 115200 bps are Cfrpr and Cfrp2 V2535 or later version of general purpose communication module can use the Cfrpr FB V2536 or later version of general purpose communication module can use the Cfrp2 FB Section 3 Specifications of Communication FB 3 1 Non procedural FB 2 FB format The format of the non procedural FB is as follows The figure below is an example of C free however other non procedural FBs have the same formats the same parameter names and number of parameters Open Send request Send data length 4 Send data Receive data 34 Communication parameter RAS infomation OPEN V1 S REQ V2 S LEN WV3 S DAT wv4 R_DAT WV5 PARA WV6 RAS WV7 C free C freea OK V8 O STS WV9 S END v10 S_ERR v11 S_STS WV12 R END v13 R_ERR v14 R_STS WV15 R LEN WV16 STN NO WV17 S DAT wv4 R_DAT WV5 PARA WV6 RAS WV7 3 4 Communication ready Open status Send end Send error Send status Receive end Receive error Receive status Receive data length RS 485 station No Send data Receive data Communication parameter RAS infomation Section 3 Specifications of Communication FB 3 1 Non procedural FB 3 Explanation of FB parameters Open V0001 BOOL IN ON Sends the commu
69. 004 DINT IN PTP positioning signal from the preceding stage FB See note setting 1 Till startup command is enabled signal from the preceding FB passes PLS1 through the data setting FB to be output as it is to positioning FB Frequency setting 1 WV0005 INT IN PTP positioning signal from the preceding stage FB See note FRQ1 Till startup commana is enabled signal from the preceding FB passes through the data setting FB to be output as it is to positioning FB PTP positioning V0006 BOOL IN PTP positioning signal from the preceding stage FB See note command Till startup commana is enabled signal from the preceding FB passes PTP_CMD_IN through the data setting FB to be output as it is to positioning FB Valid step V0007 BOOL IN When this signal is ON the positioning data of the data setting FB takes VLD_STP effect If startup command is enabled when this signal is OFF FB completed and next stage startup signals are turned ON End step V0008 BOOL IN When this signal is OFF next stage startup V0014 signal is turned ON END STP the moment the positioning with the data setting FB is completed When this signal is ON the data setting FB becomes the end step At the end step next stage startup V0014 signal is not turned ON even when the positioning with the data setting FB is completed When valid step signal is OFF next stage startup V0014 signal is turned ON even if this signal is ON ABS INC selection
70. 1 Note OPEN signal shall be set to Always ON during data communication If initialization error has occurred OPEN Stat VOID 00 Error status Y 3 OPEN status list 00 Ended normally 01 Transmission speed error General purpose communication module detected an error 02 Data bit length error General purpose communication module detected an error 03 Parity bit error General purpose communication module detected an error 04 Stop bit error General purpose communication module detected an error SF Parameter modification error Parameter modification error after OPEN 40 Response monitoring timer value setting error 41 Retry count setting error General purpose communication module station 50 No setting error 681 Portl No setting error 82 Message port No setting error 93 Open error Initialization failed due to SX bus error Initialization failed due to abnormality on general purpose iT 94 Open error DAN P communication module Processing impossible because in code General purpose communication module detected an error A3 conversion mode Ab Processing impossible because in loader mode General purpose communication module detected an error Processing impossible because self diagnosis is General purpose communication module detected an error AD being executed 3 31 Section 3 Specifications of Communication
71. 15 INT OUT Code to indicate the result of receiving RESTS Receive data length Wv0016 INT OUT Outputs the received data length R LEN RS 485 station No WV0017 INT OUT The condition of the RS 485 station number setup switch of the STN_NO general purpose communication module is output to this pin For more information about data type refer to Appendix 1 Section 3 Specifications of Communication FB 3 1 Non procedural FB Send data parameter format of the memory assigned to WV0004 The memory that is assigned to WV0004 must be set secured as follows Specify the start address of the memory for WV0004 Upperorder Lower order Start address WM WL Data 2 Data 1 WM WL 1 Data 4 Data 3 WM WL 31 Data 64 Data 63 Up to here is assigned to _Cfr32 WM WL 63 Data 128 Data 127 Up to here is assigned to Cfr64 WM WL 127 Data256 Data 255 Up to here is assigned to Cfr128 WM WL 251 Data 504 Data 503 Up to here is assigned to _Cfr252 Up to here is assigned to WM WL 511 Data 1024 Data 1023 C free Cfrpr Cfrpr2 lt The size of send data is maximum 1024 bytes including start code end code and BCC when code conversion is not to be performed Receive data parameter format of the memory assigned to WV0005 The memory that is assigned to WV0005 must be set secured as follows Specify the start address of the memory f
72. 2 V0009 BOOL IN Selected setting signal to the local FB ABS INC2 When startup command is enabled the setting signal of the local FB is output to the positioning FB Number of pulses DV0010 DINT IN Number of pulses setting data to the local FB setting 2 When startup command is enabled the setting data signal of the local PLS2 FB is output to the positioning FB Frequency setting 2 WV0011 INT IN Frequency setting data to the local FB FRQ2 When startup command is enabled the setting data signal of the local FB is output to the positioning FB Positioning completed V0012 BOOL IN OUT Assigns positioning completion signal output from positioning FB PSET When this signal is ON startup command is accepted PTP positioning V0013 BOOL IN OUT PTP positioning executing signal output from positioning FB executing When positioning is executed using own data when FB running is ON PTP RN PTP positioning command is turned OFF if it is detected that PTP positioning executing signal is ON PTP normal end V0014 BOOL IN OUT PTP normal end signal output from positioning FB PTP_END When positioning is executed using own data FB completed signal is turned ON at the rising edge of PTP normal end signal At the same time next stage startup command is turned ON when not specified as end step Section 5 Specifications of Simple Positioning FB 5 2 Specifications of Simple Positioning FB
73. 52 WM WL 1553 zZzzzz WM WL 1555 Port status Control data Port status Status of general purpose communication module Send request count Send end count Receive count Frame detection count M OPEN status M SEND status M RECEIVE status M SEND error count M RECEIVE error count Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Error data RS signal CS signal DR signal ER signal CD signal CI sinnal Reserved Send error Receive error Framing error Overrun Oarity error Reserved Reserved Reserved Initialization end General purpose communication module status 1514131211109 876 54 32 1 0 3 80 Mode switch x8 Mode switch x4 Mode switch x2 Mode switch x1 Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved RS 485 station No x8 RS 485 station No x4 RS 485 station No x2 RS 485 station No x1 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 4 1 1 Overview of FB The high speed counter module FB is stored in the CPU module as an application to control the high speed counter module One FB controls one channel in a counter Functional overview 1 Initialization function Handles settings of each operation mode Pu
74. 547 Reserved WM WL 548 Reserved WM WL 549 Reserved WM WL 550 Reserved WM WL 551 Reserved WM WL 4552 Reserved Port status General purpose communication module status Control data Error data Fo we a kOe 1514131211109 8 76543210 1514131211109 87 654 3 210 RS signal Mode switch x8 CS signal Mode switch x4 DR signal Mode switch x2 ER signal Mode switch x1 CD signal Reserved CI sinnal Reserved Initialization end Reserved Reserved Reserved Send error Reserved Receive error Reserved Framing error Reserved Overrun Reserved Oarity error RS 485 station No x8 Reserved RS 485 station No x4 Reserved RS 485 station No x2 Reserved RS 485 station No x1 3 44 Section 3 Specifications of Communication FB 3 5 FUJI Temperature Controller Procedure FB CfdPYX 3 5 1 General The CfdPYX FB communicates data between the CPU module and FUJI PYX or PYH series temperature controller using the start stop synchronization type transmission protocol For more information of the detailed transmission parameters that are necessary to control the PYX or PYH series temperature controller refer to the manual for the corresponding temperature controller a is suffixed to the name of the FB supporting array structure Note When using FBs supporting array structure use V2 2 3 0 or later versio
75. Alarm reset command input to FB ON 1 OT error signal is reset because OT signal is OFF 2 OT error signal is not reset because OT signal is ON 5 29 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 12 SOT error In finite length mode SOT error or SOT error occurs if machine coordinates command position is beyond the software OT range When machine coordinates command position gt Software OT range in positive direction SOT error is detected When machine coordinates command position lt Software OT range in negative direction SOT error is detected Software OT range is registered to the parameter area During PTP positioning operation in finite length mode if a position beyond the software OT range is instructed positioning is performed at the software OT position When positioning at software OT position is completed SOT error or SOT error signal is turned ON For manual operation in finite length mode operation is stopped at software OT position When stopped SOT error or SOT error signal is turned ON For origin return operation in finite length mode no SOT error is detected in the returning direction Even when SOT error or SOT error is detected origin return operation is executed In infinite length mode no SOT error is monitored Operation pattern for SOT error d
76. Although the user does not usually need to consider this it is necessary to consider the difference when changing the count value using a preset value When a preset value is inappropriate as shown in the figure below an underflow occurs while the count value is output Handing of the error gt The counter holds the holds the maximum value 80000000h 8000h as the count value and waits for an internal reset After the internal reset the count value is cleared to zero the counter restarts its processing Preset signal SE 7FFFFFFFh m Effective count value hard count value 40000000R ees essc eene rennen ett annee eeeee Sese eee Preset value 0 40000000h C0000000h Magee eee eee Neco eee e ee eee eee eee D Count value Differential Effective count value Effective count value 40000000h 7FFFFFFFh hard count value 7 Parameter error 1 When a comparison value preset value error monitoring timer 1 or error monitoring timer 2 has an invalid format or the setting value is out of the range a parameter error 1 occurs For example 32 bit data is specified when 16 bits are selected for the count value Handling of the error After initialization wait for a change of the setting value and the counter continues its processing when the setting value has been changed During operation the counter continues its processing with the appropriate previous value 80000000h Preset underf
77. Clicking the OK button on the comfirmation screen starts uninstalling the Standard Expansion FB for SX Programmer Standard file When uninstalling is completed a message to the effect is displayed STANDARD EXPANSION FB for SX Programmer Standard Setvga Maintenance Complete InstallShield Wizard has finished performing maintenance operations on STANDARD EXPANSION FB for SX Programmer Standard lt Back Cancel 2 10 Section 3 Specifications of Communication FB 3 1 Non procedural FB 3 1 1 General For communication between MICREX SX series and external device via RS 232C or RS 485 NP1L RS1 2 4 the non procedural FB included with the loader is used The non procedural FB carries out data communications between the CPU module and external devices using the start stop synchronization type non procedural transmission protocol Seven types of non procedural FB are prepared as shown below C free C freea Non procedural FB Send 512 words Receive 512 words Cfr252 Cfr252a Non procedural FB Send 252 words Receive 252 words Cfr128 Cfr128a Non procedural FB Send 128 words Receive 128 words Cfrc4 Cfr64a Non procedural FB Send 64 words Receive 64 words Cfr32 Cfr32a Non procedural FB Send 32 words Receive 32 words Non procedural FB with a built in communication protocol See note 1 Send 512 words Receive 512 words Cfrpr Cfrpra The program capacity is reduced by perf
78. DR signal Mode switch x2 ER signal Mode switch x1 CD signal Reserved CI sinnal Reserved Initialization end Reserved Reserved Reserved Send error Reserved Receive error Reserved Framing error Reserved Overrun Reserved Oarity error RS 485 station No x8 Reserved RS 485 station No x4 Reserved RS 485 station No x2 Reserved RS 485 station No x1 3 14 Section 3 Specifications of Communication FB 3 2 FUJI General Purpose Inverter Procedure FB _CfdFRN 3 2 1 General The CfdFRN FB communicates data between the CPU module and FUJI FRENIC Series general purpose inverter using the start stop synchronization type transmission protocol For more information about the detailed transmission parameters that are necessary to control the FRENIC 5000 Series general purpose inverter refer to the manual supplied with the inverter a is suffixed to the name of the FB supporting array structure Note When using FBs supporting array structure use V2 2 3 0 or later version of Standard loader FB functions 1 Initialization of communication port function Initializes the RS 485 port the setting of transmission speed data bit length parity bit etc 2 Data sending receiving function Sends data from an application program in the MICREX SX series CPU module to general purpose inverter FRENIC 5000XXX via the general purpose communication module or outputs the data received via the general purpose communication module to
79. ER to DR 0 DTE 1 DCE 2 Modem DTE 9 ER DR signal control 0 Off 1 On DTE mode 0 Off RS always ON Sending unconditional 1 On RS ON while sending Sending when CS is ON 10 Signal flow control m DCE mode 0 Off CS always ON Sending unconditional 1 O0n CS ON when RS is ON Sending when ER is ON XON XOFF control Because communication between sender and receiver is performed asynchronously flow control may be necessary The receiver sends an XOFF signal to indicate that it T cannot receive data for a while and then sends an XON signal to cancel the XOFF condition To use XON OFF control the device at the other end must also have this function 0 NO 1 YES Selects 4 wire or 2 wire for RS 485 12 RS 485 mode 0 4 wire 1 2 wire Section 3 Specifications of Communication FB 3 1 Non procedural FB 13 Reserved Not used 14 Reserved 15 Reserved Converts binary data into a character string variable s Code conversion 0 None 1 ASCII conversion 2 EBCDIC conversion Designates data receiving method 0 None Receiving completes when data is received 1 Variable length Receiving completes when the data in a range between start and end codes is received 2 Fixed length Receiving completes when receive data reaches the specified number of receive data bytes 17 Frame detection Designates the number of receive data bytes when Fixed length is selected for 18 Number of receive da
80. End code3 End code4 End code5 BCC designation Calculation range position Calcuration formula Code type Send timer value Reserved Start address _C fr252 Cfr128 _Cfr64 _Cfr32 WM WL Work area for sending 256 words WM WL 255 WM WL 256 Work area for receiving 5 256 words WM WL 511 WM WL 512 H Receove buffer area 512 words WM WL 1023 WM WL 1024 Send buffer area 512 words WM WL 1535 WM WL 1536 RAS area 20 words WM WL 1555 Section 3 Specifications of Communication FB 3 1 Non procedural FB 3 1 4 Initialization 1 Initialization parameters In order to initialize each individual port of the general purpose communication module it is necessary to set values which match the communication specifications of the object external device to the individual communication parameters The table below shows the setting contents of these parameters 0 General purpose communication Sets the station number of the general purpose communication module on the SX module station No bus Designates an interface port on general purpose communication module 1 Port No 0 RS 232C port 1 RS 485 port Designates a port No for sending receiving messages to from a general purpose 2 Messana port Ne 4 communication module 1 to 127 ge p d Note
81. F control setting error General purpose communication module detected an error 08 RS 485 mode setting error General purpose communication module detected an error SF Parameter modification error Parameter modification error after OPEN 40 Code conversion setting error 41 Frame detecting method setting error 42 Start code setting error 43 End code setting error 44 BCC code setting error 45 BCC calculation range setting error 46 BCC calculation formula setting error 47 BCC code type setting error 48 Transmission timer specify setting error Do not specify a minus value for the send timer go General purpose communication module station No setting error 81 Channel No setting error 82 Message port No setting error 93 Open error M OPEN error 94 Open error snb cud nae abnormality on general purpose A3 Processing impossible because in code General purpose communication module detected an error conversion mode A5 Processing impossible because in loader mode General purpose communication module detected an error AG Processing impossible because self diagnosis is General purpose communication module detected an error being executed 3 11 Section 3 Specifications of Communication FB 3 1 Non procedural FB 3 1 5 Data sending 1 Data sending procedure Set data Set data length Turned ON by the application program Turned OFF by the application program Send requ
82. FF Forward pulse reverse pulse ON Sign command pulse The setting of this parameter is reflected on the pulse output type bit command of the output module with pulse output function 4 Parameter No 3 Origin return direction This parameter selects a direction for origin return operation OFF Returns to origin in the direction to decrease the current position value ON Returns to origin in the direction to increase the current position value 5 44 Section 5 Specifications of Simple Positioning FB 5 4 Parameters for Simple Positioning Expansion FB 5 Parameter No 4 Infinite length mode selection This parameters selects either finite length mode or infinite length mode OFF Finite length mode ON Infinite length mode Point for use gt n finite length mode positioning is made by reciprocal action when absolute position is set For PTP positioning operation ABS or INC can be selected In finite length mode software OT error is monitored In infinite length mode positioning is made by rotary action in one direction For PTP positioning operation ABS or INC can be selected Default is INC In infinite length mode software OT error is not monitored 6 Parameter No 8 Rapid stop time This parameter sets the timer value for deceleration under forcible stop command For rapid stop time the time to change speed from 20 kHz to 0 Hz is set in 1 ms steps Note The positioning FB uses either rapid stop time
83. FO e Front runners MICREA SA series SPH USER S MANUAL Standard Expansion FB for SX Programmer Standard Type NP4H SWN Version V2 0 0 0 FEH589a Preface Thank you for purchasing Fuji Electric Programmable Controller MICREX SX Series This User s Manual explains the specifications and operations of the standard expansion FBs for Programming Support Tool SX Programmer Standard type NPAH SWN Read this manual carefully to ensure correct operation For MICREX SX series be sure to read the corresponding user s manual listed below User s Manual General Purpose Communication FEH225 Explains the specifications and operations of MICREX SX Module MICREX SX series SPH series general purpose communication module User s Manual SX Programmer Standard FEH588 Explains the memory instructions and system definitions of the Instruction MICREX SX series SPH SPH series in the case of using SX Programmer Standard User s Manual SX Programmer Standard FEH590 Explains the functions and the operations of SX Programmer Reference MICREX SX series SPH Standard User s Manual Hardware MICREX SX series FEH201 Explains the system configuration the hardware specifications SPH and operations of modules in the MICREX SX series The above manuals can be downloaded from the following Fuji Electric FA Components amp Systems Co Ltd site In addition to them various manuals are also available there URL http ww
84. LS is OFF Phase Z signal input R000A OFF Rising edge ON Falling edge Preset input ROOOB OFF Rising edge ON Falling edge F E D C B A 9 8 7 6 5 4 3 2 1 O0 WM WL 1 Unused 4 15 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB Note 2 Signal assignment of bit command signal response WV0012 F E D C B A 9 8 7 6 5 4 3 2 1 O0 WM WL LH Member names for structure are shown in Input pulse format R0001 R0002 OFF OFF 90 degree phase differential pulse ON OFF Forward pulse Reverse pulse OFF ON Sign command pulse ON ON Disables pulse counting Unused 16 bit count 32 bit count selection R0003 OFF Selects 16 bit count ON Selects 32 bit count Linear operation mode ring operation mode selection R0004 OFF Selects linear operation ON Selects ring operation Gate operation mode selection enable R0005 OFF Disables gate operation ON Enables gate operation Preset operation phase Z detection operation selection R0006 OFF Enables preset operation ON Enables phase Z detection operation Comparison detection operation selection R0007 OFF Disables comparison detection operation ON Enables comparison detection operation Origin LS input R0008 OFF Enabled when
85. N PTP positioning command is not accepted 2 During manual operation During forward rotation the checking of software OT range is made in positive direction During reverse rotation the checking of software OT range is made in negative direction Even when an SOT error is detected in the direction opposite to the operating direction manual operation commands are accepted if no SOT error is detected in the operating direction 3 During origin return operation No Sot error is detected during operation Even when an SOT error is detected in the returning direction origin return operation is executed When origin return operation is completed successfully SOT error signal is cleared 5 31 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 13 Acceleration and deceleration For acceleration deceleration data the acceleration deceleration time to change seed from 0 Hz to 20 kHz or vice versa is registered in the parameter area in 1 ms steps There are two types of acceleration deceleration data as shown below a Ordinary acceleration deceleration time The data used for acceleration deceleration purpose other than forcible stop b Rapid stop time The deceleration data used for forcible stop Acceleration deceleration time and rapid stop deceleration time gt 20kHz Speed Time Acceleration Rapid stop pi deceleration deceleration time time This curve is us
86. OW WV24 Frequency command data SETDAT SETDAT __ Frequency command data WV25 WV25 Bit command BITCMDRUN BITCMDRUN Bit command WV26 WV26 5 4 Section 5 Specifications of Simple Positioning FB 5 2 Specifications of Simple Positioning FB 2 Description of FB parameters Operation command V0001 BOOL IN While this signal is ON running V0027 is turned ON to enable RUN CMD positioning When positioning is enabled various operation commands are accepted a PTP positioning command b Manual forward rotation command c Manual reverse rotation command d Origin return command When this signal is turned OFF running output is turned OFF and this FB is initialized PTP positioning command V0002 BOOL IN At the rising edge of this FB PTP positioning is executed PTP CMD While PTP positioning is executed PTP positioning executing signal is ON When PTP positioning ended normally PTP positioning normal end signal is turned ON Manual forward rotation V0003 BOOL IN While manual forward rotation command is ON manual rotation is command executed forward FWD_CMD While manual forward rotation is executed forward rotating by manual operation signal is ON The movement of manual forward rotation takes place in the direction to increase the current position value Manual reverse rotation V0004 BOOL IN While manual reverse rotation command is manual rotation is command executed reverse
87. Open error e Gu aay abnormality on general purpose A3 Processing impossible because in General purpose communication module detected an error code conversion mode A5 Processing impossible because in loader mode General purpose communication module detected an error Ae Processing impossible because self diagnosis is General purpose communication module detected an error being executed 3 51 Section 3 Specifications of Communication FB 3 5 FUJI Temperature Controller Procedure FB CfdPYX 3 5 4 Data sending receiving 1 Data sending receiving procedure Set data Send data WV0007 Set transmission keyword sending Transmission keyword sending WV0003 Set send data area designation 1 Send data area designation 1 WV0004 Set send data area designation 2 Send data area designation 2 WV0005 Set send data area designation 3 Send data area designation 3 WV0006 Turned ON by the application program Turned OFF by the application program _ Send request V0002 Receivedata WV0008 Transmission keyword receiving Wv0016 Receive data area designation 1 lt i 3XORCt lt i C WV0017 Receive dataareadesignation2 WwV0018 Receive data area designation 3 Wwv0019 Receive status wWwV0O0O15 1 1 1 Receive end V0013 l In case of receive error 4 Output only one scanning
88. RAS information RAS WV0011 Note 1 IN OUT Operating information of this FB Communication ready V0012 BOOL OUT Turns ON when initialization has ended normally to indicate that OK the system is ready for sending receiving data Open status O_STS WV0013 WORD OUT 2 digit hexadecimal code to indicate the result of initialization Receive end R END V0014 BOOL OUT Turns ON when receiving has completed normally Receive error R ERR V0015 BOOL OUT Turn ON if a receive error has occurred Receive status R STS WV0016 WORD OUT Code to indicate the result of receiving Slave station No WV0017 INT OUT Remote slave station number is output Response STN NO O Function code Response WV0018 WORD OUT According to the request from this FB the value of function code F CODE O start address data length and the number of bytes that are Start address Response WV0019 WORD OUT included in the response data sent form slave device are output ADD O They are output in the same format as is set in the input Query Data length Response WV0020 WORD OUT LEN O No of bytes Response WV0021 WORD OUT LEN2 O 3 68 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm Note 1 Work area for sending WORD Work area for receiving WORD Receive buffer area WORD Send buffer area WORD RAS area INT CRC area WORD For more information about data type
89. Receive count Frame detection count M OPEN status M SEND status M RECEIVE status M SEND error count M RECEIVE error count Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Error data 1514131211109 8706 54 32 1 0 RS signal CS signal DR signal ER signal CD signal CI sinnal Reserved Send error Overrun Oarity error Reserved Reserved Reserved Initialization end Receive error Framing error General purpose communication module status 15 14 13 12111009 87 654 3 2 1 0 3 24 Mode switch x8 Mode switch x4 Mode switch x2 Mode switch x1 Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved RS 485 station No x8 RS 485 station No x4 RS 485 station No x2 RS 485 station No x1 Section 3 Specifications of Communication FB 3 3 FUJI General Purpose Inverter Standard Communication FGI BUS Procedure FB CfdFVR 3 3 1 General The CfdFVR FB communicates data between the CPU module and FUJI FVR Series general purpose inverter using the FGI BUS transmission protocol For more information of the detailed transmission parameters that are necessary to control the FVR Series general purpose inverter refer to the manual supplied with the inve
90. S teuer orn utor UM LLL ALL TALIA E M E IM TE 3 24 3 3 FUJI General Purpose Inverter Standard Communication FGI BUS Procedure FB CfdFVR eiA cca gau oU pO Dac c cR yeu U eU D dcc CK RES VER onc ccu Ye Cus 3 25 SCAMBIO 3 25 3 3 2 Specifications for CIAF VRL ieiiiiieu leise cenare OEE b eite e XE Lan E e eh ERR NOR Rider EEOAE 3 26 3 3 UMMA Z ATOM pp 3 30 3 3 4 Data SONCING FECEIVING e suse EANES a ENA 3 32 B2B25 Dp EE 3 34 3 4 Communication Protocol Included General Purpose Inverter Procedure FB Cfvrpr 3 35 SA l GENETTA TIS 3 35 3 4 2 Specifications for Cfvrpr isene anea Taa San Ae EAA a TAE OA aeae a Ni 3 36 EE Miri einna a lenny aa a a AEE 3 40 3 4 4 Data sending receiving iiiter Saute andes cbeaLcesueasneeeauennadgites a Ta sn aa use EY N E 3 42 3 4 5 RAS ia aaa 3 44 Contents Page 3 5 FUJI Temperature Controller Procedure FB CfdPYX esee 3 45 SIS ene 1 10 1c e TERN 3 45 3 5 2 Specitications Tor CdP X iicet eane nne eque tuae ESI sno eres tet Le cbe Dae Era Ses En ga EX ase ta EE REIR 3 46 excu it irz u mE Aaa 3 50 3 5 4 Data sending recelvirig niente Lina reet oevidedeubecei eg engi a a N EAEE AaS aaa E 3 52 S MID cc 3 54 3 6 FUJI Bar Code Reader Procedure FB CfdPK
91. Send request V0002 odo ooo LLL Receive text data WV0009 Receive station address WV0017 Receive function code WV0007 i Receive error code l Wv0018 f Receive status WV0016 i Receive end V0014 a E In case of receive error A Output only one scanning Receive error V0015 M A _ Send text data send station address send command code and send function code are set and then send request is turned ON by the application program FB detects the rising edge to execute the processing for sending When the send station address is for all stations 90 the receive end flag is automatically turned ON the moment sending is completed receive error flag is also turned ON if abnormal When the send station address is for one station 90 the system automatically enters receiving waiting mode the moment sending is completed executing the processing for receiving When the delimiter between frames is detected the receive end flag is automatically turned ON receive error flag is also turned ON if abnormal 3 22 Section 3 Specifications of Communication FB 3 2 FUJI General Purpose Inverter Procedure FB _CfdFRN 2 Sending receiving status list 00 Normally ended 01 Send buffer has overflowed 02 Receive buffer has overflowed 40 Data send time out 41 Protocol response error 42 BCC error General purpose communication module Not detected disconnected
92. The memory that is assigned to WV0004 must be set secured as follows Specify the start address of the memory for WV0004 Upper order Lower order Start address WM WL Data 2 Data 1 WM WL 1 Data 4 Data 3 WM WL 31 Data 64 Data 63 Receive text data format of the memory assigned to WV0005 gt The memory that is assigned to WV0005 must be set secured as follows Specify the start address of the memory for WV0005 Upper order Lower order Start address WM WL Data 2 Data 1 WM WL 1 Data 4 Data 3 WM WL 31 Data 64 Data 63 3 58 Section 3 Specifications of Communication FB 3 6 FUJI Bar Code Reader Procedure FB CfdPK Communication parameter format of the memory assigned to WV0006 The memory that is assigned to WV0006 must be set secured as follows Specify the start address of the memory for WV0006 Start address utes WM WL 1 WM WL 2 WM WL 3 WM WL 44 WM WL 5 WM WL 6 WM WL 7 WM WL 8 to 15 WM WL 16 WM WL 17 WM WL 18 WM WL 19 WM WL 20 WM WL 21 WM WL 22 to 39 General purpose communication module station No Port No Message port No Reserved Transmission speed Data bit Parity bit Stop bit Reserved Response monitoring timer Start code End code Transmission procedure Retry count BCC
93. Transmission timer value x10ms 3 66 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm 2 FB format Open request Send request Slave station No Function code Start address Data length Number of bytes Send data Receive data Communication parameter RAS infomation C modm C modma OPEN OK v1 v12 S_REQ O_STS V2 WV13 STN NO I R END WV3 V14 F CODE I R ERR wv4 V15 ADD R STS WV5 WV16 LENI STN_NO_O WV6 WV17 LEN2 I F CODE O WV7 WV18 ADD O WV19 LEN O WV20 LEN2 O WV21 S DAT _ S DAT WV8 WV8 R DAT R DAT WV9 WV9 PARA EN PARA WV10 WV10 RAS RAS WV WV 3 67 Communication ready Open status Receive end Receive error Receive status Slave station No Function code Start address Data length Number of bytes Send data Receive data Communication parameter RAS infomation Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm 3 Explanation of FB parameters Open V0001 BOOL IN ON Sends the communication parameters to the general OPEN purpose communication module to initialize communication When communication becomes possible communication ready turns ON OFF Performs the processing for ending communication Communication ready turns OFF Send request V0002 BOOL IN Starts to send data When
94. WV10 4 17 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 2 Description of FB parameters Start command V0001 BOOL IN At the rising edge of this signal processing to operate the counter START FB is performed Internal reset command V0002 BOOL IN If this signal is turned on while start command is on reset command RST CMD is output to the high speed counter module At the rising edge of this signal Internal gate command V0003 BOOL IN Command when gate operation is enabled GATE CMD ON Enables the module to count OFF Forbits the module to count Alarm reset command V0004 BOOL IN Command enabled only when an alarm for a transmission error or ARMRST register monitoring time up is generated Rising edge Alarm reset Bit command signal WV0005 Note 1 IN OUT Refer to Signal assignment of bit command signal BITCMD1 Two word area is required CH selection WV0006 INT IN Specifies the channel of the counter CH_SEL 0 CH1 1 CH2 Register write monitoring WV0007 UINT IN Timer to monitor the response after data is written to the register in timer the high speed counter module The unit is a single scan action REG_TMR and up to 65535 scan actions are countable Setting 0 disables monitoring Bit command signal WV0008 Note 2 IN OUT Refer to signal assignment of bit command signal response response T
95. address WM WL Data 2 Data 1 WM WL 1 Data 4 Data 3 WM WL 15 Data 32 Data 31 Receive text data format of the memory assigned to WV0008 The memory that is assigned to WV0008 must be set secured as follows Specify the start address of the memory for WV0008 Upper order Lower order Start address WM WL Data 2 Data 1 WM WL 1 Data 4 Data 3 WM WL 15 Data 32 Data 31 3 48 Section 3 Specifications of Communication FB 3 5 FUJI Temperature Controller Procedure FB _CfdPYX Communication parameter format of the memory assigned to WV0009 The memory that is assigned to WV0009 must be set secured as follows Specify the start address of the memory for WV0009 Start address l WM WL General purpose communication module station No WM WL 1 Port No WM WL 2 Message port No WM WL 3 to 15 Reserved WM WL 16 Response monitoring timer WM WL 17 Retry count WM WL 18 to 39 Reserved RAS information format of the memory assigned to WV0010 gt The memory that is assigned to WV0010 must be set secured as follows Specify the start address of the memory for WV0010 Start address WM WL Work area for sending 256 words WM WL 255 WM WL 256 Work area for receiving 256 words WM WL 51 1 WM WL 512 gt
96. ally to indicate that OK the system is ready for sending receiving data Open status O_STS WV0012 WORD OUT 2 digit hexadecimal code to indicate the result of initialization Receive end R END V0013 BOOL OUT Turns ON when receive ends Receive error R ERR V0014 BOOL OUT Turn ON if a receive error has occurred Receive status R_STS WV0015 WORD OUT Code to indicate the result of receiving Receive station address WV0016 WORD OUT Stores the address of the receive station R_STN Receive command type WV0017 WORD OUT Stores the receive command type R_KND Receive error code WV0018 WORD OUT Stores the receive error code R_ERCD Number of receive data WV0019 INT OUT Stores the number of receive data bytes bytes R_LEN Note 1 Work area for sending WORD Work area for receiving WORD Receive buffer area WORD Send buffer area WORD RAS area INT For more information about data type refer to Appendix 1 3 27 Section 3 Specifications of Communication FB 3 3 FUJI General Purpose Inverter Standard Communication FGI BUS Procedure FB CfdFVR Send text data format of the memory assigned to WV0007 The memory that is assigned to WV0007 must be set secured as follows Specify the start address of the memory for WV0007 Upper order Lower order Start address WM WL Data 2 Data 1 Data 4 Data 3 WM WL 4 Receive text
97. an application program 3 Transmission condition monitoring function Monitors data transmission condition and outputs error information if abnormal Connecting method of CfdFRN The connecting method between the general purpose communication module and FUJI FRENIC 5000 series general purpose inverter must be 1 N connection by RS 485 2 wire system FB operating conditions System configuration One FB is necessary for each communication port RS 485 to be used Communication with the inverters that are connected to one RS 485 system is performed by one FB FUJI general purpose inverter may not be connected to the RS 232C port This FB cannot be used in the mode where RS 232C RS 485 signal conversion is enabled for the general purpose communication module Memory capacity Program area Approx 2 6k steps Data memory capacity User FB memory 376 words Standard memory 854 words System FB memory 90 words Note 1 The above list for the memory capacity includes the area for the main body of inverter FB and those for sub FBs that are called from the inverter FB Note 2 The above list for standard memory and retain memory includes the memory capacity necessary for sending receiving data Section 3 Specifications of Communication FB 3 2 FUJI General Purpose Inverter Procedure FB _CfdFRN 3 2 2 Specifications for CfdFRN 1 FB format _CfdFRN _CfdFRNa Open 4 OPEN OK Communication read
98. and external gate command and then outputs the count enable command to the high speed counter module F E D CB A 9 8 7 6 5 4 3 2 1 O0 WM WL 1 Unused Note 2 Signal assignment of bit command signal response WV0008 F E D C B amp 6 T 5S 4 2 1 6 WM WL L H Member names for structure are shown in Unused Input pulse format R0001 R0002 OFF OFF 90 degree phase differential pulse ON OFF Forward pulse Reverse pulse OFF ON Sign Counting pulse ON ON Disables pulse counting 16 bit count 32 bit count selection R0003 OFF Selects 16 bit count ON Selects 32 bit count Gate operation mode selection enable R0004 OFF Disables gate operation ON Enables gate operation F E D CB A 9 8 7 6 5 4 3 2 1 O0 WM WL 4 Unused 4 19 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 4 1 9 Multichannel counter FB MHCNTM MHCNTMa 1 FB format Start command 4 Internal reset command 4 Internal gate command 4 Bit command signal CH selection Bit command signal response Input variable Output variable _MHCNTM START INI END V4 V9 RST CMD RST OK v2 V40 GATE CMD GATE OK v3 V11 CNT_DAT DV12
99. atch the setting of the device at the other end 0 None 1 Odd 2 Even This bit indicates the end of data Designate the proper one to match the setting of the 7 Stop bit device at the other end 0 1 bit 2 2 bits 8 Not used Reserved 15 The timer for monitoring during the period from when the CPU module FB sends a Vies send request to an external device until communication ends This value can be set in 16 Response monitoring timer 0 01 second steps Example For 1 second set this value to 100 17 Retry count In case of communication error this designates how many times to retry communication 18 Not used Reserved 39 Note No in the above table is the number of the words from the start for communication parameter 3 30 Section 3 Specifications of Communication FB 3 3 FUJI General Purpose Inverter Standard Communication FGI BUS Procedure FB CfdFVR 2 Initialization procedure When the OPEN V0001 parameter of FB is turned ON communication parameters are transferred to the general purpose communication module which executes processing for initialization If initialization is impossible due to a communication parameter setting error or hardware error FB outputs the corresponding error code to the OPEN Status WV0012 Turned ON by the application program Turned OFF by the application program OPEN request V0001 3 Processing for initialization N Port ol singioperation Communication ready V001
100. because self diagnosis is General purpose communication module detected an error Ao being executed CO Hardware error detected during receiving General purpose communication module detected an error C1 Receive buffer has overflowed General purpose communication module detected an error C2 Send buffer has overflowed General purpose communication module detected an error C3 Send data size over General purpose communication module detected an error 3 43 Section 3 Specifications of Communication FB 3 4 Communication Protocol Included General Purpose Inverter Procedure FB Cfvrpr 3 4 5 RAS RAS information in general purpose communication is assigned as shown in the following figure RAS data is stored in the position shown in the figure below from the start address of the device which is assigned to RAS information parameter WV0007 WM WL 4533 Port status wwWDssa E module WM WL 535 Send request count Note Send end count is incremented by one when WM WL 536 Send end count the sending of data to all stations is completed WM WL 537 Receive count WM WL 538 Frame detection count WM WL 539 M OPEN status WM WL 540 M SEND status WM WL 541 M_RECEIVE status WM WL 542 M_SEND error count WM WL 543 M_RECEIVE error count WM WL 544 Reserved WM WL 545 Reserved WM WL 546 Reserved WM WL
101. ber the tens digit Function type character Added special data Function number the units digit Data 2 Data 4 SOH Data 1 Data 3 Station number the units digit Command type character ETX Station number the tens digit Data 2 Data 4 SOH Station number the units digit Station number the tens digit Command type character ENQ ETX 00 00 Note Send data is prepared for the standard frames 14 bytes each for maximum 31 inverter stations that can be connected plus one byte 218 words The data shall be set such that unused areas become 0 zero Send data is prepared for all the inverter stations that are connected but data is sent to or received from one station at a time due to FB internal processing Receive text data format of the memory assigned to WV0005 The memory that is assigned to WV0005 must be set secured as follows Specify the start address of the memory for WV0005 Upper order Lower order Start address WM WL Data 2 Data 1 WM WL 1 Data 4 Data 3 3 38 Section 3 Specifications of Communication FB 3 4 Communication Protocol Included General Purpose Inverter Procedure FB Cfvrpr Communication parameter format of the memory assigned to WV0006 The memory that is assigned to WV0006 must be set secured as follows Specify the start address of the memory for WV0006 Start a
102. cation Protocol Included General Purpose Inverter Procedure FB Cfvrpr 3 4 3 Initialization 1 Initialization parameters In order to initialize each individual port of the general purpose communication module it is necessary to set values which match the communication specifications of the object external device to the individual communication parameters The table below shows the setting contents of these parameters 0 General purpose communication Sets the station number of the general purpose communication module on the SX bus module station No Designates an interface port on the general purpose communication module 1 RS 485 port Designates a port No for sending receiving message to from a general purpose communication module 1 to 127 Note Avoid designating a port No which is already used for sending receiving messages to from other module 1 Port No 2 Message port No 1 Designates a port No for sending receiving message to from a general purpose communication module 1 to 127 Note Avoid designating message port No 1 or a port No which is already used for sending receiving messages to from other module 3 Message port No 2 Designates the transmission speed 4 Transmission speed 0 1200 1 2400 2 4800 3 9600 4 19200 5 38400 6 57600 7 76800 8 115200 90 300 91 600 bps Designates the data bit length When 7 is selected 7 bits make up one data when 8 8 bits make up o
103. ccepted when positioning completed signal is ON The simple positioning expansion FB is started even when both positioning completed signal and startup command signal are ON at the same time When positioning completed signal is turned ON after startup command signal is turned ON startup command signal won t be accepted When the rising edge of startup command signal is detected the set data of local FB is output and PTP positioning command FB running and next stage startup command signals are turned ON The simple positioning expansion FB changes over these signals at the same time The positioning FB accepts the simultaneously changed over signals PTP positioning command is turned OFF when PTP positioning executing signal from the positioning FB is turned ON when the simple positioning expansion FB is running At the rising edge of positioning completed signal FB running signal is turned OFF At the rising edge of PTP normal end signal from the positioning FB FB completed signal is turned ON 5 40 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function At the rising edge of PTP normal end signal from the positioning FB next stage startup command signal is turned ON when not the end step When operation is stopped by forcible stop command or OT error because PTP normal end continues to be OFF FB completed and nex
104. communication 18 Not used Reserved 39 Note No in the above table is the number of the words from the start for communication parameter 3 20 Section 3 Specifications of Communication FB 3 2 FUJI General Purpose Inverter Procedure FB _CfdFRN 2 Initialization procedure When the OPEN V0001 parameter of FB is turned ON communication parameters are transferred to the general purpose communication module which executes processing for initialization If initialization is impossible due to a communication parameter setting error or hardware error FB outputs the corresponding error code to the OPEN Status WV0013 Turned ON by the application program OPEN request V0001 amp X Processing for initialization Turned OFF by the application program X Port closing operation Communication ready V0012 If initialization error has occurred OPEN Status 00 V0013 Note OPEN signal shall be set to Always ON during data communication Error status 3 OPEN status list 00 Ended normally 01 Transmission speed error General purpose communication module detected an error 02 Data bit length error General purpose communication module detected an error 03 Parity bit error General purpose communication module detected an error 04 Stop bit error General purpose communication module detected an error 05 Reserved 06 Reserv
105. cted this signal is turned ON SOTP ERR SOT error V0040 BOOL OUT If SOT error is detected this signal is turned ON SOTM ERR Work coordinates DV0041 DINT OUT Target position data in work coordinate system target position WPOS SP Work coordinates DV0042 DINT OUT Command position data in work coordinate system command position WPOS SET Work coordinates DV0043 DINT OUT Current position data in work coordinate system current position WPOS FBK Machine coordinates DV0044 DINT OUT Target position data in machine coordinate system target position MPOS SP Machine coordinates DV0045 DINT OUT Command position data in machine coordinate system command position MPOS SET Machine coordinates DV0046 DINT OUT Current position data in machine coordinate system current position MPOS FBK Work coordinates offset DV0047 DINT OUT Offset for work coordinates with respect to machine coordinates W_OFST Target frequency value WV0048 INT OUT Target frequency value data FRQ_SP Current frequency value WV0049 INT OUT Current value data for command frequency FRQ_NOW Note When infinite length mode is selected ABC INC selection data is ignored All positions are specified by relative position data The movement of manual forward rotation takes place in the direction to increase the current position value 5 7 Section 5 Specifications of Simple Positioning FB 5 2 Specifications o
106. d input counter expansion FB are given below 1 Ring operation 1 Set CH specification WV0005 INT type The high speed input module has counter functions for a maximum of four channels 2 Set bit command signal WV0004 Set the input pulse format Set the 16 or 32 bit counter to be used The high speed input module is a 16 bit ring counter 3 Start command V0001 Performs initialization processing 2 Gate operation 1 Set CH specification WV0005 INT type The high speed input module has counter functions for a maximum of four channels 2 Set bit command signal WV0004 Set the input pulse format Set the 16 or 32 bit counter to be used The high speed input module is a 16 bit ring counter Set gate operation enable 3 Set internal gate command V0003 4 Start command V0001 Performs initialization processing 4 29 Section 5 Specifications of Simple Positioning FB 5 1 Overview of Simple Positioning Simple positioning expansion FB is a one axis PTP positioning FB dedicated to the high speed output module having the pulse train output function type NP1Y32T09P1 A This FB issues a pulse train command referring to adjustment data such as moving length pulse command frequency and acceleration deceleration time Positioning command pattern gt Command frequency Acceleration deceleration time Frequency Acceleration deceleration time Self startup reaus Movin
107. dard loader 4 1 3 Operation modes of FB The table below shows the operation modes that are available when the high speed counter module FBs or the input output areas of the high speed counter module is used O Available Unavailable Ring operation mode Linear operation mode Gate operation mode Preset operation mode O O10 0110 O O Comparison detection operation mode Phase Z detection operation mode Ring operation mode O O Linear operation mode s Gate operation mode O O Preset operation mode Comparison detection operation mode Phase Z detection operation mode Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 4 1 4 Control specifications 1 High speed counter specifications _MHCNTR _MHCNTRa MHCNTH MHCNTHa Count input signal 90 degree phase differential two phase signal forward reverse signal pulse sign signal Linear counter Nm Ring counter Preset operation Operation Gate operation Comparison detection operation Phase Z detection operation Counter With NP 1F HC2 Max 500kHz Counting speed With NP 1F HC2MR Max 200kHz With NP1F HC2MR1 Max 50kHz Counting range INT type 332 68 to 32767 DINT type 2147483648 to 2147483647 Number of channels 2 channels One function block is required to control one channel Multiplication function x 1 x 4 for 90
108. ddress WM WL General purpose communication module station No WM WL 1 Port No WM WL 2 Message port No 1 WM WL 3 Message port No 2 WM WL 4 Transmission speed WM WL 5 Data bit WM WL 6 Parity bit WM WL 7 Stop bit WM WL 8 to 15 Reserved WM WL 16 Response monitoring timer WM WL 17 Retry count WM WL 18 to 39 Reserved RAS information format of the memory assigned to WV0007 gt The memory that is assigned to WV0007 must be set secured as follows Specify the start address of the memory for WV0007 Start address WM WL Work area for sending 256 words WM WL 255 WM WL 256 Work area for receiving 256 words WM WL 511 WM WL 51 2 Receive buffer area WM WL 532 ve WM WL 533 Send buffer area 20 words WM WL 552 lt List of receive error codes WV0016 gt 4A h Format error Data exceeded the specified range 4B h Command error Unspecified command code was sent 4E h Function code error Inexistent function code was requested ee ok Write request was issued during operation to a write inhibited function or a Senter function that inhibits writing during operation Note For more information refer to the inverter specifications 3 39 Section 3 Specifications of Communication FB 3 4 Communi
109. de is output selected CMP OUT Outputs comparison detection of the high speed counter module OFF When Counter value Comparison value ON When Counter value gt Comparison value Underflow V0025 BOOL OUT Turned on when an underflow occurs from the specified 16 bits or UNDFL 32 bits in linear operation The underflow is cleared by rising the internal reset signal Overflow V0026 BOOL OUT Turned on when an overflow occurs from the specified 16 bits or 32 OVRFL bits in linear operation The overflow is cleared by rising the internal reset signal Transmission error V0027 BOOL OUT Enabled only for CH1 and when the transmission error monitoring ERR COM timer is not O Outputs a transmission error of the high speed counter module The state is cleared by turning on the alarm reset command Write monitoring V0028 BOOL OUT Enabled only when the value in the register write monitoring time is time up not 0 WT TUP Turned on when the high speed counter module does not return a response signal within the time specified in the write monitoring timer the number of scan counts The state is cleared by turning on the start command after changing the value of the regisiter write monitoring timer Preset underflow V0029 BOOL OUT Enabled only when preset operation mode is selected P UNDFL Turned on when the preset value underflows the specified 16 bits or 32 bits The state is cleared by turning on the internal reset si
110. degree phase two phase signal only Number of output points 1 Comparison Comparison range Same as the counting range Values compared Result of comparison of count value gt value to be compared is output Underflow 1 when the count value exceeds the maximum negative value Overflow 1 when the count value exceeds the maximum positive value Error monitoring timer 1 SX bus error Error Error monitoring timer 2 Scan was performed the specified number of times without any response after data was written to the register Parameter error 1 Data exceeding the specified bit size was set Parameter error 2 The preset value and comparison value are out of the range 2 Multichannel counter specifications MMCNTM MHCNTMa Count input signal 90 degree phase differential two phase signal forward reverse signal pulse sign signal Counter Type Ring counter Operation Gate operation Counting speed 50kHz Counting range INT type 32768 to 32767 DINT type 2147483648 to 2147483647 Number of channels 8 channels One function block is required to control one channel Multiplication function x 1 x 4 for 90 degree phase two phase signal only Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 4 1 5 Details of operation modes 1 Linear operation mode FB is set to select linear operation mode input pulse format and 16 32 bit
111. ding has ended this needs to be S REQ turned OFF by the application program Send station address WV0003 WORD IN Stores the address of the send station S STN Send command code WV0004 WORD IN Stores the send command code S CMD Send function code WV0005 WORD IN OUT Stores the send function code S FNC Occupies two words Number of send data bytes WV0006 INT IN Stores the number of send data bytes S LEN Receive function code WV0007 WORD IN OUT Stores the receive function code R FNC Occupies two words Send text data S TXT WV0008 WORD IN OUT Stores the send text data Receive text data R_TXT WV0009 WORD IN OUT Stores the receive text data Communication parameter WV0010 INT IN OUT Stores the initialization parameters PARA RAS information RAS WV0011 Note 1 IN OUT Operating information of this FB Communication ready OK V0012 BOOL OUT Turns ON when initialization has ended normally to indicate that the system is ready for sending receiving data Open status O_STS WV0013 WORD OUT 2 digit hexadecimal code to indicate the result of initialization Receive end R END V0014 BOOL OUT Turns ON when receive ends Receive error R ERR V0015 BOOL OUT Turn ON if a receive error has occurred Receive status R_STS WV0016 WORD OUT Code to indicate the result of receiving Receive station address WV0017 WORD OUT Stores the address of the receive station R_STN Rec
112. dy of the temperature controller procedure FB and those for sub FBs that are called from the temperature controller procedure FB Note 2 The above list for standard memory and retain memory includes the memory capacity necessary for sending receiving data 3 45 Section 3 Specifications of Communication FB 3 5 FUJI Temperature Controller Procedure FB CfdPYX 3 5 2 Specifications for CfdPYX 1 FB format CfdPYX CfdPYXa Open OPEN OK V1 V11 Send request S REQ O STS V2 WV12 Transmission keyword sending S_TFW R END WV3 V13 Send data area designation 1 _ S_DADR1 R_ERR wv4 V14 Send data area designation 2 _ S DADR2 R STS WV5 WV15 Send data area designation 3 S DADR3 R STN WV6 WV16 R DADR1 WV17 R_DADR2 WV18 R_DADR3 WV19 Send data S DAT S DAT WV7 WV7 Receive data j R_DAT 2 R_DAT WV8 WV8 Communication parameter PARA a PARA WV9 Wv9 RAS information RAS RAS WV10 WV10 3 46 Communication ready Open status Receive end Receive error Receive status Transmission keyword receiving Receive data area designation 1 Receive data area designation 2 Receive data area designation 3 Send data Receive data Communication parameter RAS information Section 3 Specifications of Communication FB 3 5 FUJI Temperature Controller Procedure FB CfdPYX 2 Explanation of FB parameters
113. eceleration time Rapid deceleration time Self startup frequency Feedrate at stoppage Section 5 Specifications of Simple Positioning FB 5 2 Specifications of Simple Positioning FB 5 2 1 Functions of simple positioning FB Number of control axes 1 axis Positioning function PTP positioning manual operation origin return operation Acceleration deceleration Trapezoidal acceleration and deceleration 2 step motion characteristic for PTP positioning Operation mode Finite length ABS INC selectable Infinite length INC only Monitoring function High speed limiter XOT SOT error check at stopping 5 2 2 Simple positioning FB list Positioning FB One axis positioning operation FB MSMOV MSMOVa Executes PTP positioning manual operation and origin return operation Data setting FB PTP positioning data setting FB MSMVDAT Multiple point setting is possible when cascaded a is suffixed to the name of the FB supporting array structure 5 2 3 Memory size of simple positioning FB Positioning FB MSMOV MSMOVa Total 510 words 8 words NP1Y32T09P1 A Approx 2 9k steps Data setting FB MSMVDAT Note Note Values shown in the table above are samples when one each of data setting FB is used When two or more data setting FBs are used values will be slightly increased Section 5 Specifications of Simple Positioning FB 5 2 Specifications of Simple P
114. ed When manual reverse rotation command is turned OFF and then manual forward rotation command is turned ON manual forward rotation will be executed Manual forward rotation command input to FB Manual reverse rotation command ON input to FB ON ON Forward rotating by manual operation output from FB Reverse rotating by manual operation ON output from FB Positioning completed input to FB OFF DEF ON Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 1 Manual forward rotation command is not accepted during manual reverse rotation Even when manual forward rotation command continues to be ON forward rotation won t take place after manual reverse rotation is completed The command will be accepted when manual forward rotation command or manual reverse rotation command is once turned OFF while manual forward or reverse rotation is being executed and then manual forward rotation command or manual reverse rotation command is turned ON again while forward rotating by manual operation or reverse rotating by manual operation signal is still ON Speed Time Manual forward rotation command input to FB ON Forward rotating by manual operation ON output from FB Positioning completed output from FB OFF Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function
115. ed 07 Reserved SF Parameter modification error Parameter modification error after OPEN 40 Response monitoring timer value setting error 41 Retry count setting error 42 Reserved 43 Reserved 44 BCC code setting error General purpose communication module station 50 No setting error 61 Port No setting error 82 Message port No setting error 93 Open error Initialization failed due to SX bus error 94 Open error Initialization failed due to abnormality on general purpose communication module Processing impossible because in code A3 conversion mode General purpose communication module detected an error A5 Processing impossible because in loader mode General purpose communication module detected an error Processing impossible because self diagnosis is being executed General purpose communication module detected an error 3 21 Section 3 Specifications of Communication FB 3 2 FUJI General Purpose Inverter Procedure FB CfdFRN 3 2 4 Data sending receiving 1 Data sending receiving procedure Set send text data Send text data WV0008 Set send station address Send station address WV0003 Set send command code Send command code WV0004 Set send function code Send function code WV0005 Turned ON by the application program Turned OFF by the application program p di
116. ed an error A3 conversion mode A5 Processing impossible because in loader mode General purpose communication module detected an error Processing impossible because self diagnosis is General purpose communication module detected an error me being executed 8 41 Section 3 Specifications of Communication FB 3 4 Communication Protocol Included General Purpose Inverter Procedure FB Cfvrpr 3 4 4 Data sending receiving 1 Data sending receiving procedure The send data for all stations is set as a batch Send text data WV0004 Turned ON by the application program Turned OFF by the application program lares _ Send request V0002 EN Send data for 1st station Send data for 2nd station Receive data for 1st station Receive data for 2nd station Receive end V0011 E i Turned ON for iu Turned ON for e one scan cycl one scan cycle Receive error V0012 rdi The send text data for all the stations is set as a batch and send request is turned ON by the application program The FB sends the data to the 1st station and sets receive status WV0013 receive station address WV0014 receive command type WV0015 and receive function code WV0003 when response data is received from the inverter on the 1st station Then receive end flag V0011 is turned ON for one scan cycle During the next scan cycle communication with the 2nd station inverter is started When response data is receiv
117. ed for This curve is used ordinary deceleration only for rapid stop This FB can calculate acceleration and deceleration even without fixed cycle startup The method to calculate acceleration deceleration is described below a Current frequency at the occurrence of event fs Hz b Target frequency fo Hz c Maximum frequency 20 kHz fmax Hz d Acceleration deceleration time T ms e Elapsed time after the event occurred t ms f Frequency when time t has elapsed fpv Hz When fs lt fo fpv fs fmax x t T The target speed is reached if fpv gt fo When fs fo fpv fs fmax x t T The target speed is reached if fpv fo 5 32 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function Event types and the current and target frequencies at event occurrence are shown below Event types and frequency data gt PTP positioning command manual forward reverse rotation command origin return command Self startup frequency Frequency setting 1 or frequency setting 2 By frequency changeover command Frequency changeover Current frequency Frequency setting 1 or frequency setting 2 By frequency changeover command Deceleration point detection PTP Current frequency Self startup frequency Pulse output is stopped when the target position is reached Origin LS detection Current frequency Self startup frequency Pulse output is stopped when the origi
118. ed from the 2nd station after the data is sent to the 2nd station receive status WV0013 receive station address WV0014 receive command type WV0015 and receive function code WV0003 are overwritten and receive end flag V0011 is turned ON again for one scan cycle Therefore the setting shall be made such that the processing for receiving is started when receive end flag is turned ON 3 42 Section 3 Specifications of Communication FB 3 4 Communication Protocol Included General Purpose Inverter Procedure FB Cfvrpr 2 Sending receiving status list WV0013 00 Normally ended 01 Send buffer has overflowed 02 Receive buffer has overflowed 40 Data send time out If the respense of remote station could not normally be 41 Protocol response error received the address of the remote station is output to receive station address WV001 4 42 BCC error 43 No vaild data 44 Previous send data sending General purpose communication module 30 disconnected Poraetgccied 91 SX bus send error 92 SX bus receive error AO Object port error General purpose communication module detected an error Processing impossible because in code General purpose communication module detected an error A3 conversion mode A5 Processing impossible because in loader mode General purpose communication module detected an error Processing impossible
119. ee zpj 83 1 KB 85 136 bytes 2002Sep 26 14 52 16 _c_free DEFINITIONS vOOQ1 INPUT OPEN REQUEST v0002 INPUT SEND REQ AeA TAIT SEND CACTHSRYTOS 2 4 Section 2 Installation 2 3 How to Use Expansion FBs 2 3 1 Importing programs Individual communication FBs included in the standard expansion FB package can be used by importing programs into a created project Operation When you execute the Import Programs command in the File menu the Import Programs dialog appears New Ckr N Open Ctr o Import Programs ReOpen b Project File Name Online Save Ctrl S Load Save As Verify Program List Save As Template Import Programs Protection Programs Page Setup Print Ctrl P Print Preview Alt x Exit The above list indicate the call relation of Program the called lower layer are imported Please select Program which does import from the above list In selected Program all Program not protected of All Select All Release All Program All Function All Function Block Click the Browse button and then select a project which is a import source The imported project is stored in the compressed project Zpj format in the LIBRARIES folder under the folder where this expansion FB is installed Import Programs 21x Look in LIBRARIES e es E3
120. eed Input Module Counter FB 4 2 4 Sample applications of counter expansion FB 1 Counting pulses from outside Counter FB PS CPU PI LILTLTLTI Memory in CPU module ed SX bus folded plug Count fetching enabled up to 20 kHz 4ch Pulse generator 2 Making output when a certain angle pulses is attained Varicam control Memory in CPU module PS cpu PI DI DO Output 1 Output 2 L x Output 3 ILILTLTLTI Counter FB Varicam FB 4 25 SX bus folded plug PI Count fetching enabled up to 20 kHz 4ch Pulse generator Section 4 Specifications of High speed Counter FB 4 2 High speed Input Module Counter FB 3 Simplified position control to know work location PS CPU PI PO DO SX bus folded plug PI Count fetching enabled up to 20 kHz Ach PO Output enabled up to 20 kHz 4ch Command JLILTILILTL gt Amplifier Feedback Counter FB Simplified positioning FB Memory in CPU module 4 2 5 Details of high speed input module counter FB 1 FB format MHCNTD Start command START INI END initialization completion V1 V9 Internal reset command 4 RST_CMD RST OK L Internal reset command response V2 V10 Internal gate command uem x m Internal gate command re
121. egister in timer the high speed counter module The unit is a single scan action REG TMR and up to 65535 scan actions are countable Setting 0 disables monitoring Comparison value DV0010 DINT IN Comparison value that is used in comparison detection mode CMPDAT Enabled when comparison detection mode comparison detection operation selection of bit command signal is not selected 16 bit selected 32768 to 32767 32 bit selected 2147483648 to 2147483647 Preset value DV0011 DINT IN Preset value that is used in preset mode PSET_DAT Enabled when preset mode preset operation phase Z detection operation selection enabnle or preset operation phase Z operation selection of bit command signal is not selected 16 bit selected 32768 to 32767 32 bit selected 2147483648 to 2147483647 Bit command signal WV0012 Note 2 IN_OUT Refer to Signal assignment of bit command signal response STS_DAT Two word area is required Input variable INDAT WV0013 WORD IN OUT Specifies the input first address and the output first address of the Output variable OUTDAT DV0014 DWORD IN our 9h speed counter module Initialization completion V0015 BOOL OUT Turned on after the start command has been raised and INI END initialization has been completed Internal reset command V0016 BOOL OUT Used as the response signal to the internal reset command response RST OK Internal gate command V0017 BOOL OUT Response signal used when gate operation
122. eive error code WV0018 WORD OUT Stores the receive error code R_ERCD Number of receive data bytes WV0019 INT OUT Stores the number of receive data bytes R_LEN Note 1 Work area for sending WORD Work area for receiving WORD Receive buffer area WORD Send buffer area WORD RAS area INT For more information about data type refer to Appendix 1 3 17 Section 3 Specifications of Communication FB 3 2 FUJI General Purpose Inverter Procedure FB CfdFRN Send text data format of the memory assigned to WV0008 The memory that is assigned to WV0008 must be set secured as follows Specify the start address of the memory for WV0008 Upper order Lower order Start address WM WL Data 2 Data 1 WM WL 1 Data 4 Data 3 WM WL 31 Data 64 Data 63 Receive text data format of the memory assigned to WV0009 The memory that is assigned to WV0009 must be set secured as follows Specify the start address of the memory for WV0009 Upper order Lower order Start address WM WL Data 2 Data 1 WM WL 1 Data 4 Data 3 WM WL 31 Data 64 Data 63 Section 3 Specifications of Communication FB 3 2 FUJI General Purpose Inverter Procedure FB _CfdFRN Communication parameter format of the memory assigned to WV0010 The memory that is assigned to WV0010 must be set secured as follows Specify the start address
123. en perc E Nus 2 2 2 3 Method of Using Expansion FB eeeeeeeeeeeeeeeeeeese eene nn nnne nnnnnn inn an nennen 2 5 2 8 1 Importing programi S si eerte sd enne ritenuta ae atre dete Ee ue cuneo chee EE ERT 2 5 2 3 2 Reading of expansion EB eite e Eon ete ber ied Perte the ec aspere terere iue ae 2 8 2 4 MU CIC M socuusadecdueeehueceds 2 9 Section 3 Specifications of Communication FB 9 1 3 1 Non procedural FB eeeeeeeeseeeeeeeeeeee eene nennen nennt nn nnne nent tn seen geen nnns assent nnn nana AKKAN 3 1 c ESNECTICI C 3 1 3 1 2 Memory capacity for using non procedural FB ssessseeeeeneen enne 3 2 3 1 3 Communication specifications for non procedural FB sessseeeeee 3 3 cec alio 3 8 3 1 5 Data seriding error reni te cre tea repe tret inae bra redet nio EEr ap a side Eos Enae taa eE Eng 3 12 EEILOEEBITCNIe Dem E EE 3 13 SE RAS arere e dad IM IM n ELT 3 14 3 2 FUJI General Purpose Inverter Procedure FB CfdFRN cccssssseeeeeeeeesssseeeeeeeseseseeeeeees 3 15 3 221 Generali C ie hie eae ee es nce A ee ee ee ee 3 15 3 2 2 Specifications for CfdFE BIN 21 ronis detest tr t Y eine viii Dei ae 3 16 3 2 9 InitiallZatlOTy ree ir ot ran aee A E dta te in ux es A HER Ep E 3 20 3 2 4 Data sending recelving eere rrt dt rennen ne nep Eti thu AER e Rete ciae largas edet kp aT 3 22 9 25 MAN
124. error Parameter modification error after OPEN 40 Response monitoring timer value setting error 41 Retry count setting error 42 Start code setting error 43 End code setting error 44 BCC code setting error 45 Retry count setting error General purpose communication module station ii No setting error 81 Port No setting error 82 Message port No setting error 93 Open error Initialization failed due to bus error Initialization failed due to abnormality on general purpose 1 94 Open error aee p communication module Processing impossible because in code General purpose communication module detected an error A3 conversion mode A5 Processing impossible because in loader mode General purpose communication module detected an error Processing impossible because self diagnosis is General purpose communication module detected an error me being executed 3 61 Section 3 Specifications of Communication FB 3 6 FUJI Bar Code Reader Procedure FB _CfdPK 3 6 4 Data sending 1 Data sending procedure Sets send data and send data length Send data WV0004 Number of send data bytes WV0003 Turned ON by the application program Turned OFF by the application program fetus Send request V0002 Processing for m es Send end V0010 i In case of sending error Output only one scanning Send error V0011 S a
125. eserved Reserved Reserved Reserved RS 485 station No x8 RS 485 station No x4 RS 485 station No x2 RS 485 station No x1 Section 3 Specifications of Communication FB 3 4 Communication Protocol Included General Purpose Inverter Procedure FB Cfvrpr 3 4 1 General The Cfvrpr FB communicates data using the FGI BUS between the CPU module and FUJI FVR Series general purpose inverter The Cfvrpr FB performs part of the processing under the communication protocol in the firmware in the general purpose communication module in order to reduce the number of program steps see note For more information of the detailed transmission parameters that are necessary to control the FVR Series general purpose inverter refer to the manual supplied with the inverter Note This FB can be used with V2536 or later version of general purpose communication module a is suffixed to the name of the FB supporting array structure Note When using FBs supporting array structure use V2 2 3 0 or later version of Standard loader FB functions 1 Initialization of communication port function Initializes the RS 485 port the setting of transmission speed data bit length parity bit etc 2 Data sending receiving function Sends data from an application program in the MICREX SX series CPU module to general purpose inverter FVR via the general purpose communication module or outputs the data received via the general purpose co
126. eset Internal preset Preset by user application program where bit command signal 1 of expansion FB preset operation phase Z detection operation selection enable is turned on while preset operation phase Z detection operation selection is turned off The expansion FB comes in preset mode select condition Then when internal preset command of expansion FB is turned on preset value is changed to the count value External preset Bit command signal of expansion FB preset operation phase Z detection operation selection enable is turned on while preset operation phase Z detection operation is turned off The expansion FB comes in preset mode select condition When an external terminal preset input is input preset value is changed to the count value Internal reset EM Internal or external preset input i i Forward F EA jubente El Count pulse i Reverse i l i eme PRS oeneeas pessum erate ni iekea iia meses pese eese eese sse Maximum positive value i i i 4 i 1 Positive Preset value Count value Negative Count value Zero reset When preset Count register Note 1 Even while pulses are being input preset is performed at the rising edge of preset input signal Note 2 When preset operation mode is used be sure to use expansion FB _MHCNTR _MHCNTRa 4 6 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 3 Gate operation
127. esignates how many times to retry communication 21 BCC designation Sets whether or not to add horizontal parity for checking text data transmission error 0 No 1 Yes 22 Not used Reserved 39 3 60 Section 3 Specifications of Communication FB 3 6 FUJI Bar Code Reader Procedure FB CfdPK 2 Initialization procedure When the OPEN V0001 parameter of FB is turned ON communication parameters are transferred to the general purpose communication module which executes processing for initialization If initialization is impossible due to a communication parameter setting error or hardware error FB outputs the corresponding error code to the OPEN Status WV0009 Turned ON by the application program Turned OFF by the application program OPEN request Note V0001 VN Processing for initialization N Port closing operation Communication ready V0008 Note OPEN signal shall be set to Always ON during data communication If initialization error has occurred Y OPEN Status WV0009 00 Error status 3 OPEN status list 00 Ended normally 01 Transmission speed error General purpose communication module detected an error 02 Data bit length error General purpose communication module detected an error 03 Parity bit error General purpose communication module detected an error 04 Stop bit error General purpose communication module detected an error SF Parameter modification
128. est V0002 Processing for sending Send end V0010 a 7 M only one scanning In case of sending error rog Send status WV0012 X Result of sending E P Output only one scanning Send error V0011 After setting send data and its data length turn send request V0002 ON by the application program Then FB detects the rising edge to execute the processing for sending When sending has ended send end flag V0010 is turned ON for only one scanning If a send error has occurred send end V0010 and send error V0011 are turned ON for only one scanning and corresponding error code is output to send status WV0012 00 when ended normally 2 Send status list 00 Normally ended 01 Send buffer has overflowed 40 Data send time out 90 General purpose communication module disconnected Not detected 91 SX bus send error 92 SX bus receive error Not detected AO Object port error Specified port No is neither 0 nor 1 A3 Processing impossible because in code conversion mode A5 Processing impossible because in loader mode Processing impossible because self diagnosis is being Error detection on general purpose communication module A6 executed C2 Send buffer has overflowed Error detection on general purpose communication module C3 Send data size over Error detection on general purpose communication module 3 12 Section 3 Specifications of Commu
129. et value when preset mode is selected Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 4 1 6 Error information The FB always monitors the state of control and outputs error information to the bit information The following describes the error types cause of errors and handling of errors 1 Linear operation underflow When the counter attempts to count down from the maximum negative value an underflow flag is set Handling of the error The counter holds the maximum negative value as the count value and waits for an internal reset After the internal reset signal is turned on and the count value is cleared to zero the counter restarts its processing Underflow flag turned ON Maximum positive value Maximum negative value Count value Fixed at the maximum negative value 2 Linear operation overflow When the counter attempts to count up from the maximum positive value an overflow flag is set Handling of the error The counter holds the maximum positive value as the count value and waits for an internal reset Count value Fixed at the maximum negative value Maximum positive value Maximum negative value Overflow flag turned ON 3 Transmission error Data transmission between the CPU and the high speed counter module is checked At initialization the error monitoring time is set Then the CPU continues to send error monitoring signals to the high speed counter modu
130. etected the receive end flag is automatically turned ON receive error flag is also turned ON if abnormal 3 32 Section 3 Specifications of Communication FB 3 3 FUJI General Purpose Inverter Standard Communication FGI BUS Procedure FB CfdFVR 2 Sending receiving status list 00 Normally ended 01 Send buffer has overflowed 02 Receive buffer has overflowed 40 Data send time out 41 Protocol response error 42 BCC error General purpose communication module Not detected disconnected 90 91 SX bus send error 92 SX bus receive error 93 NAK receive AO Object port error General purpose communication module detected an error Processing impossible because in code General purpose communication module detected an error A3 conversion mode A5 Processing impossible because in loader mode General purpose communication module detected an error Processing impossible because self diagnosis is General purpose communication module detected an error A being executed CO Hardware error detected during receiving General purpose communication module detected an error C1 Receive buffer has overflowed General purpose communication module detected an error C2 Send buffer has overflowed General purpose communication module detected an error C3 Send data size over General purpose communication module detected an er
131. etection gt Acceleration Acceleration Speed deceleration deceleration pee time N r4 time Manual forward rotation command input to FB Forward rotating by manual operation output from FB ON OFF Manual reverse rotation command input to FB Reverse rotating by manual operation OFF output from FB Positioning completed 4 output from FB OFF ON SOT error output from FB OFF ON Y SOT error output from FB OFF ON 5 30 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function SOT error is reset at the rising edge of alarm reset command after error causes are removed after machine coordinates command position returns within the software OT detection range Unless error causes are removed when machine coordinates command position is out of the software OT detection range error signal is not cleared SOT error output from FB OFF ON 1 2 SOT error output from FB OFF ON Alarm reset input to FB ON 1 When machine coordinates command position lt software OT range in positive direction SOT error signal is reset 2 When machine coordinates command position lt software OT range in negative direction SOT error signal is not reset When origin return operation is completed successfully both SOT error and SOT error signal
132. eter area After the completion of origin return operation the target position and command position in the machine coordinate system are set to 0 and the target position and command position in the work coordinate system are set to the values with respect to the floating origin At the same time offset for work coordinates is set to the value with respect to the floating origin 5 17 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function Origin return command is accepted when positioning completed signal is ON In the following cases origin return command is not accepted 1 When running signal is OFF 2 When positioning completed signal is OFF 3 When either PTP positioning command or PTP positioning executing is ON 4 When one of manual forward rotation command manual reverse rotation command forward rotating by manual operation and reverse rotating by manual operation is ON 5 When OT error detection signal in the origin return direction is ON 6 When OT signal in the origin return direction is ON OT error or OT error is detected at the rising edge of origin return command 7 When positioning cancel command is ON 8 When forcible stop command is ON If an OT error in the origin return direction is detected during origin return operation returning to origin signal is turned OFF after the operation is stopped If origin LS s
133. etting contents of these parameters General purpose communication Sets the station number of the general purpose communication module on the SX bus 0 module station No Designates an interface port on the general purpose communication module 1 Port No 1 RS 485 port 2 Message port No Designates a port No for sending receiving message to from a general purpose communication module 3 Reserved Not used 4 Tranemissipr speed Designates the transmission speed P 0 1200 1 2400 2 4800 3 9600 4 19200 bps Designates the data bit length When 7 is selected 7 bits make up one data when 5 Data bit 8 8 bits make up one data 0 7 bits when ASCII code is used 1 8 bits when EBCDIC code is used This is a bit which is added to data for the purpose of error detection Designate the 6 Parity bit proper one to match the setting of the device at the other end 0 None 1 Odd 2 Even This bit indicates the end of data Designate the proper one to match the setting of the 7 Stop bit device at the other end 0 1 bit 2 2 bits 8 Not used Reserved 15 The timer for monitoring during the period from when the CPU module FB sends a 16 Response monitorina timer send request to an external device until communication ends This value can be set in p 9 0 01 second steps Example For 1 second set this value to 100 17 Retry count In case of communication error this designates how many times to retry
134. ewritten by work coordinates position preset command Example of the position data preset by work coordinates position preset command is shown below Position data after preset by work coordinates position preset command CONES command position in work 50 000 30 000 Preset value Current position in work coordinate system 50 006 30 006 Preset value Error at stoppage ab eds ER position in 10 000 10 000 Unchanged Current position in machine coordinate system 10 006 10 006 Unchanged Error at stoppage 6 6 Unchanged Work coordinates offset 40 000 20 000 Difference of command position Preset data 30 000 The target position and command position in work coordinate system are changed to the preset values The current position in work coordinate system becomes the preset value added by the error Work coordinates offset becomes the preset value subtracted by machine coordinates command position Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 7 Machine coordinates position preset At the rising edge of machine coordinates position preset command the position data in the machine coordinates system is preset The position data in work coordinate system is also updated Origin return normally ended signal is turned ON PTP normal end signal does not change Machine coordinates position preset command is accepted when positioning is com
135. f Simple Positioning FB 5 2 6 Data setting FB MSMVDAT This FB sets the data for simple PTP positioning PTP positioning becomes possible when the output of data setting FB is connected to positioning FB Data setting FB allows cascade connection as shown in the figure below Operating status data Positioning completed PTP positioning executing PTP positioning completed PTP startup data Number of pulses a d zs 3 Frequency Lu LL it PTP startup mi D D D D S E Previous stage FB data 5 5 Number of pulses frequency o o o Startup E E E o a FB end r FB end FB end Positioning data Positioning data Positioning data Number of pulses Number of pulses Number of pulses Frequency Frequency Frequency 1 FB format MSMVDAT Operation command RUN CMD RUN STS Running V1 V15 Startup command 4 CMD ABS INC ABS INC selection V2 V16 ABS INC selection 1 ABS INC1 PLS ___ Number of pulses setting V3 DV17 Number of pulses setting 1 PLS1 FRQ L Frequency setting DV4 V18 Frequency setting 1 4 FRQ1 PTP CMD prp positioning command WV5 V19 PTP positioning command PTP CMD IN NXT CMD Next stage startup V6 V20 Valid step VLD STP FB RUN FB running V7 V21 End step _ END STP FB OK FB completed V8 V22 ABS INC selection 2 j ABS INC2 V9 Number of
136. format Open OPEN V1 Send request S REQ V2 Receive function code _ R_FNC WV3 Send text data S_TXT WVA4 Receive text data _ R TXT WV5 Communication parameter PARA WV6 RAS information RAS WV7 _Cfvrpr _Cfvrpra OK V8 O STS WV9 S RUN v10 R_END v11 R_ERR v12 R_STS WV13 R STN WV14 R KND WV15 R ERCD WV16 R LEN WV17 R_FNC WV3 S TXT wv4 R_TXT WV5 PARA WV6 RAS WV7 3 36 Communication ready Open status Send run Receive end Receive error Receive status Receive station address Receive command type Receive error code Number of receive data bytes Receive function code Send text data Receive text data Communication parameter RAS information Section 3 Specifications of Communication FB 3 4 Communication Protocol Included General Purpose Inverter Procedure FB Cfvrpr 2 Explanation of FB parameters Open V0001 BOOL IN ON Sends the communication parameters to the general OPEN purpose communication module to initialize communication When communication becomes possible communication ready turns ON OFF Performs the processing for ending communication Communication ready turns OFF Send request V0002 BOOL IN Starts to send data When sending has ended this needs to be S REQ turned OFF by the application prog
137. g length at stoppage Moving length Time Note 1 The pulse train output function of the high speed output module has no function to control the number of pulses Therefore the positioning accuracy at stoppage is determined by self startup frequency and the startup period of simple positioning FB A certain error is inevitable when stopping Note 2 Simple positioning FB checks error when stopping Therefore this error is not accumulated even when positioning operation is repeated lt Structure of simple positioning FB gt Simple positioning FB consists of the following FBs 1 Positioning FB function block This FB executes positioning according to pulse train command It has 3 operational functions PTP positioning manual operation and origin return operation 2 Positioning data setting FB function block This FB sets the number of pulses for moving length and command frequency This FB is connected to the positioning FB to use See the image of connection of simple positioning FB shown below Image of connection of simple positioning FB gt PTP startup command Positioning Positioning data setting FB Completion of positioning Set value gt FB Number of pulses Command to the module Frequency F Current value data Data from the module Origin return command Operation error signal Manual forward reverse rotation command Adjustment data Acceleration d
138. gnal Refer to 4 1 6 6 Preset underflow for the details Preset overflow V0030 BOOL OUT Enabled only when preset operation mode is selected P OVRFL Turned on when the preset value overflows the specified 16 bits or 32 bits The state is cleared by turning on the internal reset signal Refer to 4 1 6 5 Preset overflow for the details Parameter error 1 V0031 BOOL OUT Turned on when the specified value is out of the range has a PRM ERR1 format failure The state is cleared by changing the value and turning on the internal reset command Parameter error 2 V0032 BOOL OUT When preset operation mode is selected Turned on when the PRM ERR2 preset command has been raised and the preset value has been changed or when differentials are detected or an overflow or underflow has occurred when counting the value to be output Enabled only when the 16 bit counter is specified Refer to 4 1 6 Error information for the details External gate input V0033 BOOL OUT Outputs the external gate input state to be set from the high speed OUTS GAT counter module Data from the high speed counter module is inverted to output Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB Note 1 Signal assignment of bit command signal WV0006 At the rising edge of the start command V0001 this area is reflected to the high speed counter module
139. ication FB 3 6 FUJI Bar Code Reader Procedure FB CfdPK 3 6 5 Data receiving 1 Data receiving procedure Communication ready V0008 o Continuous receiving operation Receive data WV0005 C QEEENEBEN Receive status WV0015 Y Receive end V0013 While the communication ready flag is turned ON FB checks whether the data to be received exists or not continuously and when it exists execute the operation for receiving When a delimiter between data frames is detected the received data is stored and the receive end V0013 flag is turned ON for only one pulse The result of receiving is stored in receive status WV0015 If a receive error has occurred receive end V0013 and receive error V0014 are turned ON for only one pulse In case of receive error Output only one scanning Receive error V0014 2 Receiving status list 00 Ended normally 02 Receive buffer has overflowed 41 Protocol response error 42 BCC error General purpose communication module disconnected 91 SX bus send error 92 SX bus receive error 90 AO Object port error General purpose communication module detected an error Processing impossible because in code General purpose communication module detected an error A3 conversion mode A5 Processing impossible because in loader mode General purpose communication module detected an error
140. ignal is ON at the rising edge of origin return command feederate becomes the value for self startup frequency Speed Self startup frequency A 4 Time Origin return command input to FB ON Returning to origin ON output from FB Origin return 77777777 normally ended OFF output from FB Positioning completed output from FB OFF Origin LS ON OFF input to FB Origin signal input to FB EDO ON Ignored because no origin LS has been passed PTP normal end signal is turned ON when origin return operation is completed Positioning completed signal is turned ON when positioning is completed Origin return command input to FB ON ON Returning to origin output from FB ON ON Origin return normally ended output from FB OFF OFF Positioning completed input to FB OFF ON ON Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 5 Frequency changeover Command frequency can be changed over during PTP positioning or manual operation Frequency changeover signal is used to change over command frequency Frequency changeover command OFF Frequency setting 1 is selected Frequency changeover command ON Frequency setting 2 is selected lt Frequency changeover operation pattern gt Acceleration Frequency deceleration f time x Speed Self startup frequency
141. inate system and work coordinate system after pulse output is started by origin return command till the origin is detected successfully Command position data Current position data When origin return operation is completed successfully the same as the target position data Command position data in work coordinate system Set value of floating origin Command position data in machine coordinate system 0 If origin return operation did not complete successfully due to cancel or forcible stop command command position data coincides with current position data when positioning is completed The error at stoppage is O 3 During manual operation When pulse is being output under manual forward reverse rotation command Target position data Current position data After the end of manual operation target position data coincides with current position data when pulse output is stopped The error at stoppage is 0 4 When a software OT error is detected When positioned at a software OT position during PTP positioning or manual operation the command position data in machine coordinate system is set to the values of software OT detected position In this case the command position data in work coordinate system becomes as follows Command position in work coordinate system Software OT detected position Offset 5 36 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Functio
142. information FB operating conditions System configuration One FB is necessary for each external device which is connected by RS 232C or RS485 to one general purpose communication module However when RS 232C RS485 signal conversion is enabled the mode selection switch is set to 4 for the general purpose communication each FB is used by two channels Section 3 Specifications of Communication FB 3 1 Non procedural FB 3 1 2 Memory capacity for using non procedural FB The non procedural FBs use the following memories ae lee atees aces Ee WOISS Be Woras Pee ee area Approx 1 1k words seer neers PO 892 woles 82 words AR SM area Approx 0 51k words SURE 2ga A aum 892 words BE Worcs ies vix M area Approx 0 26k words metal CS AP 592 Woras eos QU ie qe area Approx 0 13k words m in o er 892 WOras PESOS fent aceite area Approx 0 07k words pu Cup S t eae wards Se waits dh cS area Approx 1 1k words Cfrp2 _Cfrp2a Ay em 208 worgs Bet words ES en E area Approx 1 1k words Note 1 The above list for the memory capacity includes the area for the main body of non procedural FB and those for sub FBs that are called from the non procedural FB Note 2 The above list for standard memory and retain memory includes the memory capacity necessary for sending receiving data Section 3 Specifications of Communication FB 3 1 Non procedural FB 3 1 3 Communication specifications for non procedural FB
143. ion parameter setting error or hardware error FB outputs the corresponding error code to the OPEN Status WV0009 Turned ON by the application program Turned OFF by the application program OPEN request V0001 s Processing for initialization N Peal closing operation Communication ready V0008 Note OPEN signal shall be set to Always ON during data communication If initialization error has occurred Y OPEN Status WV0009 00 Error status 3 OPEN status list 00 Ended normally 01 Transmission speed error General purpose communication module detected an error 02 Data bit length error General purpose communication module detected an error 03 Parity bit error General purpose communication module detected an error 04 Stop bit error General purpose communication module detected an error SF Parameter modification error Parameter modification error after OPEN 40 Response monitoring timer value setting error When negative 41 Retry count setting error When negative General purpose communication module station 9t No setting error 681 Portl No setting error 82 Message port No setting error 93 Open error Initialization failed due to SX bus error Initialization failed due to abnormality on general purpose 94 Open error mien communication module Processing impossible because in code General purpose communication module detect
144. ion module on the 0 station No SX bus Designates an interface port on general purpose communication module 1 Port No 0 RS 232C port 1 RS 485 port Designates a port No for sending receiving messages to from a general 2 Wiessade bor Nb d purpose communication module 1 to 127 gep Note Avoid designating a port No which is already used for sending receiving messages to from other module 3 Reserved Not used Designates the transmission speed 4 Transmission speed 0 1200 1 2400 2 4800 3 9600 4 19200 5 38400 6 57600 7 76800 8 115200 90 300 91 600 bps 5 Reserved Not used This is a bit which is added to data for the purpose of error detection 6 Parity bit Designate the proper one to match the setting of the device at the other end 0 None 1 Odd 2 Even This bit indicates the end of data Designate the proper one to match the 7 Stop bit setting of the device at the other end 0 1 bit 2 2 bits When signal line control is not performed there is no difference in functions between DCE and DTE modes The RS 232C of the general purpose communication module is of DTE specification however it can be used as a DCE specification interface when signal lines are converted as follows 8 DCE designation No 7 pin RS toCS No 6 pin DR to ER No 8 pin CS to RS No 4 pin ER to DR 0 DTE 1 DCE 2 Modem DTE 9 ER DR signal control 0 Off 1 On DTE mode 0 Off RS a
145. k coordinate system and the target position in machine coordinate system become as follows Target position in work coordinate system Set value of floating origin Target position in machine coordinate system 0 3 For manual operation During manual operation target position data is not updated 4 At completion of positioning When positioning is completed target position data is not updated 5 When work coordinates position preset is used The target position data in work coordinate system becomes as follows Target position data in work coordinate system Preset value When the position in work coordinate system is preset offset is also updated 6 When machine coordinates position preset is used The target position data in machine coordinate system becomes as follows Target position data in machine coordinate system Preset value The target position data in work coordinate system becomes as follows Target position data in work coordinate system Target position data in machine coordinate system Set value of floating origin When the position in machine coordinate system is preset offset is changed to the set value of floating origin 5 35 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 2 Current position data For both machine coordinate system and work coordinate system current position data is updated to the current value data that is se
146. l is OFF the following signals are output a ABS INC1 b Number of pulses setting 1 c Frequency setting 1 and d PTP positioning command 1 When data setting FBs are used for manual operation and frequency is changed over during manual operation the setting of manual operation frequency 1 or manual operation frequency 2 can be connected to the frequency setting 1 of the 1st stage data setting FB 5 42 Section 5 Specifications of Simple Positioning FB 5 4 Parameters for Simple Positioning Expansion FB Set the parameters for the simple positioning expansion FB as follows WM WL WM WL 2 WM WL 4 WM WL 6 WM WL 8 WM WL 10 WM WL 12 WM WL 14 WM WL 16 WM WL 17 M WL 18 zz M WL 19 M WL 20 M WL 21 z M WL 22 WM WL 23 WM WL 24 Bit No F F 0 Parameter No 10 Moving length at stoppage Parameter No 11 Floating origin setting Parameter No 12 Software OT range in direction Parameter No 13 Software OT range in direction Parameter No 14 Reserved Parameter No 15 Reserved Parameter No 16 Reserved Parameter No 17 Reserved Parameter No 8 Rapid stop time Parameter No 9 Ordinary acceleration time Parameter No A Self startup frequency Parameter No B High speed limiter Parameter No C O
147. le When the high speed counter module cannot receive an error monitoring signal within the specified time by some reason it generates a transmission error signal Transmission errors are supported only for channel 1 Handling of the error The alarm is reset with the alarm reset signal After internal reset is turned on the counter continues its processing Error monitoring signal CPU gt High speed counter module Transmission error q CPU lt High speed counter module gt Monitoring time Up to 6553 5ms 4 8 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 4 Register write monitoring time up Data written from the CPU to the high speed counter module is checked When the response time to data written from the high speed counter module to the CPU could not reach the number of monitoring scan operations after the CPU outputs the data write command to the high speed counter module the register write monitoring timer error signal is generated The data write response signal is checked once at a each scan operation Handling of the error The register write monitoring timer error signal is reset with the alarm reset signal Register write monitoring time up is reset when restarted after changing the register write monitoring value During linear operation preset operation Data write command CPU gt High speed counter module D E
148. low generates 4 10 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 8 Parameter error 2 The hardware detects comparisons Thus the effective comparison value hard comparison value specified in the hardware must be calculated from the user comparison value When there is a change for preset operation or user comparison value the effective comparison value is calculated using the following formula Effective comparison value User comparison value Differential The parameter error occurs when the calculated effective comparison value is out of the range as shown in the figure below Handling of the error The counter continues its processing with the appropriate previous value J LE Effective comparison value User comparison value Differential Preset command TFFFFFFFh Effective count value 60000000h C0000000h User comparison value Overflows 7FFFFFFFh 60000000h 40000000h Preset value 0 Differential Preset value Effective count value 0 40000000h C0000000h C0000000h 80000000h 4 11 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 4 1 7 High speed counter FB muitifunctional version MHCNTR MHCNTRa 1 FB format Start command Internal reset command Internal gate command Internal preset command Alarm reset command Bit command signal CH selection Transmission monitoring timer value Register write
149. lse input format 16 bit 32 bit count modes Linear ring operation modes 2 Main functions Handles processing of any of the following operation modes Linear operation for NP1F HC2 HC2MR HC2MR1 only Ring operation Gate operation Preset operation for NP1F HC2 HC2MR HC2MR1 only Phase Z detection operation for NP1F HC2 HC2MR HC2MR1 only Comparison detection operation for NP1F HC2 HC2MR HC2MR1 only 3 Error information Monitors the control status and outputs error information CPU module High speed counter module NPIF HC2 Application NP Eos program NP1F HC2MR1 Function BPIP FIGR block External device Note To use fail soft operation mode 2030 or newer version of high performance standard CPU module and 20 or newer version of counter module are necessary Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 4 1 2 Memory size of FB Muitifunctional high speed counter FB MHCNTR MHCNTRa NP1F HC2 Approx 1 2k steps 80 words 19 words Standard high speed counter FB E ree andard high speed counter NP1F HC2MR1 MHCNTH MHCNTHa Approx 0 5k steps 42 words 13 words Multichannel counter FB MHCNTM MHCNTMa NP1F HC8 Approx 0 35k steps 50 words 12 words a is suffixed to the name of the FB supporting array structure Note When using FBs supporting array structure use V2 2 3 0 or later version of Stan
150. lways ON Sending unconditional 1 On RS ON while sending Sending when CS is ON 10 Signal flow control DCE mode 0 Off CS always ON Sending unconditional 1 On CS ON when RTS is ON Sending when ER is ON XON XOFF control Because communication between sender and receiver is performed asynchronously flow control may be necessary The receiver sends an XOFF signal to indicate that it cannot receive data for a while and then sends an 11 XON signal to cancel the XOFF condition To use XON OFF control the device at the other end must also have this function To use flow control with XON and XOFF XON and XOFF must not occur in data 0 NO 1 YES 12 RS 485 mode Selects ids or 2 wire for RS 485 0 4 wire 1 2 wire 13 Not used Reserved 34 3 75 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm The timer for monitoring during the period from when the CPU module sends a send request until receiving of reasponse is completed This value can be 35 Response monitoring timer value set in 0 01 second steps Example For 1 second set this value to 100 36 Not used Reserved 39 Note No in the above table is the number of words from the start of the communication parameter 2 Initialization procedure When the OPEN V0001 parameter of FB is turned ON communication parameters are transferred to the general purpose communication module which executes processing fo
151. ly calculated and added to the data by this FB 3 Write data is received in the order of upper order byte and lower order byte as show below Therefore word data can be accessed in units of word as it is Upper order byte Lower order byte Upper order byte Lower order byte Send data WV0008 Upper order byte Lower order byte 7 Retain register writing multiple words code 10 In case of abnormal response the format of response message becomes as follows This is common to all functions FB terminals gt Slave station No WV0017 gt Function code WV0018 gt Lower order byte of the start word of receive data WV0009 Abnormal response Slave station No Function code 80h Error code CRC lower order CRC upper order Error code list 01h Function code error 02h Address setting error 03h Read write data count setting error 3 74 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm 3 7 3 Initialization 1 Initialization parameters In order to initialize each individual port of the general purpose communication module it is necessary to set values which match the communication specifications of the object external device to the individual communication parameters The table below shows the setting contents of these parameters General purpose communication module Sets the station number of the general purpose communicat
152. make sure of safety before program change forced output starting stopping or anything else during a run The wrong operation might break or cause machine problems Be sure to keep within the software operating environment described in this manual when using this product otherwise an erratic operation or a failure might be caused When operating the personal computer loader be sure to select a stable place so that they won t be dropped Otherwise a failure might be caused D D OO OOD Revision The manual No is printed at the bottom right of the cover of this manual Jun 2004 FEH589 First edition Mar 2006 FEH589a Counter FBs and positioning FBs were added Specifications for FBs supporting array structure were added Contents Preface Safety Precautions Revision Contents Page Section 1 General T f 1 1 List of Standard Expansion FBs for General Purpose Communication Module 1 1 1 2 List of High speed Counter Standard Expansion FBS eere 1 1 1 3 List of Simple Positioning Standard Expansion FBS esent 1 1 Section 2 Installation leeeeseeeeeeee eene nnne nnne nnne 27 2 1 Personal Computer Environment Necessary for Standard Expansion FBS 2 1 2 2 Installation Procedure ooi cicer Letto cce AAEE aoc Cc nud Vo oie C cR unu up a pec cu Ev
153. manual operation During forward rotation OT error occurs if it is detected that OT signal is ON During reverse rotation OT error occurs if it is detected that OT signal is ON OT signal that is opposite to the operating direction is not monitored Even when an opposite direction OT is detected if the OT signal in the operating direction is OFF manual operation command is accepted If an OT error in the operating direction is detected positioning operation is stopped 3 During origin return operation When returning in the reverse direction OT error occurs if it is detected that OT signal is ON When returning in the forward direction OT error occurs if it is detected that OT signal is ON OT signal that is opposite to the returning direction is not monitored Even when an opposite direction OT is detected if the OT signal in the returning direction is OFF origin return command is accepted If an OT error in the returning direction is detected positioning operation is stopped OT error is reset at the rising edge of alarm reset command after error causes are removed after OT or OT signal is turned OFF Unless error causes are removed when OT or OT signal is ON error signal is not cleared OT input to FB OFF ON OT error output from FB ON 1 OT input to FB OFF ON 2 OT error output from FB OFF ON
154. mmunication 18 Not used Set 0 zero for the data Reserved 39 2 Initialization procedure When the OPEN V0001 parameter of FB is turned ON communication parameters are transferred to the general purpose communication module which executes processing for initialization If initialization is impossible due to a communication parameter setting error or hardware error FB outputs the corresponding error code to the OPEN Status WV0012 Turned ON by the application program Turned OFF by the application program OPEN request Note V0001 a Processing for initialization x Bon tlosimaparsti n Communication ready V0011 Note OPEN signal shall be kept ON during data communication If initialization error has occurred Y OPEN Status 00 Error status WV0012 3 50 Section 3 Specifications of Communication FB 3 5 FUJI Temperature Controller Procedure FB _CfdPYX 3 OPEN status list 00 Ended normally 08 RS 485 mode setting error General purpose communication module detected an error 3F Parameter modification error Parameter modification error after OPEN 40 Response monitoring timer value setting error 41 Retry count setting error go General purpose communication module station No setting error 681 Portl No setting error 82 Message port No setting error 93 Open error Initialization failed due to SX bus error 94
155. mmunication module to an application program 3 Transmission condition monitoring function Monitors data transmission condition and outputs error information if abnormal Connecting method of _Cfvrpr gt The connecting method between the general purpose communication module and FUJI FVR series general purpose inverter must be 1 N connection by RS 485 2 wire system FB operating conditions System configuration One FB is necessary for each communication port RS 485 to be used The control of all the inverters that are connected to one RS 485 system is performed by one FB FUJI general purpose inverter may not be connected to the RS 232C port This FB cannot be used in the mode where RS 232C RS 485 signal conversion is enabled for the general purpose communication module Memory capacity Program area Approx 1 6k steps Data memory capacity User FB memory 260 words Standard memory 826 words System FB memory _ 84 words Note 1 The above list for the memory capacity includes the area for the main body of inverter procedure FB and those for sub FBs that are called from the inverter procedure FB Note 2 The above list for standard memory and retain memory includes the memory capacity necessary for sending receiving data 3 35 Section 3 Specifications of Communication FB 3 4 Communication Protocol Included General Purpose Inverter Procedure FB Cfvrpr 3 4 2 Specifications for Cfvrpr 1 FB
156. monitoring timer Comparison value Preset value Bit command signal response Input variable Output variable _MHCNTR START INI END V1 V15 RST_CMD RST_OK v2 V16 GATE_CMD GATE_OK v3 V17 PSET_CMD PSET_OK v4 V18 ARMRST ARM OK V5 V19 PSETZ C DV20 CNT DAT DV21 CNTRUN V22 DIR V23 CMP_OUT V24 UNDFL V25 OVRFL V26 ERR_COM V27 WT_TUP V28 P_UNDFL V29 P_OVRFL v30 PRM_ERR1 V31 PRM_ERR2 v32 OUTS_GAT V33 BITCMD1 BITCMD1 WV6 WV6 CH SEL WV7 COM TMR WV8 REG TMR WV9 CMPDAT DV10 PSET_DAT DV11 STS_DAT STS_DAT WV12 WV12 INDAT INDAT WV13 WV13 OUTDAT OUTDAT WV14 WV14 Initialization completion Internal reset command response Internal gate command response Internal preset command response m Alarm reset command response m Count value at preset operation phase Z detection Count value Count operation Rotation direction m Comparison detection output m Underflow m Overflow Transmission error Write monitoring time up Preset underflow Preset overflow Parameter error 1 Parameter error 2 External gate input m Bit command signal I Bit command signal response Input variable m Output variable 4 12 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 2 Description of FB parameters
157. n 5 When positioning is completed When positioning is completed command position data is not updated 6 When work coordinates position preset is used The target position data in work coordinate system becomes as follows Target position in work coordinate system Preset value 7 When machine coordinates position preset is used The target position data in machine coordinate system becomes as follows Target position in machine coordinate system Preset value The target position data in work coordinate system becomes as follows Target position in work coordinate system Target position in machine coordinate system Set value of floating origin 5 37 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 16 Frequency data management The simple positioning expansion FB outputs target frequency and current frequency data Timing to update frequency data Example of manual forward rotation Frequency Manual forward rotation command input to FB Forward rotating by manual operation output from FB Positioning completed output from FB Frequency changeover input to FB Frequency selected output from FB Target frequency value output from FB Current frequency value output from FB Frequency 1 Frequency 2 Self startup frequency Y 1 Frequency setting 1 2 Frequency setti
158. n error Parameter modification error after OPEN 48 Response monitoring timer value setting error Specify the value of the minus go General purpose communication module station No setting error 81 Channel No setting error 62 Message port No setting error 93 Open error M OPEN error 94 Open error a abnormality on general purpose A3 Processing impossible because in code General purpose communication module detected an error conversion mode A5 Processing impossible because in loader mode General purpose communication module detected an error Ae Processing impossible because self diagnosis is General purpose communication module detected an error being executed 3 77 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm 3 7 4 Data sending receiving MODBUS protocol defines master and slave stations and communication is performed in such manner that master station MICREX SX starts communicating and slave station respond to it The outlines of the transmission procedure are explained below 1 Master station sends a command message to slave station 2 Slave station checks whether or not the station No included in the received message coincides with its own station number and if coincides executes the command and then sends a response message to the master station 3 If not coincides the slave station discards the received message and waits for next command message 1 Data se
159. n is detected Manual forward reverse rotation command OFF Current frequency Self startup frequency Stopped when self startup frequency is reached Pause command ON Current frequency Self startup frequency Stopped when self startup frequency is reached Pause command OFF when pulse output is stopped Self startup frequency Pause command OFF when pulse is being output Current frequency Frequency setting 1 or frequency setting 2 By frequency changeover command Positioning cancel Current frequency Self startup frequency Stopped when self startup frequency is reached OT detection Current frequency Self startup frequency Stopped when self startup frequency is reached SOT detection Current frequency Self startup frequency Pulse output is stopped when SOT position is reached Forcible stop command Current frequency Self startup frequency Stopped when self startup frequency is reached The relation between calculated acceleration deceleration curve and actual acceleration deceleration curve is shown below during manual operation Speed Actual pattern Calculated pattern Time When this FB is called at short intervals When this FB is called at long intervals For acceleration actual position is slightly behind the calculated pattern For deceleration actual position is slightly ahead of the calculated pattern
160. n of Standard loader FB functions 1 Initialization of communication port function Initializes communication port to be used the setting of transmission speed data bit length parity bit etc 2 Data sending receiving function Sends data from an application program in the MICREX SX series CPU module to FUJI PYX or PYH series temperature controller via the general purpose communication module or outputs the data received via the general purpose communication module to an application program 3 Transmission condition monitoring function Monitors data transmission condition and outputs error information if abnormal Connecting method of _CfdFRN gt The connecting method between the general purpose communication module and FUJI PYX or PYH series temperature controller must be 1 N connection by RS 485 2 wire system FB operating conditions System configuration One FB is necessary for each communication port RS 485 to be used Communication with all the temperature controllers that are connected to one RS 485 system is performed by one FB This FB cannot be used in the mode where RS 232C RS 485 signal conversion is enabled for the general purpose communication module Memory capacity Program area Approx 2 2k steps Data memory capacity User FB memory 400 words Standard memory 818 words System FB memory 98 words Note 1 The above list for the memory capacity includes the area for the main bo
161. n relative position is set Number of output pulses Set value for the number of pulses Number of error pulses Number or error pulses Command position Current position Position data is DINT type in the range from 2147483647 to 2147483648 If position data is greater than the side maximum value to result in overflow it is set to the 0 gt 2147483647 gt 2147483648 gt 0 If position data is smaller than the side maximum value to result in underflow it is set to the side maximum value 0 gt 2147483648 2147483647 0 o side maximum value 1 Target position data Target position data is updated each time PTP positioning or origin return operation is started 1 For PTP positioning operation The target position in work coordinate system is rewritten to the value calculated from the number of pulses data When absolute position is set Target position in work coordinate system Set value for the number of pulses When relative position is set Target position in work coordinate system Command position in work coordinate system Set value for the number of pulses The target position in machine coordinate system is calculated from the target position in work coordinate system and offset Target position in machine coordinate system Target position in work coordinate system Offset 2 For origin return operation The target position in wor
162. n value Reverse rotating V0031 BOOL OUT While manual reverse rotation is executed this signal is ON by manual operation The movement of reverse rotating by manual operation takes place MNM RN in the direction to decrease the current position value Returning to origin V0032 BOOL OUT While returning to origin this signal is ON ORG RN Origin return normally V0033 BOOL OUT When origin return operation ended normally when machine origin ended is detected or when machine coordinates position preset is used ORG NORM this signal is turned ON Each time origin return operation is started this signal is reset Positioning completed V0034 BOOL OUT When positioning is completed this signal is turned ON PSET When this signal is ON new startup command PTP positioning manual operation originreturn operation are accepted Frequency selected V0035 BOOL OUT While PTP positioning or origin return operation is executed the FRQSL OUT currently selected frequency setting is indicated This signal is the response signal to frequency changeover V0008 OFF Frequency setting 1 ON Frequency setting 2 Pausing V0036 BOOL OUT While pulse output is stopped by pause command this signal is PAUSE OK ON OT error V0037 BOOL OUT If OT error is detected this signal is turned ON OTP ERR OT error V0038 BOOL OUT If OT error is detected this signal is turned ON OTM ERR SOT error V0039 BOOL OUT If SOT error is dete
163. nal ARMRST error signal is reset ABS INC selection V0017 BOOL IN Selects absolute position command or relative position command ABS INC OFF Absolute position command ON Relative position command See note Number of pulses setting DV0018 DINT IN Set value for the position data for PTP positioning PLS Frequency setting 1 WV0019 INT IN Set value for the frequency data for PTP positioning or manual FRQ1 operation 5 Frequency setting 1 0 to 20 000Hz Frequency setting 2 WV0020 INT IN Frequency setting 2 0 to 20 000Hz FRQ2 Preset data DV0021 DINT IN Preset value for position data PSET_DAT Preset to this value when work coordinates position preset or machine coordinates position preset is used Parameter WV0022 ARRAY IN OUT Assigns the address where the set value for simple positioning FB SMPL PRM parameter is stored For more information refer to 5 4 Parameters for Simple Positioning Expansion FB Bit information WV0023 WORD IN Read value of the bit information from the high speed output module STS Specifies the module offset address 0 CHO CH1 or 1 CH2 CH3 lf the SX bus station No of the module is 5 and CH2 is controlled assign WX5 1 Current value data WV0024 INT IN Read value of the current value data from the high speed output POS_NOW module Specifies the module offset address 2 CHO 3 CH1 4 CH2 or 5 CH3 lf the SX bus station No of the module is 5 and CH2 is controlled a
164. nd s aeania sere etae TUER 5 2 5 2 3 Memory size of simple positioning FB cseccceseeeeesseceeeeeeeseneeeeeseeeeeenenseeneeeeeseeeeesneneesneeeesseeeeess 5 2 5 2 4 Placement of positioning FB 4 atero Hone eie erbe a Eea eu dee ia Doe ace AN 5 3 5 2 5 Positioning FB MSMOV iri ceteri nr ied tiie oe a D Pee E ain edt eearri 5 4 5 2 6 SData setting FB MSMVDAT 3 nete ena aid ei adi dees 5 8 5 3 7 Machine coordinates position preset ccccscceeeseceeseeeeeeeseceeeseeeeseeeeeesacensscneesneeeeeeeaeeseseeeeeseneees 5 21 5 3 8 Cancellation of positioning asserisce ieas issan e i ee ea aea ei Eain oniar nnne neret 5 22 Contents Page 5 3 Details of Positioning Function seeeseeeeesesseeeeeeeeene enne nnn nnn nnn nnns nn nnn anita nani tnn nass nnmnnn na 5 11 5 321 POSITIONING operation COMGILIOM siia etie a rotae ae aaO eoa N a Eaa ai 5 11 5 3 2 PTP positioning Operation erecti savin ionis ce esto Ran civ tee didi aud E pe ser aes SER YE REDEE a 5 12 5 3 3 Manual operation ES 5 14 5 3 4 Origin retur operatio M RE E E 5 17 5 3 5 Frequency CHANGEOVER ee ice cetera irte sibs eau ruo ee eap EROR Mad cU aa ede a a A TENE SEE AESA 5 19 5 3 6 Work coordinates position Preset urat etc eie ges tc Pei he nis tea Unis ee puce need Eg uo 5 20 92329 LI ER 5 24 5 3 10 Forcible STOD eec tn eBid al ea ee a ied 5 26 Ba Se 1d OM T ge 5 28 5 9212 SOTEN
165. nding receiving procedure Set data Turned ON by the application program C nm Turned OFF by the application program Send request V0002 Va Processing for sending Receive end V0014 e Output only one scanning I I In case of sending error I l Recieive data WV0009 Recieve data l i M 4 Output only one scanning Receive error V0015 After send data is set send request is turned ON by the application program FB detects the rising edge to execute the processing for sending When sending operation ends and response message is received from the slave station receive end flag is turned ON for only one pulse In case of receive error receive end and receive error flags are turned ON for only one scanning and the corresponding error code is output to the receive status area 00 when ended normally 3 78 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm 2 Receiving status list 00 Ended normally 10 Receive buffer has overflowed 11 Unsupported function was sent 12 Unsupported function was received 13 Send station No error 14 Length 2 setting error 41 Time up of response monitoring timer 42 CRC error General purpose communication module disconnected 91 SX bus send error 92 SX bus receive error 90 AO Object port error General pur
166. ne data 5 Data bit 0 7 bits 1 8 bits This is a bit which is added to data for the purpose of error detection Designate the 6 Parity bit proper one to match the setting of the device at the other end 0 None 1 Odd 2 Even This bit indicates the end of data Designate the proper one to match the setting of the 7 Stop bit device at the other end 0 1 bit 2 2 bits 8 Not used Reserved 15 The timer for monitoring during the period from when the CPU module FB sends data to the inverter via the general purpose communication module until a response is returned This value can be set in 0 01 second steps Example For 1 second set this value to 100 Up to 327 67 seconds can be set 16 Response monitoring timer 17 Retry count Designates how many times to retry communication Range 1 to 32767 18 Not used Reserved 39 Note Nos 0 to 7 are the basic transmission parameters and their setting cannot be changed during operation The setting of parameter Nos 16 and 17 can be changed during operation 3 40 Section 3 Specifications of Communication FB 3 4 Communication Protocol Included General Purpose Inverter Procedure FB Cfvrpr 2 Initialization procedure When the OPEN V0001 parameter of FB is turned ON communication parameters are transferred to the general purpose communication module which executes processing for initialization If initialization is impossible due to a communicat
167. ng 2 3 Self startup frequency When positioning is completed both target value and current value are set to 0 zero Target frequency value is changed over when acceleration deceleration is started Current frequency value dynamically changes during acceleration deceleration Becomes the same as the target value when target frequency is reached While decelerating to stop pulse output self startup frequency becomes the target value 5 38 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 17 Operation when the data setting FB is used Till the rising edge of startup command signal is detected the data setting FB outputs the following command signals and positioning data as they are received from the previous stage FB 1 ABS INC selection 2 Number of pulses setting 3 Frequency setting 4 PTP positioning command The following signals are kept at OFF 1 Next stage startup command 2 FB running 3 FB completed lt Status before startup command signal is detected gt Output from previous stage FB Data setting FB ABS INC Number of pulses Output to the positioning FB ABS INC Number of pulses Frequency PTP positioning command Frequency PTP positioning command Input to local FB ABS INC Number of pulses Internal processing signal i PTP positioning command i Frequency 5 39
168. nication FB 3 1 Non procedural FB 3 1 6 Data receiving 1 Data receiving procedure Communication ready V0008 o L Continuous receiving operation Receive data WV0005 X Receive data length WV0016 Receive end V0013 In case of receive error Output only one scanning Receive error V0014 LZ While the communication ready flag is turned ON FB checks whether the data to be received exists or not continuously and when it exists executes the operation for receiving When a delimiter between data frames is detected the received data and the number of receive data bytes are stored in receive data WV0005 and receive data length WV0016 respectively and the receive end V0013 flag is turned ON The result of receiving is stored in receive status WV0015 If a receive error has occurred receive end and receive error V0014 are turned ON 2 Receiving status list 00 Ended normally 02 Receive buffer has overflowed 42 BCC error 90 General purpose communication module disconnected 91 SX bus send error 92 SX bus receive error AO Object port error General purpose communication module detected an error A3 Processing impossible because in code conversion mode General purpose communication module detected an error A5 Processing impossible because in loader mode General purpose communication module detected an erro
169. nication parameters to the general OPEN purpose communication module to initialize communication When communication becomes possible communication ready turns ON OFF Performs the processing for ending communication Communication ready turns OFF Send request V0002 BOOL IN Starts to send data When sending has ended this needs to be S REQ turned OFF by the application program Send data length WV0003 INT IN Designates the length of send data by the number of bytes S LEN Send data WV0004 WORD IN OUT Stores send data S DAT Receive data WV0005 WORD IN OUT Stores received data R DAT Communication WV0006 WORD IN OUT Stores the initialization parameters parameter PARA RAS information WV0007 WORD IN OUT Operating information of this FB RAS Communication ready V0008 BOOL OUT Turns ON when initialization has ended normally to indicate that the OK system is ready for sending receiving data Open status WV0009 INT OUT 2 digit hexadecimal code to indicate the result of initialization O STS Send end V0010 BOOL OUT Turns ON when sending has completed S END Send error V0011 BOOL OUT Turn ON if a send error has occurred S ERR Send status WV0012 INT OUT Code to indicate the result of sending S STS Receive end V0013 BOOL OUT Turns ON when receiving has completed R END Receive error V0014 BOOL OUT Turns ON if a receive error has occurred R ERR Receive status WV00
170. ns of Simple Positioning FB 5 3 Details of Positioning Function PTP positioning command is accepted when PTP normal end signal is ON In the following cases PTP positioning command is not accepted 1 When operation command is OFF 2 When PTP normal end signal is OFF 3 When one of manual forward rotation command manual reverse rotation command forward rotating by manual operation and reverse rotating by manual operation is ON 4 When either origin return command or returning to origin is ON 5 When one of OT error OT error SOT error and SOT error is ON 6 When either OT or OT signal is ON OT error occurs at the rising edge of PTP positioning command 7 When positioning cancel signal is ON 8 When forcible stop command signal is ON XOT error is detected while PTP positioning is executed PTP positioning executing signal is turned OFF after operation is stopped If PTP positioning command is issued for a position that is out of SOT range positioning is executed at software OT position After the positioning at software OT position is completed X SOT error signal is turned ON PTP positioning command input to FB ON ON PTP positioning executing output from FB ON ON PTP normal end P output from FB OFF Positioning completed output from FB OFF ON ON When positioning is completed PTP positioning e
171. nt from the high speed output module Current position Current position Current value of current value data Previous value of current value data 1 For PTP positioning operation For both machine coordinate system and work coordinate system current position data is updated to the current value data that is sent from the high speed output module 2 For origin return operation Till machine origin is detected for both machine coordinate system and work coordinate system current position data is updated to the current value data that is sent from the high speed output module If the origin which is the point to detect the rising edge of origin signal for the first time after origin LS is passed is reached during origin return operation the current position data in machine coordinate system is cleared to zero The current position data in work coordinate system is preset to the set value of floating origin After that the current position is updated to the current value data that is sent from the high speed output module 3 During manual operation For both machine coordinate system and work coordinate system current position data is updated to the current value data that is sent from the high speed output module 4 When work coordinates position preset is used The current position data in work coordinate system becomes as follows Current position in work coordinate system Preset value Number of error pul
172. o WT_TUP Turned on when the high speed counter module does not return a response signal within the time specified in the write monitoring timer the number of scan counts The state is cleared by turning on the start command after changing the value of the regisiter write monitoring timer External gate input V0019 BOOL OUT Outputs the external gate input state to be set from the high speed OUT GATE counter module Data from the high speed counter module is inverted to output 4 18 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB Note 1 Signal assignment of bit command signal WV0005 At the rising edge of the start command START this area is reflected to the HC8 module F E DC BA 98 7 6 5 4 3 2 1 0 WM WL L H Member names for structure are shown in Unused Input pulse format R0001 R0002 OFF OFF 90 degree phase differential pulse ON OFF Forward pulse Reverse pulse OFF ON Sign Counting pulse ON ON Disables pulse counting 16 bit count 32 bit count selection R0003 OFF Selects 16 bit count ON Selects 32 bit count Gate operation mode selection enable R0004 OFF Disables gate operation Count enable of the high speed counter module must be left turned on ON Enables gate operation The high speed counter module refers to the internal gate command
173. odule Memory capacity Program area Approx 4 2k steps Data memory capacity User FBs memory 424 words Standard memory 2386 words System FBs memory 90 words Note 1 The above list for the memory capacity includes the area for the main body of MODBUS procedure FB and those for sub FBs that are called from the MODBUS procedure FB Note 2 The above list for standard memory and retain memory includes the memory capacity necessary for sending receiving data 3 65 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm 3 7 2 Specifications for C modm 1 Communication specifications Transmission speed 300 600 1200 2400 4800 9600 19200 38400 57600 76800 115200 bps Data bits 8 bits Fixed Parity bit None odd even Stop bits Selected from 1 2 bits DCE Selected from DTE DCE modem DTE mode Modem DTE mode Turn CD ON when receiving DTE mode ER always ON Signal control DCE mode DR always ON DTE mode Off RS always ON Sending unconditional Signal flow On RS ON during sending Sending when CS is ON control DCE mode Off CS always ON Sending unconditional i On CS ON when RS is ON Sending when ER is ON XON XOFF control The prerequisite of XON XOFF flow control is that XON or XOFF does not appear on the data RS 485 mode Selected from 4 wire 2 wire Code conversion None Fixed Error check CRC16 Upper order Lower order Fixed
174. of bit command signal WV0004 gt BIT CMD1 Two word area is required CH selection WV0005 INT IN For expansion FB CH specification is enabled only for 0 1 2 CH_SEL OON Bit command signal WV0006 Note 2 IN OUT Refer to signal assignment of bit command signal response response WV0006 gt STS_DAT Two word area is required Input variable WV0007 WORD IN OUT Specifies the first address of the high speed input module INDAT Example For the SX bus station No 10 of the high speed input module enter WX10 0 Output variable WV0008 WORD IN OUT Specifies the output first address of the high speed input module first OUTDAT address 9 Example For the SX bus station No 10 of the high speed input module enter WY10 9 Initialization completion V0009 BOOL OUT Turned ON after the start command V0001 has been raised and INI END initialization has been completed Internal reset command V0010 BOOL OUT Used as a response signal for internal reset command V0010 response RST OK Internal gate command V0011 BOOL OUT Response signal for gate operation mode enable command response GATE OK Count value DV0012 DINT OUT Outputs the count value CNT DAT The output range varies depending on the 16 32 bit count selection 16 bit specification 8000 to 7FFF 32768 to 32767 32 bit specification 80000000 to 7FFFFFFF 2147483648 to 2147483647 Count operation V0013 BOOL OUT Outputs the high speed input module
175. of the memory for WV0010 Start address E WM WL General purpose communication module station No WM WL 1 Port No WM WL 2 Message port No WM WL 3 Reserved WM WL 4 Transmission speed WM WL 5 Data bit WM WL 6 Parity bit WM WL 7 Stop bit WM WL 8 to 15 Reserved WM WL 16 Response monitoring timer WM WL 17 Retry count WM WL 18 to 39 Reserved RAS information format of the memory assigned to WV0011 The memory that is assigned to WV0011 must be set secured as follows Specify the start address of the memory for WV0011 Start address WM WL Work area for sending 256 words WM WL 255 WM WL 256 Work area for receiving 256 words WM WL 51 1 WM WL 51 2 Receive buffer area WM WL 591 EM WM WL 592 k Send buffer area i 80 words WM WL 671 WM WL 672 EI i RAS area WM WL 691 20 words Section 3 Specifications of Communication FB 3 2 FUJI General Purpose Inverter Procedure FB CfdFRN 3 2 3 Initialization 1 Initialization parameters In order to initialize RS 485 communication ports which are to be used it is necessary to set proper values for each communication parameter item so as to match the communication specifications of the general purpose inverter The table below shows the s
176. on I Forward rotating by manual operation Origin return command ORG CMD MNM RN __ Reverse rotating by manual operation V5 V31 Origin LS ORG LS ORG RN __ Returning to origin V6 V32 Origin signal ORG_SIG ORG NORM __ Origin return normally ended V7 V33 Frequency changeover FRQ_SL PSET Positioning completed V8 V34 Work coordinates position preset WORG CMD FRQSL OUT Frequency selected V9 V35 Machine coordinates position preset MORG CMD PAUSE OK Pausing V10 V36 Positioning cancel CANSEL CMD OTP ERR __ OT error V11 V37 Pause command PAUSE CMD OTM ERR __ OT error V12 V38 OT OTP SOTP ERR SOT errpr V13 V39 OT OTM SOTM ERR L SOT error V14 V40 Forcible stop command STOP CMD WPOS SP work coordinates target position V15 DV41 Alarm reset command ARMRST WPOS SET Work coordinates command position V16 DV42 ABS INC selection ABS_INC WPOS FBK __ Work coordinates current position V17 DV43 Number of pulses setting PLS MPOS SP Machine coordinates target position V18 DV44 Frequency setting 1 FRQ1 MPOS SET Machine coordinates command position WV19 DV45 Frequency setting 2 FRQ2 MPOS FBK Machine coordinates current position WV20 DV46 Preset data PSETDAT W OFST work coordinates offset DV21 DV47 FRQ SP Target frequency value DV48 FRQ NOW Current frequency value DV49 Parameter SMPL PRM SMPL PRW Parameter WV22 WV22 Bit information STS WV23 Current value data POS N
177. or WV0005 Upper order Lower order Start address WM WL Data 2 Data 1 WM WL 1 Data 4 Data 3 WM WL 31 Data 64 Data 63 Up to here is assigned to _Cfr32 WM WL 63 Data 128 Data 127 Up to here is assigned to Cfr64 4 WM WL 127 Data256 Data 255 Up to here is assigned to _Cfr128 4 WM WL 251 Data 504 Data 503 Up to here is assigned to Cfr252 4 Up to here is assigned to WM WL 511 Data 1024 Data 1023 C free Cfrpr Cfrpr2 4 The size of receive data is maximum 1024bytes including start code end code and BCC when code conversion is not to be performed Section 3 Specifications of Communication FB 3 1 Non procedural FB Communication parameter format of the memory assigned to WV0006 The memory that is assigned to WV0006 must be set secured as follows This format is common to all non procedural FBs Specify the start address of the memory for WV0006 Start address To WM WL 1 WM WL 2 WM WL 3 WM WL 44 WM WL 5 WM WL 6 WM WL 7 WM WL 8 WM WL 9 WM WL 10 WM WL 11 WM WL 12 WM WL 13 to 15 WM WL 16 WM WL 17 WM WL 18 Port No General purpose communication module station No Message port No Message port No 2 Transmission speed Data bit Parity bit Stop bit DCE designation ER DR signal control Signal flow control
178. or ordinary acceleration deceleration time whichever is smaller for forcible stop 7 Parameter No 9 Ordinary acceleration deceleration time This parameter sets the timer value for deceleration under forcible stop command For acceleration deceleration time the time to change speed from 20 kHz to 0 Hz is set in 1 ms steps Note The positioning FB uses either rapid stop time or ordinary acceleration deceleration time whichever is smaller for forcible stop 8 Parameter No A Self startup frequency This parameter sets the low speed side frequency for 2 step motion positioning When the frequency set value for positioning is smaller than this setting pulse is output at the frequency of this setting When Target frequency setting value lt Self startup frequency self startup frequency is used For origin return operation frequency is changed over to self startup frequency when origin LS is detected 9 Parameter No B High speed limiter High speed side limiter value for command frequency When the frequency set value for positioning is smaller than this setting pulse is output at the frequency of this setting When Target frequency setting value gt High speed limiter high speed limiter value becomes the target frequency Note High speed limiter takes precedence of self startup frequency When High speed limiter Self startup frequency operation is made regarding high speed limiter value as selfstartup frequenc
179. orcible ON OFF 1 bit code 05 Forcibly sets ON OFF a bit coil that is designated by a slave station The format of request message and response message is as follows FB terminals Slave station No WV0003 gt Function code WV0004 gt Request message Response message Slave station No Slave station No Function code 05h Function code 05h Coil address upper order Coin address upper order Start address WV0005 gt Coil address lower order Coil address lower order FFh ON OOh OFF upper order FFh ON OOh OFF lower order Send data WV0008 gt Notes 00h lower order 00h lower order CRC lower order CRC lower order CRC upper order CRC upper order 1 In case of abnormal response 80hex is added to function code WV0018 2 Function 05 does not use data length WV0006 and the number of bytes WV0007 Set H0000 for each parameter 3 CRC is automatically calculated and added to the data by this FB 4 Forcible ON command sets HFFO0 for the start word of send data Forcible OFF command sets H0000 FB terminals Slave station No WV0017 2 Function code WV0018 gt Data length WV0020 2 Receive data WV0009 FB terminals gt Slave station No WV0017 2 Function code WV0018 gt Data length WV0020 2 Receive data WV0009 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C
180. order Read data lower order Data length upper order Read data upper order Data length WV0006 Data length lower order Read data lower order 2 Receive data WV0009 CRC lower order Read data upper order CRC upper order CRC lower order CRC upper order Notes 1 In case of abnormal response 80hex is added to function code WV0018 2 Function 01 02 does not use the number of bytes WV0007 Set H0000 for the WV0007 terminal Similarly all the variables that are connected to the send data terminal WV0008 shall be set to zero 3 CRC is automatically calculated and added to the data by this FB 4 The number of bytes of read data is stored in the upper order byte of data length WV0020 5 When read data is received its upper and lower order bytes are reversed as shown below Receive data WV0009 Offset address with respect to the designated start address 7 6 5 4 3 2 1 0 15 414 13 12 11 10 9 8 23 22 21 20 19 18 17 16 31 30 29 28 27 26 25 24 3 71 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm 2 Retain register reading code 03 Input register reading code 04 Reads the status of the input bit of a slave device The format of request message and response message is as follows FB terminals Slave sta
181. origin LS is ON ON Enabled when origin LS is OFF Phase Z signal input R0009 OFF Rising edge ON Falling edge Preset input ROOOA OFF Rising edge ON Falling edge F E D C B A 9 8 7 6 5 4 3 2 1 O0 WM WL 1 Unused 4 16 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB 4 1 8 High speed counter FB standard version MHCNTH MHCNTHa 1 FB format MHCNTH Start command START INI END initialization completion V1 V11 Internal reset command 4 RST_CMD RST OK Internal reset command response V2 V12 Internal gate command GATE CMD GATE OK Internal gate command response V3 V13 Alarm reset command ARMRST ARM OK Alarm reset command response V4 V14 CNT DAT Count value DV15 CNT RUN Count operation V16 DIR Rotation direction V17 WT TUP Write monitoring time up V18 OUT GAT External gate input V19 Bit command signal BITCMD1 BITCMD1 Bit command signal WV5 WV5 CH selection CH SEL WV6 Register write monitoring timer REG TMR WV7 Bit command signal response STS DAT STS DAT L Bit command signal response WV8 WV8 Input variable INDAT INDAT Input variable WV9 WV9 Output variable OUTDAT OUTDAT L Output variable WV10
182. ormation of this FB RAS Communication ready V0011 BOOL OUT Turns ON when initialization has ended normally to indicate that OK the system is ready for sending receiving data Open status O STS WV0012 WORD OUT 2 digit hexadecimal code to indicate the result of initialization Receive end R END V0013 BOOL OUT Turns ON when receive ends Receive error R ERR V0014 BOOL OUT Turn ON if a receive error has occurred Receive status R_STS WV0015 WORD OUT Code to indicate the result of receiving Transmission keyword WV0016 WORD OUT Stores transmission keyword for receiving receiving R TFW Receive data area WV0017 WORD OUT Designates receive data area designation 1 R DADR1 Receive data area WV0018 WORD OUT Designates receive data area designation 2 R DADR2 Receive data area WV0019 WORD OUT Designates receive data area designation 3 R_DADR3 Note 1 Work area for sending WORD Work area for receiving WORD Receive buffer area WORD Send buffer area WORD Parameter area INT RAS area INT For more information about data type refer to Appendix 1 3 47 Section 3 Specifications of Communication FB 3 5 FUJI Temperature Controller Procedure FB _CfdPYX Send text data format of the memory assigned to WV0007 The memory that is assigned to WV0007 must be set secured as follows Specify the start address of the memory for WV0007 Upper order Lower order Start
183. orming a part of the communication processing with the module Non procedural FB with a built in communication protocol See note 1 Send 512 words Receive 512 words Cfrp2 Cfrp2a The program capacity is reduced by performing a part of the communication processing with the module In addition communication processing can be performed at high speed by using two communication ports a is suffixed to the name of the FB supporting array structure Note 1 Non procedural FB with a built in communication protocol performs part of communication processing in the firmware in the module Therefore to use this FB V2536 or later version V2535 or later version for Cfrpr of general purpose communication module is necessary Note 2 When using FBs supporting array structure use V2 2 3 0 or later version of Standard loader The non procedural FB performs the following operations 1 Initialization of communication ports Initializes RS 232C and RS 485 ports sets transmission speed data bit length parity bits etc so as to match the external device 2 Data sending receiving function Sends the data from an application in the CPU of MICREX SX series via the general purpose communication module to an external device or outputs the data received via the general purpose communication module to an application 3 Monitoring of transmission condition Monitors the condition of data transmission and if abnormal outputs error
184. ory capacity User FB memory 458 words Standard memory 794 words System FB memory 90 words Note 1 The above list for the memory capacity includes the area for the main body of inverter procedure FB and those for sub FBs that are called from the inverter procedure FB Note 2 The above list for standard memory and retain memory includes the memory capacity necessary for sending receiving data FGI BUS Fuji Electric General Inverter s Serial protocol 3 25 Section 3 Specifications of Communication FB 3 3 FUJI General Purpose Inverter Standard Communication FGI BUS Procedure FB CfdFVR 3 3 2 Specifications for CfdFVR 1 FB format Open Send request Send station address Send command type Send function code Receive function code Send text data Receive text data Communication parameter RAS information CfdFVR CfdFVRa OPEN OK V4 v11 S_REQ O_STS V2 WV12 S STN R END WV3 v13 S_KND R_ERR wv4 v14 R_STS WV15 R STN WV16 R KND WV17 R_ERCD WV18 R LEN WV19 R FNC R FNC WV5 WV5 S FNC S FNC WV6 WV6 S TXT EN S TXT WV7 WV7 R TXT R TXT WV8 WV8 PARA PARA WV9 WV9 RAS E RAS WV10 WV10 3 26 Communication ready Open status Receive end Receive error Receive status Receive station address Receive command type Receive error code Number of receive data bytes Send function code Receive function code Send text data Receive text data Communica
185. ositioning FB 5 2 4 Placement of positioning FB PTP operation command Origin return command Manual operation command Positioning data Number of pulses Frequency Positioning FB PTP operation command Origin return command Manual operation command Positioning data Number of pulses Frequency Positioning FB PTP operation command Origin return command Manual operation command Positioning data Number of pulses Frequency Positioning FB PTP operation command Origin return command Manual operation command Positioning data Number of pulses Frequency Positioning FB Frequency command data Bit command Frequency command data Bit command Frequency command data Bit command Frequency command data Bit command 5 3 NP1Y32T09P1 A Max 4 channels Pulse train Pulse train Pulse train _ Pulse train LI Section 5 Specifications of Simple Positioning FB 5 2 Specifications of Simple Positioning FB 5 2 5 Positioning FB MSMOV 1 FB format a is suffixed to the name of the FB supporting array structure MSMOV MSMOVa Operation command RUN CMD RUN STS Running V1 V27 PTP positioning command PTP_CMD PTP RN PTP positioning executing V2 V28 Manual forward rotation command FWD_CMD PTP END PTP normal end V3 V29 Manual reverse rotation command ao
186. ote2 IN_OUT Refer to signal assignment of bit command signal response response Two word area is required STS DAT Input variable IN DAT WV0007 WORD IN OUT Specifies the input first address and the output first address of the Output variable QUT DAT Dvoo0s DWORD n our 9h speed counter module Initialization completion V0009 BOOL OUT Turned on after the start command has been raised and INI END initialization has been completed Internal reset command V0010 BOOL OUT Used as the response signal to the internal reset command response RST OK Internal gate command V0011 BOOL OUT Response signal used when gate operation is enabled response GATE OK Used as the response signal to the internal gate command Count value DV0012 DINT OUT Outputs the counter value to be input CNT DAT 16 bit selected 32768 to 32767 32 bit selected 2147483648 to 2147483647 Count operation V0013 BOOL OUT ON during counting operation of the high speed counter module CNT RUN OFF Stopped ON Counting Rotation direstion V0014 BOOL OUT Outputs the current rotation direction of the high speed counter DIR module OFF Forward ON Reverse External input status V0015 BOOL OUT Indicates the external input status of the status signal of the high INSTS Speed counter module OFF OFF ON ON 4 21 Section 4 Specifications of High speed Counter FB 4 1 High speed Counter Module FB Note 1 Signal
187. ow When you click the position to insert the expansion FB to be used with the USERFB button selected the Address Entry dialog appears Transfer T Arithmetic 1 4 Arithmetic 21H Conversion 1IV Conversion 2R Logical Shift L Compare Selection P String S Time 10 Time 2 CALL E Origin 2 MUL T UDI MUL T R DIv T UDI DIV_T_R CONCATDD DT TO TOD DT TO D USERFCT UsERFB PARA Fl F2 F3 F4 F5 F6 F Fs F9 F10 Fll Flz Click here E Dj D Dg ty t Set the expansion FB to be used and the FB instance number and then click the OK button Address Entry x Address Entry for instruction type FB Call Address 1 C free s Address 2 p0000 Instance number setting Cancel Help The Parameter Entry dialog appears Enter devices and constants to each parameter and then click the OK button The expansion FB is called to the program Parameter Entry xj _C_free 0001 Input VODO2 Input WOOO Input WOODA Input Output WY0005 Input Output J WVO0006 Input Output WVODO Input Output 0008 Output WVV0009 Output J YODDA Qutput Edit Tags Cancel For the specifications for individual expansion FBs explanation of parameters etc refer to Section 3 Specifications for Communication FB Section 2 Installation 2 4 Uninstallation Operation 1 Activate
188. peration pattern under positioning cancel command BERETS Normal operation pattern Acceleration Acceleration deceleration time deceleration Speed time v M Self startup N frequency Time PTP positioning command input to FB ON PTP positioning executing output from FB ON OFF PTP normal end output from FB OFF Positioning completed output from FB ON Positioning cancel input to FB ON OFF Positioning cancel command is accepted during PTP positioning or origin return operation Positioning cancel command is disabled during manual operation Deceleration time under positioning cancel command is the acceleration deceleration time that is set by parameter The same as ordinary deceleration curve during positioning operation When pulse output is stopped by positioning cancel command positioning completed signal is turned OFF PTP positioning executing and returning to origin signals are turned OFF Neither PTP normal end signal nor origin return normally ended signal is turned ON f the target position is reached while decelerating under positioning cancel command pulse output is immediately stopped In this case PTP positioning operation is regarded as completed successfully For example when Positioning cancel command is issued when decelerating Also during origin return operation if the origin is detected while decelerating
189. pleted when positioning completed signal is ON Timing chart for machine coordinates position preset command signal Positioning completed input to FB ON OFF Machine coordinates position preset command input to FB Preset data input to FB Set value 1 X Set value 2 Machine coordinates us target position 1 Setvalue 2 Target position output from FB Machine coordinates command position 1 Setvalue output from FB Origin return normally ended output from FB ON 1 Preset to the set value 1 2 For PTP positioning or origin return operation changed over to the target position 3 Not accepted because positioning is being executed Machine coordinates position preset command presets the target position and command position in the machine coordinate system to the set values Machine coordinates current position is calculated from the preset value and the error at stoppage The position data in the work coordinate system becomes the position data in machine coordinate system added by the set value of floating origin Work coordinates offset is preset to the set value of floating origin The position data preset by machine coordinates position preset command is shown below Position data after preset by machine coordinates position preset command example gt Target position and command position in 20 000 10 000 Preset value machine
190. pose communication module detected an error Processing impossible because in code General purpose communication module detected an error AS conversion mode A5 Processing impossible because in loader mode General purpose communication module detected an error Processing impossible because self diagnosis is General purpose communication module detected an error AS being executed CO Hardware error detected during receiving General purpose communication module detected an error C1 Receive buffer has overflowed General purpose communication module detected an error C2 Send buffer has overflowed General purpose communication module detected an error C3 Number of send data over General purpose communication module detected an error 3 79 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm 3 7 5 RAS RAS information in general purpose communication is assigned as shown in the following figure RAS data is stored in the position shown in the figure below from the start address of the device which is assigned to RAS information parameter WV0011 WM WL 1536 WM WL 1547 z M WL 1538 M WL 1539 M WL 41540 M WL 41541 M WL 41542 M WL 41543 M WL 41544 M WL 41545 M WL 41546 je y y je je je je Zzzzzzzzz M WL 1547 M WL 1548 M WL 1549 M WL 1550 M WL 1551 M WL 15
191. r Ae Processing impossible because self diagnosis is being General purpose communication module detected an error executed CO Hardware error detected during receiving General purpose communication module detected an error Parity error Franming error etc C1 Receive buffer has overflowed General purpose communication module detected an error Note Receiving conditions The processing for receiving differs with the setting of parameter Frame detection None Receiving completes when data is received Fixed length Receiving completes when receive data reaches the specified number of receive data bytes Variable length Receiving completes when the data in a range between start and end codes is received Section 3 Specifications of Communication FB 3 1 Non procedural FB 3 1 7 RAS RAS information in general purpose communication is assigned as shown in the following figure RAS data is stored in the position shown in the figure below from the start address of the device which is assigned to RAS information parameter WV0007 _Cfrpr _Cfrpr2 _C_free _Cfr252 Cfr128 Cfr64 Cfr32 WM WL 512 WM WL 2560 WM WL 1536 Port status WM WL 513 WM WL 2561 WM WL 1537 Status of general purpose communication module WM WL 514 WM WL 2562 M WL 1538 Send request count WM WL 515 M WL 2563 WM WL 1539 Send end count WM WL
192. r initialization If initialization is impossible due to a communication parameter setting error or hardware error FB outputs the corresponding error code to the OPEN Status WV0013 Communication ready OPEN request V0001 V0012 If initialization error has occurred OPEN Status WV0013 Note 00 Turned ON by the application program N Processing for initialization Turned OFF by the application program N Port closing operation Y Note OPEN signal shall be set to Always ON during data communication Error status 3 76 Section 3 Specifications of Communication FB 3 7 MODBUS Procedure FB C modm 3 OPEN status list 00 Ended normally 01 Transmission speed error General purpose communication module detected an error 02 Data bit length error General purpose communication module detected an error O3 Parity bit error General purpose communication module detected an error 04 Stop bit error General purpose communication module detected an error 05 DCE designation error General purpose communication module detected an error 06 Signal flow control setting error General purpose communication module detected an error 07 XON XOFF control setting error General purpose communication module detected an error 08 RS 485 mode setting error General purpose communication module detected an error SF Parameter modificatio
193. ram Receive function code WV0003 WORD IN OUT Stores the function type character and function No of receive frame R_FNC Occupies two words Send text data S_TXT WV0004 WORD IN OUT Stores the send text data Receive text data R TXT WV0005 WORD IN OUT Received text data is stored when the data of the station to which the inverter responded is received by the general purpose communication module When multiple inverters are connected the application program judges based on receive station address WV0014 from which station the data was sent Occupies two words Communication parameter WV0006 WORD IN OUT Stores the initialization parameters PARA RAS information RAS WV0007 Note 1 IN_OUT Operating information of this FB Communication ready OK V0008 BOOL OUT Turns ON when initialization has ended normally to indicate that the system is ready for sending receiving data Open status O_STS WV0009 WORD OUT 2 digit hexadecimal code to indicate the result of initialization Send run S RUN V0010 BOOL OUT Turns ON while data is sent to all stations Receive end R END V0011 BOOL OUT Turns ON when receive ends Receive error V0012 BOOL OUT Turns ON if a receive error has occurred R ERR V0012 does not turn ON while NAK is received from a remote station because NAK signal is received normally V0012 turns ON only when data is not normally received due to no response or BCC error for example Recei
194. rigin LS output from FB Origin signal output from FB Returning to origin output from FB Origin return normally ended output from FB Positioning completed output from FB m udi Rapid stop time Pulse output is stopped when the ae target position is reached o Self startup frequency ON Time EH ON OFF OFF ON OFF ON ON 5 27 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 11 OT error 4 OT error or OT error occurs if OT or OT signal is turned ON during positioning operation while pulse is being output If positioning is stopped due to an OT error being detected acceleration takes place by the set value of ordinary acceleration deceleration time After pulse output is stopped positioning completed signal is turned ON and PTP positioning executing forward rotating oa by manual operation reverse rotating by manual operation and returning to origin signals are turned OFF Operation pattern when an OT error is detected gt Acceleration Acceleration deceleration deceleration Speed time v time Manual forward rotation command input to FB ON Forward rotating by manual operation output from FB ON OFF Manual reverse rotation command input to FB ON OFF Reverse rotating by manual operation output from
195. rigin return frequency Parameter No D Reserved Parameter No E Reserved Parameter No F Reserved Not used 4 3 2 1 0 Parameter No 0 Axis selection Parameter No 1 Direction of rotation changeover Parameter No 2 Pulse output type selection Parameter No 3 Origin return direction Parameter No 4 Infinite length mode selection Parameter No 5 Reserved L Parameter No 6 Reserved L Parameter No 7 Reserved 5 43 Section 5 Specifications of Simple Positioning FB 5 4 Parameters for Simple Positioning Expansion FB 5 4 1 Simple positioning parameter specifications 0 Axis selection BOOL 0 1 0 Direction of rotation changeover BOOL 0 1 0 2 Pulse output type selection BOOL 0 1 0 3 Origin return direction BOOL 0 1 0 4 Infinite length mode selection BOOL 0 1 0 5 Reserved BOOL 0 1 0 6 Reserved BOOL 0 1 0 7 Reserved BOOL 0 1 0 8 Rapid stop time INT ms 1 to 32767 500 9 Ordinary acceleration deceleration time INT ms 1 to 32767 1000 A Self startup frequency INT Hz 1 to 20000 1000 B High speed limiter INT Hz 250 to 20000 20000 C Origin return frequency INT Hz 1 to 20000 10000 D Reserved INT 0 E Reserved INT 0 E Reserved INT 0 10 Moving length at stoppage DINT Pulses 0 to 2
196. rmation in this manual is subject to change without notice
197. rning to origin signals are turned OFF Operation pattern under forcible stop command EIE Normal operation pattern Speed i i Rapid stop time Acceleration deceleration time N x s Self startup S frequency Time PTP positioning command input to FB ON PTP positioning executing output from FB ON OFF PTP normal end output from FB OFF Positioning completed output from FB OFF ON Forcible stop command input to FB ON OFF Forcible stop command is accepted during PTP positioning operation manual operation or origin return operation Deceleration time under forcible stop command depends on the parameter set value of rapid stop time However if the set value of rapid stop time is larger than the set value of acceleration deceleration time the latter is referred to When Rapid stop time lt Acceleration deceleration time rapid stop time is used When Rapid stop time gt Acceleration deceleration time acceleration deceleration time is used When pulse output is stopped by forcible stop command positioning completed signal is turned ON PTP positioning executing forward rotating by manual operation or reverse rotating by manual operation and returning to origin signals are turned OFF If forcible stop command is issued while operation is halted by pause command pausing signal is turned OFF Forcible stop command
198. rocessing STANDARD EXPANSION FB for SX Programmer Standard Setup B xi Choose Destination Location Select folder where Setup will install files Setup will install STANDARD EXPANSION FB for SX Programmer Standard in the following folder To install to this folder click Next To install to a different folder click Browse and select another folder The target folder appears here E Program Files FLEX SX PC Programmer E Browse wn InstallShield lt Back Cancel To change the target folder click the Browse button The Choose Folder dialog appears Specify a folder and then click the OK button to return control to the Choose Destination Location dialog LIBRARIES and SAMPLES folders are hierarchically created under the target folder LIBRARIES folder gt The compressed project Zpj which contains the expansion FBs is stored SAMPLES folder gt Sample programs are stored in the compressed project Zpj format 2 3 Section 2 Installation 2 2 Installation 5 When installation is completed the following InstallShield Wizard Complete dialog appears Click the Finish button to complete the installation procedure STANDARD EXPANSION FB for SX Programmer Standard Setup InstallShield Wizard Complete D D Setup has finished installing STANDARD EXPANSION FB for SX Programmer Standard on your computer When
199. roject are selected Select all of them and click the OK button to display the following dialog Import Programs The following Programs are imported Are you sure Program Name Program Kind Import Mode After Program No Function Block Function Block Function Block Function Block Function Block Function Block Function Block Function Block Function Block Function Block Function Block Function Block Function Block _CINC _CVALI _CCAL11 _CHEX11 _CBCC11 _CPOS11 _CFCK11 _CLIMCK _CPCK11 _CSMK11 _CWencB _C free _CVAL2 w co 4 co c0 f C0 S moo NO Append Append Append Append Append Append Append Append Append Append Append Append Append oon nonrtw o cl mik i uO 2 6 Section 2 Installation 2 3 How to Use Expansion FBs Click the OK button The program is imported into the programs folder in the project tree Program imported into project EE 5 353 EESIESTESTES El C Untitled Project E Programs E Ladderd 0 _CINC 0 _CVAL1 1 _CCAL11 3 _CHEX11 4 _CBCC11 5 _CPOS11 6 _CFCK11 7 _CLIMCK 8 _CPCK11 9 _CSMK11 10 _CWencB 11 _C free 12 E _CVAL2 2 J Hardware BA Sustem Definitinn 7 T Section 2 Installation 2 3 How to Use Expansion FBs 2 3 2 Reading of expansion FB The method of reading the imported expansion FB to the program of the program type is explained bel
200. ror 3 33 Section 3 Specifications of Communication FB 3 3 FUJI General Purpose Inverter Standard Communication FGI BUS Procedure FB CfdFVR 3 3 5 RAS RAS information in general purpose communication is assigned as shown in the following figure RAS data is stored in the position shown in the figure below from the start address of the device which is assigned to RAS information parameter WV0010 WM WL 4672 WM WL 673 Port status Control data Port status Status of general purpose communication module Send request count Send end count Receive count Frame detection count M OPEN status M SEND status M RECEIVE status M SEND error count M RECEIVE error count Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Error data 1514131211109 876 54 32 1 0 RS signal CS signal DR signal ER signal CD signal CI sinnal Reserved Send error Overrun Oarity error Reserved Reserved Reserved Initialization end Receive error Framing error General purpose communication module status 151413 12111009 87 654 32 1 0 3 34 Mode switch x8 Mode switch x4 Mode switch x2 Mode switch x1 Reserved Reserved Reserved Reserved R
201. rter a is suffixed to the name of the FB supporting array structure Note When using FBs supporting array structure use V2 2 3 0 or later version of Standard loader FB functions 1 Initialization of communication port function Initializes the RS 485 port the setting of transmission speed data bit length parity bit etc 2 Data sending receiving function Sends data from an application program in the MICREX SX series CPU module to general purpose inverter FVR via the general purpose communication module or outputs the data received via the general purpose communication module to an application program 3 Transmission condition monitoring function Monitors data transmission condition and outputs error information if abnormal Connecting method of _CfdFVR gt The connecting method between the general purpose communication module and FUJI FVR series general purpose inverter must be 1 N connection by RS 485 2 wire system FB operating conditions System configuration One FB is necessary for each communication port RS 485 to be used Communication with the inverters that are connected to one RS 485 system is performed by one FB FUJI general purpose inverter may not be connected to the RS 232C port This FB cannot be used in the mode where RS 232C RS 485 signal conversion is enabled for the general purpose communication module Memory capacity Program area Approx 2 7k steps Data mem
202. s After setting send data and its data length turn send request V0002 ON by the application program Then FB detects the rising edge to execute the processing for sending When sending has ended send end flag V0010 is turned ON for only one pulse If a send error has occurred send end V0010 and send error V0011 are turned ON for only one pulse and corresponding error code is output to send status WV0012 00 when ended normally 2 Sending status list 00 Normally ended 01 Send buffer has overflowed 42 BBC error General purpose communication module SE disconnected POR HaIBelgd 91 SX bus send error 92 SX bus receive error Not detected AO Object port error Specified port No is neither O nor 1 Processing impossible because in code A3 conversion mode A5 Processing impossible because in loader mode Processing impossible because self diagnosis is Error detection on general purpose communication module TE being executed CO Hardware error detected during receiving Error detection on general purpose communication module C1 Receive buffer has overflowed Error detection on general purpose communication module C2 Send buffer has overflowed Error detection on general purpose communication module C3 Send data size over Error detection on general purpose communication module 3 62 Section 3 Specifications of Commun
203. s are prepared for communication purpose a is suffixed to the name of the FB supporting array structure 1 1 List of Standard Expansion FBs for General Purpose Communication Module The following standard expansion FBs are prepared for the general purpose communication module The standard expansion FBs are included with SX Programmer Standard C free Non procedural FB Send 512 words Receive 512 words Cfr252 Non procedural FB Send 252 words Receive 252 words Cfr128 Non procedural FB Send 128 words Receive 128 words Cfr64 Non procedural FB Send 64 words Receive 64 words Cfr32 Non procedural FB Send 32 words Receive 32 words Non procedure FB which built into communication protocol Non procedural FB Cfrpr Send 512 words Receive 512 words The program capacity is reduced by performing a part of the communication processing with the module Non procedure FB which built into communication protocol Send 512 words Receive 512 words Cfrp2 The program capacity is reduced by performing a part of the communication processing with the module In addition communication processing can be performed at high speed by using two communication ports _CfdFRN For FUJI Inverter FRENIC series CfdFVR For FUJI Inverter FVR C11 series FGI BUS For FUJI Inverter FVR C11 series FGI BUS Ofvrpr The program capacity is reduced by performing a part of the communication processing with the module
204. s are reset For PTP positioning or manual operation in finite length mode no positioning is performed beyond the software OT range When positioning at software OT position is completed SOT error or SOT error signal is turned ON At the same time positioning completed signal is turned ON PTP positioning executing forward rotating by manual operation and reverse rotating by manual operation are turned OFF During PTP positioning or manual operation even when the software OT range data that is set by parameter is rewritten it won t be reflected on the operation The data just after startup takes effect Till positioning in finite length mode is completed SOT error is continuously monitored When positioning at software OT position is performed during PTP positioning operation in finite length mode PTP normal end signal is not turned ON except the case that the target position coincides with the SOT position During origin return operation no SOT error is detected However when origin return operation is stopped by positioning cancel command or forcible stop command SOT is checked after operation is stopped Check at the completion of positioning SOT error detecting method slightly differs with operation mode in finite length mode 1 During PTP positioning operation The software OT range in the operating direction is checked when started up If either SOT error or SOT error signal is O
205. sage to from a general purpose 2 Message port iNo communication module 3 Reserved Not used 4 Transmission anaed Designates the transmission speed P 0 1200 1 2400 2 4800 3 9600 4 19200 bps Designates the data bit length When 7 is selected 7 bits make up one data when i 8 8 bits make up one data 5 Data bit 0 7 bits 1 8 bits This is a bit which is added to data for the purpose of error detection Designate the 6 Parity bit proper one to match the setting of the device at the other end 0 None 1 Odd 2 Even This bit indicates the end of data Designate the proper one to match the setting of the 7 Stop bit device at the other end 0 1 bit 2 2 bits 8 Not used Reserved 15 The timer for monitoring during the period from when the CPU module sends a send 16 Response monitoring timer request to a device until communication ends Normally set this value to 100 one second in 0 01 second steps Designates the start code of transmission command 17 Start code 0 None 1 STX 18 End bd a Designates the end code of transmission command 0 CR 1 LF 2 CR LF 3 ETX 4 ETXCRF 5 ETX LF 6 ETX CR LF Designates transmission procedure 0 Non procedural 19 Transmission procedure Receives the end data simply as ead by the bar code reader p 1 ACK NAK procedure Sends ACK when the data read by the bar code reader is received normally NAK if a receiving error occurred 20 Retry count In case of communication error this d
206. se to frequency selected command which is sent from the positioning FB is arbitrarily changed over by frequency changeover command Work coordinates V0009 BOOL IN At the rising edge of this signal the work coordinates position is position preset preset WORG CMD Machine coordinates V0010 BOOL IN At the rising edge of this signal the machine coordinates position is position preset preset MOPRG CMD Positioning cancel V0011 BOOL IN At the rising edge of this signal PTP positioning or origin return CANSEL CMD operation is stopped Section 5 Specifications of Simple Positioning FB 5 2 Specifications of Simple Positioning FB Pause command V0012 BOOL IN Operation is halted when this signal is turned ON PAUSE CMD While pulse output is stopped by pause command pausing signal is ON OT V0013 BOOL IN OT error occurs if this signal is turned ON during positioning OTP operation When OT error is detected OT error signal V0037 is turned ON OT V0014 BOOL IN OT error occurs if this signal is turned ON during positioning OTM operation When OT error is detected OT error signal V0038 is turned ON Forcible stop command V0015 BOOL IN Operation is forcibly stopped if this signal is turned ON STOP CMD corresponding to emergency stop Alarm reset command V0016 BOOL IN When error causes are removed at the rising edge of this sig
207. ses 5 When machine coordinates position preset is used The current position data in machine coordinate system becomes as follows Current position data in machine coordinate system Preset value Number of error pulses The current position data in work coordinate system becomes as follows Current position data in work coordinate system Current position data in machine coordinate system Set value of floating origin 3 Command position data During positioning operation when positioning completed signal is OFF command position data is generally the same as the current position data Command position Current position After PTP positioning or origin return operation is completed successfully command position data becomes the same as the target position data till pulse output is started by the next command Command position Target position When positioning is completed when positioning completed signal is ON command position data is not updated the value at completion is held 1 For PTP positioning operation For both machine coordinate system and work coordinate system after pulse output is started by PTP positioning command till PTP positioning is completed successfully Command position data Current position data When PTP positioning is completed successfully Command position data Target position data 2 For origin return operation For both machine coord
208. sponse CNT DAT Count value V12 CNT RUN L Count operation V13 DIR Rotation direction V14 Bit command signal 1 BITCMD1 BITCMD1 Bit command signal WVA WVA CH selection 4 CH SEL WV5 Bit command signal response 34 SIS DAT ____ STS DAT Bit command signal response WV6 WV6 Input variable 1 INDAT INDAT Input variable WV7 WV7 Output variable OUTDAT OUTDAT Output variable WV8 WV8 4 26 Section 4 Specifications of High speed Counter FB 4 2 High speed Input Module Counter FB 2 Description of FB parameters Start command V0001 BOOL IN ON Starts initialization processing counter current value clear START processing When initialization processing has completed initialization completion is turned ON At the start command rising edge the signal status of bit command signal is reflected to the high speed input module Internal reset command V0002 BOOL IN ON For the high speed input module sets current value clear RST command ON Internal gate command V0003 BOOL IN Command signal to be used when gate operation mode is enabled GATE CMD by count operation mode ON For the high speed input module sets count enable command ON OFF For the high speed input module sets count enable command OFF Bit command signal WV0004 Note 1 IN OUT Refer to Signal assignment
209. ssign WX5 4 Frequency command data WV0025 INT IN OUT Frequency command data to the high speed output module SETDAT Specifies the module offset address 8 CHO 9 CH1 10 CH2 or 11 CH3 lf the SX bus station No of the module is 5 and CH2 is controlled assign WY5 10 to this terminal Bit command WV0026 WORD IN OUT Bit command data to the high speed output module BITDAT Specifies the module offset address 6 CHO CH1 or 7 CH2 CH3 lf the SX bus station No of the module is 5 and CH2 is controlled assign WY5 7 Running V0027 BOOL OUT This signal is turned ON when positioning is enabled and various RUN STS operation commands PTP positioning manual operation and origin return commands can be accepted PTP positioning executing V0028 BOOL OUT While PTP positioning is executed this signal is ON PTP RN PTP normal end V0029 BOOL OUT When PTP positioning ended normally when positioned at PTP END instructed position this signal is turned ON Each time PTP positioning is started this signal is reset Section 5 Specifications of Simple Positioning FB 5 2 Specifications of Simple Positioning FB Forward rotating V0030 BOOL OUT While manual forward rotation is executed this signal is ON by manual operation The movement of forward rotating by manual operation takes place MNP RN in the direction to increase the current positio
210. t stage startup signals also continue to be OFF The following steps are not started when cascaded 1 Timing chart for end step command and next stage startup command signal When end step command is ON next stage startup command signal is not turned ON even if PTP positioning operation is completed successfully For end step signal the status at the rising edge of PTP normal end signal takes effect PTP normal end output from FB End step output from FB FB running output from FB FB completed output from FB Next stage startup output from FB When valid step command is OFF startup command signal is output to the next stage as it is For valid step command the status at the rising edge of startup command takes effect When either FB completed signal or next stage startup command signal is turned ON the status of the following output signals is held while FB running signal is ON a FB running OFF b FB completed ON C Next stage startup ON When either FB completed signal or next stage startup command signal is turned ON the status of the above mentioned 3 output signals does not change even if the status of end step or valid step is changed over When either FB completed signal or next stage startup command signal is turned ON the set data of the following command signals from the previous stage is output a ABS INC
211. ta bytes frame detection When Variable length is selected set this item to 0 19 Number of start code bytes Designates the number of start code bytes when Variable length is selected 20 Start code 1 Designates start code when Variable length is selected 21 Start code 2 22 Start code 3 23 Start code 4 24 Start code 5 25 Number of end code bytes Designates the number of end code bytes when Variable length is selected 26 End code 1 Designates end code when Variable length is selected 27 End code 2 28 End code 3 29 End code 4 30 End code 5 Sets whether or not to add horizontal parity for checking text data transmission error 0 None 1 Set in the order of upper and lower order byte 31 BCC designation Upper byte of BCC Lower byte of BCC 2 Set in the order of lower and upper order byte Lower byte of BCC Upper byte of BCC Sets the calculation range and BCC position Calculation range 0 Calculates the text part and enters it ahead of the end code Start code TEXT BCC End code Note cic octet 1 Calculates text part and end code and inserts them behind the end code Start code TEXT End code BCC Start code 32 Calculation range position 2 Calculates start code and text part and inserts them ahead of the end code Start code TEXT BCC End code Note
212. ted and added to the data by this FB For send data set the data that is to be written in the start word Other data shall be set to all zero FB terminals Slave station No WV0003 gt Slave station No Slave station No gt Slave station No WV0017 Function code WV0004 gt Function code 10h Function code 10h gt Function code WV0018 Start address upper order Start address upper order Start address WV0005 Start address lower order Start address lower order gt Start address WV0019 No of written words upper order No of written words upper order Data length WV0006 gt No of written words lower order No of written words lower order gt Data length WV0020 Number of bytes WV0007 gt Number of bytes CRC lower order Write data upper order CRC upper order Send data WV0008 gt Write data lower order CRC lower order CRC upper order Notes 1 In case of abnormal response 80hex is added to function code WV0018 2 CRC is automatically calculated and added to the data by this FB 3 Write data shall be set with upper and lower order bytes reversed as shown below Send data WV0008 Receive data WV0009 Offset address with respect to the designated start address 7 6 5 4 3 2 1 0 15 14 413 412 411 10 9 8
213. ter 2 Initialization procedure When the OPEN V0001 parameter of FB is turned ON communication parameters are transferred to the general purpose communication module which executes processing for initialization If initialization is impossible due to a communication parameter setting error or hardware error FB outputs the corresponding error code to the OPEN Status WV0009 Turned ON by the application program OPEN request V0001 Communication ready V0008 Turned OFF by the application program UN Processing for initialization If initialization error has occurred N Port closing operation Note OPEN signal shall be set to Always ON during data communication OPEN Status WV0009 Error status Section 3 Specifications of Communication FB 3 1 Non procedural FB 3 OPEN status list 00 Ended normally 01 Transmission speed error General purpose communication module detected an error 02 Data bit length error General purpose communication module detected an error 03 Parity bit error General purpose communication module detected an error 04 Stop bit error General purpose communication module detected an error 05 DCE designation error General purpose communication module detected an error 06 Signal flow control setting error General purpose communication module detected an error 07 XON XOF
214. the position in work coordinate system The relation between the position data in work coordinate system and the position data in machine coordinate system after preset becomes as follows Position data in work coordinate system Position data in machine coordinate system Set value of floating origin Note When work coordinates position preset command is executed the set value of floating origin term offset in the above expression becomes as follows Offset Preset value Current command position in machine coordinate system 13 Parameter Nos 12 and 13 Software OT range in direction These parameters set software OT detection range If command position in machine coordinate system falls out of the OT range SOT error occurs If command position in machine coordinate system gt Software OT range in direction SOT error is detected If command position in machine coordinate system lt Software OT range in direction SOT error is detected Software OT range in direction is absolute value data When infinite length mode is selected no SOT error is detected 5 46 Section 5 Specifications of Simple Positioning FB 5 5 Pulse Output Setting for High speed Output Module To use this FB it is necessary to make pulse setting for the digital high speed output module On the I O group setting window on the CPU parameter dialog of the program loader register the digital high speed
215. tion No WV0003 gt Function code WV0004 gt Start address WV0005 gt Request message Response message Slave station No Slave station No Function code Function code Start address upper order Number of bytes of read data Start address lower order Read data upper order Data length upper order Read data lower order Data length WV0006 Notes Data length lower order Read data upper order CRC lower order Read data lower order CRC upper order CRC lower order CRC upper order 1 In case of abnormal response 80hex is added to function code WV0018 2 Function 03 04 does not use the number of bytes WV0007 Set H0000 for the WV0007 terminal Similarly all the variables that are connected to the send data terminal WV0008 shall be set to zero 3 CRC is automatically calculated and added to the data by this FB 4 Request message specifies the number of words by data length WV0006 response message stores is as the number of bytes of read data in the upper order byte of data length WV0020 5 Read data is received in the order of upper byte and lower order byte as shown below Therefore word data can be accessed in units of word as it is Receive data WV0009 gt Upper order byte Lower order byte Upper order byte Lower order byte Upper order byte Lower order byte 3 F
216. tion parameter RAS information Section 3 Specifications of Communication FB 3 3 FUJI General Purpose Inverter Standard Communication FGI BUS Procedure FB CfdFVR 2 Explanation of FB parameters Open V0001 BOOL IN ON Sends the communication parameters to the general OPEN purpose communication module to initialize communication When communication becomes possible communication ready turns ON OFF Performs the processing for ending communication Communication ready turns OFF Send request V0002 BOOL IN Starts to send data When sending has ended this needs to be S REQ turned OFF by the application program Send station address WV0003 WORD IN Stores the address of the send station S STN Send command type WV0004 WORD IN Stores the send command type S KND Receive function code WV0005 WORD IN OUT Stores the receive function code R_FNC Occupies two words Send function code WV0006 WORD IN OUT Stores the send function code S FNC Occupies two words Send text data S TXT WV0007 WORD IN OUT Stores the send text data Receive text data R TXT WV0008 WORD IN OUT Stores the receive text data Communication parameter WV0009 INT IN OUT Stores the initialization parameters PARA RAS information WV0010 Note 1 IN_OUT Operating information of this FB RAS Communication ready V0011 BOOL OUT Turns ON when initialization has ended norm
217. transmission speed data bit length parity bit etc 2 Data sending receiving function Sends data from an application program in the MICREX SX series CPU module to the FUJI bar code reader via the general purpose communication module or outputs the data received via the general purpose communication module to an application program 3 Transmission condition monitoring function Monitors data transmission condition and outputs error information if abnormal Connecting method of _CfdFRN gt The connecting method between the general purpose communication module and FUJI PK2 series bar code reader must be 1 1 connection by RS 232C FB operating conditions System configuration One FB is necessary for each communication port RS 232C to be used FUJI PK2 series bar code reader may not be connected to the RS 485 port Memory capacity Program area Approx 3 3k steps Data memory capacity User FB memory 478 words Standard memory 846 words System FB memory 90 words Note 1 The above list for the memory capacity includes the area for the main body of the bar code reader procedure FB and those for sub FBs that are called from the bar code reader procedure FB Note 2 The above list for standard memory and retain memory includes the memory capacity necessary for sending receiving data 3 55 Section 3 Specifications of Communication FB 3 6 FUJI Bar Code Reader Procedure FB CfdPK 3 6 2 Specifications for
218. unction Acceleration Speed deceleration time v Time PTP positioning command input to FB ON sn Pause command ON input to FB OFF Y Pausing output from FB OFF ON OFF PTP positioning executing input to FB OFF ON PTP normal end input to FB OFF Positioning completed input to FB ON OFF f the target position is reached while decelerating under pause command pulse output is immediately stopped In this case PTP positioning operation is regarded as completed successfully For example when pause command is issued when decelerating Also during origin return operation if the origin is detected while decelerating under pause command pulse output is stopped Also in this case origin return operation is regarded as completed successfully Even when pause command is accepted if PTP positioning or origin return operation is completed successfully while stopping pausing signal is not turned ON 5 25 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 10 Forcible stop If forcible stop command is turned ON during PTP positioning operation positioning operation is stopped When positioning operation is stopped by forcible stop command deceleration takes place by the parameter set value of rapid stop time After pulse output is stopped positioning completed signal is turned ON and PTP positioning executing and retu
219. ve status WV0013 WORD OUT Code to indicate the result of receiving R_STS In case of no response or BCCerror sending station code is output to the receiving station address so that it can be known which station did not respond Receive station address WV0014 WORD OUT Stores the address of the receive station R_STN Receive command type WV0015 WORD OUT Stores command type characters of received frame R_KND Receive error code WV0016 WORD OUT Stores the error code sent from inverter if NAK is received from R_ERCD inverter Number of receive data WV0017 INT OUT Stores the number of receive data bytes bytes R_LEN Note 1 Work area for sending WORD Work area for receiving WORD Receive buffer area WORD RAS area INT For more information about data type refer to Appendix 1 3 37 Section 3 Specifications of Communication FB 3 4 Communication Protocol Included General Purpose Inverter Procedure FB Cfvrpr Send text data format of the memory assigned to WV0004 The memory that is assigned to WV0004 must be set secured as follows Specify the start address of the memory for WV0004 Start address gt WM WL e 22 qp Gm Ux oU A Rw WM WL 217 Upper order SOH Lower order Station number the units digit Total number of data sending stations Station number the tens digit Command type character ENQ Function num
220. w fujielectric co jp fcs eng The standard expansion FBs are included in SX Programmer Standard type NPAH SWN 1 This manual may not be reproduced in whole or part in any form without prior written approval by the manufacturer 2 The contents of this manual including specifications are subject to change without prior notice Microsoft and Windows are trademarks or registered trademarks of Microsoft in the United States Pentium is a trademark or registered trademark of Intel in the United States Safety Precautions Be sure to read the Safety Precautions thoroughly before using this product A Caution Incorrect handling of the device may result in minor injury and or physical damage Even some items indicated by Caution may result in a serious accident These safety instructions provide important information Be sure to strictly observe them The items to be cared most are shown below A Caution Do not use one found damaged or deformed when unpacked otherwise failure or erratic operation might be caused Do not shock the product by dropping or tipping it over otherwise it might be damaged or troubled Do not play back the CD ROM supplied with the product using an ordinary audio CD player otherwise you may get your auditory sense or audio device damaged due to a loud sound Engage the CD ROM or loader connector in a correct orientation otherwise an erratic operation might occur Sufficiently
221. wo word area is required STS DAT Input variable INDAT WV0009 WORD IN OUT Specifies the input first address and the output first address of the Output variable QUTDAT DVo010 Dworp IN our dh speed counter module Initialization completion V0011 BOOL OUT Turned on after the start command has been raised and INI END initialization has been completed Internal reset command V0012 BOOL OUT Used as the response signal to the internal reset command response RST OK Internal gate command V0013 BOOL OUT Response signal used when gate operation is enabled response GATE OK Used as the response signal to the internal gate command Alarm reset response V0014 BOOL OUT Used as the response signal to the alarm reset command when ARM OK alarm for a transmission error or register monitoring time up is generated Count value DV0015 DINT OUT Outputs the counter value to be input CNT DAT 16 bit selected 32768 to 32767 32 bit selected 2147483648 to 2147483647 When 16 bit is selected only lower order word is used Upper order Lower order Fixed to 0 zero Count operation V0016 BOOL OUT ON during counting operation of the high speed counter module CNT RUN OFF Stopped ON Counting Rotation direstion V0017 BOOL OUT Outputs the current rotation direction of the high speed counter DIR module OFF Forward ON Reverse Write monitoring V0018 BOOL OUT Enabled only when the value in the register write monitoring time is time up notn
222. xecuting signal is turned OFF When positioning is completed PTP normal end signal is turned ON When positioning is completed positioning completed signal is turned ON Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function 5 3 3 Manual operation Manual forward or reverse operation is started when the rising edge of manual forward rotation command or manual reverse rotation command is detected and the operation is continued while the said command is ON While manual forward or reverse rotation is executed forward rotating by manual operation or reverse rotating by manual operation is ON Manual operation pattern gt Acceleration Frequency deceleration 1 time Speed A x Self startup frequency A Time Frequency i Frequency 4 A 1 Manual forward rotation command ON input to FB hm Forward rotating ON by manual operation output from FB Manual reverse rotation command input to FB ON Reverse rotating by manual operation output from FB ON Positioning completed output from FB OFF ON Frequency changeover input to FB OFF ON OFF Frequency selected output from FB OFF ON OFF Trapezoidal acceleration or deceleration is performed Acceleration deceleration time is registered to the parameter area Frequency can be changed over during operation Two types of frequenc
223. y 10 Parameter No C Origin return frequency This parameter sets the command frequency that is used till origin LS is detected during origin return operation 11 Parameter No 10 Moving length at stoppage This parameter sets the feedrate for 2 step motion PTP positioning Frequency Command frequency Self startup frequency t Moving length at stoppage Time Note If the moving length at stoppage is too small the target position may be reached while decelerating In this case pulse output is stopped before self startup frequency is reached 5 45 Section 5 Specifications of Simple Positioning FB 5 4 Parameters for Simple Positioning Expansion FB 12 Parameter No 11 Floating origin setting When origin return operation is completed successfully the position data in work coordinate system is preset to the set data of floating origin When origin return operation is completed successfully the target position and command position data in machine coordinate system are cleared to zero at the position of machine origin Therefore the relation between the position data in machine coordinate system and the position data in work coordinate system after returning to origin becomes as follows Position data in work coordinate system Position data in machine coordinate system Set value of floating origin Machine coordinates position preset command presets both the position in machine coordinate system and
224. y V1 V12 Send request 4 S REQ O_STS __ Open status V2 WV13 Send station address S_STN R END Receive end WV3 V14 Send command code S_CMD R ERR __ Receive error WVA V15 R STS Receive status WV16 R STN __ Receive station address WV17 R ERCD Receive error code WV18 R LEN Number of receive data bytes WV19 Send function code S_FNC S FNC Send function code WV5 WV5 Number of send data bytes 1 S LEN WV6 R_FNC R_FNC i Receive function code WV7 WV7 Receive function code Send text data _ S TXT S TXT Send text data WV8 WV8 Receive text data R_TXT R TXT Receive text data WV9 WV9 Communication parameter PARA PARA Communication parameter WV10 WV10 RAS infomation RAS RAS RAS infomation WV11 WV11 3 16 Section 3 Specifications of Communication FB 3 2 FUJI General Purpose Inverter Procedure FB _CfdFRN 2 Explanation of FB parameters Open V0001 BOOL IN ON Sends the communication parameters to the general OPEN purpose communication module to initialize communication When communication becomes possible communication ready turns ON OFF Performs the processing for ending communication Communication ready turns OFF Send request V0002 BOOL IN Starts to send data When sen
225. y can be set which is selected with frequency changeover command The data at the rising edge of frequency changeover command is read Even when frequency setting data is rewritten target frequency does not change unless frequency changeover command status is changed 5 14 Section 5 Specifications of Simple Positioning FB 5 3 Details of Positioning Function Manual forward rotation command and manual reverse rotation command are accepted when positioning completed signal is ON In the following cases neither manual forward rotation command nor manual reverse rotation command is accepted 1 When running signal is ON 2 When positioning completed signal is ON 3 When either PTP positioning command or PTP positioning executing is ON 4 If manual reverse rotation command or reverse rotating by manual operation is ON when manual forward rotation command is issued 5 If manual forward rotation command or forward rotating by manual operation is ON when manual reverse rotation command is issued When either origin return command or returning to origin is ON When OT error or SOT error is detected during manual forward rotation When OT error or SOT error is detected during manual reverse rotation When OT signal is ON OT error immediately occurs at the rising edge of manual forward rotation command 10 When OT
226. you check here and then click the Ps Finish button the product information of Z Read STANDARD EXPANSION FB release note the standard expansion FB appears lt Back Cancel lt Example of release note gt B readme Notepad File Edit Format View Help STANDARD EXPANSION FB RELEASE NOTE V1 3 1 0E Thank you for using this FB This is an update description The product name changed 1 3Ju1 04 V1 3 1 0E LMSPOS Zpj 83 0 KB 85 073 bytes 2004Mar 24 10 37 58 added The company name changed 28 Nov 03 L MHCNT Zpj 16 LC modm zpj 19 Lcfvrpr zp 12 LCfdFRN zpj 17 LCfdFvR zpj 17 CfdPvx zpj 16 LcfdPK zpj 20 KB 16 799 bytes 20033u1 01 11 24 58 added KB 20 396 bytes 2003Jun 14 17 53 38 added KB 12 991 bytes 20033u1 03 20 31 36 added KB 17 511 bytes 20033u1 03 20 32 04 added KB 18 140 bytes 20033u1 03 20 33 08 added KB 16 840 bytes 20033u1 03 20 33 48 added KB 20 620 bytes 20033u1 22 18 56 16 added P RMPoOoos v1 2 0 0E cfrp2 zpj 19 c frpr zpj 12 LC free zp 73 LCfr252 2p 28 cfr128 zp 65 LCfr 4 zpj 74 LCfr32 zpj 64 KB 20 341 bytes 2003Feb 19 9 01 20 added KB 13 115 bytes 2003Mar 14 15 31 14 added KB 74 975 bytes 2003Apr 10 16 29 44 modified KB 28 683 bytes 2003Apr 10 16 29 10 added KB 66 591 bytes 2003Apr 10 16 27 18 added KB 75 789 bytes 2003Apr 10 16 26 32 added KB 66 501 bytes 2003Apr 10 16 25 46 added Wooonnan This is the original L C fr

Download Pdf Manuals

image

Related Search

Related Contents

USER`S MANUAL VEF TA-205  取扱説明書 拡散反射型 光電センサー O6T3xx O6T300 / 00 01 / 2013  GUÍA DEL USUARIO NOTAS  マニュアル(3.1MB)  Installation Instructions  FPD-21 Series  Avaya S8700 User's Manual    MODE D`EMPLOI - Top  

Copyright © All rights reserved.
Failed to retrieve file