Home

MELSEC-ST SSI Absolute Encoder Input Module User`s Manual (CC

image

Contents

1. a When the SSI baud rate is 250kHz 1MHz 2MHz CLK 4 2 3 4 s e 7 8 a n n 1 1 2 ta ae ae 5 4 gt Data update cycle Figure 3 2 When the SSI baud rate is 250kKHZ 1MHz 2MHz 6 Data update cycle A x n 1 B C x n 8 3 A Inverse of SSI baud rate f 1 f mi n SSI code length L37 Section 3 2 1 Function list Bo B SSI monoflop time L gt Section 3 2 3 SSI monoflop time setting function C Clock delay 250kHz 4 us 1MHz 5us 2MHz 5 5 us oO 2 Zz O lt O m w a oa Example Calculation for SSI baud rate 250kHz SSI code length 25 bits and SSI monoflop time 96 us 4 x 25 1 96 4 x 25 8 212 5 us b When the SSI baud rate is 125kHz 500kHz cik 1 2 3 4 s g 8 pai n 1 Ar A c A C A B PROCEDURES BEFORE SETUP AND OPERATION 5 ay 2 Data update cycle Figure 3 3 When the SSI baud rate is 125kHZ 500kHz 2 Data update cycle A x n 1 B C x n 4 A Inverse of SSI baud rate f 1 f n SSI code length gt Section 3 2 1 Function list B SSI monoflop time g C gt gt Section 3 2 3 SSI monoflop time setting function C Clock delay 125kHz 500kHz 5 us Example Calculation for SSI baud rate 125kHz SSI code length 25 bits and SSI monoflop time 96 us m 8 x 25 1 96 5 x 25 4
2. SHO SDO RST M4005 RST M4005 Processing for normal command completion command execution resul i MELSEC ST Slice position No 2 Coincidence detection flag setting write Command No A504H Coincidence detection flag setting Downward Fixed to 0000H Slice position No 2 Coincidence detection value write Command No A505H Set the low word of the coincidence detection value 86A0H Set the high word of the coincidence detection value 1H Executes dedicated instruction RDMSG J Command parameter batch write flag OFF Command parameter batch write flag OFF Figure 6 10 Program for setting command parameters when multiple commands are simultaneously executed continued 6 16 6 4 Program Examples 6 PROGRAMMING MELSEE ST 4 Program example when one command is executed at a time The following is a program example for executing a command at a time M4000 M4001 M4002 M4003 M4004 X105A X1040 1 HF r n MovP HO D1000 Clears Completion status ma gt M4001 M4000 M4002 M4003 M4004 o MOVP H3 D1001 Target station No 3 M4002 M4000 M4001 M4003 M4004 H r j HF AF HF MOVP HOA D1002 Send data size M4003 M4000 M4001 M4002 M4004 r n H MOVP HOA D1003 Receivable data size 5 M4004 M4000 M4001 M4002 M4003 z 3 f ode MOVP HO D1004 Clears receive data size rs D Q M40
3. cio For execution of command No 1504H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 b0 Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No a 00H Normal completion Cr The executed command No 9504H 1504n is stored Hexadecimal 8 21 8 4 ST1SS1 Parameter Setting Read Commands 8 4 5 Coincidence detection flag setting read Command No 9504H 1504H 8 COMMANDS MELSEE ST Table 8 27 Values stored in Cr Command result area When completed normally Continued Command result area Result details The coincidence detection setting is stored 0 0 0 H OY HY Fixed to 0 crz Coincidence detection flag setting OH No comparator 1H Upward 2H Downward 3H Upward Downward OVERVIEW Cr 3 OOOOH is stored CONFIGURATION SYSTEM b When failed Cr 0 15 8 Command execution result is other than OOH Table 8 28 Values stored in Cr Command result area When failed Command result area Result details For execution of command No 95044 SPECIFICATIONS The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 ii bO A i 4 Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No a Other tha
4. RWw G RDMSG L LTN Device Cr Commana TUNNDUOVONVUVAQU NAV OONUONUOOOUUOQUAOOOOVONUOOOQU NOU UUO UUU OOOO AQUNOQOOO VON DOTON Command result 1 Data symbol lt Example of Cr Command result area gt Range When the unit of data is one word 16 bits the corresponding bits are indicated 0 BitO 7 0 Range of bit 0 to bit 7 Detail data No Abbreviated data symbol 2 Head module Master station 3 Master station gt Head module A 11 A 12 Br Bw Cw 2 Head module Master station a Remote input RX Data symbol Br 00 to L Br n Area Bit Input Area b Remote register RWr Data symbol Wr 00 to wrn Area Word Input Area c Message transmission Data symbol _cro_ to crn_ Area Command Result Area 3 Master station Head module a Remote output RY Data symbol Bw 00 to Bw n Area Bit output Area b Remote register RWw Data symbol Ww 00 to Ww n Area Word output Area c Message transmission Data symbol Cw 0 to l Cw n Area Command execution Area Unit 1 bit symbol Unit 1 word symbol Unit 1 word symbol Unit 1 bit symbol Unit 1 word symbol Unit 1 word symbol Detail data
5. 41 When OFH is stored in Cr 0 15 8 Command execution result OOH slice position No or start slice No of the head module is stored in Cr 0 7 0 Start slice No or Slice position No PROGRAMMING ONLINE MODULE CHANGE e e COMMANDS 8 2 Common Commands 8 4 8 2 1 Operating status read request Command No 8100H 0100H 8 COMMANDS 8 2 2 MELSEC ST Error code read request Command No 8101H 0101H Tow 4 words 8 bytes Cr 4 words 8 bytes This command reads an error code of the ST1SS1 1 Values set to Cw Command execution area Table 8 5 Values set to Cw Command execution area 3 Command execution Setting value area For execution of command No 8101H aa Set a slice position No of the target ST1SS1 Hexadecimal W For execution of command No 0101H Set a start slice No of the target ST1SS1 Hexadecimal Cw 1 Set a command No to be executed 8101H 0101H Hexadecimal Cw 2 5 Fixed to OOOOH Any other value is treated as 0000H Cw 3 2 Values stored in Cr Command result area The command execution result data vary depending on the result data normal completion or failure in Cr 0 15 8 Command execution result a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 6 Values stored in
6. 0 0 0 H a z Fixed to 0 Cr 2 x a SSI monoflop time setting Ou 48us 1H 64us 2H 80us 3H 96us OVERVIEW Cr 3 OOOOH is stored CONFIGURATION SYSTEM b When failed Cr 0 15 8 Command execution result is other than OOH Table 8 22 Values stored in Cr Command result area When failed Command result area Result details For execution of command No 9502H The command execution result and slice position No in hexadecimal are stored in the high SPECIFICATIONS and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No h Other than OOH Failure k Section 8 7 Values Stored into Command Execution Result Cr 0 PROCEDURES BEFORE SETUP AND OPERATION For execution of command No 1502H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 b0 4 Command execution result Start slice No l Other than OO Failure Section 8 7 Values Stored into Command Execution Result GX Configurator ST Cr The executed command No 9502H 1502h is stored Hexadecimal Cr 2 Cw 2_ Argument 1 at command execution is stored Cr 3 Cw 3_ Argument 2 at command execution is stored 1
7. Section 8 3 2 Initial data individual write request Command No 8107H 0107H 1 The preset coincidence detection value command parameter is compared with Wr n Encoder value Low and Wr n 1 Encoder value High If these values are matched Br n 3 Coincidence detection flag turns ON 1 2 In the coincidence detection flag setting select a desired option from No comparator Upward Downward or Upward downward The default is No comparator 3 The coincidence detection setting value can be set within the range from 0 to 2147483647 in 1 point units S The default is 0 Coincidence detection Section 3 2 5 function 4 To clear Br n 3 Coincidence detection flag set Bw n 3 Comparator clear request to ON 1 Coincidence detection flag setting method GX Configurator ST gt Section 5 3 Parameter Setting e Dedicated instruction from the master station RDMSG instruction L3 Section 8 5 4 Coincidence detection flag setting write Command No A504H 2504H Coincidence detection value setting method GX Configurator ST 3 Section 5 3 Parameter Setting Dedicated instruction from the master station RDMSG instruction L3 Section 8 5 5 Coincidence detection value write Command No A505H 2505H SSI trailing bits setting function 1 Set the number of trailing bits if the SSI absolute encoder connected has trailing bits 2 The setting range is 0 to 15 bits 3 The de
8. Parameter change during online module change To change a command parameter of the slice module which is being replaced online while the head module s REL LED is on from the master station wait until the online module change is completed 8 The ERR LED of the head module in online module change status The ERR LED of the head module in online module change status turns on only when an error related to the online module change occurs It will not turn on or flash when any other error occurs 9 I O data during online module change While an online module change is being executed for a slice module while the REL LED of the head module is on all the Brn Bit input area and Wr n Word input area data of the slice module are set to 0 OFF 10 Mode used for online module change Perform online module change in the normal mode 11 Forced output test during online module change The forced output test of GX Configurator ST cannot be used for the module being changed online After completion of the online module change perform the forced output test 7 2 7 1 Precautions for Online Module Change ONLINE MODULE CHANGE 7 2 Preparations for Online Module Change Prepare GX Configurator ST when replacing the ST1SS1 online Depending on the module failure status command parameters may not be saved into the head module For the procedure for setting parameters during online mo
9. Set command parameters of the ST1SS1 Hexadecimal OVERVIEW This setting is required only when one or more value is set in Cw 5 J 0 0 H Fixed to OOH b7 b6 b5 b4 b3 b2 bi bO gt Cw 7 l SSI parity setting SSI code setting 00 None 0 Gray code 01 Even 1 Binary code 10 Odd CONFIGURATION SYSTEM SSI code length setting Default 25bit 00010 2bit l 11111 31bit SPECIFICATIONS In the same way as in _Cw 6 or Cw 7 set command parameters for other ST1SS1s ye Cw 8 to Cw 19 and intelligent function modules Two words each 1 For settings of each module refer to the following MELSEC ST CC Link Head Module User s Manual 8 2 7 Initial data batch write request Command No 8106H 2 For settings of intelligent function modules other than the ST1SS1 refer to the following PROCEDURES BEFORE SETUP AND OPERATION lt gt gt Intelligent Function Module User s Manual Initial data batch write request Command No 8106H 2 Values stored in Cr Command result area The command execution result data vary depending on the data normal completion or failure in _Cr 0 GX Configurator ST a When completed normally Cr 0 is OOOOH Table 8 9 Values stored in Cr Command result area When completed normally Command result area Result details Cro Error code 0000H
10. gt 5 O x O o FA Fs 8 O o a S a S act Amn 0KS e e COMMANDS 8 5 ST1SS1 Parameter Setting Write Commands 8 32 8 5 3 Latch mode setting write Command No A503H 2503H 8 COMMANDS 8 5 4 MELSEC ST Coincidence detection flag setting write Command No A504H 2504H ca 4 words 8 bytes Cr 4 words 8 bytes This command writes the coincidence detection flag setting to RAM of the ST1SS1 and can be executed only in normal mode and when Bw n 1 Convert setting request is OFF 0 1 Values set to Cw Command execution area Command execution area Table 8 41 Values set to Cw Command execution area Setting value For execution of command No A504H Set a slice position No of the target ST1SS1AD Hexadecimal Cw 0 For execution of command No 2504H Set a start slice No of the target ST1SS1AD Hexadecimal Cw 1 Set a command No to be executed A504H 2504H Hexadecimal Set a coincidence detection setting flag 0 0 0 H uU WY Fixed to 0 owe Coincidence detection flag setting OH No comparator 1H Upward 2H Downward 3H Upward Downward Cw3 Fixed to OOOOH Any other value is treated as OOOOH 8 33 8 5 ST1SS1 Parameter Setting Write Commands 8 5 4 Coincidence detection flag setting write Command No A504H 2504H 8 COMMANDS MELSEE ST 2
11. 2 Onli Parameter 8 Setting x OJ Close Figure 7 2 Online Module Change _ Online Module Change button Z o CD Oooo ooo ooo ooo 9 a Instead of the above the following operations are also available e Select Diagnostics Online Module Change e Right click the ST1SS1 selected at step a and click Online Module Change on the menu Lu al fa O W Z rA 0 COMMANDS 7 4 Online Module Change Procedure T 5 7 4 1 When parameter setting is performed using GX Configurator ST during online module change ONLINE MODULE CHANGE MELSEG ST c Confirm that the ST1SS1 displayed as Target Module is the ST1SS1 to be replaced and click the Next button Online Module Change Target Module No e Slice No AE Module Name ST1SS1 LabelName Base Module ST1B 4IR2 Start Online Module Change 1 Please confirm the module 2 Please click Next button Cancel Figure 7 3 Online Module Change screen 1 Clicking the Next_ button validates the settings and the following will be performed e The head module is placed into the online module change mode The command parameters of the ST1SS1 to be changed are saved into the head module Clicking the Cancel button stops online module change Clicking the Exit button returns the screen back to the status before performing b X After clicking t
12. ST1SS1 al LabelName 0 Base Module ST1B 4IR2 nO Execute Online Module Change 1 Please exchange the module 2 Please click Next button N z Cancel O Figure 7 4 Disconnection from external device g ha POINT g M If the external device cannot be powered off shut off all phases of the external Mi power for the MELSEC ST system and replace the ST1SS1 zap or Replacing ST1SS1 e Remove the ST1SS1 and replace with a new one k Q id 8 Replace 2 f ks bas oojoo Figure 7 5 Replacing ST1SS1 Connection of external device after replacement Lu al fa O W Z rA 0 f After installing a new ST1SS1 connect the power cable between the power distribution module and the external device SSI absolute encoder COMMANDS 7 4 Online Module Change Procedure 7 7 7 4 1 When parameter setting is performed using GX Configurator ST during online module change ONLINE MODULE CHANGE MELSEG ST Operations after external device connection g After connecting the external device click the Next button on the screen at step d 1 Clicking the Next button performs the following e Checking whether the model name of the newly mounted slice module is the same as that of the removed one e Writing the command parameters which were saved in the head module in step c to the mounted ST1SS1 Clicking the Cancel bu
13. gt Section 8 7 Values Stored into Command Execution Result ONLINE MODULE CHANGE Cr 1 The executed command No A501H 2501H is stored Hexadecimal e e Cr 2 Cw 2 Argument 1 at command execution is stored Cr 3 Cw 3 Argument 2 at command execution is stored 1 When OFH is stored in _Cr 0 15 8 Command execution result OOH slice position No or start slice No of the head module is stored in _Cr 0 7 0 Slice position No or start slice No COMMANDS 8 5 ST1SS1 Parameter Setting Write Commands 8 26 8 5 1 SSI trailing bits setting write Command No A501H 2501h 8 COMMANDS MELSEE ST 8 5 2 SSI monoflop time setting write Command No A502H 2502H Sk 4 words 8 bytes Cr 4 words 8 bytes This command writes the SSI monoflop time setting to RAM of the ST1SS1 and can be executed only in normal mode and when Bw n 1 Convert setting request is OFF 0 1 Values set to Cw Command execution area Table 8 35 Values set to Cw Command execution area Command execution area Setting value For execution of command No A502H Set a slice position No of the target ST1SS1 Hexadecimal Cw For execution of command No 2502H Set a start slice No of the target ST1SS1 Hexadecimal Cw 1 Set a comma
14. 1 Make the parity check setting None Even or Odd appropriate for the SSI absolute encoder 2 Select any of None Even and Odd 3 When a parity error is detected the ERR LED turns on and the Error status RXnA is set to ON while Wr n Encoder value Low and Wr n 1 Encoder value High are Sevei ei retained parity seting tuneson 4 The default is None i Setting method GX Configurator ST lt _3 Section 5 3 Parameter Setting Dedicated instruction from the master station RDMSG instruction Section 8 3 1 Initial data batch write request Command No 8106H L gt Section 8 3 2 Initial data individual write request Command No 8107H 0107H 1 Set the time to be reserved for synchronization with the data update cycles of the SSI absolute encoder SSI monoflop time 2 Select one from 48us 64us 80s and 96us SSI monoflop time setting 3 The default is 96us nction Setting method Section 3 2 3 GX Configurator ST L3 Section 5 3 Parameter Setting e Dedicated instruction from the master station RDMSG instruction lt Section 8 5 2 SSI monoflop time setting write Command No A502H 2502h 1 The ST1SS1 has 1 point digital input for the latch function and if a signal is input from the input switch it latches the values stored in Wr n Encoder value Low and Wr n 1 Encoder value High and turns ON 1 Br n 2 Latch detection flag 2 Select a desired option from No latch Rising
15. Command execution area Command execution area Setting value For execution of command No A501H Set a slice position No of the target ST1SS1 Hexadecimal For execution of command No 2501H Set a start slice No of the target ST1SS1 Hexadecimal Cw Set a command No to be executed A501H 2501H Hexadecimal Cw 0 Set an SSI trailing bits setting value 0 0 0 H a Fixed to 0 Cw 2 sii SSI trailing bits setting OH Obit 1H 15bit Cw 3 Fixed to OOOOH Any other value is treated as OOOOH 2 Values stored in Cr Command result area The command execution result data vary depending on the result data normal completion or failure in Cr 0 15 8 Command execution result 8 25 8 5 ST1SS1 Parameter Setting Write Commands 8 5 1 SSI trailing bits setting write Command No A501H 2501H 8 COMMANDS MELSEE ST a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 33 Values stored in Cr Command result area When completed normally Command result Result details OVERVIEW area For execution of command No A5014 The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No A CONFIG
16. Hexadecimal For execution of command No 0107H Set a start slice No of the target ST1SS1 Hexadecimal Cw 3 Set a number specific to the ST1SS1 module and command parameters Hexadecimal 8 61 0 i i H b3 b2 bi b0 Module specific No a SSI baud rate setting 000 125kHz 001 250kHz 010 500kHz 011 1MHz 100 2MHz GX Configurator ST Cw 4 PROGRAMMING SSI direction reversal setting 0 No reversal 1 Reversal ONLINE MODULE CHANGE e e COMMANDS 8 3 Initial Data Write Command 8 10 8 3 2 Initial data individual write request Command No 8107H 0107h 8 COMMANDS Table 8 11 Values set to Cw Command execution area Continued Command execution Setting value area Set respective command parameters for the ST1SS1 Hexadecimal Fixed to OOH Cw 5 SSI parity setting SSI code setting 00 None 0 Gray code 01 Even 1 Binary code 10 Odd SSI code length setting Default 25bit 00010 2bit 11111 31bit In the same way as in _Cw 3 to Cw5 set command parameters for each module Three Cw 6 to Cw 98 words each 1 For settings of the head module and I O modules refer to the following MELSEC ST CC Link Head Module User s Manual 8 2 8 Initial data individual write request Command No
17. Values stored in Cr Command result area The command execution result data vary depending on the result data normal completion or failure in Cr 0 15 8 Command execution result OVERVIEW a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 42 Values stored in Cr Command result area When completed normally Command result Result details FUGT For execution of command No A5044 CONFIGURATION SYSTEM The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No b 00H Normal completion Cr 0 For execution of command No 2504H SPECIFICATIONS The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No a 00H Normal completion Cr 1 The executed command No A504H 2504h is stored Hexadecimal PROCEDURES BEFORE SETUP AND OPERATION Cr 2 OOOOH is stored Cr 3 GX Configurator ST PROGRAMMING ONLINE MODULE CHANGE e e COMMANDS 8 5 ST1SS1 Parameter Setting Write Commands 8 34 8 5 4 Coincidence detection flag setting write Command No A504H 2504H 8 CO
18. incorrect wiring z 11 Online module change 3 The module can be replaced without stopping the system 26 12 Easy setup using GX Configurator ST An optional software package GX Configurator ST is separately available GX Configurator ST is not necessarily required for system configuration 3 However use of GX Configurator ST is recommended because parameter setting 3 and automatic refresh setting can be configured on screen resulting in reduction of G programming steps and the setting operating status can be easily checked amp WwW a iB Soe 7 8 5 A Fs O g A W 5 az 65 CZ S 1 1 Features 1 3 2 SYSTEM CONFIGURATION MELSEG ST CHAPTER2 SYSTEM CONFIGURATION This chapter describes the system configuration for use of the ST1SS1 2 1 Overall Configuration The overall configuration for use of the ST1SS1 is shown below Terminating resistor ST1PDD ST1SS1 Remote device station MELSEC ST system GX Configurator ST Terminating resistor SSI absolute Head module encoder Input switch for the latch counter function Figure 2 1 Overall system configuration 2 1 2 1 Overall Configuration 2 SYSTEM CONFIGURATION 2 2 Applicable System This section explains the applicable system N OVERVIEW 2 2 1 Applicable head module The head module applicable to the ST1SS1 is indicated below Table 2 1 Applicable head module Product name Model
19. 1 Appendix 2 External Dimensions COOL OOOO OOO OOO OOOOH OOOO OOO OOOO OO OOOO OOOO OOO OOOO OOO OOOO SOO OOO OOOOO OO OOOO OOOO OSOO App 2 INDEX Index 1 to Index 2 About Manuals The following manuals are related to this product Referring to this list please request the necessary manuals Relevant Manuals Manual Name MELSEC ST System User s Manual Explains the system configurations of the MELSEC ST system and the performance specifications functions handling wiring and troubleshooting of the power distribution modules base modules and I O modules Sold separately Manual Number Model Code SH 080456ENG 13JR72 MELSEC ST CC Link Head Module User s Manual Explains the system configurations specifications functions handling wiring and troubleshooting of the ST1H BT Sold separately SH 080754ENG 13JR68 GX Configurator ST Version 1 Operating Manual Explains how to operate GX Configurator ST how to set the intelligent function module parameters and how to SH 080439ENG monitor the MELSEC ST system 13JU47 Sold separately CC Link System Master Local Module User s Manual Describes the system configurations performance specifications functions handling wiring and troubleshooting of SH080394E the QJ61BT11N 13JR64 Sold separately Compliance with the EMC and Low Voltage Directives 1 For MELSEC ST system To configure a system meeting the requirements
20. 2 When _Br n 3_ Comparator clear request is set to ON 1 Br n 3 Coincidence detection flag is set to OFF 0 b Example 2 Coincidence detection flag setting Downward Coincidence detection z W value 1000 W Wr n Encoder value Low l r r r 7 7 7 H 3 Wine Encoder value High 998 999 1000 1001 1002 1001 1000 999 998 997 996 Ey Br n 3 Coincidence detection flag 5 fe 1 Bw n 3 Comparator clear request 2 i i i i i j E nZ Figure 3 11 Coincidence detection function example 2 ao oO 1 When Wr n Encoder value Low and Wr n 1 Encoder value High match the Coincidence detection value while they are decremented Bw n 3 Coincidence detection flag turns ON 1 2 When Br n 3 Comparator clear request is set to ON 1 _Br n 3 Coincidence detection flag is set to OFF 0 2 Zz O lt O m w a Oo c Example 3 Coincidence detection flag setting Upward downward Coincidence detection value 1000 W a Wr n Encoder value Low i r 3 r 3 i H i g Wr nT Encoder v lis High 1 998 999 1000 1001 1002 1001 1000 999 998 997 996 m Te oboa O ee ee orz Ze Ge ay 1 owe Br n 3 Coincidence detection flag 8 i BES Bw n 3 Comparator
21. 335 25 us a 1 Clock delay is the time of delay that occurs in communication with the SSI absolute encoder w g The clock delay varies depending on the SSI baud rate z 1 When the SSI baud rate is 250kHz 1MHz 2MHz The following clock delay occurs every 8 bits SSI baud rate of 250kHz 4 us SSI baud rate of 1MHz 5 us SSI baud rate of 2MHz 5 5 us COMMANDS 3 1 Performance Specifications 3 3 3 1 1 Data update cycle of the ST1SS1 3 SPECIFICATIONS 3 4 CLK a e gt ef ef 1 e aii _ B When the SSI code length is 10 bits Clock delay SSI monoflop time Figure 3 4 When the SSI baud rate is 250kHZ 1MHz 2MHz 2 When the SSI baud rate is 125kHz 500kHz Clock delay of 5 us occurs every 4 bits s 6 7 9 10 11 1 Clock delay Clock delay SSI monoflop time When the SSI code length is 10 bits Figure 3 5 When the SSI baud rate is 125kKHZ 500kHz CLK 1 2 3 a 3 1 2 Intelligent function module processing time The intelligent function module processing time of the ST1SS1 is equal to the data update cycle For the input transmission delay time refer to the following L gt MELSEC ST CC Link Head Module User s Manual 3 1 Performance Specifications 3 1 2 Intelligent function module processing time 3 SPECIFICATIONS 3 2 Functions 3 2 1 This section explains functions of the ST1S
22. 64DAI etc Link special relay for CC Link i Bit data that indicate the module operating status and data link status of the master local station Link special register for CC Link SW Data in units of 16 bits which indicate the module operating status and data link status of the master local station Remote input for CC Link i Bit data that are input from remote stations to the master station RY Remote output for CC Link Bit data that are output from the master station to remote stations RWr Remote register CC Link data read area 16 bit word data that are input from remote device stations to the master station Remote register CC Link data write area RWw 16 bit word data that are output from the master station to remote device stations Remote net Ver 1 mode Select this mode when extended cyclic setting is not needed or when the QJ65BT11 is replaced with the QU65BT11N Remote net Ver 2 Select this mode when creating a new system with extended cyclic setting mode VO dat Data that are sent received between the head module and the master station ata Generic term for RX RY RWr and RWw AT Bit input data of each module Brn Uae lhe Input data are sent from the head module to the master station through the remote input RX Bit output data of each module Bw n bit output area Output data are sent from the master station and
23. Coincidence detection Writes coincidence detection values to RAM setting Section 2505H value write of the ST1SS1 request is 8 5 5 BS500H Parameter setting read Reads parameters from ROM to RAM in the OFF 0 Section ST1SS1 control 3500H from ROM ST1SS1 8 6 1 command B501H Parameter setting write to Writes parameters from RAM to ROM in the Section 3501H ROM ST1SS1 8 6 2 ES POINT If a command execution is attempted while the required condition does not meet it will fail and O6H or 13H will be stored in Cr n 15 8 result Command execution 8 1 Command List 8 2 OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS PROCEDURES BEFORE SETUP AND OPERATION GX Configurator ST PROGRAMMING ONLINE MODULE CHANGE e e COMMANDS 8 COMMANDS MELSEE ST 8 2 Common Commands 8 2 1 Operating status read request Command No 8100H 0100H Cw 4 words 8 bytes Cr 4 words 8 bytes This command reads the operating status of the ST1SS1 1 Values set to Cw Command execution area Table 8 2 Values set to Cw Command execution area Command execution Setting value area For execution of command No 8100H Sw Set a slice position No of the target ST1SS1 Hexadecimal For execution of command No 0100H Set a start slice No of the target ST1SS1 Hexadecimal Cw 1 Set a command No to be executed 8
24. Completion device for separate execution of each Receive data for separate execution of each M2020 D1300 to D1304 command command Completion status indicator device for separate Send data for simultaneous execution of multiple M2021 i D2000 to D2024 execution of each command commands p P Receive data for simultaneous execution of M4000 SSI trailing bits setting write flag D3000 to D3024 multiple commands M4001 SSI monoflop time setting write flag M4002 Latch mode setting write flag M4003 Coincidence detection setting write flag M4004 Coincidence detection value write flag Command parameter write flag for simultaneous M4005 6 14 execution of multiple commands 6 4 Program Examples 6 PROGRAMMING MELSEE ST 3 Program example when multiple commands are simultaneously executed The following is a program example for simultaneous execution of multiple commands A W gt M4005 X105A X1040 2 a A MOVP HO D1000 J Clears Completion status MOVP H3 D1001 J Target station No 3 6 MOVP H2A D1002 J Send data size 5 0 MOVP H2A D1003 Receivable data size Eg 25 HO MOVP HO D1004 Clears receive data size WOvP K5 D2000 No of commands to be executed 2 MOVP H2 D2001 J Slice position No 2 O lt O MovP HOASO1 D2002 J SSI trailing bits set value write 5 Command No A501H a Hove H8 D2003 J ss trailing bits setting 8bit HOVP HO 02004 Fixed t
25. Examples 0ooooooooooooooo000000000000000000000000000000000000000000000000000000000000000000000000000000009 Y 9 CHAPTER7 ONLINE MODULE CHANGE 7 1to7 11 7 1 7 2 7 3 7 4 7 4 1 CHAPTERS COMMANDS Precautions for Online Module Change 0ooooooooooooooo00o00000000000000000000000000000000000000000000000000000 1 Preparations for Online Module Change ooocoooooooooooooooo0000000000000000000000000000000000000000000000000000 3 Disconnecting Connecting the External Device for Online Module Change eeeeseeeeeeeeeeccccccecccceee 7 3 Online Module Change Procedure ocooocoooooooooooooo00000000000000000000000000000000000000000000000000000000000 4 When parameter setting is performed using GX Configurator ST during online module changess 7 4 8 1to8 45 8 1 8 2 8 2 1 8 2 2 A 8 Command List 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Z 1 Common Commands sessecssccscococooooooooo0000000000000000000000000000000000000000000000000000000000000000000 J 3 Operating status read request Command No 8100H 0100H ssceeeeceeccccccccccccccccccccocseeceee 8 3 Error code read request Command No 8101H 0101H 0cooooooooooooo0000000000000000000000000000000 J 5 8 3 Initial Data Write Command esseesseseseesseccsooccooccsoocseccsooccooccsocsscocsooccooccooessoocsooscoossoooss 3 7 8 3 1 Initial data batch write request Command No 8106H sseseseesesescccesesccccsc
26. OFF 0 to ON 1 to enable the settings of the command parameters 1 When writing command parameters set Bw n 1 Convert setting request to OFF 0 to stop the conversion In the ON 1 status the command parameters cannot be written c For the ON 1 OFF 0 timing refer to the following L Section 3 3 1 2 Br n 1 Convert setting completed flag 3 Bw n 2 Latch detection clear request a To turn off Brn 2 Latch detection flag set this request bit from OFF 0 to ON 1 b After confirming that Br n 2 Latch detection flag has turned to OFF 0 set this request bit back to OFF 0 again OFF 0 No latch detection clear request Default ON 1 Latch detection clear requested ata Performed by ST1SS1 gt Performed by master station pro Br n 2 Latch detection flag 7 Bw n 2 Latch detection E gt clear request Figure 3 16 Bw n 2 Latch detection clear request 4 Bw n 3 Comparator clear request a To turn off Br n 3 Coincidence detection flag set this request bit from OFF 0 to ON 1 3 16 3 3 I O Data 3 3 3 Bit output area 3 SPECIFICATIONS MELSEE ST b After confirming that Br n 3_ Coincidence detected flag has turned to OFF 0 set this request bit back to OFF 0 again OFF 0 No coincidence detection clear request Default ON 1 Coincidence detection clear reque
27. ST1SS1 3 When installing the ST1SS1 together with another intelligent function module in the same power supply section mount the ST1SS1 in the leftmost position of the power supply section For other precautions on the system configuration refer to the following L7 MELSEC ST System User s Manual 3 4 Precautions for System Configuration 2 3 2 3 Precautions for System Configuration 3 SPECIFICATIONS This chapter provides the specifications of the ST1SS1 gt For the general specifications of the ST1SS1 refer to the following 3 lt gt MELSEC ST System User s Manual 3 1 Performance Specifications z 5 This section indicates the performance specifications of the ST1SS1 ze 1 Performance specifications list Table 3 1 Performance specifications list Item Specifications 3 Number of input points 1 channel module 2 Output data format Binary of up to 31 bits 0 to 2147483647 Applicable absolute encoder Absolute encoder with SSI Synchronous Serial Interface T Power voltage available for SSI i g 20 4V to 26 4V DC Supplied through AUX terminal of power distribution module a absolute encoder Counting range 31 bit binary 0 to 2147483647 Resolution 2 to 31 bits Can be set in 1 bit units 125kHz mi 250kHz o arZz SSI baud rate 500kHz 22 1MHz Soe E Q m 2MHz ano Transmission path EIA st
28. The maximum cable lengths shown in the above table have been ensured for the absolute encoder CEV 58 M SSI manufactured by TR ELECTRONIC GmbH The 2 shown values are not guaranteed because they may change depending on the s connected absolute encoder Treat them as reference values Z O 4 POINT If the maximum cable length is exceeded one of the following will occur A 1 The encoder value is fixed to an erroneous value and no error is detected 2 The encoder value fluctuates erratically and an error is detected 3 The encoder value cannot be read and an error is detected 1 Using the parity check or CRC check will raise the error detection rate wW x O L W a n w ao a WW Q O x o z O amp ind lu a 0 SETUP AND GX Configurator ST PROGRAMMING ONLINE MODULE CHANGE COMMANDS 4 4 Wiring 4 10 4 4 3 Cable connected between the ST1SS1 and absolute encoder D GX Configurator ST MELSEG ST CHAPTERS GX Configurator ST This chapter explains the functions of GX Configurator ST used with the ST1SS1 For details of GX Configurator ST refer to the following L gt GX Configurator ST Operating Manual 5 1 GX Configurator ST Functions Table 5 1 lists the GX Configurator ST functions used with the ST1SS1 Table 5 1 List of GX Configurator ST Functions Used with ST1SS1 oe Reference Item Description section 1 The following parameter items can
29. area Table 8 29 Values set to Cw Command execution area Command execution Setting value area For execution of command No 9505H Set a slice position No of the target ST1SS1 Hexadecimal Cw For execution of command No 1505H Set a start slice No of the target ST1SS1 Hexadecimal Cw 1 Set a command No to be executed 9505H 1505H Hexadecimal 15 Fixed to 0000H Any other value is treated as 0000H Cw 3 2 Values stored in Cr Command result area The command execution result data vary depending on the result data normal completion or failure in Cr 0 15 8 Command execution result a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 30 Values stored in Cr Command result area When completed normally Command result area Result details For execution of command No 9505H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 aad b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No a 00H Normal completion sie For execution of command No 1505 The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 b0 Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No a 00H N
30. baud rate cable length and SSI code length If the error persists after the check hardware failure of the SSI System absolute encoder or the ST1SS1 5201H End error The data signal line is not low after SSI transmission or the influence of noise is a ee probable cause Replace the SSI absolute encoder or consult your local INDEX Mitsubishi representative explaining a detailed description of the problem Check the cable wiring and shielding System A The parity bit is different between the ST1SS1 and A 5301H Parity error Set an SSI parity setting value error the SSI absolute encoder suitable for the SSI absolute encoder to be used Refer to the following and take Error detected corrective actions n to by the head MELSEC ST CC Link module Head Module User s Manual 9 7 2 Error code list 4 POINT 1 Clear an error by either of the following Error clear request command No 8104H 0104H Error reset request RYnA For details of the above refer to the following C MELSEC ST CC Link Head Module User s Manual 8 2 5 Error clear request Command No 8104H 0104H C MELSEC ST CC Link Head Module User s Manual 3 4 Remote I O Remote Registers 2 When multiple errors in the same level occurred a code of the error first detected by the ST1SS1 is stored 9 1 Error Code List 9 2 Q TROUBLESHOOTING MELSEC ST 9 2 Troubleshooting 9 2 1 When the RUN LED is flas
31. clear request Figure 3 12 Coincidence detection function example 3 5 1 When Wr n _ Encoder value Low and _Wr n 1_ Encoder value High match id the Coincidence detection value regardless of whether they are incremented or 5 O decremented _Br n 3_ Coincidence detection flag turns ON 1 2 When Comparator clear request is set to ON 1 Coincidence detection flag is set to OFF 0 6 The coincidence detection function compares the present values of 9 Wr n_ Encoder value Low and Wr n 1 Encoder value High with the F previous ones 9 When the encoder value changes from the upper limit to the lower limit or from the a lower limit to the upper limit the Coincidence detection flag turns ON 1 even if the direction of value change is opposite to the setting Example Coincidence detection flag setting Upward Coincidence detection value 7 1000 SSI code length setting 16 bits O Wr n Encoder value Low f T j T i a Wr n 1 Encoder value High 2 i 1 i 0 109595 0553 5 1 1 1 1 1 1 oR ooo Br n 3 Coincidence detection flag i Figure 3 13 Coincidence detection function 1 When the value is changed from the lower limit 0 to the upper limit 65535 in P the decrement setting the ST1SS1 identifies it as an increase from 0 to 65535 Z and turns ON 1 the Coincidence detection flag z O 3 2 Functions 3 13 3 2 5 Coincidence detection function 3 SPECIFICATIONS 3 3 I O Data The ST1SS1 has the areas fo
32. depending on the external device connected to each slice module Check the current consumption of external devices connected to slice modules and calculate the total value lt gt MELSEC ST System User s Manual 2 The number of available points reduces by two points for each additional power distribution module 6 4 6 2 System Configuration Example 6 PROGRAMMING 6 3 Settings and Communication Data id After determining the system configuration set parameters of the programmable controller E a CPU of the master station ui 6 1 Setting PLC parameters I O assignment Connect GX Developer to the programmable controller CPU of the master station and set PLC parameters as shown below 5 Q parameter setting o PLC name PLC system PLC file PLC RAS Device Program Boot file SFC 120 assignment Ei as 1 0 Assignment LS fine ee ane Eo feat E o a Switch setting QJEIBTTIN 32points 0000 z fees I ft fos 0020 Detailed setting a Zz D z s fara Pej ot wf fa Sti O S a Assigning the 1 0 address is not necessary as the CPU does it automatically W Leaving this setting blank will not cause an error to occur Base setting Base mode y Base model name Power model name Extension ca
33. detection flag Wr n Encoder value Low and Wr n 1_ Encoder value High and 2 Select a desired option from No latch Rising edge Falling edge and Rising falling edge 3 To clear Latch detection flag set Latch detection clear request to ON 1 4 While Br n 2_ Latch detection flag is OFF 0 Wr n Low and Wr n 1 latest values Encoder value Encoder value High are constantly updated to the 5 The figure below shows the relation between the SSI absolute encoder output the digital input signal and Wr n Encoder value Low and Encoder value High in the latch counter function Latch mode setting Rising edge SSI absolute encoder output Digital input signal request Br n 2 Latch detection flag Bw n 2 Latch detection clear Wr n Encoder value Low Wr n 1 Encoder value High 150 100 50 Figure 3 9 Latch counter function 1 Latch detection flag turns ON 1 at the rise of the digital input signal and Wr n Encoder value Low and Wr n 1 are latched 2 When _Br n 2 3 While _Br n 2 and _Wr n 1 4 Even if the digital input signal rises with ON 1 LWr n not updated Encoder value Low and Wr n 1 Encoder value H
34. edge Falling edge and Rising falling edge Latch counter function 3 To clear Br n 2 Latch detection flag set Bw n 2 Latch detection clear Section 3 2 4 request to ON 1 4 The default is No latch Setting method e GX Configurator ST Section 5 3 Parameter Setting e Dedicated instruction from the master station RDMSG instruction L gt Section 8 5 3 Latch mode setting write Command No A503H 2503H Detection of rotational direction 1 The ST1SS1 has two LEDs that indicate rotational directions of the SSI absolute encoder so that its incrementing or decrementing count can be confirmed with the corresponding LED 3 6 3 2 Functions 3 2 1 Function list 3 SPECIFICATIONS Table 3 2 ST1SS1 Function List Continued MELSEC ST mee Reference Item Description f section 1 Incrementing or decrementing count relative to the rotational direction of the SSI absolute encoder can be reversed 2 Select either No reversal or Reversal d O Wr n od DSO D O D oq O p D 9 Wr n 1 ode SSI direction reversal Increment Increment ON OFF No reversal ae OFF on eversa OFF 3 The default is No reversal Setting method e GX Configurator ST lt 3 Section 5 3 Parameter Setting e Dedicated instruction from the master station RDMSG instruction L gt Section 8 3 1 Initial data batch write request Command No 8106H
35. i S g pee ee N 1 pea eeoa sees CAR eve pace aaa a Use prohibited 5 o Output Y Remote output RY Remote output RY Remote output RY 1 E t li 1 pi tt 1 Y1000 i RYO00 pi ra SO Station Station pi E it 29 S Not FI No 1 a pi Li 4 Y101F i I RY1F i i ll hy sf 1 i i rot tt 1 1 1020 i S RY20 ud f vt A 1 Station iN Station l 5 Station i RY59 IYIO3F No 2 gt No 2 Bap m No 2 A ry 2 ae i tia E T i Error reset request RY5A a 1 7 1 7 1 i p lt x Station Station Station Z 3S ioe No 3 No 3 RYSB a Y105F i RY5F it it as w o E E a i Use prohibited f a 1 Li pi i 1 2 M i l i n RY5F NO EAN EEANN Pee Se ee See si Tis gt Se ok Cale fe MS aaa a eat neat i ML 2 a so nee ogee a Figure 6 6 Bw Bit output area Remote output RY 4 ti a Table 6 4 Bw Bit output area assignment sheet if o Master station Remote station MELSEC ST system A a 2 LOF na0 Use prohibited Y1041 Bw 01 Convert setting request 2 ST1SS1 LBw 01 bk Y1042 Latch detection clear request B w02 q oO Y1043 Bw 03 Comparator clear request i Use prohibi 6 x 0 Use prohibi 6 Y105A RY5A 7 Bw 1A Error reset request 4 Y105B Bw 1B Use prohibited 9 to lt x fd Use prohibi 2 fd a 1 Error reset request RYnA is a remote output area of the head module For details of Error reset request RYnA refer to the
36. input that is used for the latch counter function ON Digital input ON OFF Digital input OFF 5 DILED Wires are connected between the ST1SS1 and the terminal block of the base module for the ST1SS1 ST1PSD ST1PDD For base modules applicable to the ST1PSD ST1PDD refer to the following 6 Terminal block K MELSEC ST System User s Manual Applicable base modules for ST1SS1 Spring Clamp Type ST1B S4IR2 Screw Clamp Type ST1B E4IR2 Slice module fixing hooks Used for mounting dismounting the ST1SS1 to from the base module 7 at both ends While pressing the hooks at both ends mount dismount the ST1SS1 4 3 4 3 Part Names 4 SETUP AND PROCEDURES BEFORE OPERATION MELSEG ST Table 4 1 Parts and descriptions No Item Description Prevents the module from being mounted incorrectly The coding element consists of two pieces and its shape varies depending on the E model name When the ST1SS1 is mounted on the base module and then dismounted one piece 2 of the coding element remains on the base module and the other remains on the 8 Coding element ST1SS1 The ST1SS1 can be mounted onto the base module only when the two pieces of 5 the coding elements are matched z Applicable coding element ze ST1A CKY 18 26 POINT In order to ensure safety make sure to attach the coding element to the base A module and ST1SS1 T Table 4 2 Terminal number assignment z Termi
37. nA A EIPOINT For commands with the number 8000H and greater determine the head module and slice modules with their slice position numbers And for commands with the number 7FFFH and lower determine them with their start slice numbers ONLINE MODULE CHANGE COMMANDS 3 4 Memory and Parameters 3 19 3 4 2 Parameters 4 SETUP AND PROCEDURES BEFORE OPERATION MELSEG ST CHAPTER4 SETUP AND PROCEDURES BEFORE OPERATION 4 1 Handling Precautions 1 Do not drop the module or give it hard impact since its case is made of resin Doing so can damage the module 2 Do not disassemble or modify the modules Doing so could cause failure malfunction injury or fire 3 Be careful not to let foreign particles such as swarf or wire chips enter the module They may cause a fire mechanical failure or malfunction 4 1 4 1 Handling Precautions 4 SETUP AND PROCEDURES BEFORE OPERATION MELSEG ST 4 2 Setup and Procedure before Operation z a C Start A W Module mounting Mount the ST1SS1 onto the base module FA Pa Wiring 3 Wire external devices to the ST1SS1 BZ lt gt Section 4 4 Wiring Aa When using GX Configurator ST When not using GX Configurator ST o rz Command parameter setting 2 Set the command parameters using GX Configurator ST 5 Section 5 3 Parameter Setting W Command parameter setting programming g debugging 4 Programmi
38. name MELSECT ST CC Link Head Module ST1H BT 2 2 2 Applicable base module z O T o Le Z SYSTEM The base modules applicable to the ST1SS1 are indicated below Table 2 2 Applicable base modules Type Model name Spring Clamp Type ST1B S4IR2 Screw Clamp Type ST1B E4IR2 2 2 3 Applicable coding element SPECIFICATIONS PROCEDURES BEFORE SETUP AND OPERATION The coding element applicable to the ST1SS1 is indicated below The coding element is fitted before shipment It is also available separately in case it is lost Table 2 3 Applicable coding element Product name Model name ST1SS1 coding element ST1A CKY 18 2 2 4 Applicable software package GX Configurator ST The software package applicable to the ST1SS1 is indicated below Table 2 4 Applicable software package Product name Model name Version GX Configurator ST SW1D5C STPB E 1 06G or later 1 GX Configurator ST is optional PROGRAMMING ONLINE MODULE CHANGE COMMANDS 2 2 Applicable System 2 2 2 2 1 Applicable head module 2 SYSTEM CONFIGURATION MELSEG ST 2 3 Precautions for System Configuration When using the ST1SS1 in the MELSEC ST system pay attention to the following 1 Mount a power distribution module on the immediate left of the ST1SS1 For details refer to the following L gt Section 4 4 2 External wiring 2 When using multiple ST1SS1s mount one power distribution module for each
39. o gt 2 a Program for initial data write command in this section m r Program for setting command parameters WwW i A re w C7 2 b Program for setting command parameters in this section z ti a n orz FE sgg 7 z Program for reading error module information Dg a 2 d Program for reading error module information in this section y Program for reading error codes No 2 e Program for reading error codes in this section 2 S x lt Figure 6 8 Program example 0 zZ lt x fd 0 fe ir a WwW al a S W zS za C2 ae oo n a CA lt Q 5 6 4 Program Examples 6 9 6 PROGRAMMING MELSEE ST 1 Device assignments in program examples The devices used common to the program examples 2 in this section and later are shown below For devices used for each program example refer to the following gt 2 Program examples in this section a Special relay SM and special register SD Table 6 6 Special relay SM and special register SD Device Application Device Application Diagnostic error SDO SMO Diagnostic error b Devices used by the QJ61BT11N master station Table 6 7 Devices used by the QJ61BT11N master station Device Application Device Application X00 Module error X01 Own data link status XOF Module READY SBO to SB1FF Link special relay SB of the QJ61BT11N pies Link special register SW of the QJ61BT
40. of the EMC and Low Voltage Directives when incorporating the Mitsubishi MELSEC system EMC and Low Voltage Directives compliant into other machinery or equipment refer to Chapter 11 EMC AND LOW VOLTAGE DIRECTIVES of the MELSEC ST System User s Manual The CE mark indicating compliance with the EMC and Low Voltage Directives is printed on the rating plate of the MELSEC ST system 2 For this product No additional measures are necessary for the compliance of this product with the EMC and Low Voltage Directives A 10 How to Read Manual This manual explains each area for the CC Link remote I O remote registers and message transmission using Br Wr Cr Bw Wv and Cw Master station Remote device station MELSEC ST system Head module Eo hccececcs Terminating resistor Terminating resistor CC Link Programmable Slice Slice controller CPU Master module Head module module module Remote input RX Br_ Bit input area TUTQQQQUEQOQUONQQUEONOUUAONOUUAOOOUUANOUUUANO UI NAUTII I Remote register RWr Wr Word input area Remote input RX Remote register RWr Remote output RY Bw Bit output area Output status Device TUAUUUTUAQUAONUONOQU ANON IU AUG UOO OOO TOODUD OTT La Cw gommand a Remote register Remote register RWw Ww Word output area Remote output Message transmission RY
41. other value is treated as 0000H 3 8 x 0 z Fs oO O W 3 S Jsa 65 8 z Q 8 5 ST1SS1 Parameter Setting Write Commands 8 30 8 5 3 Latch mode setting write Command No A503H 2503H 8 COMMANDS Command result MELSEC ST 2 Values stored in Cr Command result area The command execution result data vary depending on the result data normal completion or failure in Cr 0 15 8 Command execution result a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 39 Values stored in Cr Command result area When completed normally Result details area For execution of command No A503H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 b0 Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No S0 b 00H Normal completion r For execution of command No 2503H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No a 00H Normal completion Cr 1 The executed command No A503H 2503x is stored Hexadecimal Cr 2 0000H is stored Cr 3 8 31 8 5 ST1SS1 Parameter Setting Write Commands 8 5 3 Latch mode setting write Command No A503H 2
42. stored in the high and low bytes respectively as shown below b15 a b8 b7 se bO A 4 Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No A Other than 00 Failure C Section 8 7 Values Stored into Command Execution Result Cr The executed command No 9505H 1505 is stored Hexadecimal Cr 2 Cw 2_ Argument 1 at command execution is stored Cr 3 Cw 3_ Argument 2 at command execution is stored 1 When OFH is stored in Cr 0 15 8 Command execution result OOH slice position No or start slice No of the head module is stored in Cr 0 7 0 Slice position No or start slice No 8 4 ST1SS1 Parameter Setting Read Commands 8 24 8 4 6 Coincidence detection value read Command No 9505H 1505H OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS PROCEDURES BEFORE SETUP AND OPERATION GX Configurator ST PROGRAMMING ONLINE MODULE CHANGE e e COMMANDS 8 COMMANDS 8 5 ST1SS1 Parameter Setting Write Commands 8 5 1 SSI trailing bits setting write Command No A501H 2501H GW 4 words 8 bytes Cr 4 words 8 bytes This command writes the SSI trailing bits setting to RAM of the ST1SS1 and can be executed only in normal mode and when Bw n 1 Convert setting request is OFF 0 1 Values set to Cw Command execution area Table 8 32 Values set to Cw
43. to set command parameters a GX Configurator ST in GX Configurator ST allows easy on screen setup reducing programming steps o on the master station 5 If the set values should be used every time when the MELSEC ST system starts T nO up they must be written to the ROM Writing the set values to the RAM is used only for temporary testing oO b Command 1 Using the dedicated instruction RDMSG of the master station to execute a command setting values can be written to RAM of the ST1SS1 2 Zz O lt O m w a oa 2 Then using command Parameter setting write to ROM command No B501H 3501H the setting value stored in RAM can be written to the ROM 3 Writing command parameters to ROM in advance can reduce programming steps in the sequence program 2 Command parameter list Command parameters and corresponding command numbers are listed below The following command parameters can be set in GX Configurator ST Table 3 5 Command parameter list Setting item Command PROCEDURES BEFORE SETUP AND OPERATION f SSI baud rate setting g SSI direction reversal setting E SSI code settin 8106H 2 2 8107H 0107H 8 SSI code length setting SSI parity setting SSI trailing bits setting A501H 2501H SSI monoflop time setting A502H 2502H Latch mode setting A503H 2503H Coincidence detection flag setting A504H 2504H Coincidence detection value setting A505H 2505H Z S
44. when completed normally S Cr 1 The executed command No 81064 is stored Hexadecimal Cr2 The command parameter setting status after writing is stored for each slice module Cr 3 b15b14b13b12b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 Sard an 46 asf 44 43 2 41 40 39 asl 37 36 95 34 29 32 monn PROGRAMMING QIQ a lo Q a Cr 5 7 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 0 Parameter not set 1 Parameter set ONLINE MODULE CHANGE oe COMMANDS 8 3 Initial Data Write Command 8 8 8 3 1 Initial data batch write request Command No 8106h 8 COMMANDS b When failed Cr 0 is other than 0000H Table 8 10 Values stored in Cr Command result area When failed Command result area Result details cro An error code is stored Hexadecimal Cr The executed command No 8106H is stored Hexadecimal Cr2 The command parameter setting status after writing is stored for each slice module Cr 3 b15b14b13b12b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 bO cA 15 14 13 12 11 10 ofsfzjefs 4 3 2 1 0 Ean ee a2 sean cis 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 0 Parameter not set 1 Parameter set 1 For details of error codes refer to the following lt 3 MELSEC ST CC Link Head Module User s Manu
45. 00 X105A X1040 HO KW nov K1 D1100 No of commands to be executed MOVP H2 D1101 Slice position No 2 a s K _ HOA501 D1102 SSI trailing bits set value write Command No A501H z O HOvP H8 D1103 SSI trailing bits setting 8bit a N s ovr HO D1104 Fixed to 0000H G RDMSG UO D1000 D1100 D1300 M2020 Executes dedicated instruction id RDMSG 2 M4001 X105A X1040 o KS nove 1 D1100 No of commands to be executed o atz Ze 40E WOVP H2 D1101 Slice position No 2 aoe micas ie O HOASO2 D1102 SSI monoflop time set value write Command No A502H MOVP H3 D1103 SSI monoflop time setting 96 u s 7 oe o D1104 Fixed to 0000H 5 3 G RDMSG UO D1000 D1100 D1300 M2020 Executes dedicated instruction 5 RDMSG a M4002 X105A X1040 a A a E a s L S D1100 No of commands to be executed 6 Pf nove tr D1101 Slice position No 2 WPF ovP s O E Latch mode set value write 2 Command No A503H 2 x MovP HI D1103 Latch mode setting Rising edge amp 5 s L 0 D1104 Fixed to 0000H G RDMSG UO D1000 D1100 D1300 M2020 Executes dedicated instruction RDMSG W Figure 6 11 Program for setting command parameters when one command is executed at a time O Ja C2 ae oo 9 a CZ lt z Q 8 6 4 Program Examples 6 17 6 PROGRAMMING MELSEC ST M4003 X105A X1040 7 1 HF 1 move KI D1100 J No of commands to be executed MovP H2 D1101 Slice position No 2 MOVP HOASO4 D1102 Coincidence detection flag set
46. 100H 0100H Hexadecimal Cw 2 x Fixed to 0000H Any other value is treated as 0000H Cw 3 2 Values stored in Cr Command result area The command execution result data vary depending on the result data normal completion or failure in Cr 0 15 8 Command execution result a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 3 Values stored in Cr Command result area When completed normally Command result area Result details For execution of command No 8100H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 ia b0 Cr 0 15 8 Command execution result Slice position No a 00H Normal completion Cr 0 For execution of command No 0100H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Start slice No a 00H Normal completion Cr The executed command No 81001 01004 is stored Hexadecimal 8 3 8 2 Common Commands 8 2 1 Operating status read request Command No 8100H 0100H 8 COMMANDS MELSEE ST Table 8 3 Values stored in Cr Command result area When completed normally Continued Command result area Result details The operating status of the ST1SS1 is stored ollollol Cr 2 Fix
47. 11N c Devices used by the user Table 6 8 Devices for checking Other station data link status Device Application Device Application M1000 Other station data link status station No 1 M1002 Data link status of the ST1H BT station No 3 M1001 Other station data link status station No 2 6 10 6 4 Program Examples 6 PROGRAMMING 2 Program examples a Program for initial data write command a Execute Initial data individual write request command No 8107H with the i i fe dedicated instruction RDMSG of the master station to set command parameters 1 Setting details of command parameters In this program the following parameters are set Fd S Table 6 9 Setting details of command parameters 7 Item Setting Reference section 3 We SSI baud rate setting 125kHz oZ SSI direction reversal setting No reversal ST1SS1 SSI code setting Gray code Section 8 3 2 SSI code length setting 25 bits SSI parity setting None o rz 9 2 Device assignments in the program example lt im Table 6 10 Device assignments in the program example g n Device Application Device Application M2000 Completion device D1000 to D1004 Control data uh M2001 Completion status indicator device D1500 to D1506 Send data execution data of the command amp m M3000 Initial data individual write flag D1700 to D1704 Receive data result data of the command D N orz aa BRO 7 5 g 5 S x l
48. 24G AUX ES 9 23 24V AUX m Figure 4 5 When the ST1PDD is placed on the left 1 Be sure to use a shielded twisted pair cable Also use the shielded wire as short as possible w al 2 Ground the shield through the cable clamp or terminal block A re re f0 Depending on noise conditions however it is recommended to ground the shield on the external Ww device side 22 a Amn OO n a CZ lt 8 O 4 4 Wiring 4 8 4 4 2 External wiring 4 SETUP AND PROCEDURES BEFORE OPERATION MELSEG ST 00 20 olon oD0DTv 40 o olon D gt pfo nfo nfo n Oo O O DFOuR Ol OO Input switch Input switch d for the latch counter function T for the latch counter function T When using a cable clamp When using a terminal block Figure 4 6 When using a cable clamp or a terminal block 4 9 4 4 Wiring 4 4 2 External wiring 4 SETUP AND PROCEDURES BEFORE OPERATION MELSEG ST 4 4 3 Cable connected between the ST1SS1 and absolute encoder Connect the ST1SS1 to the absolute encoder with a shielded twisted pair cable whose E cross section is 0 2mm2 or more AWG24 or thicker gt However always confirm the specifications of the absolute encoder Q 1 Relation between the baud rate and the maximum cable length z reference values Z Table 4 4 Relation between the baud rate and the maximum cable length fa 3 Baud rate Taz o oo z 2 58 Max cable length 320m 20m 8m
49. 3h 8 COMMANDS MELSEE ST 8 4 5 Coincidence detection flag setting read Command No 9504H 1504H OW 4 words 8 bytes Cr 4 words 8 bytes This command reads the coincidence detection setting from RAM of the ST1SS1 1 Values set to Cw Command execution area Table 8 26 Values set to Cw Command execution area Command execution Setting value area For execution of command No 9504H Set a slice position No of the target ST1SS1 Hexadecimal fw For execution of command No 15044 Set a start slice No of the target ST1SS1 Hexadecimal Cw 1 Set a command No to be executed 9504H 1504H Hexadecimal 1 Fixed to 0000H Any other value is treated as 0000H Cw 3 2 Values stored in Cr Command result area The command execution result data vary depending on the result data normal completion or failure in Cr 0 15 8 Command execution result a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 27 Values stored in Cr Command result area When completed normally Command result area Result details For execution of command No 95044 The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 n b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No S 00H Normal completion
50. 4V Terminal that supplies power to the SSI absolute encoder PROGRAMMING bas 2 Connection Connect the following part between the power distribution module and the external device SSI absolute encoder Signal name 24V Terminal that supplies power to the SSI absolute encoder Lu al fa O W Z rA 0 COMMANDS 7 2 Preparations for Online Module Change 7 3 ONLINE MODULE CHANGE MELSEG ST 7 4 Online Module Change Procedure This section explains how to set command parameters during online module change when they could not be saved in the head module For other online module change procedures refer to the following MELSEC ST CC Link Head Module User s Manual 4 6 Online Module Change Function 7 4 1 When parameter setting is performed using GX Configurator ST during online module change This section describes the parameter setting procedure performed using GX Configurator ST during online module change 4 POINT If a slice module different from the target one is selected by mistake restart the operation by any of the following 1 On the screen shown in c Click the button on screen c to terminate online module change 2 On the screen shown in d Do not change the slice module click the Next button and perform the operations g I and m to complete the online module change once 3 During operation g Mount the removed slice module aga
51. 503H 8 COMMANDS MELSEE ST b When failed Cr 0 15 8 Command execution result is other than OOH Table 8 40 Values stored in Cr Command result area When failed Ww Command result z Result details m area For execution of command No A503H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below 5 b15 b8 b7 b0 o Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No z wit Nz DS Other than OO Failure nn C gt Section 8 7 Values Stored into Command Execution Result fa For execution of command No 2503H The command execution result and start slice No in hexadecimal are stored in the high 2 x O and low bytes respectively as shown below E b15 b8 b7 bO O Command execution result Start slice No m n SS h Other than 00 Failure rf a Section 8 7 Values Stored into Command Execution Result 9 WW a Cr 1 The executed command No A503H 2503h is stored Hexadecimal P arZz 290 3 aaz Cr 2 Cw 2_ Argument 1 at command execution is stored P g i wg Cr 3 Cw 3 Argument 2 at command execution is stored GEO 1 When OFH is stored in Cr 0 15 8 Command execution result OOH slice position No or start slice No of the head module is stored in _Cr 0 7 0 Slice position No or start slice No i wn 5
52. 6 940 01 02 03 Phone 40 0 21 430 40 06 cts Fax 385 0 1 36 940 03 Fax 40 0 21 430 40 02 CBI Ltd SOUTH AFRICA ADLERA ER EUROPE B V SPAIN AutoCont CS s r o CZECH REPUBLIC Craft Con amp Engineering d 0 0 SERBIA private bag aos panisteranci Technologick 374 6 Bulevar Svetog Cara Konstantina 80 86 el Ouyang Carretera de Rubi 76 80 j H Phone 27 0 11 928 2000 E 08190 Sant Cugat del Vall s Barcel CZ 708 00 Ostrava Pustkovec SER 18106 Nis Fax 4 27 011 392 2354 Fhe Es fee i ona Phone 420 595 691 150 Phone 381 0 18 292 24 4 5 ax 27 0 Fax 34935891579 Fax i 595 691 199 az Fax 0 18 292 24 4 5 MITSUBISHI ELECTRIC EUROPE B V UK ee ZECH REPUBLI ears ii U aranh CZ 58001 Havl k v Brod SER 113000 Smederevo Phone 420 0 569 777 777 Phone 381 0 26 617 163 UK Hatfield Herts AL10 8XB k 4 Phone 44 0 1707 27 61 00 a 420 0562 777 718 Fax 381 0 26 617 163 Fax 44 0 1707 27 86 95 oe oe A DENMARK Paeon oy 5 1 0 SLOVAKIA MITSUBISHI ELECTRIC CORPORATION JAPAN Gye acoe Reckdlde Hines Balj Kilin es ied a F A Phone 45 0 46 75 76 66 Phone 421 0 43 5868210 Per OME t arum ese Fax 45 0 46 75 56 26 Fax 421 0 43 5868210 Tokyo 104 6212 abies Phone 81 3 622 160 60 Beijer Electronics Eesti OU ESTONIA CS MTrade Slovensko s r 0 SLOVAKIA eel LI EE11317 Tall SK92101 Pie allinn iestany A Grate Wane ree Inc USA Phone 372 0 6 5181 40 Phone 421 0 33 7742 760 Vern
53. 8 COMMANDS MELSEE ST 8 6 S1T1SS1 Control Commands 8 6 1 Parameter setting read from ROM Command No B500H 3500H W 4 words 8 bytes Cr 4 words 8 bytes This command reads parameters from ROM to RAM in the ST1SS1 and can be executed only in normal mode and when Bw n 1_ Convert setting request is OFF 0 1 Values set to Cw Command execution area Table 8 47 Values set to Cw Command execution area Command Setting value execution area For execution of command No B500H Set a slice position No of the target ST1SS1 Hexadecimal Se For execution of command No 3500H Set a start slice No of the target ST1SS1 Hexadecimal Cw Set a command No to be executed B500H 3500H Hexadecimal owe Fixed to OOOOH Any other value is treated as OOOOH Cw 3 2 Values stored in Cr Command result area The command execution result data vary depending on the result data normal completion or failure in Cr 0 15 8 Command execution result a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 48 Values stored in Cr Command result area When completed normally Command result Result details area For execution of command No B500 The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as sho
54. 8101 HO HO D1300 D1301 H2 1 Processing for command failure command execution result i M2041 SMO jo0e Sees sees eee bverce ees eedee EA gt HO SD0 1 Processing for dedicated instruction failure 4 M6001 Ho D1303 HO MOVP D1303 SET RST M5002 X105A eee eee ee ete ee eee Figure 6 14 Program for reading an error code 6 24 6 4 Program Examples D1001 D1002 D1003 D1004 i 100 i 101 D1102 oO 103 i 104 M2040 J D1000 HO H Processing for normal command completion completion status z D1301 H2 a Processing for normal command completion command execution result D1301 H2 H D1000 HO HH SET M6001 D4001 M5002 M5002 J Clears Completion status 7 Target station No 3 J Send data size J Receivable data size Clears receive data size J No of commands to be executed Slice position No 2 J Error code read request command No 8101H Jj Fixed to 0000H J Fixed to 0000H J Executes dedicated instruction RDMSG J Error code storage enabled ON J Error code reading J Error handling flag ON J Error code storage enabled OFF J Error handling flag OFF 6 PROGRAMMING MELSEE ST f Program for resetting errors Execute Error clear request command No 8104H 0104H with the dedicated instruction RDMSG of the master station to reset errors E Error clear request is a command of the head module i For details of the c
55. 8107H 0107H For settings of intelligent function modules other than the ST1SS1 refer to the following lt gt gt Intelligent Function Module User s Manual Initial data individual write request Command No 8107H 0107H 2 Values stored in Cr Command result area The command execution result data vary depending on the data normal completion or failure in _Cr 0 a When completed normally Cr 0 is 0000H Table 8 12 Values stored in Cr Command result area When completed normally Command result area Result details Cro Error code 0000H when completed normally Cr1 The executed command No 8107H 0107h is stored Hexadecimal Cr2 The number of command parameter settings of the intelligent function module is stored For execution of command No 81074 The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 3 15 8 Command execution result Cr 3 7 0 Slice position No i 00H Normal completion For execution of command No 0107H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below Cr 3 b15 cad b8 b7 iei b0 Cr 3 15 8 Command execution result Cr 3 7 0 Start slice No 00H Normal completion 8 11 8 3 Initial Data Write Command 8 3 2 Initial data individual write request
56. 83647 bits 5 3 Parameter Setting 5 4 SYSTEM PROCEDURES BEFORE SETUP AND OPERATION OVERVIEW CONFIGURATION SPECIFICATIONS ol ONLINE MODULE CHANGE a fol 2 5 d 2 a O x lt O PROGRAMMING COMMANDS D GX Configurator ST MELSEC ST 5 Parameter writing 1 In Input Output Monitor of GX Configurator ST check that Convert setting request is OFF 0 gt Section 5 4 Input Output Monitor 2 Select parameter items to be written to the ST1SS1 by checking the corresponding Select check boxes 3 Set values in the Setting Value fields 4 Select the target memory RAM or ROM from the pull down menu of Target Memory 5 Click the Download button Es POINT Before writing parameters make sure that Bw n 1 Convert setting request is OFF 0 If itis ON 1 parameters cannot be written 5 3 Parameter Setting 5 GX Configurator ST MELSEC ST 5 4 Input Output Monitor This section explains how to monitor the I O data of the ST1SS1 1 Mode changing Click Mode Diagnosis 2 Input Output Monitor screen display 1 Select ST1SS1 on the System Monitor screen 2 Click the Input Output Monitor button Monitoring starts as soon as the Input Output Monitor screen is displayed 3 Display setting screen E Input Output Monitor No 2 Emere eget thon as Ol GX Configurator ST Fig
57. 861120 info mitsubishi automation com www mitsubishi automation com
58. A504H 2504h 8 COMMANDS MELSEE ST 8 5 5 Coincidence detection value write Command No A505H 2505H z om 4 words 8 bytes O Cr 4 words 8 bytes This command writes a coincidence detection value to RAM of the ST1SS1 and can be Fd executed only in normal mode and when Bw n 1 Convert setting request is OFF 0 Z0 1 Values set to Cw Command execution area og nO Table 8 44 Values set to Cw Command execution area Command Setting value execution area 2 For execution of command No A505H Set a slice position No of the target ST1SS1 Hexadecimal O SLA For execution of command No 2505H a Set a start slice No of the target ST1SS1 Hexadecimal Cw 1 Set a command No A505H 2505h to be executed Hexadecimal y re Set the low word b0 to b15 of a coincidence detection value in Cw 2 Set the high word b16 to b31 of a coincidence detection value in Cw 3 K g Ss Z009 Example When the coincidence detection value is set to 10000000 989680H a T lt Tga nao Cw 3 0 0 9 8 9 6 8 O H Set the high Set the low word in Cw 3 word in Cw 2 8 x O S Fs 8 O W a S z 0KS e e COMMANDS 8 5 ST1SS1 Parameter Setting Write Commands 8 36 8 5 5 Coincidence detection value write Command No A505H 2505H 8 COMM
59. ANDS Command result MELSEC ST 2 Values stored in Cr Command result area The command execution result data vary depending on the result data normal completion or failure in Cr 0 15 8 Command execution result a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 45 Values stored in Cr Command result area When completed normally Result details area For execution of command No A505H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 b0 Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No S0 b 00H Normal completion r For execution of command No 2505H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No a 00H Normal completion Cr 1 The executed command No A505H 2505x is stored Hexadecimal Cr 2 0000H is stored Cr 3 8 37 8 5 ST1SS1 Parameter Setting Write Commands 8 5 5 Coincidence detection value write Command No A505H 2505n 8 COMMANDS MELSEE ST b When failed Cr 0 15 8 Command execution result is other than OOH Table 8 46 Values store
60. Argument 1 at command execution is stored Cr 3 Cw 3 Argument 2 at command execution is stored 1 When OFH is stored in _Cr 0 15 8 Command execution result OOH slice position No or start slice No of the head module is stored in _Cr 0 7 0 Slice position No or start slice No 8 29 8 5 ST1SS1 Parameter Setting Write Commands 8 5 2 SSI monoflop time setting write Command No A502H 2502H 8 COMMANDS MELSEE ST 8 5 3 Latch mode setting write Command No A503H 2503H z om 4 words 8 bytes O Cr 4 words 8 bytes This command writes the latch mode setting to RAM of the ST1SS1 and can be executed Fd only in normal mode and when Bw n 1 Convert setting request is OFF 0 Z0 1 Values set to Cw Command execution area 02 nO Table 8 38 Values set to Cw Command execution area Command Setting value execution area 2 For execution of command No A503H Set a slice position No of the target ST1SS1 Hexadecimal O SLA For execution of command No 2503H a Set a start slice No of the target ST1SS1 Hexadecimal Cw 1 Set a command No to be executed A503H 2503H Hexadecimal w Set a latch mode setting value N oiojio H TE a sE Fixed to 0 Fou oua Latch mode setting one OH No latch 1H Rising edge 2H Falling edge 3H Rising Falling edge 7 Cw3 Fixed to OOOOH Any
61. Command No 8107H 0107H 8 COMMANDS MELSEE ST Table 8 12 Values stored in Cr Command result area When completed normally Command result area Result details F to Ea Detailed results for the intelligent function modules set in _Cr 2_ are stored in the same way as in _Cr 3_ One word each gt b When failed Cr 0 is other than O000H 3 Table 8 13 Values stored in Cr Command result area When failed Command result area Result details Cr 0 An error code is stored Hexadecimal Cr1 The executed command No 8107H 0107h is stored Hexadecimal 5 Cr2 The number of command parameter settings of the intelligent function module is stored F For execution of command No 8107H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO 2 Cr 3 15 8 Command execution result Cr 3 7 0 Slice position No 5 lt T 7 a Other than 00n Failure 2 37 Section 8 7 Values Stored into Command Execution Result or For execution of command No 0107 H fe The command execution result and start slice No in hexadecimal are stored in the high and 1 low bytes respectively as shown below o z b15 b8 b7 bO Fme Cr 3 15 8 Command execution result Cr 3 7 0 Start s
62. Cr Command result area When completed normally Command result area Result details For execution of command No 8101H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Slice position No L 00H Normal completion Cr 0 For execution of command No 0101H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Start slice No A 00H Normal completion Cr The executed command No 8101H 0101H is stored Hexadecimal 8 5 8 2 Common Commands 8 2 2 Error code read request Command No 8101H 0101H 8 COMMANDS MELSEE ST Table 8 6 Values stored in Cr Command result area When completed normally Continued Command result area Result details The error code of the error that is currently occurring in the ST1SS1 is stored Hexadecimal i Cr2 For details of error codes refer to the following i Section 9 1 Error Code List When no error is detected OOOOH is stored Cr3 OOOOH is stored Fd O b When failed Cr 0 15 8 Command execution result is other than OOH 5 Table 8 7 Values stored in Cr Command result area When failed fi o nz Comman
63. ELSEC ST CHAPTER8 COMMANDS This chapter explains the commands 8 1 Command List 1 About commands 2 3 A command is executed by transmitting a message to the MELSEC ST system with a dedicated instruction RDMSG of the master station For the command execution procedure refer to the following CL MELSEC ST CC Link Head Module User s Manual 8 1 Command execution method and procedures When two command numbers are assigned to one command Use command number 8000H or higher Commands with the number 7FFFH and smaller are used for importing existing sequence programs from the ST1H PB MELSEC ST PROFIBUS DP head module to the ST1H BT MELSEC ST CC Link head module Command list The list of commands that are executable in the ST1SS1 and conditions for respective command executions are shown on the following pages 8 1 Command List 8 COMMANDS Table 8 1 Command list Command Execution Reference Command Description a j Command type NG Command name condition section 8100H Operating status read Section Reads the operating status of the ST1SS1 0100H request 8 2 1 Common command 8101H Section Error code read request Reads an error code of the ST1SS1 0101H 8 2 2 8106H Initial data batch write Writes command parameters to multiple Bw n 1 Section request ST1SS1s all at once Executable 8 3 1 only whe
64. Failure to do so may damage the module 1 Online replacement of the power distribution module and or the base module is not available When replacing either of the modules shut off all phases of the external power supply Failure to do so may result in damage to all devices of the MELSEC ST system 2 The I O modules and the intelligent function modules can be replaced online Since online replacement procedures differ depending on the module type be sure to make replacement as instructed For details refer to the chapter of online module change in this manual Do not directly touch the module s conductive parts or electronic components Doing so may cause malfunctions or failure of the module Make sure to securely connect each cable connector Failure to do so may cause malfunctions due to poor contact DIN rail must be conductive make sure to ground it prior to use Failure to do so may cause electric shocks or malfunctions Undertightening can cause a short circuit or malfunction Overtightening can cause a short circuit due to damage to the screw WIRING PRECAUTIONS Completely turn off the external power supply when installing or placing wiring Not completely turning off all power could result in electric shock or damage to the product Place the SSI absolute encoder signal cable at least 100mm 3 94inch away from the main circuit cables and AC control lines Especially ensure a sufficient distance from high voltag
65. HOASO4 F Processing for normal command completion command execution resul if D1302 HOASOS Processing for normal command completion command execution resul if BKRSTP 44000 K5 J Command parameter write flags OFF Figure 6 11 Program for setting command parameters when one command is executed at a time continued 6 18 6 4 Program Examples 6 PROGRAMMING 42020 M2021 ac a ag A oO D1000 HO HE D1302 HOA501 Processing for command failure completion si Mee pats the ine aaa A D1302 HOA502 Processing for command failure completion si 2 entre a E D1302 H0A503 FE Processing for command failure completion si 9 a seuenecsmeen eau ames D1302 HOAS04 Processing for command failure completion si D1302 H0A505 Processing for command failure completion si D aandaa ame AE iesnu i dasane E eee 5 IKO D1301 H2 HE D1302 HOA5O1 HProcessing for command failure completion si o o z D1302 H0A502 F Processing for command failure command execution resu D1302 HOA503 J Processing for command failure command execution resul pe ee ee ee no D1302 HOAS04 F Processing for command failure command execution resul eee eee oe 5 D1302 HOAS05 F Processing for command failure command execution resul 5 E bone scuetocesecesceceeues g N BKRSTP M4000 K5 All command parameter write flags OFF M2020 M2021 SHO aaa all alto ia ala io ht K HO SD0 Process
66. I absolute encoder have trailing bits Use the latch count function Latch mode setting _ gt Section 8 5 3 Perform coincidence detection Coincidence detection flag setting 3 Section 8 5 4 Coincidence detection value Section 8 5 5 Convert setting request Read encoder values Figure 6 1 Programming procedure 6 1 Programming Procedure 6 PROGRAMMING MELSEE ST POINT 1 With one dedicated instruction RDMSG up to eight commands can be simultaneously executed However the following commands cannot be executed with any other 3 command at the same time Initial data batch write request command No 8106H Initial data individual write request command No 8107H 0107H a If executed simultaneously an error will occur 5 2 The sizes of Cw Command execution area and Cr Command result area ze vary depending on the command 25 3 In the following cases commands cannot be executed Therefore execute the command after following cases finished e The head module is executing the self diagnostic function e A slice module is being replaced online 3 e Another command is in execution The dedicated instruction RDMSG is 3 not completed G 4 For online module change advance preparation may be required depending o5 on the operating conditions For details refer to the following LCF Section 7 2 Prepara
67. MMANDS MELSEE ST b When failed Cr 0 15 8 Command execution result is other than 00H Table 8 43 Values stored in Cr Command result area When failed Command result Result details area For execution of command No A504H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 b0 Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No Ns A b Other than 00n Failure cro Section 8 7 Values Stored into Command Execution Result For execution of command No 2504H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Command execution result Cr 0 7 0 Start slice No X at lL Other than O0u Failure lt n Section 8 7 Values Stored into Command Execution Result Cr 1 The executed command No A504H 25041 is stored Hexadecimal Cr 2 L cw 2 Argument 1 at command execution is stored cr3 Cw 3 Argument 2 at command execution is stored 1 When OFH is stored in _Cr 0 15 8 Command execution result OOH slice position No or start slice No of the head module is stored in Slice position No or start slice No 8 35 8 5 ST1SS1 Parameter Setting Write Commands 8 5 4 Coincidence detection flag setting write Command No
68. No notation Hexadecimal Detail data No notation Hexadecimal Detail data No notation Decimal Detail data No notation Hexadecimal Detail data No notation Hexadecimal Detail data No notation Decimal Generic Terms and Abbreviations This manual uses the following generic terms and abbreviations to describe the ST1AD unless otherwise specified Generic Term Abbreviation Description ST1AD2 V Abbreviation for ST1AD2 V MELSEC ST analog digital converter module ST1AD2 I Abbreviation for ST1AD2 MELSEC ST analog digital converter module ST1AD Generic term for ST1AD2 V and ST1AD2 I Head module ST1H BT MELSEC ST CC Link head module Bus refreshing module Module that distributes external system power and auxiliary power to the head module and slice modules Power feeding module Module that distributes external auxiliary power to slice modules Power distribution module Generic term for bus refreshing module and power feeding module Base module Module that transfers data connects between the head module and slice modules and between slice modules and external devices Input module Module that handles input data in bit units Output module Module that handles output data in bit units Intelligent function module Module that handles input output data in word units I O module Input module and output module Slice module Module that ca
69. OFH is stored in _Cr 0 15 8 Command execution result OOH slice position No or start slice No of the head module is stored in _Cr 0 7 0 Slice position No or start slice No o POINT Check that the module normally operates with the set values written to RAM is before executing Parameter setting write to ROM command No B501H 35014 g Lu 5 a S act Amn 0KS e e COMMANDS 8 6 ST1SS1 Control Commands 8 42 8 6 2 Parameter setting write to ROM Command No B501H 3501h 8 COMMANDS 8 7 Command execution result Values Stored into Command Execution Result The following table indicates the values stored into Cr n 15 8 Command execution result in Command result area Table 8 53 Command execution results and actions Description 00H Normal completion Check Table 8 1 to see if the requested command No is applicable for the ST1SS1 or not The requested command is not 01H Check if the specified _Cw o Slice position No or start slice available for the specified module No matches Cw 0 Slice position No or start slice No of the ST1SS1 Check if the values set in Cw 2_ and subsequent area in the 02H The value is out of range command execution area are within the range available for the requested command No Check if the ST1SS1 is mounted in the position of the
70. ON Make sure to initialize the network system after changing parameters of the MELSEC ST system or the network system If unchanged data remain in the network system this may cause malfunctions Do not install the control wires or communication cables together with the main circuit or power wires Keep a distance of 100 mm 3 94 inch or more between them Not doing so could result in malfunctions due to noise INSTALLATION PRECAUTIONS N CAUTION Use the MELSEC ST system in the general environment specified in the MELSEC ST system users manual Using this MELSEC ST system in an environment outside the range of the general specifications could result in electric shock fire erroneous operation and damage to or deterioration of the product Mount the head module and base module s on the DIN rail securely one by one referring to the MELSEC ST system users manual and then fix them with stoppers Incorrect mounting may result in a fall of the module short circuits or malfunctions Secure the module with several stoppers when using it in an environment of frequent vibration Tighten the screws of the stoppers within the specified torque range Undertightening can cause a drop short circuit or malfunction Overtightening can cause a drop short circuit or malfunction due to damage to the screw or module Make sure to externally shut off all phases of the power supply for the whole system before mounting or removing a module
71. OOO OOS OOOO OOOOH OOO OOOO LOO OOOO SOO OO OO OOO OOOO OOOO O OOOO OOO OOOOOOOOOCCOOOS 3 14 3 3 1 Bit input Arca 0000000 ccccccccccc ccc cece sce 000000000000 0000000000 000000000000 0000000000000 0000000 s0eeseeee 3 14 A 7 3 3 2 3 3 3 3 4 Memory and Parameters COO COOOL OOOO OOO OOOO OOO OOOO OOO OOOO OOO OOOO LOO OOO OOOO OOOOH OOOOH OOOO HOO OOO OS OOOOH OOOO OOO OOCE 3 18 3 4 1 3 4 2 Word input ALON 00 00000 000000000000 000 000e 0000000000000 0000000 0000000000000 ese 0e SOS eSeTOeeseeseesseeeee 3 A 15 Bit output Arca e ececccccccocococoooooooooo00000000000000000000000000000000000000000000000000000000000000000000 3 16 NY Cee a0 a Aa Le 3 a 18 Parameters COOOOOOOOOOOOOOOOCC00000000000000000000000000000000000000000000CO0000000000000000000000000000000000 3 19 CHAPTER4 SETUP AND PROCEDURES BEFORE OPERATION 4 1to4 10 4 1 Handling Precautions cooooooooooooooooooo00000000000000000000000000000000000000000000000000000000000000000000000000 1 4 2 Setup and Procedure before Operation coooooooooooooooooooooooooooo0000000000000000000000000000000000000000000 2 4 3 Part Names cooocoooooooooooooo000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 3 4 3 1 Status confirmation by LEDs 0ooooooooooooooooooooo0000000000000000000000000000000000000000000000000000000000 A 5 4 4 Wiring eeeeeeeeseeeseseseseccceocoococooeosoooosooooscocsecececoccccccccocoocococossosossosssosscsssecese
72. RX43 RX44 Use prohibited i RX59 RX5A RX5C RXSF i Slice position aoa sue E No eae X1040 RX40 Br 00 Module READY X1041 RX41 Br 01 Convert setting completed flag 2 ST1SS1 X1042 RX42 Br 02 Latch detection flag X1043 RX43 Br 03 Coincidence detection flag X1044 RX44 Br 04 Use prohibited to to X1059 RX59 Br 19 Use prohibited X105A RX5A Br 1A Error status 1 X105B RX5B i Br 1B Remote station READY X105C Br 1C Use prohibited to Use prohibi 1 Error status RXnA and Remote station READY RXnB are remote input areas of the head module For details of remote input refer to the following CS MELSEC ST CC Link Head Module User s Manual 3 4 Remote I O Remote Registers 6 3 Settings and Communication Data 6 PROGRAMMING MELSEE ST b Bw Bit output area Remote output RY Bit output area w H RY40 7 i ST1SS1 i 3 H RY43 Li i RY44 Ver 1 remote I O station Ver 1 remote I O station Remote device station 16 point input module 16 point output module MELSEC ST system Q25HCPU QJ61BT11N station No 1 station No 2 station No 3 1 E 1 station occupied 1 station occupied 1 station occupied
73. S1 Function list Item Counter function The following table lists functions of the ST1SS1 1 2 3 Table 3 2 ST1SS1 Function List Description The output data of the SSI absolute encoder are stored in the Wr n Encoder value Low and Wr n 1 Encoder value High areas Counting is available within the range from 0 to 2147483647 31 bit binary Counting is repeated within the range between the lower and upper limit values Reference section Section 3 2 2 SSI code setting function Gray code Binary code selection 1 2 3 Select either Gray code or Binary code for SSI code of the ST1SS1 in accordance with the SSI absolute encoder to be connected The ST1SS1 always outputs binary data to a head module When Gray code is selected it converts values into binary data and stores them in the Wr n Encoder value Low and Wr n 1 Encoder value High areas The default is Gray code Setting method e GX Configurator ST gt Section 5 3 Parameter Setting e Dedicated instruction from the master station RDMSG instruction Section 8 3 1 Initial data batch write request Command No 8106H Section 8 3 2 Initial data individual write request Command No 8107H 0107H SSI baud rate selection function 1 2 3 Set the SSI baud rate applied to communication with the SSI absolute encoder Select
74. The executed command No A502H 2502h is stored Hexadecimal PROCEDURES BEFORE SETUP AND OPERATION Cr 2 OOOOH is stored Cr 3 GX Configurator ST PROGRAMMING ONLINE MODULE CHANGE e e COMMANDS 8 5 ST1SS1 Parameter Setting Write Commands 8 28 8 5 2 SSI monoflop time setting write Command No A502H 2502H 8 COMMANDS MELSEE ST b When failed Cr 0 15 8 Command execution result is other than 00H Table 8 37 Values stored in Cr Command result area When failed Command result Result details EUGI For execution of command No A502H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 b0 Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No a Other than 00n Failure Cro C gt Section 8 7 Values Stored into Command Execution Result For execution of command No 2502H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No s Other than 00 Failure c Section 8 7 Values Stored into Command Execution Result Cr 1 The executed command No A502H 2502h is stored Hexadecimal Cr 2 Cw 2
75. URATION SYSTEM b 00H Normal completion For execution of command No 2501H Cr 0 The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No a OOH Normal completion Cr 1 The executed command No A501H 2501H is stored Hexadecimal SPECIFICATIONS Cr 2 OOOOH is stored Cr 3 PROCEDURES BEFORE SETUP AND OPERATION b When failed Cr 0 15 8 Command execution result is other than OOH Table 8 34 Values stored in Cr Command result area When failed Command result Result details Fe For execution of command No A5014 The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO GX Configurator ST Command execution result Cr 0 7 0 Slice position No R Other than OO Failure L gt Section 8 7 Values Stored into Command Execution Result Cr 0 For execution of command No 2501H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO PROGRAMMING 4 Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No A L Other than 00 Failure lt
76. When OFH is stored in Cr 0 15 8 Command execution result OOH slice position No or start PROGRAMMING slice No of the head module is stored in Cr 0 7 0 Slice position No or start slice No ONLINE MODULE CHANGE e e COMMANDS 8 4 ST1SS1 Parameter Setting Read Commands 8 18 8 4 3 SSI monoflop time setting read Command No 95021 15024 8 COMMANDS MELSEE ST 8 4 4 Latch mode setting read Command No 9503H 1503H ica 4 words 8 bytes Cr 4 words 8 bytes This commands reads the latch mode setting from RAM of the ST1SS1 1 Values set to Cw Command execution area Table 8 23 Values set to Cw Command execution area Command execution Setting value area For execution of command No 9503H Set a slice position No of the target ST1SS1 Hexadecimal Cw For execution of command No 1503H Set a start slice No of the target ST1SS1 Hexadecimal Cw 1 Set a command No to be executed 9503H 1503H Hexadecimal 15 Fixed to 0000H Any other value is treated as 0000H Cw 3 2 Values stored in Cr Command result area The command execution result data vary depending on the result data normal completion or failure in Cr 0 15 8 Command execution result a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 24 Values stored in Cr Command result area When c
77. al 9 7 2 Error code list IPOINT 1 In _Cw 6 to Cw 19 intelligent function module s command parameter settings exceeding the quantity set in Cw 5 are not executed 2 Initial data batch write request Command No 8106H cannot be executed with another command at the same time Doing so will cause an error 8 9 8 3 Initial Data Write Command 8 3 1 Initial data batch write request Command No 8106H 8 COMMANDS MELSEE ST 8 3 2 Initial data individual write request Command No 8107H 0107H row 6 to 99 words 12 to 198 bytes OVERVIEW Cr 4 to 35 words 8 to 70 bytes This command writes command parameters of the following modules to RAM for each module e Head module e Input module e Output module e Intelligent function module Command parameters are written to RAM of a single ST1SS1 CONFIGURATION SYSTEM 1 Values set to Cw Command execution area Table 8 11 Values set to Cw Command execution area SPECIFICATIONS Command execution area Cw 0 Fixed to OOOOH Setting value Cw 1 Set a command No to be executed 8107H 0107H Hexadecimal Set the number of the command parameter settings for slice modules number of the Cw 2 modules 1 to 32 Hexadecimal PROCEDURES BEFORE SETUP AND OPERATION For execution of command No 8107H Set a slice position No of the target ST1SS1
78. al ey For execution of command No 1502H Set a start slice No of the target ST1SS1 Hexadecimal Cw 1 Set a command No to be executed 9502H 1502H Hexadecimal owi Fixed to 0000H Any other value is treated as 0000H Cw 3 2 Values stored in Cr Command result area a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 21 Values stored in Cr Command result area When completed normally Command result area Result details For execution of command No 9502H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 b0 Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No XY a R 00H Normal completion S2 For execution of command No 1502H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No 5 00H Normal completion Cr The executed command No 9502H 1502n is stored Hexadecimal 8 17 8 4 ST1SS1 Parameter Setting Read Commands 8 4 3 SSI monoflop time setting read Command No 9502H 1502h 8 COMMANDS MELSEE ST Table 8 21 Values stored in Cr Command result area When completed normally Continued Command result area Result details The SSI monoflop time setting is stored
79. al AUX 32 24G AUX power supply 33 24V AUX T ESI tse E 22 42 24G AUX tJ 43 24V AUX Figure 4 3 When the ST1PD is placed on the left 1 Be sure to use a shielded twisted pair cable Also use the shielded wire as short as possible 2 Ground the shield through the cable clamp or terminal block Depending on noise conditions however it is recommended to ground the shield on the external device side 4 7 4 4 Wiring 4 4 2 External wiring SETUP AND PROCEDURES BEFORE OPERATION MELSEE S T a O cA O 20 im E 26 Input switch bd Input switch ra O for the latch counter function T for the latch counter function T n rz O r When using a cable clamp When using a terminal block 5 iL Figure 4 4 When using a cable clamp or a terminal block g N 4 2 When the ST1PDD is placed on the left W a 0 ST1SS1 mi a ie W arZz 1 250 E zaz SSI absolute encoder 11 DATA ES Sor ge FOW 21 5 a DATA ES HES 14 CLK is Es 24 CLK Sg IEG pe 9 12 DI 5 g Input switch 13 24V T for the latch counter function TI oo o 22 DI t ES o 23 24V 5 ST1PDD External AUX 12 24G AUX Ry g power supply 13 24v AUX z ex Ts z 22
80. an SSI code length in accordance with the resolution of the SSI Is the SSI code length setting correct absolute encoder Are shielded twisted pair cables used Use shielded twisted pair cables Take preventive actions such as attaching a surge suppressor to Does any noise affect the system magnet switches Is a sufficient distance is ensured between Connect signal lines independently and keep a distance of at least heavy electric equipment and signal lines 100mm from the power cables 4 POINT If a normal encoder value cannot be read after performing the above actions the possible cause is failure of the module Please consult your local Mitsubishi representative explaining a detaileddescription of the problem 9 2 Troubleshooting 9 4 9 2 2 When the RUN LED and the ERR LED turned on APPENDIXES APPENDIXES Appendix 1 Accessories This section explains the accessories related to the ST1SS1 1 Wiring marker For how to use the wiring marker refer to the following lt MELSEC ST System User s Manual 10 2 Mounting the Modules Table App 1 Wiring marker list Model name Description fe o d ST1A WMK BK Terminal marker Signal wire Black ST1A WMK RD Terminal marker 24V DC Red 2 Coding element The coding element is fitted before shipment It is also available as an option in case it is lost Table App 2 Coding element list Model name Description Base module Slice mo
81. andard RS 485 Detection of input line error Yes 1 point 2 External input Rated input voltage 24V DC 20 15 Ripple ratio within 5 2 Rated input current Approx 12mA 5 ROM write count Number of parameter setting writes to ROM Up to 10 000 times 5 Number of occupied I O points 4 points for each of input and output Number of occupied slices 2 Information Input data L Brn Number of occupancy 4 _Wr n_ Number of occupancy 2 amount Output data Bw n Number of occupancy 4 Ww n Number of occupancy 0 Insulati 2 Specific isolated area Isolation method Dielectric withstand dete ation 2 Isolation resistance 5 510Vrms AC 1ms 500V DC 2 Channels and internal bus Photocoupler elevation 2000m 10MQ or more m Spring clamp type ST1B S4IR2 Applicable base module oe ek Screw clamp type ST1B E4IR2 Applicable coding element ST1A CKY 18 dark green M Bi LAUS i 24V DC 20 15 ripple ratio within 5 3 ern power s sena Sica sd 24V DC current 0 030A y 5V DC internal current consumption 0 080 A External dimensions 77 6 3 06in H x 12 6 0 50in w x 55 4 2 18in D mm 20 Weight 0 04 kg 1 For the rated current of the AUX terminal of the power distribution module refer to the following L gt MELSEC ST System User s Manual 2 This is the case where the ST1SS1 is connected to an RS 485 type encoder communication with the one equivalent to TI s SN75176 has been confirmed If any other type of encode
82. apan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice a MITSUBISHI ELECTRIC HEADQUARTERS EUROPEAN REPRESENTATIVES EUROPEAN REPRESENTATIVES EURASIAN REPRESENTATIVES MITSUBISHI ELECTRIC EUROPE B V EUROPE GEVA AUSTRIA ALFATRADE Ltd MALTA Kazpromautomatics Ltd KAZAKHSTAN German Branch Wiener StraBe 89 99 Paola Hill Mustafina Str 7 2 Gothaer Stra e 8 AT 2500 Baden Malta Paola PLA 1702 KAZ 470046 Karaganda D 40880 Ratingen Phone 43 0 2252 85 55 20 Phone 356 0 21 697 816 Phone 7 7212 50 11 50 Phone 49 0 2102 486 0 Fax 43 0 2252 488 60 Fax 356 0 21 697 817 Fax 7 7212 50 11 50 Fax 49 0 2102 486 1120 TEHNIKON BELARUS _INTEHSIS srl MOLDOVA MITSUBISHI ELECTRIC EUROPE B V CZECH REPUBLIC Oktyabrskaya 16 5 Off 703 711 bld Traian 23 1 Gech Branch BY 220030 Minsk MD 2060 Kishinev Avenir Business Park Radlick 714 113a Phone 375 0 17 210 46 26 Phone 373 0 22 66 4242 MIDDLE EAST REPRESENTATIVES CZ 158 00 Praha 5 Fax 375 0 17 210 46 26 Fax 373 0 22 66 4280 ILAN amp GAVISH Ltd ISRAEL Paone Aae 0071 S91 A0 Koning amp Hartman b v BELGIUM Koning amp Hartman b v NETHERLANDS 24 Shenkar St Kiryat Arie ax 420 0 251 551 Woluw
83. be set in GX Configurator ST e SSI baud rate setting e SSI direction reversal setting e SSI code setting e SSI code length setting e SSI parity setting e SSI trailing bits setting Parameter Setting SSI monoflop time setting Section 5 3 e Latch mode setting e Coincidence detection flag setting e Coincidence detection value setting 2 Specify the area RAM or ROM where parameter settings will be registered 3 Using GX Configurator ST parameters can be set even while online module change is performed Input output monitor 1 The I O data of the ST1SS1 can be monitored Section 5 4 Forced output test 1 Test can be conducted with the values set in the Bw bit output area Section 5 5 of the ST1SS1 Online module change 1 A module can be replaced without the system being stopped CHAPTER7 5 1 5 1 GX Configurator ST Functions D GX Configurator ST 5 2 Creating a Project 1 Creating a project a A new project can be created by reading the real MELSEC ST system from the 3 communication port and by creating it offline if there is no MELSEC ST system For more details about creating a project refer to the following lt gt GX Configurator ST Operating Manual 2 Selecting a head module lt 5 To create a project offline CC Link ST1H BT must be selected in the next screen be gt and then click the button 3 Display setting screen n E Module Configuration BAE F Please select the protocol used by the hea
84. ble Slots G A O Auto re A arZz Figure 6 3 I O assignment ge Sog hea 2 Network parameters oO Connect GX Developer to the programmable controller CPU of the master station and set network parameters as shown below Operational settings module 1 T Fareler nane S E No of boards in module 1 v Boards Blank no setting 2 1 Data link disorder station setting a Start 1 0 No ed Operational setting ee ph msi al Type Master station data link type PLC SAN auto start Case of CPU STOP setting Block data assurance per station 6 Remote net Ver 2 mode Eoo AEAT All connect count Remote input A gt Remote output R Remote register Rw Remote reqister Aww Cancel 9 Mer 2 Remote input RX Ver 2 Remote output A Ver 2 Remote reaister AW xt Ver2 Remote reaister Ww x Special relay SB SBO 2 Special registerfSw SWO CC Link station information Module 1 Retry count a Automatic reconnection station count sour ES Standb fer station No J p xclusive station Remote station jeserve invali fer selectfword SPL domes Sep se tage lad a ae aie Scan mode setting Asynchronous 22 Ver Remote 1 0 station v singe_ v Exclusive station 1_v 32 points m Nosetting v Delay infomation setting 373 Ver Remote device station v singe Exclusive station 1 32 points Nosetting v pees Remote device station initial setting Interrupt setting i 4 A Deteut Check End Cancel Z oO Figure 6 4 Setting network paramet
85. cccccccos D2 SSI baud rate selection fUNCtION sesereeseseeseseeeeee9 3 5 SSI code length setting function ssersereeseeseeseeeees 3 5 SSI code setting TUNCHIONcecccccccccccccccccccccccccceee 3 5 SSI direction reversal setting sesersessescescescesccsees 3 7 SSI monoflop time setting function ssesseses9ee 3 6 3 10 SSI monoflop time setting read ereersescesceseesceees 8 17 SSI monoflop time setting write sssessesseseeseeseeees 8 27 SSI parity setting FUNCTION e e eesscssscccccccooosoooooo00 3 6 SSI trailing bits setting function essesseseescesececceese 3 7 SSI trailing bits setting read eseeeeeesseeeeeseseoo00 8 15 SSI trailing bits setting write sessessesseseeseesecsecees 8 25 ST1SS1 control commands eececececcccccccccccccecee 8 39 ST1SS1 parameter setting read commands 8 13 ST1SS1 parameter setting write commands e 8 25 System configuration evcccccccccccccccccccccccccccccoccs 21 T Terminal DlIocKeccccccccccccccccccccccccccccccccscccvcccecs 43 Transmission path cooooooooooooooo00000000000000000000000 3 TrOoUbDIESHOOTING seeeeeeccccccccccccccccccccccccccccsoccccs 9 3 V Values stored into command execution result 8 43 W Weight cocoococooooooooooooooo000000000000000000000000000000 3 1 Wiring coccoooocooooooooooooo00000000000000000000000000000000 AG Wiring maker eecccccccccccccccccccccccccccccccccccccocs App 1 Wiring precautions cocccoccococoooocooooooooosoooo0000000 4G Word input areae essesseesessessessecoosoossos
86. ccccsccccccscscoceee 8 7 8 3 2 Initial data individual write request Command No 8107H 0107H eeseseeeecececcccecccccccccceee amp 10 8 4 ST1SS1 Parameter Setting Read Commands eeeeeeeeesseseceeceoooocccocoecoscocococoossocccoeosooseee B 13 8 4 1 Initial data setting read Command No 9500H 1500H eeeeesseeeeescoeooescsooocsosoooososoooes0s 13 8 4 2 SSI trailing bits setting read Command No 9501H 1501H ssseseescescccccccccccccccccccccccsoees Z 15 8 4 3 SSI monoflop time setting read Command No 9502H 1502H sesseseescccccccccccccccccccccscees 8 17 8 4 4 Latch mode setting read Command No 9503H 1503H sssesessesescccescsccccsesccccccscsccceseses 3 19 8 4 5 Coincidence detection flag setting read Command No 9504H 1504H esesceseeseescesecccceeee 8 21 8 4 6 Coincidence detection value read Command No 9505H 1505H eeeeeceeccceccccccccccccccecseee 8 23 8 5 ST1SS1 Parameter Setting Write Commands eeeeeeeeeseseeececeoococccooeoooocccocoosoocccosoososoeeoe B 25 8 5 1 SSI trailing bits setting write Command No A501H 2501 1 sssseescescescccccccccccccccccccsseeee 8 25 8 5 2 SSI monoflop time setting write Command No A502H 2502H sssseseesecccccccccccccccccccssceee 8 27 8 5 3 Latch mode setting write Command No A503H 2503H seseeseecesccsccccccccccccccccccscsccsseeee 8 3 8 5 4 Coincidence detection flag setting write Command No A504H 2504H eeeeesseeeeesseoo0000 8 33 8 5 5 Coincidence detectio
87. cesosee 2 2 2 2 4 Applicable software package eeeeeeseeesesesesesecececesecececeoecocoooosososoooososscsoocsesecesocoseoee 2 2 2 3 Precautions for System Configuration coocooooooooooooooo0000000000000000000000000000000000000000000000000000000 3 CHAPTER3 SPECIFICATIONS 3 1to3 18 3 1 Performance SY ol Xe1 i 6r 11 0 8 RR tL 1 3 1 1 Data update cycle of the ST1 SS1 000o0o00000000000000000000000000000000000000000000000000000000000000000000 3 2 3 1 2 Intelligent function module processing IME ee cccccccccccccccccccccccccccccccccccccccccccoccvccccovoccecee 3 4 3 2 Functions 000o0o0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 3 5 3 2 1 Function ligstoeoocoococcococoooooooooooooooo0000000000000000000000000000000000000000000000000000000000000000000000 3 5 3 2 2 Counter function C00 OOOO OOO OOOO OOO OOOO OOOO OOOO OOO OOOO OO OOO OOOO OOO OOO OOOOH OOOO OOO OOOOO OOOO OOO OOOO OOOO OOSOOOOOOO 3 9 3 2 3 SSI monoflop time setting function OOOO COO OOO OOO OOOO OO OOO OOOO OOOOH OOOO OOO OOOO OOO OO OOO OOOOH OOOO OOOO OOOEO 3 10 3 2 4 Latch counter function OOOO OOOO COOOL OOOOH OOOOH OOOOH OOOO OOO OOOO OOOOH OOS OOOO OOOO OOO OOOO OOO OOOO SOO OO OOO OOOOOOO 3 11 3 2 5 Coincidence detection function COOL OOOO OOOO OOOO OOO OOO OOOO OOO OOOO OOO OOOO OOO OOOOH OOOO OS OOOOOOO SOOOCOOOL OOCOE 3 12 3 3 I O Data OOOO OOOO OOOO OO LOO OO OOO OOOO OOO OOOO OOO O
88. d induction SPECIFICATIONS A 3 Always place the SSI absolute encoder signal cable at least 100mm 3 94inch away from the main circuit cables and AC control lines wW x O L W a n w ao a WW Q O x o z O amp ind lu a 0 SETUP AND 4 Fully keep it away from high voltage cables and circuits which include harmonics such as an inverter s load circuit Not doing so will make the module more susceptible to noises surges and inductions GX Configurator ST PROGRAMMING ONLINE MODULE CHANGE COMMANDS 4 4 Wiring 4 6 4 4 1 Wiring precautions 4 SETUP AND PROCEDURES BEFORE OPERATION MELSEC ST 4 4 2 External wiring Connect the SSI absolute encoder to the ST1SS1 and ST1PSD ST1PDD with cables Mount the ST1PSD ST1PDD on the immediate left of the ST1SS1 Connect the cables to the base module sold separately For wiring details on the ST1PSD ST1PDD refer to the following K gt MELSEC ST System User s Manual 1 When the ST1PSD is placed on the left ST1SS1 ico SSI absolute encoder 11 DATA ES go 21 DATA eG 0 14 CLK oh ES 24 CLK 2gp wer 5 12 12 DI Input switch 13 24V S for the latch counter function 22 o 22 DI s 23 24V ST1PSD Extern
89. d in Cr Command result area When failed m Command result Result details u area 2 For execution of command No A505H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below z b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No 3 ao A 7 4 ic ae Other than 0O Failure ro aa Section 8 7 Values Stored into Command Execution Result r For execution of command No 2505H The command execution result and start slice No in hexadecimal are stored in the high 2 and low bytes respectively as shown below z b15 b8 b7 bO a Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No 1 D X a L Other than 0O Failure m C gt Section 8 7 Values Stored into Command Execution Result g a Cr 1 The executed command No A505H 2505h is stored Hexadecimal Bs if ae LOE Cr 2 Cw 2 Argument 1 at command execution is stored 38 a woo Cr 3 Cw 3 Argument 2 at command execution is stored 1 When OFH is stored in _Cr 0 15 8 Command execution result OOH slice position No or start slice No of the head module is stored in Slice position No or start slice No 2 wn 5 gt 5 S x O o FA Fs 8 O o a S a S act Amn 0KS e e COMMANDS 8 5 ST1SS1 Parameter Setting Write Commands 8 38 8 5 5 Coincidence detection value write Command No A505H 2505H
90. d module then click Next 5 PROFIBUS DP ST1H PB 2 n 283 dF eu ES ol Figure 5 1 Selecting a head module a fol 2 5 d 2 a O x lt O PROGRAMMING ONLINE MODULE CHANGE COMMANDS 5 2 Creating a Project 5 2 D GX Configurator ST Parameter Setting This section explains how to set the parameters If the parameters are set with GX Configurator ST the programs used to set the parameters are not required anymore If these parameters should be used every time when the MELSEC ST system starts up these must be written to the ROM Writing the parameters to the RAM is used only for temporary testing 1 Mode changing The mode need not be changed Parameter setting is available in both edit and diagnosis modes 2 Displaying Parameter Setting screen a Select ST1SS1 on the Module Configuration or System Monitor screen b Click Edit Parameter Setting 3 Display Setting Screen Parameter Setting No 2 Module Information Slice No 3 Module Name ST1SS1 LabelName Base Module ST1B 4IR2 Online Select Data Target Memory RaM YS Select All Release All lt a Default Error Check Select tem Seting Value SSI drecton reversal sting SSI code setting Gray code X A _ SSI code length setting SSI panty setting SSI trailing bits setting 1 _ SSI monotlop time setting Latch mode setting No latch Coincidence detection flag setting No c
91. d result area Result details 58 For execution of command No 81014 The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below D rz b15 b8 b7 bO 2 n Other than 00 Failure L Section 8 7 Values Stored into Command Execution Result a Cr 0 pe For execution of command No 0101H g The command execution result and start slice No in hexadecimal are stored in the high o arZz and low bytes respectively as shown below Zac aNg b15 b8 b7 bO pom nao Command execution result Start slice No a Other than 00 Failure C gt Section 8 7 Values Stored into Command Execution Result 7 O Cr The executed command No 8101H 0101H is stored Hexadecimal 5 Cr 2 Cw 2_ Argument 1 at command execution is stored S Oo Cr 3 Cw 3_ Argument 2 at command execution is stored 1 When OFH is stored in Cr 0 15 8 Command execution result OOH slice position No or start slice No of the head module is stored in Cr 0 7 0 Start slice No or Slice position No 1 FA Fa oO O o a WwW 5 a S Jsa Amn oo e e COMMANDS 8 2 Common Commands 8 6 8 2 2 Error code read request Command No 8101H 0101H 8 COMMANDS MELSEE ST 8 3 Initial Data Write Command 8 3 1 Initial data batch write request Command No 8106H CW 6 to 20 words 12 to 40 bytes Cr 6 words 12 bytes This command batch writes command
92. dence detection flag setting read sesseseses92 8 21 Coincidence detection flag setting writesssesessese 8 33 Coincidence detection function ssereeseseseeee00 3 7 3 12 Coincidence detection value read seseseeseseseeeeee2 8 23 Coincidence detection value writerssesssseeseseseee0 8 36 Command eccececcccccccccccccccccccccccccccccccecocccocoss 3 9 Command liSteccecccccccccccccccccccccccccccccccccccecoces 3 1 Command PArAaMeterseeeececccccsocccsscccsoocscoocece 3 19 COMMON command ececececececcccccccccccccccccsccccces 3 2 Comparator Clear requeste eeeeeseceseceeececcoeoeeeee 3 12 Convert setting completed flag ssesesesseseseeeeseees 3 14 Convert setting X0 0 gt Ce 3 16 Counter function cocccoocoocoocooocoocooooo000000000003_ 5 3 9 Counting TAN GE receeccccccccccccccccccccccccscoccocccoccce 3 1 Creating a PrOjeCtececccccccccccccccccccccscccccccsocccocs 5 2 D DATA signal line error detection function seseeseese 3 7 Data symbol ccooooooooooooooooooo000000000000000000000000 1 Detection of input line error sscssecsocoscoscosoosooo0 3 1 Detection of rotational direction e seeeeeeeeeeeeseseseoe 3 6 E EMC coccccccccccccccccccccccccccccccccccccccccccccececcocce _ 4 Encoder resolution setting function ssesseseeseeseeses 3 5 Encoder Value ceccccccccccccccccccccccccccccccccccccccece 3 15 Error clear request o0oo000000000000000000000000000000000 25 Error code list eeeececccccccooco00000000000000000000000000 CO Error code read request cocoo
93. dule side ST1A CKY 18 Coding element for ST1SS1 side 2 XN i 1 Indicates the position of the projection or hole when the coding element is viewed from above 4 Protection d Hole App 1 Appendix 1 Accessories APPENDIXES Appendix 2 External Dimensions 9 8 O a5 2 a O ae a 73 1 2 88 iS ls 49 9 1 96 a A gt Ne t 5 m S Hol re oe A by es S m oi OU a NID oO fa E ce ong Te 1 hood oe ia pe S 47 3 1 86 DIN rail center 126 2e OO 55 4 2 18 vp aa 0 50 IL N Vee y OO S is wo zZ OO L 12 6 67 8 0 50 2 67 Unit mm inch Figure App 1 External dimensions Appendix 2 External Dimensions App 2 Memo App 3 APPENDIXES Appendix 2 External Dimensions INDEX A ACCESSOLIES eee eececcccccccccccccccccccccccvccccceccccce App 1 B Base module s ssscsccoccooooooo000000000000000000000000 2 2 Bit input arca ecoccccoccocooooooo000000000000000000000000 3 14 Bit output arca eecccccoccocoooooooo000000000000000000000 3 16 Bw C0000000 000000000000000000000000000000000000000000000000 3 1 6 C Coding element ececcccccccccccccccccccccccce 2 2 4 4 App 1 Coincidence detection flageeeeceececccccccceccoccoccoe 3 15 Coinci
94. dule change refer to the following OVERVIEW L7 Section 7 4 1 When parameter setting is performed using GX Configurator ST during online module change When GX Configurator ST is unavailable make the preparations described below Without these preparations data such as command parameters may not be imported to the new module when they cannot be saved to the head module CONFIGURATION SYSTEM 1 Command parameters When GX Configurator ST is unavailable the command parameters must be set by commands after completion of online module change Provide a command parameter setting program in the master station program For the command parameter setting program refer to the following SPECIFICATIONS K gt Section 6 4 Program Examples 4 POINT When GX Configurator ST is unavailable set the command parameters after operating the module once by default PROCEDURES BEFORE SETUP AND OPERATION 7 3 Disconnecting Connecting the External Device for Online Module Change GX Configurator ST Disconnect and connect the external device according to the following procedure Since power is supplied to the external device SSI absolute encoder from a power distribution module ST1PSD ST1PDD disconnect and reconnect the power supply part by the switch or any other means 1 Disconnection Disconnect the following part between the power distribution module and the external device SSI absolute encoder Signal name 2
95. e Clears receive data size No of commands to be executed Fixed to 0000H Error clear request command No 8104H Slice position No 2 Argument 2 Argument 3 Argument 4 Executes dedicated instruction RDMSG Error reset request flag OFF Error reset request flag OFF ONLINE MODULE CHANGE CHAPTER7 ONLINE MODULE CHANGE Before performing online module change carefully read the following a L gt MELSEC ST CC Link Head Module User s Manual 4 6 Online Module Change 3 Function This chapter describes the specifications of online module change 1 Perform an online module change by operating the head module buttons 6 or using GX Configurator ST e Be 2 The existing command parameters are automatically loaded into the new a8 module 7 1 Precautions for Online Module Change z The following are the precautions for online module change g 1 System configuration in which online module change is executable i To perform the online module change the system configuration must be appropriate 5 for execution of the online module change a For details refer to the following z K7 MELSEC ST System User s Manual 3 4 Precautions for System PSE Configuration ono Executing the online module change in an inappropriate system configuration may result in malfunction or failure In such a system configuration shut off all phases of the external power supply for the p MELSEC ST system to rep
96. e Slice position No maximum value is 63 This is used for specifying a command execution target Start slice No The start slice No assigned to the head module and slice modules Generic term for requests that are executed by the master station for reading each module s Command ae operation status setting intelligent function module command parameters or various controls Generic term for parameters set in commands or GX Configurator ST Command parameter All of the parameters set for the head module and slice modules are command parameters Packing list One of the following ST1AD products is included Model name Product name Quantity ST1SS1 ST1SS1 MELSEC ST absolute encoder input module 1 A 15 Memo 1 OVERVIEW CHAPTER1 OVERVIEW This User s Manual provides the specifications handling instructions programming methods for the ST1SS1 MELSEC ST SSI absolute encoder input module hereinafter referred to as the ST1SS1 OVERVIEW SSI is an abbreviation for the Synchronous Serial Interface This manual includes descriptions of the ST1SS1 only de For information on the MELSEC ST system refer to the MELSEC ST System User s 5 Manual 9 wit 26 nO The ST1SS1 is designed to be connected to an absolute encoder that has the SSI communication function hereinafter referred to as the SSI absolute encoder and thereby it can load pos
97. e is stored in Slice position No or start slice No COMMANDS 8 4 ST1SS1 Parameter Setting Read Commands 8 14 8 4 1 Initial data setting read Command No 9500H 1500H 8 COMMANDS MELSEE ST 8 4 2 SSI trailing bits setting read Command No 9501H 1501H Fowl 4 words 8 bytes Cr 4 words 8 bytes This command reads the SSI trailing bits setting from RAM of the ST1SS1 1 Values set to Cw Command execution area Table 8 17 Values set to Cw Command execution area Command execution Setting value area For execution of command No 959101H Set a slice position No of the target ST1SS1 Hexadecimal Cw For execution of command No 1501H Set a start slice No of the target ST1SS1 Hexadecimal Cw 1 Set a command No to be executed 959101H 151101H Hexadecimal 15 Fixed to 0000H Any other value is treated as 0000H Cw 3 2 Values stored in Cr Command result area a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 18 Values stored in Cr Command result area When completed normally Command result area Setting value For execution of command No 9501H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 ia b0 Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No n 00H Normal compl
98. e cables or any harmonic circuit such as an inverter s load circuit Failure to do so will make the module more susceptible to noise surge and induction N CAUTION Make sure to ground the control panel where the MELSEC ST system is installed in the manner specified for the MELSEC ST system Failure to do so may cause electric shocks or malfunctions Check the rated voltage and the terminal layout and wire the system correctly Connecting an inappropriate power supply or incorrect wiring could result in fire or damage Tighten the terminal screws within the specified torque range If the terminal screws are loose it could result in short circuits or erroneous operation Overtightening may cause damages to the screws and or the module resulting in short circuits or malfunction Prevent foreign matter such as chips or wiring debris from entering the module Failure to do so may cause fires damage or erroneous operation When connecting the communication and power supply cables to the module always run them in conduits or clamp them Not doing so can damage the module and cables by pulling a dangling cable accidentally or can cause a malfunction due to a cable connection fault When disconnecting the communication and power supply cables from the module do not hold and pull the cable part Disconnect the cables after loosening the screws in the portions connected to the module Pulling the cables connected to the module can damage
99. e they are decremented Wr n Encoder value Low and Wr n 1 Encoder value High match the Coincidence detection value regardless of whether they are incremented or decremented Upward Upward downward 3 The coincidence detection setting value can be set within the range from 0 to 2147483647 in 1 point units 4 To clear _Br n 3_ Coincidence detection flag set Bw n 3 Comparator clear request to ON 1 5 The following diagram shows the relation between Wr n Encoder value Low _Wr n 1_ Encoder value High and Coincidence detection flag in the coincidence detection function a Example 1 Coincidence detection flag setting Upward Coincidence detection value 1000 997 996 Wr n Encoder value Low r 7 T 4 7 j 7 7 Wr n 1 Encoder value High i 998 i 999 1000 1001 1002 1001 1000 999 i 998 Br n 3 Bw n 3 Comparator clear request Figure 3 10 Coincidence detection function example 1 1 When Wr n Encoder value Low and Wr n 1 Encoder value High match the Coincidence detection value while they are incremented _Br n 3 Coincidence detection flag turns ON 1 3 12 3 2 Functions 3 2 5 Coincidence detection function 3 SPECIFICATIONS MELSEE ST
100. ed to OOOH l OVERVIEW OH Normal mode 1H System error Cr3 The operation mode of the ST1SS1 0001H Normal mode is stored b When failed Cr 0 15 8 Command execution result is other than OOH CONFIGURATION SYSTEM Table 8 4 Values stored in Cr Command result area When failed Command result area Result details For execution of command No 8100H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 ias b0 SPECIFICATIONS Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No XX i L gt Other than 00 Failure L gt Section 8 7 Values Stored into Command Execution Result Cr 0 For execution of command No 0100H The command execution result and start slice No in hexadecimal are stored in the high PROCEDURES BEFORE SETUP AND OPERATION and low bytes respectively as shown below b15 a b8 b7 bO 7 f 4 Cr 0 15 8 Command execution result Start slice No XY d L gt Other than OO Failure Section 8 7 Values Stored into Command Execution Result Cr1 The executed command No 8100H 0100n is stored Hexadecimal GX Configurator ST Cr 2 Cw2 Argument 1 at command execution is stored Cr 3 Cw3 Argument 2 at command execution is stored
101. eing incremented Operating status On Off When the Direction reversal setting command parameter is set to Reversal the SSI absolute encoder output is being decremented The SSI absolute encoder output is being decremented Off On When the Direction reversal setting command parameter is set to Reversal the SSI absolute encoder output is being incremented Es POINT When the encoder value is changed from the upper limit to the lower limit or from the lower limit to the upper limit the INC or DEC LED showing direction opposite to the SSI absolute encoder rotation turns on instantaneously 4 5 4 3 Part Names 4 3 1 Status confirmation by LEDs 4 SETUP AND PROCEDURES BEFORE OPERATION MELSEG ST 44 Wiring The wiring precautions and examples of module connection are provided in this section OVERVIEW 4 4 1 Wiring precautions In order to optimize the functions of the ST1SS1 and ensure system reliability external wiring must be protected from noise Please observe the following precautions for external wiring CONFIGURATION SYSTEM 1 Use separate cables for the AC control circuit and the external input signals of the ST1SS1 to avoid the influence of the AC side surges and inductions 2 Do not install the cables together with the main circuit line a high voltage cable or a load cable running from other than the MELSEC ST system Doing so may increase the effects of noise surges an
102. elaan 31 Haarlerbergweg 21 23 1L 49001 Petah Tiqva MITSUBISHI ELECTRIC EUROPE B V FRANCE BE 1800 Vilvoorde NL 1101 CH Amsterdam Phone 972 0 3 922 18 24 French Branch Phone 32 0 2 257 02 40 Phone 31 0 20 587 7600 Fax 972 0 3 924 0761 25 Boulevard des Bouvets Fax 32 0 2 257 02 49 Fax 31 0 20 587 76 05 TEXEL ELECTRONICS Lid ISRAEL Sere Mansor Leder a INEA BH d o o BOSNIA AND HERZEGOVINA Beijer Electronics AS NORWAY gt Ha umanut P 0 B 6272 A E Aleja Lipa 56 Postboks 487 1L 42160 Netanya ax 33 0 BA 71000 Sarajevo NO 3002 Drammen Phone 972 0 9 863 39 80 MITSUBISHI ELECTRIC EUROPE B V IRELAND Phone 387 0 33 921 164 Phone 47 0 32 2430 00 Fax 972 0 9 885 2430 Irish Branch Fax 387 0 33 524 539 Fax 47 0 32 84 85 77 CEG INTERNATIONAL LEBANON ne Park Ballymount AKHNATON BULGARIA MPL Technology Sp 20 0 POLAND Cebaco Center Block A Autostrade DORA Phone Las oi aaa 4 Andrej Ljapchev Blvd Pb 21 Ul Krakowska 50 Lebanon Beirut eee O BG 1756 Sofia PL 32 083 Balice Phone 961 0 1 240430 ax t Phone 359 0 2 817 6004 Phone 48 0 12 630 4700 Fax 961 0 1 240 438 MITSUBISHI ELECTRIC EUROPE B V ITALY Fax 359 0 2 97 44061 Fax 48 0 12 630 47 01 anana INEA CR d 0 0 CROATIA Sirius Trading amp Services srl ROMANIA l EA i Bri MI Losinjska 4a Aleea Lacul Morii Nr 3 Ph age eet MI HR 10000 Zagreb RO 060841 Bucuresti Sector 6 AFRICAN REPRESENTATIVE Sete leet Phone 385 0 1 3
103. ers 5 g oke n Q Zz S O 6 3 Settings and Communication Data 6 5 6 PROGRAMMING 3 I O data assignment The following are I O data assignment results for the system configuration example in this chapter The I O points sheet is useful for I O data assignment For details of the I O data assignment sheet refer to the following c gt MELSEC ST CC Link Head Module User s Manual Appendix 3 2 Input data assignment sheet Appendix 3 3 Output data assignment sheet a Br Bit input area Remote input RX Ver 1 remote I O station Ver 1 remote I O station Remote device station 16 point input module 16 point output module MELSEC ST system station No 3 1 station occupied Q25HCPU QJ61BT11N station No 1 station No 2 1 station occupied 1 station occupied Input X i Remote input RX Remote input RX r I ian PASE Station Station Station 7 i l l l I I No 1 i No 1 No 1 poi i X101F La RX1F M o X1020 jati ee RX20 1 1 Sl No Moy noz Jt i T X103F an RXSF T La X1040 a i Station R4 3 i j cu I va lt 1 a X105F 2 if i RX5F E ia a yi 1 f i i T Da a ual E Ki 1 T Li Master station Station No 3 Figure 6 5 Br Bit input area remote input RX Table 6 3 Br Bit input area assignment sheet Remote device station MELSEC ST system MELSEC ST Bit input area RX40 ST1SS1 5
104. etails For execution of command No 9503H z The command execution result and slice position No in hexadecimal are stored in the high SPECIFICATIONS and low bytes respectively as shown below b15 pa b8 b7 gt b0 Cr 0 15 8 Command execution result Slice position No f Other than OO Failure L gt Section 8 7 Values Stored into Command Execution Result For execution of command No 1503 Cr 0 PROCEDURES BEFORE SETUP AND OPERATION The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO c 4 Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No XY SY le Other than 00 Failure L gt Section 8 7 Values Stored into Command Execution Result GX Configurator ST Cr The executed command No 9503H 1503n is stored Hexadecimal Cr 2 Cw 2_ Argument 1 at command execution is stored Cr 3 Cw 3_ Argument 2 at command execution is stored 1 When OFH is stored in Cr 0 15 8 Command execution result OOH slice position No or start PROGRAMMING slice No of the head module is stored in Cr 0 7 0 Slice position No or start slice No ONLINE MODULE CHANGE e e COMMANDS 8 4 ST1SS1 Parameter Setting Read Commands 8 20 8 4 4 Latch mode setting read Command No 9503H 150
105. etion Cr 0 For execution of command No 1501H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 om b8 b7 b0 Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No Pi ly 00H Normal completion Cr The executed command No 9501H 1501H is stored Hexadecimal The SSI trailing bits setting is stored ollolfoll fy en L att Cr 2 Fixed to 0 L SSI trailing bits setting OH Obit FH 15bit Cr3 OOOOH is stored 8 15 8 4 ST1SS1 Parameter Setting Read Commands 8 4 2 SSI trailing bits setting read Command No 9501H 1501H 8 COMMANDS MELSEE ST b When failed Cr 0 15 8 Command execution result is other than OOH Table 8 19 Values stored in Cr Command result area When failed Command result area Result details z W For execution of command No 9501H z W The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 b0 Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No z O R Other than 00n Failure o Section 8 7 Values Stored into Command Execution Result o Cr 0 5 we For execution of command No 1501H The c
106. etti x EE aped ee Wr n Wr n 1 Encoder value 0 X Encoder value XK 0 Figure 3 14 When parameter setting is normal 3 14 3 3 O Data 3 3 1 Bit input area 3 SPECIFICATIONS 3 3 2 When parameter setting is not normal Wr n Error status RXnA OFF 0 Br n _ Module ready Bw n 1 Convert setting ae request RS Br n 1 Convert setting x completed flag A Performed by the ST1SS1 gt Performed by the master station program Wr n 1 Encoder value i ON 1 Figure 3 15 When parameter setting is not normal 1 Error status RXnA is a remote input of the head module When Error status RXnA is ON the error module can be identified by executing the Error module information read request command command No 0103 In order to obtain the error code execute the Error code read request command command No 8101H 0101H to the identified error module Take corrective actions to correct the error refer to the following a Section 9 1 Error Code List For details of Error status RXnA refer to the following MELSEC ST CC Link Head Module User s Manual 3 4 Remote I O Remote Registers 3 Br n 2 Latch detection flag a When a latch signal is detected this flag will turn ON 1 after the encoder values Encoder value Low and Wr n 1 Encoder value High This flag turns ON 1 when a signal is input by the digital input f
107. fault is 0 bits Setting method e GX Configurator ST 37 Section 5 3 Parameter Setting e Dedicated instruction from the master station RDMSG instruction L gt Section 8 5 1 SSI trailing bits setting write Command No A501H 2501h DATA signal line error detection function 1 The ST1SS1 can detect a failure occurred on the DATA signal line connected to the SSI absolute encoder e g disconnection short circuit incorrect wiring 2 Upon detection of a DATA signal line error the ERR LED turns on and the Error status RXnA is set to ON while Wr n Encoder value Low and Wr n 1 Encoder value High are retained 3 2 Functions 3 2 1 Function list SYSTEM OVERVIEW CONFIGURATION oO PROCEDURES BEFORE SETUP AND OPERATION ONLINE MODULE CHANGE o Z O q 9 T 3 M a Oo GX Configurator ST PROGRAMMING COMMANDS 3 SPECIFICATIONS MELSEE ST Table 3 2 ST1SS1 Function List Continued TE Reference Item Description section 1 By using commands command parameters can be set and the parameter settings can be Command CHAPTER 8 written from RAM to ROM and read from ROM to RAM 1 A module can be replaced without the system being stopped Execution procedure CHAPTER 7 GX Configurator ST e Button operation on the head module Online module change 1 Error status RXnA is a remote input of the head module Whe
108. following L3 MELSEC ST CC Link Head Module User s Manual 3 4 Remote I O Remote Registers S a S za C2 ae OU n a CA z Q 5 6 3 Settings and Communication Data 6 7 6 PROGRAMMING c Wr Word input area remote input RWr Ver 1 remote I O station Ver 1 remote I O station Remote device station 16 point input module 16 point output module MELSEC ST system station No 1 station No 2 station No 3 Q25HCPU QJ61BT11N 1 station occupied 1 station occupied 1 station occupied Link register Remote register Remote register w Loo RW O 7 RW i 7 i E RWr0 i l r E 7 RWr1 T Station lt Station et Station Use prohibited Rw w3 No 3 No 3 W No 3 RWr3 Figure 6 7 Wr Word input area remote input RWr Table 6 5 Wr Word input area assignment sheet Master station Remote device station MELSEC ST system P p Slice position dei peas Ss wo RWr0 Wr 00 Encoder value Low 2 ST1SS1 w1 RWr1 Wr 01 Encoder value High W2 RWr2 Wr 02 Use prohibited w3 RWr3 Wr 03 Use prohibited 6 8 6 3 Settings and Communication Data 6 PROGRAMMING 6 4 Program Examples A program example is shown below ti O XO XOF xI t T T BMO SW80 K4M1000 K4 s Fd i Processing for data link error of station No 1 o r 20 wit 26 Do 2 rz O z Program for initial data write command Ww
109. g SSI baud rate setting and SSI direction reversal setting from RAM of the ST1SS1 1 Values set to Cw Command execution area Table 8 14 Values set to Cw Command execution area Command execution Setting value area For execution of command No 9500H Set a slice position No of the target ST1SS1 Hexadecimal Cw For execution of command No 1500H Set a start slice No of the target ST1SS1 Hexadecimal Cw 1 Set a command No to be executed 9500H 1500H Hexadecimal one Fixed to OOOOH Any other value is treated as 0000H Cw 3 2 Values stored in Cr Command result area The command execution result data vary depending on the result data normal completion or failure in Cr 0 15 8 Command execution result a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 15 Values stored in Cr Command result area When completed normally Command result area Result details For execution of command No 9500H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 om b0 Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No XY d L 00H Normal completion Gro For execution of command No 1500 The command execution result and start slice No in hexadecimal are stored in
110. he Next button confirm the following module states e The REL LED of the head module is on e The RUN LED of the target ST1SS1 is off If any other LED has been on it is off e The Module Status indicator of the target module has turned purple This applies only when monitoring from the System Monitor screen oO a If the command parameters could not be read from the ST1SS1 the REL and ERR LEDs of the head module turn on and an error message is displayed on the screen by the operation in step g Confirm the error and take corrective actions For details of the error code reading and error codes of the head module refer to the following L gt MELSEC ST CC Link Head Module User s Manual 9 7 Error Codes To set parameters for the new ST1SS1 perform the operations described in d and later 7 6 7 4 Online Module Change Procedure 7 4 1 When parameter setting is performed using GX Configurator ST during online module change ONLINE MODULE CHANGE MELSEG ST Disconnection from external device d When the left screen appears cut off the power supply between the power distribution module on the immediate left of the ST1SS1 and the external device a SSI absolute encoder For details refer to the following i lt Section 7 3 Disconnecting Connecting the External Device for Online Module Change Online Module Change Target Module 6 No bars Slice No mal Module Name
111. he program example 5 zo re Table 6 14 Device assignments in the program example 26 Device Application Device Application D1000 to M2030 Completion device Control data D1004 M2031 Completion status indicator device D1100 to D1104 Send data execution data of the command o O D1300 to M6000 Error module information storage enabled D1318 Receive data result data of the command lt i D4000 Error module information read target g N Lu ao O mi a if Sor ear nao g 5 x 8 o Zz z lt ing o O a oO Lu 5 a g J34 C2 ae CXS a Zz lt Q O 6 4 Program Examples 6 21 6 PROGRAMMING X105A 2 Program example movP movP movP S A movP ovp _ Sov _ tov r L eR uo M2030 M2031 2 D1000 D1301 D1301 o D1000 To D1301 M2031 SMO Itt o M6000 e D1303 HO 6 22 HO HO HO HO HO HO movP D1000 D1100 H D1000 HO MOVP 6 4 Program Examples HO H3 HOA H26 HO KI HO H103 HO HO D1300 D1303 RST D 000 001 002 003 004 00 01 02 03 04 M2030 D4000 M6000 Figure 6 13 Program for reading error module information MELSEC ST Clears Completion status Target station No 3 Send data size Receivable data size Clears receive data size No of commands to be executed Fixed to 0000H Error module info
112. hing or turned off 1 When flashing at 0 25s intervals Table 9 2 When flashing at 0 25s intervals Check item Corrective action Is the module selected as the target of online Refer to the following module change L gt CHAPTER 7 ONLINE MODULE CHANGE 2 When flashing at 1s intervals Table 9 3 When flashing at 1s intervals Has data communication been stopped between the master station and head module Has a parameter communication error occurred Refer to the following between the master station and head module 3 MELSEC ST System User s Manual Has an error occurred in another slice module Has an internal bus error occurred 3 When off Table 9 4 When off Is a module change enabled during an online Refer to the following lt gt CHAPTER 7 ONLINE MODULE CHANGE Check whether the supply voltage of the bus refreshing module is module change Is External SYS power being supplied aie within the rated range Is the capacity of the bus refreshing module adequate Is the ST1SS1 correctly mounted on the base module Calculate the current consumption of the mounted modules and check that the power supply capacity is sufficient Check the mounting condition of the ST1RSS1 Has a watchdog timer error occurred 9 2 Troubleshooting Power the ST1SS1 off and then on or reset the head module and check whether the LED turns on If the LED still does not turn on the possible cause
113. igh Latch detection clear request is set to ON 1 Br n 2_ Latch detection flag turns OFF 0 Latch detection flag is OFF 0 Wr n Encoder value Low Encoder value High are constantly updated to the latest values Br n 2_ Latch detection flag set to Encoder value High are 3 2 Functions 3 11 3 2 4 Latch counter function SYSTEM OVERVIEW CONFIGURATION oO PROCEDURES BEFORE SETUP AND OPERATION ONLINE MODULE CHANGE 2 Zz O lt O m w a oa GX Configurator ST PROGRAMMING COMMANDS 3 SPECIFICATIONS MELSEE ST 3 2 5 Coincidence detection function 1 The preset coincidence detection value command parameter is compared with Wr n Encoder value Low and Wr n 1 Encoder value High If these values are matched Br n 3_ Coincidence detection flag turns ON 1 2 In the coincidence detection flag setting select a desired option from No comparator Upward Downward or Upward downward Conditions for detection on each setting are given in the table below Table 3 3 Coincidence detection function Coincidence detection flag setting Conditions for detection Encoder value Low and Encoder value High match the Coincidence detection value while they are incremented Wr n Encoder value Low and Wr n 1 Encoder value Downward High match the Coincidence detection value whil
114. in click the Next button and perform the operations I and m to complete the online module change once 7 4 Online Module Change Procedure 7 4 1 When parameter setting is performed using GX Configurator ST during online module change ONLINE MODULE CHANGE MELSEG ST Preparation for replacing ST1SS1 a Select the ST1SS1 to be replaced online on the System Monitor screen z E System Monitor Eee 2 Module Information Select Module Ke Module Name ST1SS1 Display LabelName Poston fe Base Module ST1B 4IR2 Ce ial Communication Status With Master Station od e Select ST1SS1 Ti Module Status i Bi Module System Enor E Module Waming By Module Change o T ia ETTA i lt Monitor Switch ro sit seo Hie Forced Output Test Mode gt 2 o on Input Output Forced Output Monitor Test Oftset Gain Module Detail Setting Information Online Module Parameter no Change Setting Z Close E Figure 7 1 System Monitor screen Q D b Click the Online Module Change button on the System Monitor screen Then confirm that the RUN LED of the selected ST1SS1 is flashing at 0 25s w O intervals m N Q hA Zz Forced Output Test Mode Z3 wt OFF ON OFF 5 o amp woo nao Input Output Forced Output Monitor Test Offset Gain Module Detail 7 Setting Information
115. in the gratis warranty term repairs shall be charged for in the following cases 1 Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure caused by the user s hardware or software design 2 Failure caused by unapproved modifications etc to the product by the user 3 When the Mitsubishi product is assembled into a user s device Failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced 5 Failure caused by external irresistible forces such as fires or abnormal voltages and Failure caused by force majeure such as earthquakes lightning wind and water damage 6 Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi 7 Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repai
116. ing for dedicated instruction failure y ee a a a a re 2 a BKRSTP 4000 K5 All command parameter 7 write flags OFF arz 222 Figure 6 11 Program for setting command parameters when one command is executed at a time continued am lt Fou BE O j gt oa 5 g 2 c x o z a oe 0 fe x a WwW al a S W zS Ia C2 ae oo n a CA lt Q 0 6 4 Program Examples 6 19 6 PROGRAMMING c Program for reading encoder values Encoder values are read out 1 Device assignment in the program example Table 6 13 Device assignment in the program example Device Application Device Application M4100 Convert setting request flag 2 Program example M4100 X1040 X105A m set 1041 Convert setting request ON M4200 X1040 X105A ttt tt ee eee eee eee i Encoder value read processing Figure 6 12 Program for reading encoder values 6 20 6 4 Program Examples 6 PROGRAMMING MELSEE ST d Program for reading error module information Execute Error module information read request command No 0103H with the dedicated instruction RDMSG of the master station to read the error module information i Error module information read request is a command of the head module For details of the command refer to the following L MELSEC ST CC Link Head Module User s Manual 8 2 4 Error module information read request 5 1 Device assignments in t
117. ing online module change ONLINE MODULE CHANGE Parameter setting h Click the Cancel button to stop the online module change z W Online Module Change z Target Module z No AFA Slice No Ha Module Name ST1551 LabelName Base Module ST1B 4IR2 Fd Please click Next button to start the changed module operations o Online Module Change can be cancelled by Cancel button AS Ae Aa Figure 7 7 Stop of online module change N Zz fe i Click the OK button lt MELSOFT GX Configurator ST i Z Online Module Change was stopped J This module does not operate 5 Please execute Online Module Change again mi 2 Sog Hga Figure 7 8 Confirmation dialog ono j Set parameters Take the procedures described in the following z wn KL Section 5 3 Parameter Setting The following is the notes on parameter setting during online module change 2 x lt POINT 3 1 As the system is already in the diagnostic mode the mode need not be changed 2 When setting the parameters during an online module change write them to g both the RAM and ROM After the control resumes the module will operate with the settings written on the RAM ka 3 j If the existing parameter settings could not be read from the old ST1SS1 the command parameters might have been written during operation g Using GX Configurator ST check whether the command parameters have been written Lu a
118. ion of command No 3500 A if Zo The command execution result and start slice No in hexadecimal are stored in the high aw amp and low bytes respectively as shown below i g a b15 b8 b7 b0 Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No 7 i Other than 0O Failure C gt Section 8 7 Values Stored into Command Execution Result 5 Cr 1 The executed command No B500H 3500h is stored Hexadecimal 8 x O L Cr 2 Cw 2_ Argument 1 at command execution is stored Cr 3 Cw 3 Argument 2 at command execution is stored 1 When OFH is stored in _Cr 0 15 8 Command execution result OOH slice position No or start slice a Z No of the head module is stored in _Cr 0 7 0 Slice position No or start slice No Fs 8 O o a WwW 5 a S act Amn 0KS e e COMMANDS 8 6 ST1SS1 Control Commands 8 40 8 6 1 Parameter setting read from ROM Command No B500H 3500H 8 COMMANDS MELSEE ST 8 6 2 Parameter setting write to ROM Command No B501H 3501H Sk 4 words 8 bytes Cr 4 words 8 bytes This command writes parameters from RAM to ROM in the ST1SS1 and can be executed only in normal mode and when Bw n 1_ Convert setting request is OFF 0 1 Values set to Cw Command execution area Table 8 50 Values set to Cw Command execution area Command Setting value execution area For execution of comma
119. is a ST1SS1 failure Please consult your local Mitsubishi representative explaining a detailed description of the problem 9 2 1 When the RUN LED is flashing or turned off Q TROUBLESHOOTING MELSEG ST 9 2 2 When the RUN LED and the ERR LED turned on Table 9 5 When the RUN LED and the ERR LED turned on Check item Corrective action Confirm the error code and take corrective action described in the 0 Z Q O T a m al a 5 O ad Has any error occurred error code list lt gt Section 9 1 Error Code List 9 2 3 When counting is not performed x a Gi k Table 9 6 When counting is not performed Check item Corrective action Check whether a 24V DC voltage is supplied to the power distribution Is external AUX power being supplied module Check the external wiring Is the external wiring normally connected LF Section 4 4 Wiring is Is the digital input for latch OFF Turn OFF the digital input for latch Z 9 2 4 When encoder values are not correct Table 9 7 When encoder values are not correct Check item Corrective action Select Gray code or Binary code in accordance with the SSI absolute Is the SSI code setting correct encoder to be connected Check the cable length or cable thickness Is the cable length the maximum cable length or lt 37 Section 4 4 3 Cable connected between the ST1SS1 and less absolute encoder Or reduce the SSI baud rate Set
120. ite to ROM Command No B501H 3501h 8 COMMANDS MELSEE ST Table 8 51 Values stored in Cr Command result area When completed normally Continued Command result R Result details area a Cr 2 z 0000H is stored 3 Cr 3 b When failed Cr 0 15 8 Command execution result is other than OOH Zz Table 8 52 Values stored in Cr Command result area When failed fa Command result ae Result details Er area Ae For execution of command No B501H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 b0 Z Command execution result Slice position No z ei RE 5 a Other than OOu Failure e aa L gt Section 8 7 Values Stored into Command Execution Result For execution of command No 3501H Pa O The command execution result and start slice No in hexadecimal are stored in the high mi and low bytes respectively as shown below A id gt b15 b8 b7 b0 Zae ou A ss Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No 1 5 ti DEO n Other than 0O Failure C gt Section 8 7 Values Stored into Command Execution Result Cr 1 The executed command No B501H 3501H is stored Hexadecimal 2 g Cr 2 Cw 2_ Argument 1 at command execution is stored 2 Q O Cr 3 Cw 3 Argument 2 at command execution is stored 1 When
121. itioning data sent from the encoder n Zz fe z PLC CPU Master module Head module ST1PSD ST1SS1 2 5 Lu oO N Word input area Automatic Encoder value Low rf refresh FROM oe instruction Encoder value High o m yn orz 222 Soe ear nao SSI absolute encoder o l o Input switch E for the latch counter function a Figure 1 1 Overview 8 5 oO Zz o O nA A S a S act AmE OKS N Q Zz Eg Q O 1 OVERVIEW 1 1 Features 1 Up to 26 ST1SS1s are connectable 2 3 4 5 6 7 8 To a single head module up to 26 ST1SS1 modules 52 channels can be mounted Connectable with an SSI absolute encoder The ST1SS1 can be connected to an SSI absolute encoder especially the one having trailing bits signals indicating the status of the encoder since the number of trailing bits can be set Selection of gray or binary code is available An SSI code type appropriate to the connected SSI absolute encoder can be selected from two options Gray code and Binary code The ST1SS1 always outputs binary data to a head module When Gray code is selected the ST1SS1 converts values to binary data SSI baud rate is selectable The SSI baud rate for communication with the SSI absolute encoder is selectable from 125kHz 250kHz 500kHz 1MHz and 2MHz so that the ST1SS 1 is applicable to a variety of systems SSI code length setting
122. l gt O W Z rA 0 COMMANDS 7 4 Online Module Change Procedure 7 9 7 4 1 When parameter setting is performed using GX Configurator ST during online module change ONLINE MODULE CHANGE MELSEG ST Processing after parameter setting k After setting parameters execute the operations a and b to resume the online module change Select the same ST1SS1 as the one selected before the online module change stop If the selected ST1SS1 is different an error will occur Online Module Change Target Module No ee Slice No TA Module Name ST1551 LabelName Base Module ST1B 4IR2 Please click Next button to start the changed module operations Online Module Change can be cancelled by Cancel button Next gt Cancel ne Figure 7 9 Online Module Change screen I Clicking the Next button releases the head module from the online module change mode 1 Clicking the button results in the following e The head module exits the online module change mode e I O data refresh is restarted Clicking the Cancel button stops online module change When stopped the screen in a is displayed Terminate the online module change by the following procedure e On the restarted screen shown in a select the same slice module If a different module is selected an error occurs e Follow the instructions in b to display the screen in c and click the Ca
123. lace a slice module 2 Online module change procedure x Be sure to observe the online module change procedure described in the following L gt Section 7 4 1 When parameter setting is performed using GX Configurator ST during online module change MELSEC ST CC Link Head Module User s Manual 4 6 Online Module Change z Function Failure to do so can cause a malfunction or failure 2 3 Precautions for external devices during online module change Before starting an online module change confirm that the external device connected with the slice module to be removed will not malfunction 4 Replaceable slice module Only the slice modules of the same model name can be replaced online Replacing a slice module with a different slice module model and adding a new slice module is not allowed Lu al fa O W Z rA 0 COMMANDS 7 1 Precautions for Online Module Change 7 1 ONLINE MODULE CHANGE MELSEG ST 5 Number of replaceable slice modules Only one slice module can be replaced in a single online module change To replace multiple slice modules perform a separate online module change for each module 6 Command execution during online module change While an online module change is being executed while the REL LED of the head module is on no command can be executed to the slice module being replaced online An attempt to execute a command in such a case will cause an error 7
124. left of the back cover Print Date Manual Number Revision Sep 2008 SH NA 080759ENG A First edition Japanese Manual Version SH 080753 A This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 2008 MITSUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for choosing the ST1SS1 MELSEC ST SSI absolute encoder input module Before using the module please read this manual carefully to fully understand the functions and performance of the ST1SS1 MELSEC ST SSI absolute encoder input module and use it correctly CONTENTS SAFETY PRECAUTIONS esecoccoccooooo0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 A 1 REVISIONS seseseeseseceecosecsecosecsecosecsecosecsecosecsecosececcosececcosecescosessecosecsesosessecosessesosessssesosessosess A G INTRODUCTION ssesesesessesesossososossesosossososossososoosososoosososoosososoosososoosococsosococcosesocsesesocsesesossese 7 CONTENTS sseseseesesesoosesosocsocococsececoosocococsosocoosococoocosocoocesocoesesecoesesessosescsesessssesesoscesesessesesss 7 About Manuals sesseseseesesesecsesocecsosococsosocecsosococsosocsesosossososocsesesoesesosocsesossesesosossesossssessssesosos A 10 Co
125. lications in which the public could be affected such as in nuclear power plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for Railway companies or Public service purposes shall be excluded from the programmable controller applications In addition applications in which human life or property that could be greatly affected such as in aircraft medical applications incineration and fuel devices manned transportation equipment for recreation and amusement and safety devices shall also be excluded from the programmable controller range of applications However in certain cases some applications may be possible providing the user consults their local Mitsubishi representative outlining the special requirements of the project and providing that all parties concerned agree to the special circumstances solely at the users discretion Company names and product names used in this document are trademarks or registered trademarks of respective companies SH NA 080759ENG A MELSEC ST SSI Absolute Encoder Input Module User s Manual CC Link MODEL ST1SS BT U SY E MODEL 13JZ16 SH NA 080759ENG A 0809 KWIX sfa MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 oe NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPA When exported from J
126. lice No F 2 a Other than 00n Failure a Section 8 7 Values Stored into Command Execution Result i Detailed results for the intelligent function modules set in _Cr 2_ are stored in the same way 5 Cr 4 to Cr 34 g as in _Cr 3_ One word each 2 1 For details of error codes refer to the following gt lt gt MELSEC ST CC Link Head Module User s Manual 9 7 2 Error code list 2 2 When OFH is stored in Cr 3 15 8 Command execution result OOH slice position No or start slice No of the head module is stored in Cr 3 7 0 Slice position No or start slice No o EJPOINT 1 Cw 3 to Cw 98 intelligent function module s command parameter settings 5 exceeding the quantity set in are not executed i 2 Initial data individual write request Command No 8107H 0107H cannot be executed with another command at the same time Doing so will cause an error 3 3 When the slice position No or start slice No is duplicated the module with S the duplicate setting is detected as an error module 22 Zr 0KS e e COMMANDS 8 3 Initial Data Write Command 8 12 8 3 2 Initial data individual write request Command No 8107H 0107h 8 COMMANDS MELSEE ST 8 4 ST1SS1 Parameter Setting Read Commands 8 4 1 Initial data setting read Command No 9500H 1500 Cw 4 words 8 bytes Cr 4 words 8 bytes This command reads the SSI code setting SSI code length setting SSI parity settin
127. mpliance with the EMC and Low Voltage Directives eeeeeeeeeseeeesesseesesesececcccsecececeoeocosssosoeossososoosee A 10 How to Read Manual sessesesssseseseosesossocecocsosococsocecoososocoososocoososoosososcosossssosossesosessesosossesososses A 11 Generic Terms and Abbreviationsg sesessesesesseseseseesosococsosocoososocoososocsososscsososscsososoesosossesossssesosos A 13 Term definition e seseseesesesessesesecsesosecsecosoesososocsocosocsososocsososocsososoososossososossososossesosossesossosesossos 14 Packing list cooooooooooooooo0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 15 CHAPTER1 OVERVIEW 1 1to1 3 1 1 Features ccoocoooooooocoooooooooo000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2 CHAPTER2 SYSTEM CONFIGURATION 2 1to2 3 2 1 Overall Configuration cooocooooooooooooooooooooooooo00000000000000000000000000000000000000000000000000000000000000000 1 2 2 Applicable System ccoocoooooooooooooooooooooooo0000000000000000000000000000000000000000000000000000000000000000000000 2 2 2 1 Applicable head module ssessesseseseseesseccococossccccooooooscccoccoossoscocsoossoscsessosssoscecoeossosse 2 2 2 2 2 Applicable base module sesesseeeeeessessececocoosssccccocoocsoccccocsocssoccoesososoccocosossoscsessosssosse 2 2 2 2 3 Applicable coding element eeseeessesseessssesesesececececococcceoeccoocoososososoossoscsosssosesese
128. n RDMSG Initial data individual write flag OFF Initial data individual write flag OFF 6 PROGRAMMING MELSEE ST b Program for setting command parameters Execute a command of the ST1SS1 with the dedicated instruction RDMSG of the master station to set command parameters is oa 1 Setting details of command parameters 3 In this program the following command parameters are set Table 6 11 Setting details of command parameters Item Setting Reference section SSI trailing bits setting 8 bits Section 8 5 1 SSI monoflop time setting 96us Section 8 5 2 o wit ST1SS1 Latch mode setting Rising edge Section 8 5 3 De Coincidence detection flag setting Downward Section 8 5 4 _ Coincidence detection value 100000 Section 8 5 5 no rz 5 z7 9 Ts 5 Ww Q n WwW ao O mi a ajz ne Bao 7 5 5 S x lt 0 o cS z lt ing o O a a WwW 5 a S J34 C2 ae CXS a CA lt Q O 6 4 Program Examples 6 13 6 PROGRAMMING Device 2 Device assignments in the program example Table 6 12 Device assignments in the program example Device Application Completion device for simultaneous execution of Application M2010 D1000 to D1004 Control data multiple commands Completion status indicator device for Send data for separate execution of each M2011 p D1100 to D1104 simultaneous execution of multiple commands command
129. n Initial data write Bw n 1 command 8107H Initial data individual write Writes command parameters to a single Convert Section 0107H request ST1SS1 setting 8 3 2 request is OFF 0 9500H Es a Section Initial data setting read Reads initial data from RAM of the ST1SS1 1500H 8 4 1 9501H SSI trailing bits setting Reads SSI trailing bits setting from RAM of Section 1501H read the ST1SS1 8 4 2 ETIES i 9502H SSI monoflop time setting Reads SSI monoflop time setting from RAM Section eee 1502H read of the ST1SS1 8 4 3 setting read 9503H Reads latch mode setting from RAM of the Section command Latch mode setting read 1503H ST1SS1 8 4 4 9504H Coincidence detection Reads coincidence detection setting from Section 1504H flag setting read RAM of the ST1SS1 8 4 5 9505H Coincidence detection Reads coincidence detection values from Section 1505H value read RAM of the ST1SS1 8 4 6 A501H SSI trailing bits setting Writes SSI trailing bits setting to RAM of the Section 2501H write ST1SS1 8 5 1 A502H SSI monoflop time setting Writes SSI monoflop time setting to RAM of Section 2502H write the ST1SS1 Bw n 1 8 5 2 ST1SS1 parameter f A503H Writes latch mode setting to RAM of the Executable Section setting write 2503H Latch mode setting write ST1ssi 853 command f only when D A504H Coincidence detection Writes coincidence detection setting to RAM Bw nt 1 Section 2504H flag setting write of the ST1SS1 Convert 8 5 4 A505H
130. n 00 Failure L gt Section 8 7 Values Stored into Command Execution Result PROCEDURES BEFORE SETUP AND OPERATION Cr 0 For execution of command No 15044 The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 b0 4 Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No XY d GX Configurator ST amp Other than 00 Failure Section 8 7 Values Stored into Command Execution Result Cr The executed command No 9504H 1504h is stored Hexadecimal Cr 2 Cw 2_ Argument 1 at command execution is stored Cr 3 Cw 3_ Argument 2 at command execution is stored PROGRAMMING 1 When OFH is stored in Cr 0 15 8 Command execution result OOH slice position No or start slice No of the head module is stored in Cr 0 7 0 Slice position No or start slice No ONLINE MODULE CHANGE e e COMMANDS 8 4 ST1SS1 Parameter Setting Read Commands 8 22 8 4 5 Coincidence detection flag setting read Command No 9504H 1504H 8 COMMANDS MELSEE ST 8 4 6 Coincidence detection value read Command No 9505H 1505H Fowl 4 words 8 bytes Cr 4 words 8 bytes This command reads the coincidence detection value from RAM of the ST1SS 1 1 Values set to Cw Command execution
131. n Error status RXnA is ON the error module can be identified by executing the Error module information read request command command No 0103 In order to obtain the error code execute the Error code read request command command No 8101H 0101H to the identified error module Take corrective actions to correct the error refer to the following Section 9 1 Error Code List For details of the Error status RXnA refer to the following MELSEC ST CC Link Head Module User s Manual 3 4 Remote I O Remote Registers 3 8 3 2 Functions 3 2 1 Function list 3 SPECIFICATIONS MELSEC ST 3 2 2 Counter function 1 The output data of the SSI absolute encoder are stored in the Wwr n Encoder value Low and wr n 1 Encoder value High areas 2 Counting is available within the range from 0 to 2147483647 31 bit binary 3 Counting is repeated within the range between the lower limit 0 and upper limit different depending on the SSI code length setting values Increment gt lt Decrement Figure 3 6 Counter function 4 At power up of the MELSEC ST system at reset of the head module or when Bw n 1 Convert setting request turns OFF 0 0 is stored 3 2 Functions 3 9 3 2 2 Counter function SYSTEM OVERVIEW CONFIGURATION oO PROCEDURES BEFORE SETUP AND OPERATION ONLINE MODULE CHANGE 2 Z O lt O u S w ao
132. n be mounted to the base module power distribution module I O module and intelligent function module MELSEC ST system System that consists of head module slice modules end plates and end brackets GX Configurator ST Configuration software dedicated to the MELSEC ST system The general name of SWnD5C STPB E type products n 1 or later CC Link Abbreviation for Control and Communication Link system Master module Abbreviation for the QJ61BT11N when it is used as a master station RDMSG Abbreviation for dedicated instruction of master station A 13 Term definition The following explains the meanings and definitions of the terms used in this manual Term Definition Cyclic transmission A communication method by which remote I O data and remote register data are transferred periodically Message transmission A transmission method for writing parameters from the master station to a remote device station and reading the remote device station status Master station Remote I O station This station controls the entire data link system One master station is required for one system A remote station that can only use bit data Input from or output to external devices AJ65BTB1 16D AJ65SBTB1 16D etc Remote device station A remote station that can use both bit and word data Input from or output to external devices or analog data conversion ST1H BT AJ65BT 64AD AJ65BT 64DAV AJ65BT
133. n value write Command No A505H 2505H eeeeeseseeeeseseeeesosooo0000 8 36 8 6 ST1SS1 Control Commands eecececccceccccccccccccccccccccccccccccsccsccccsoscccccesccecscscsccceseseccesesees 3 39 8 6 1 Parameter setting read from ROM Command No B500H 3500H seeeeeesseeeeesseeeecsseoo0000 8 39 8 6 2 Parameter setting write to ROM Command No B501H 3501H eeeeseeeeesseeeeossoooeoosooo0000 3 44 8 7 Values Stored into Command Execution Result 0000 000000000 CC OOO OOOO OOOO OOOO OOO OOO OOOO OOO OOOO OOO OOOOOOO 8 43 CHAPTERI TROUBLESHOOTING 9 1to9 4 9 1 Error Code List 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 C 1 9 2 Troubleshooting eeeeeeeeeeeeeseeseceesecsecoeccoccoccocccecccsocooscccccocccccsccscsssoososoccocccccessessessssoee 9 3 9 2 14 When the RUN LED is flashing or turned offss eeeeseeeeeeeeeseeeeeeeeecsecoocooccooseccececsccsesseseoee9 3 9 2 2 When the RUN LED and the ERR LED turned on cceccececccccccccccccccccccccccccccccccccccccccscccee O 4 9 2 3 When counting is not performed eeseeseeeeesesessessessececoececccecccecseosecososoosoccccecseseessoseooe 9 4 9 2 4 When encoder values are NOt COrrect eeeeseseeseseesecesocoocecocoececocoococcecococcececcesococcesosoe O 4 APPENDIXES App 1 to App 3 Appendix 1 Accessories CO OOOO LOO OOOO OOO OOOO OOO OOOO OOO OOO OOOO SOO OOOOH OOOO OOO OOOO OOOOH OOOOH OO OOO OOOO OOO OOOO SOOOOOOOOO App
134. nal No Signal name Terminal No Signal name 4 11 DATA 21 DATA 4 12 DI 22 DI mI 13 24V 23 24V ae Zac 14 CLK 24 CLK a 8 K TE GX Configurator ST PROGRAMMING ONLINE MODULE CHANGE COMMANDS 4 3 Part Names 4 4 4 SETUP AND PROCEDURES BEFORE OPERATION MELSEG ST 4 3 1 Status confirmation by LEDs The LED indications are described here 1 Indications of RUN and ERR LEDs Indications of the RUN and ERR LEDs are shown below Table 4 3 LED Indications LED indication Operating status RUN LED ERR LED Off Normal on On System error occurred Off Data communication stop or parameter error between the master station and head Flashing module another slice module fault or internal bus error System error occurred during data communication stop a parameter error re arenan On between the master station and head module another slice module fault or internal bus error Off Module is selected as the target of online module change Flashin System error occurred when module is selected as the target of online module 0 25s interval On change off Off Power is off or online module change is in execution On System error occurred during online module change 2 Indications of INC and DEC LEDs Indications of the INC and DEC LEDs are shown below LED indication INC LED D ona i Off Off The SSI absolute encoder output is not changing The SSI absolute encoder output is b
135. ncel button 2 After clicking the Next button confirm the following module status e The REL LED of the head module is off e The RUN LED of the newly mounted ST1SS1 is on e The Module Status indicator of the target ST1SS1 has turned white on the System Monitor screen 3 If the head module cannot exit the online module change mode both the REL and ERR LEDs of the head module turn on Confirm the error and take corrective actions L gt MELSEC ST CC Link Head Module User s Manual 9 7 2 Error code list 7 10 7 4 Online Module Change Procedure 7 4 1 When parameter setting is performed using GX Configurator ST during online module change ONLINE MODULE CHANGE MELSEG ST Completion m The following screen appears showing that online module change has been completed a Click the Finish button z Online Module Change Target Module No ATA Slice No ak z Module Name T1551 Label Name lt Base Module ST1B 4IR2 ne Online Module Change is completed T A gt O no Finish 2 Figure 7 10 Completion of online module change Ts O w a o w fd O mi m n orz TE E Soe E Q m OHO G 5 p 5 0 x z Fs C0 O o bas Lu al fa O W Z rA 0 COMMANDS 7 4 Online Module Change Procedure 7 11 7 4 1 When parameter setting is performed using GX Configurator ST during online module change 8 COMMANDS M
136. nd No to be executed A502H 2502H Hexadecimal Set an SSI monoflop time setting value 0 0 0 H uu v Fixed to 0 Cw 2 A A SSI monoflop time setting On 48us 1H 64us 2H 80US 3H 96US Cw3 Fixed to OOOOH Any other value is treated as OOOOH 8 27 8 5 ST1SS1 Parameter Setting Write Commands 8 5 2 SSI monoflop time setting write Command No A502H 2502H 8 COMMANDS MELSEE ST 2 Values stored in Cr Command result area The command execution result data vary depending on the result data normal completion or failure in Cr 0 15 8 Command execution result OVERVIEW a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 36 Values stored in Cr Command result area When completed normally Command result Result details area For execution of command No A502H CONFIGURATION SYSTEM The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No i 00H Normal completion Cr 0 For execution of command No 2502H SPECIFICATIONS The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No a 00H Normal completion Cr 1
137. nd No B5014 Set a slice position No of the target ST1SS1 Hexadecimal Cw For execution of command No 3501H Set a start slice No of the target ST1SS1 Hexadecimal Cw 1 Set a command No to be executed B501H 3501H Hexadecimal Cw 2 Fixed to OOOOH Any other value is treated as OOOOH Cw 3 2 Values stored in Cr Command result area The command execution result data vary depending on the result data normal completion or failure in Cr 0 15 8 Command execution result a When completed normally Cr 0 15 8 Command execution result is OOH Table 8 51 Values stored in Cr Command result area When completed normally Command result yy Result details area For execution of command No B5014 The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No SEO f 00H Normal completion r For execution of command No 3501H4 The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No R 00H Normal completion Cr 1 The executed command No B501H 3501H is stored Hexadecimal 8 41 8 6 ST1SS1 Control Commands 8 6 2 Parameter setting wr
138. nd after completion of the online module module change status change Onn The specified module No is different Check if the command parameter setting of the intelligent or does not exist function module is appropriate to the specified module No OFH The value of Cw 0 slice position No Check if the value set for _Cw 0 slice position No or start slice 8 43 or start slice No is out of range No is within the range or not 8 7 Values Stored into Command Execution Result 8 COMMANDS Table 8 53 Command execution results and actions Continued Command execution Description result E S are Data cannot be read from the specified Execute the command again i module If the problem on the left occurs again the ST1SS1 may be 2 z faulty Data cannot be written to the specified N NENS a3 11H modii Please consult your local Mitsubishi representative explaining a ule detailed description of the problem Z The specified module is not in the 5 G A OFE dtk z 13H status availabletor command et Bw n 1 onvert setting request to 0 and then z2 i execute the command DZ parameter writing ae no rz fe z S 3 D nA O ti a ig arZz TE ME 7 8 x O o z Fs 8 O W a S 2f 0KS e e COMMANDS 8 7 Values Stored into Command Execution Result 8 44 Q TROUBLESHOOTING CHAPTER9 TROUBLESHOOTING This chapter explains the errors that may
139. ng and debugging Create a program and check it Create a program and check it including command parameter setting with the command L gt CHAPTER 6 PROGRAMMING gt CHAPTER 6 PROGRAMMING Figure 4 1 Setup and procedure before operation wW x O L W a n w ao a WW Q O x o z O amp ind lu a 0 SETUP AND GX Configurator ST PROGRAMMING ONLINE MODULE CHANGE COMMANDS 4 2 Setup and Procedure before Operation 4 2 4 SETUP AND PROCEDURES BEFORE OPERATION MELSEG ST 4 3 Part Names The name of each part of the ST1SS1 is listed below The following shows the ST1SS1 mounted on the spring clamp type base module Rear view of ST1SS1 7 my 1 ST1SS1 2 unllCeme 4 3 5 we Doec kA Poll t cH T 2 D Il am KINI H a N H oo a mn oO z mm m i E OO ai OO L Q Q 6 m rele Figure 4 2 Part names Table 4 1 Parts and descriptions No Item Description 1 RUN LED The RUN and ERR LEDs on flashing off indicate various states of the ST1SS1 2 ERR LED C gt Section 4 3 1 1 Indications of RUN and ERR LEDs 3 INC LED The lighting status of the INC and DEC LEDs indicates the rotational direction of 4 DEC LED is absolute encoder gt Section 4 3 1 2 Indications of INC and DEC s This LED indicates the status of digital
140. o 0000H a Le a Move H2 D2005 J Slice position No 2 So atz AEE MovP HOA502 D2006 SSI monoflop time set value write aus Command No A502H on ano MOVP H3 D2007 J SSI monoflop time setting 96 u s MOVP HO D2008 Fixed to 0000H 7 HOvP H2 D2009 Slice position No 2 5 p MOVP H0A503 D2010 Latch mode set value write E Command No A503H 6 x Hove H1 D2011 J Latch mode setting Rising edge 6 MOVP HO D2012 J Fixed to 0000H Figure 6 10 Program for setting command parameters when multiple commands are simultaneously executed 9 x x 0 x a WwW a S W zS a Ann oo 9 a CA lt z Q 8 6 4 Program Examples 6 15 6 PROGRAMMING M4005 M2010 X105A M2011 M2011 il X1040 MOVP H2 D2013 MOVP H0A504 D2014 MOVP H2 D2015 MovP HO D2016 MOVP H2 D2017 wovP HOASOS D2018 MOVP H86A0 D2019 D1000 HO D3001 H2 D3005 H2 D3009 H2 D3013 H2 D3017 H2 D1000 HO D3001 H2 D3005 H2 2 D3009 H2 gt D3013 H2 o D3017 H2 Eee Processing for normal command completion command execution resu i proces AE see meio eaters Processing for normal command completion command execution resul i a ora Processing for normal command completion command execution result 1 e Fre ona Processing for normal command completion command execution result OVP H1 D2020 D1000 D2000 D3000 M2010
141. oO GX Configurator ST PROGRAMMING COMMANDS 3 SPECIFICATIONS MELSEE ST 3 2 3 SSI monoflop time setting function 1 The SSI monoflop time Tp is a time to be reserved for synchronization with the data update cycles of an SSI absolute encoder To communicate with the SSI absolute encoder set the SSI monoflop time Tp to allow time for data transmission of the encoder to be reset Tm under a condition of Tp gt Tm ranan sT1ssi 1 2 3 4 5 6 7 8 9 ssi a absolute encoder _Dn XDn 1 Dn 2 Dn 3X D3 X D2 Y D1 Y DO Xx Figure 3 7 SSI monoflop time setting function 2 Select one from 48 us 64 us 80 us and 96 us When the SSI baud rate is 125kHz or 250kHz there are restrictions on the SSI monoflop time setting For the case of 500kHz 1MHz or 2MHz there are no restrictions Figure 3 8 Restrictions on the SSI monoflop time setting SSI monoflop time setting SSI baud rate 125kHz x O 250kHz x O 500kHz O 1MHz O 2MHz O O Can be set x Can not be set 3 The default is 96us 3 10 3 2 Functions 3 2 3 SSI monoflop time setting function 3 SPECIFICATIONS 3 2 4 Latch counter function MELSEC ST 1 The ST1SS1 has 1 point digital input for the latch function and if a signal is input from an input switch it latches the values stored in turns ON 1 Br n 2 Latch
142. occur during operation of the ST1SS1 and how to troubleshoot them 9 1 Error Code List When an error occurs due to data writing to the master module the ST1SS1 can execute the Error code read request command command no 8101H 0101H and thereby an error code is stored into Cr Command result area of the head module Error code Hexadecimal Error name Table 9 1 Error code list Description Corrective action Power off the ST1SS1 and then on or reset the head module If this error code is stored again System the ST1SS1 be faulty 1100H y ROM error ROM is faulty TAVER AE error Please consult your local Mitsubishi representative explaining a detailed description of the problem Parameter setting write to ROM command no Commands or writes to ROM by Number of writes B501H 3501H was executed more than 25 times after System GX Configurator ST must not be 1200H to ROM power on error executed more than 25 times per exceeded Data were written to ROM by GX Configurator ST module after power ON more than 25 times Set a value so that the SSI code System SSI trailing bits The number of SSI trailing bits is greater than the SSI 2001H length is greater than or equal to error error code length i the number of trailing bits KNE System SSI code length Any other than 2 to 31 bits is set for the SSI code Set a value that is within the error error length
143. ommand refer to the following 2 L gt MELSEC ST CC Link Head Module User s Manual 8 2 5 Error clear request Zz 1 Device assignments in the program example o Table 6 16 Device assignments in the program example 2 3 E Device Application Device Application gt 6 D1000 to M2050 Completion device Control data D1004 M2051 Completion status indicator device D1100 to D1106 Send data execution data of the command D1300 to 9 M5003 Error reset request flag D1304 Receive data result data of the command z O E O Lu oO N Lu ao O mi a aes 222 eo na0 7 5 z O x lt 0 o Zz 5 Xd w 0 O Lu 5 Q g J34 C2 ae CXS a Zz lt x Q O 6 4 Program Examples 6 25 6 PROGRAMMING M5003 X105A 2 Program example MOYP MovP MOVP MOVP MOVP MOYP MOVP MOVP MOVP MOVP MOYP M2050 M2051 D1000 E D1301 D1000 D1301 M2051 SMO N 6 26 6 4 Program Examples HO HO HO HO HO Hove GP RDMSG uo D1000 D1100 spo p Processing for dedicated instruction failure Figure 6 15 Program for resetting errors HO H3 HOE HOA HO KI HO H8104 H4 HO HO HO D1300 RST RST D1000 D1001 D1002 D1003 D1004 D1100 D1101 D1102 D1103 D1104 D1105 D1106 M2050 M5003 M5003 Clears Completion status Target station No 3 Send data size Receivable data siz
144. ommand execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below no b15 b8 b7 bO k Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No Ts O Ww b a Other than 0O Failure L gt Section 8 7 Values Stored into Command Execution Result W Cr The executed command No 9501H 1501H is stored Hexadecimal 5 W Cr 2 Cw 2_ Argument 1 at command execution is stored o eiA Cr 3 Cw 3_ Argument 2 at command execution is stored Z a 2 a 1 When OFH is stored in Cr 0 15 8 Command execution result OOH slice position No or start PS ti nao slice No of the head module is stored in Cr 0 7 0 Slice position No or start slice No 7 5 gt 5 O x O 0 FA Fs oO O o a S a S 2f OKS e e COMMANDS 8 4 ST1SS1 Parameter Setting Read Commands 8 16 8 4 2 SSI trailing bits setting read Command No 9501H 1501H 8 COMMANDS MELSEE ST 8 4 3 SSI monoflop time setting read Command No 9502H 1502H Fowl 4 words 8 bytes Cr 4 words 8 bytes This command reads the SSI monoflop time setting from RAM of the ST1SS1 1 Values set to Cw Command execution area Table 8 20 Values set to Cw Command execution area 5 Command execution Setting value area For execution of command No 9502H Set a slice position No of the target ST1SS1 Hexadecim
145. omparator Coincidence detection value Figure 5 2 Parameter Setting screen 5 3 Parameter Setting D GX Configurator ST 4 Display setting details a b c d is SSI baud rate setting Set an SSI baud rate Select an option from 125kHz 250kHz 500kHz 1MHz and 2MHz SSI direction reversal setting Set whether to reverse the rotation direction or not No reversal Rotation is not reversed Reversal Rotation can be reversed SSI code setting Set the SSI code Gray code or Binary code SSI code length setting Set the SSI code length The setting range is 2 to 31 bits SSI parity setting Set the SSI parity None No parity check Even Even parity check Odd _ Odd parity check SSI trailing bits setting Set the number of SSI trailing bits The setting range is from 0 to 15 bits SSI monoflop time setting Set the SSI monoflop time Select an option from 484s 64Us 804s and 964s Latch mode setting Specify the latch mode setting No latch Rising edge Falling edge or Rising falling edge Coincidence detection flag setting Set the condition for the coincidence detection No comparator No coincidence detection Upward Detect at the set value or higher Downward Detect at the set value or lower Upward Downward Detect at the set value or higher or lower Coincidence detection value Set a value for coincidence detection The setting range is from 0 to 21474
146. ompleted normally Command result area Result details For execution of command No 9503 The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 aad b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No a 00H Normal completion Se For execution of command No 1503H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No n 00H Normal completion Cr The executed command No 9503H 1503n is stored Hexadecimal 8 19 8 4 ST1SS1 Parameter Setting Read Commands 8 4 4 Latch mode setting read Command No 9503H 1503h 8 COMMANDS MELSEE ST Table 8 24 Values stored in Cr Command result area When completed normally Continued Command result area Result details The latch mode setting is stored 0 0 0 H Ss S7 Fixed to 0 Cr 2 Latch mode setting OH No latch 1H Rising edge 2H Falling edge 3H Rising Falling edge OVERVIEW Cr 3 OOOOH is stored CONFIGURATION SYSTEM b When failed Cr 0 15 8 Command execution result is other than 00H Table 8 25 Values stored in Cr Command result area When failed Command result area Result d
147. on Hills IL 60061 raw 372 Mei 8149 Fax 421 0 33 7735 144 Phone 1 847 478 2100 Beijer Electronics OY FINLAND INEA d o o SLOVENIA Fax 1 847 478 22 53 Jaakonkatu 2 Stegne 11 FIN 01620 Vantaa SI 1000 Ljubljana Phone 358 0 207 463 500 Phone 386 0 1 513 8100 Fax 358 0 207 463 501 Fax 386 0 1 513 8170 UTECO A B E E GREECE Beijer Electronics AB SWEDEN 5 Mavrogenous Str Box 426 GR 18542 Piraeus SE 20124 Malmo Phone 30 211 1206 900 Phone 46 0 40 35 86 00 Fax 30 211 1206 999 Fax 46 0 40 35 86 02 MELTRADE Ltd HUNGARY Econotec AG SWITZERLAND Fert utca 14 Hinterdorfstr 12 HU 1107 Budapest CH 8309 N rensdorf Phone 36 0 1 431 9726 Phone 41 0 44 838 48 11 Fax 36 0 1 431 9727 Fax 41 0 44 838 48 12 Beijer Electronics SIA LATVIA GTS TURKEY Vestienas iela 2 Dar laceze Cad No 43 KAT 2 LV 1035 Riga TR 34384 Okmeydani Istanbul Phone 371 0 784 2280 Phone 90 0 212 320 1640 Fax 371 0 784 2281 Fax 90 0 212 320 1649 Beijer Electronics UAB LITHUANIA CSC Automation Ltd UKRAINE Savanoriu Pr 187 4 B M Raskovoyi St LT 02300 Vilnius UA 02660 Kiev MITSUBISHI ELECTRIC Phone 370 0 5 232 3101 Fax 370 0 5 232 2980 Phone 380 0 44 494 33 55 Fax 380 0 44 494 33 66 Mitsubishi Electric Europe B V FA European Business Group Gothaer Stra e 8 D 40880 Ratingen Germany FACTORY AUTOMATION Tel 49 0 2102 4860 Fax 49 0 2102 4
148. one from 125kHz 250kHz 500kHz 1MHz and 2MHz The default is 125kHz Setting method e GX Configurator ST gt Section 5 3 Parameter Setting e Dedicated instruction from the master station RDMSG instruction 3 Section 8 3 1 Initial data batch write request Command No 8106H Section 8 3 2 Initial data individual write request Command No 8107H 0107H SSI code length setting function Encoder resolution setting function 1 2 3 Set an the SSI code length that matches resolution of the SSI absolute encoder The ST1SS1 supports SSI absolute encoders with resolution of 2 to 31 bits The setting range is 2 to 31 bits The default is 25 bits Setting method e GX Configurator ST gt Section 5 3 Parameter Setting e Dedicated instruction from the master station RDMSG instruction lt Section 8 3 1 Initial data batch write request Command No 8106H lt gt Section 8 3 2 Initial data individual write request Command No 8107H 0107H 3 2 Functions 3 2 1 Function list 3 5 SYSTEM OVERVIEW CONFIGURATION oO PROCEDURES BEFORE SETUP AND OPERATION ONLINE MODULE CHANGE o Z O q 9 T S M a oO GX Configurator ST PROGRAMMING COMMANDS 3 SPECIFICATIONS Table 3 2 ST1SS1 Function List Continued MELSEC ST TE Reference Item Description section
149. ons eeecccccccccccccccccccccccccccccccccvccccs AF Low voltage directives ceccccccccccccccccccccceccccccce 10 M maximum cable lengthecrccecccccccccccccccccccccccccces 4 1 0 Memory C000 COO OO OOO OOOO OOO OOO OOOOH OOOO OOOOH OOO OOOO OOOOOCC 3 1 8 Module TEAAY eeeccccccccccccccccccccsccsccccoccccccoocccs 3 14 N Number of occupied I O pointse eseeeeeeesseeeeessoo 3 1 Number of occupied SliICRS cocccccccccccccccccccccceccce 3 1 0 Online module CHANGE ceeececcccccccccccccccccccces 3 8 7 1 Operating status read request serereeseseeceseseeseees 8 3 P Parameter SEttingereccccccccccccccscccsccsscccscosscccsocs 5 3 Parameter setting read from ROM eeeeeeeeeeeeeeeeee 8 39 Parameter setting write to ROM cessessesccsceceeeees 8 41 Parameters eecccccccccccccccccccccccccccccccccccccscvcccs 3 10 Part NAMES eeecececccccccccccccccccccccccccccccccccccccocce 4 3 Performance specifications ccooooooooooooooo00000000000 3 1 Programming SOSOHOSHSSHSHSHSSHSSOSSOSSHSSSSSHOHSSHHHOHHOHHEOOES 6 1 R RAM C0000 OOOO OOOO OOOO OOO OOOO OOO OOOOH OOOO OOO OOOOH OOOOOCODEE 3 1 8 Resolution sescscesccoocoooooooooo00000000000000000000000 3 1 ROM C0000000 0000000000000000000000000000000000000000000000 3 1 8 ROM write COUNT ceececccccccccccccccccccccccccccccccsccce 3 1 S Setup and procedure before operation eeeeseeeeeeeee 4 2 Index 1 TROUBLESHOOTING APPENDIX INDEX Software package eccccccccccccccccccccccccccccc
150. oocoocoosoe 3 15 Index 2 Warranty Please confirm the following product warranty details before using this product 1 Gratis Warranty Term and Gratis Warranty Range If any faults or defects hereinafter Failure found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company However if repairs are required onsite at domestic or overseas location expenses to send an engineer will be solely at the customer s discretion Mitsubishi shall not be held responsible for any re commissioning maintenance or testing on site that involves replacement of the failed module Gratis Warranty Term The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warranty term after manufacturing shall be eighteen 18 months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state usage methods and usage environment etc which follow the conditions and precautions etc given in the instruction manual user s manual and caution labels on the product 2 Even with
151. oooooooo0000000000000000000 OF External AUX power SUPP lycecececcecccccccccccccccccs 3 1 External dimensions eecccccccccccccccccccccccccccccce App 2 External INPUterceceecccccccccccccscocccoooccsooccccoccoocs 3 1 External wiring ecccccccccccccscccccccccscccccccccccccccccs A 7 F Forced output test POCCOOOOOEOO CEO OO OOOO OOO LOO OOOO OOOOOECE 5 8 Function list COCO OOO OOOO OO OOOOH OOOO OO OOO OOOO OOO OOOO COOOOCC 3 5 G Gray code Binary Code selection e eeeeeeeeeeeeeeeeo0 3 5 GX configurator ST functions eeeseseeeeesseeeeosseo 5 1 H Handling precautions C0000000 000000000000000000000000000 4 1 head mModulE escccssoccocoooooooooooooooo0o00000000000000 2 2 I Initial data batch write request eeeeeeeseeseesessossoooo 8 7 Initial data individual write request eeeeeeeeeeceeeeeee 8 10 Initial data setting read eccccccccccccccccccccscccsccccses 3 13 Input Output monitor eeccccccccccccccccccccccccccscccccse D G Intelligent function module processing time seseese 3 4 Isolation sessesssccocoocosocoocooo000000000000000000000000 3 1 I O Data seccccccccocoocoooooooo0000000000000000000000000 3 14 L Latch counter function eececcccccccccccccccccccccce 3 6 3 1 1 Latch detection clear request eeeseseeeeeeseeeeeeee 3 16 Latch detection flag ocoocoooooo0o00000000000000000000000 3 15 Latch mode setting read ceccccccccccccccccccccccsccces 3 19 Latch mode setting Write eecccccccccccccccccccccccccces 3 30 LED indicati
152. or are stored and latched in _Wr n latch and its values are stored and latched in Wr n 1 Encoder value High 4 Br n 3 Coincidence detection flag a Wr n Encoder value Low and Wr n 1 Wr n_ Encoder value Low and Encoder value High are compared with the preset coincidence detection value command parameter and if they match each other this flag turns ON 1 Word input area This section explains the Wr word input area 1 Wr n Encoder value Low a The low order word of the encode data bit O to 15 is stored 2 Wr n 1 Encoder value High a The high order word of the encode data bit 16 to 31 is stored 3 3 I O Data 3 15 3 3 2 Word input area OVERVIEW CONFIGURATION SYSTEM oO 2 Zz O lt O m w a oa PROCEDURES BEFORE SETUP AND OPERATION GX Configurator ST PROGRAMMING ONLINE MODULE CHANGE COMMANDS 3 SPECIFICATIONS MELSEE ST 3 3 3 Bit output area This section explains the Bw bit output area 1 Bw n System area Use of this area is prohibited Fixed to 0 2 Bw n 1 Convert setting request a Set this to ON 1 to start converting the values from the SSI absolute encoder And to stop the conversion set this to OFF 0 e OFF 0 Conversion stop Default e ON 1 Conversion start b Turn this from
153. ormal completion Cr The executed command No 9505H 1505n is stored Hexadecimal 8 23 8 4 ST1SS1 Parameter Setting Read Commands 8 4 6 Coincidence detection value read Command No 9505H 1505H 8 a COMMANDS MELSEE ST Table 8 30 Values stored in Cr Command result area When completed normally Continued Command result area Result details Cr2 The low word b0 to b15 of the coincidence detection value is stored in Cr 2 The high word b16 to b31 of the coincidence detection value is stored in Cr 3 Example When the coincidence detection value is 1000000 us 0 0 0 0 0 0 H L The high word is The low word is stored in Cr 3 stored in Cr 2 b When failed Cr 0 15 8 Command execution result is other than OOH Table 8 31 Values stored in Cr Command result area When failed Command result area Result details For execution of command No 9505H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 ed b8 b7 iai bO Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No l Other than OO Failure C Section 8 7 Values Stored into Command Execution Result Cr 0 For execution of command No 1505 The command execution result and start slice No in hexadecimal are
154. parameters to the following modules of the same type e Head module e Input module e Output module Intelligent function module Command parameters are written to RAMs of multiple ST1SS1s all at once 1 Values set to Cw Command execution area Table 8 8 Values set to Cw Command execution area 3 Command execution Setting vale area Cw 0 Fixed to OOOOH Cw 1 Set a command No to be executed 8106H Hexadecimal Cw 2 Set command parameters of the head module Hexadecimal Cw 3 Set command parameters of input modules Hexadecimal Cw 4 Set command parameters of output modules Hexadecimal Set the number of the command parameter settings for intelligent function modules in Cw 5 Cw 6 to Cw 19 number of module types 0 to 7 Set a number specific to the ST1SS1 module and command parameters Hexadecimal This setting is required only when one or more value is set in _Cw 5 8 6 0 H oF b3 b2 b bO Module specific No Cw 6 SSI baud rate setting 000 125kHz 001 250kHz 010 500kHz 011 1MHz 100 2MHz SSI direction reversal setting 0 No reversal 1 Reversal 8 7 8 3 Initial Data Write Command 8 3 1 Initial data batch write request Command No 8106H 8 COMMANDS Table 8 8 Values set to Cw Command execution area Continued Command execution area Setting value
155. r data transfer with the head module as indicated below This section explains the composition of each area Table 3 4 I O data list 3 7 Number of Default Reference Transfer direction Item Occupancy value section SEn 4 0 Section ST1SS1 gt Head module H Pt input Area 3 3 1 Input Data Section r wr Word Input Area 2 0 aa Section Head module ST1SS1 Bw Bit Output Area 4 0 aaa Output Data oe Ww Word Output Area 0 0 A 3 3 1 Bit input area This section explains the Br Bit input area 1 Br n Module READY a This turns ON 1 when the MELSEC ST system ST1SS1 is powered up or when the head module is reset b While Br n_ Module READY is OFF 0 counting is not performed Br n_ Module READY turns OFF 0 when e A watchdog timer error occurred e The system is in module replaceable status during online module change gt CHAPTER 7 ONLINE MODULE CHANGE 2 Br n 1 Convert setting completed flag a When command parameter setting check is completed this will turns ON 1 after Convert setting request turned ON 1 This will also turns ON 1 if a setting error is detected When parameter setting is normal Performed by the ST1SS1 gt Performed by the master station program Br n _ Module ready Bw n 1 Convert setting Bs request i Br n 1 Convert s
156. r is 8 connected communication may be restricted Z Be sure to check the specifications of the encoder to be connected fe O 3 1 Performance Specifications 3 1 3 SPECIFICATIONS 3 1 1 Data update cycle of the ST1SS1 MELSEC ST When the ST1SS1 sends a clock to an SSI absolute encoder the encoder sends a positioning data back to the STSS1 in synchronization with the clock Data in ST1SS1 s Wr n_ Encoder value Low and Wr n 1_ Encoder value High areas are updated regularly by communications with the SSI absolute encoder 1 Data update cycle of the ST1SS1 The ST1SS1 data update cycle varies depending on the SSI code length Shown below is a graph of the ST1SS1 data update cycle for the monoflop time of 96us 400 0 350 0 300 0 250 0 200 0 150 0 100 0 SSI data update cycle Us 50 0 0 0 2345 6 7 8 910111213 141516 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 SSI code length No of bits Figure 3 1 Data update cycle SSI baud rate 2MHz a 1MHz 4 500kHz lt 250kHz 125kHz The cycle for updating Wr n_ Encoder value Low and Wr n 1_ Encoder value High can be obtained from the formula shown below The formula varies depending on the SSI baud rate 3 1 Performance Specifications 3 1 1 Data update cycle of the ST1SS1 3 SPECIFICATIONS MELSEE ST
157. r parts is not available after production is discontinued 3 Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ 4 Exclusion of loss in opportunity and secondary loss from warranty liability Regardless of the gratis warranty term Mitsubishi shall not be liable for compensation of damages caused by any cause found not to be the responsibility of Mitsubishi loss in opportunity lost profits incurred to the user by Failures of Mitsubishi products special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsubishi products replacement by the user maintenance of on site equipment start up test run and other tasks 5 Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice 6 Product application 1 In using the Mitsubishi MELSEC programmable controller the usage conditions shall be that the application will not lead to a major accident even if any problem or fault should occur in the programmable controller device and that backup and fail safe functions are systematically provided outside of the device for any problem or fault 2 The Mitsubishi programmable controller has been designed and manufactured for applications in general industries etc Thus app
158. received to the head module through the remote output RY Wr n_ word input Word 16 bit input data of an intelligent function module area Input data are sent from the head module to the master station through the remote register RWr Word 16 bit output data of an intelligent function module Ww n word output PI Output data are sent from the master station and received to the head module through the remote area register RWw An area for the information that indicates a command result Cr n_ command BN NS F This information is stored in Setting data D1 1 and after of the RDMSG instruction of the master result area station command execution area A 14 An area for the information for executing a command This information is stored in Setting data S2 1 and after of the RDMSG instruction of the master station Term Definition Number of occupied The area that is equivalent to the occupied I O points is occupied in Br bit input area Bw bit I O points output area The number assigned to every 2 occupied I O points of each module The numbers are assigned in Slice No ascending order starting from 0 of the head module The maximum value is 127 This is used for specifying a command execution target The number that shows where the slice module is physically installed A ae The numbers are assigned in ascending order starting from 0 of the head module Th
159. rmation read request command No 0103H Fixed to 0000H Fixed to 0000H Executes dedicated instruction RDMSG Error module information storage enabled ON Error module information reading Error module information storage enabled OFF 6 PROGRAMMING MELSEE ST e Program for reading error codes Execute Error code read request command No 8101H 0101H with the dedicated instruction RDMSG of the master station to read an error code oa 1 Device assignments in the program example 3 Table 6 15 Device assignments in the program example Device Application Device Application s D1000 to M2040 Completion device Control data D1004 f M2041 Completion status indicator device D1100 to D1104 Send data execution data of the command fo D1300 to wir M5002 Error handling flag Receive data result data of the command v5 D1304 ao Error module information read target M6001 Error code storage enabled D4000 gt 2 d Program for reading error module information in this section no D4001 Error code read target z f Te O wW Q n W oa O ti a ig BE O 7 5 g x lt 9 cS 5 Xd ing a a WwW 5 a S ag C2 ae exe a CA lt Z fe O 6 4 Program Examples 6 23 6 PROGRAMMING 2 Program example ne 6 ne 7 aly uo D1000 D1100 M2040 M2041 gt D1000 HO HO H3 HOA HOA HO K1 H2 H
160. screen display 5 1 Select ST1SS1 on the System Monitor screen ze Nz Q 2 Click the Forced Output Test Test button 3o 3 Display setting screen Forced Output Test No 2 ap 6 k S Module Information gj Slice No in Module Name ST1SS1 Label Name id O Bit Data mi Outpt Data Select ItemName Ve 2 B Duiput Area i Convert setting request Norequest v ame atch clear requesi o reques 7 toe PY a vogue 5 a F BES ol Word Data Outpt Data Sele P fol 2 d 2 G a O x lt O Figure 5 4 Forced Output Test screen 2 4 Display setting details z O a Bit Data Table 5 4 Bit Data list Output Data Item Description Convert setting request The setting of Bw n 1_ Convert setting request can be g changed 3 W Bit Output Area Latch clear request The setting of _Bw n 2_ Latch detection clear request can be changed 65 Comparator clear request The setting of _Bw n 3__ Comparator clear request can be changed b Word Data 2 Unavailable for the ST1SS1 Z 5 O 5 5 Forced Output Test 5 8 D GX Configurator ST MELSEG ST 5 Test operation 1 Select a test item by checking the corresponding Select check box 2 Set a value in the Value field 3 Click the Set button 1 Clicking the Set button executes the test 1 When the module is not in the forced output test mode a dialog appears asking whether to switch to the forced output tes
161. sesososeseeee 4 G 4 4 1 4 4 2 4 4 3 Wiring precautions cooocoooooooocoooooooooooooo00000000000000000000000000000000000000000000000000000000000000000 6 External wiring 0oooooooooooooo0000000000000000000000000000000000000000000000000000000000000000000000000000000000 7 Cable connected between the ST1SS1 and absolute Encoder eeeccccccccccccccccccccccccccccccees A 10 CHAPTERS GX Configurator ST 5 1to5 9 5 1 GX Configurator ST Functions 00oooooocooooocoo000000000000000000000000000000000000000000000000000000000000000000 1 5 2 Creating a Projecte e seeeeessesseeeeccecsocccccoeooococccoeooococcccccoooocsococoosocsocecossoosccecoesoosccecoesoss 5 _ 2 5 3 Parameter Setting eeeeeseeseeeeecoecceeceecoococccococococccccoooeoocccecocooscccccoceososcccocoososcccocoeossee5 _ 3 5 4 Input Output Monitor eseeeeseseesseeecesecoccseecoooccocosoceoooococossccoooscocsoscccoossocsscccsosssocssscesssse 5 G 5 5 Forced Output Teste e seesseeseeseseceseesocscececooccocoosccsoocococcecososcocossccoooscocssecossoscccsssceossssee 5 _ B CHAPTER6 PROGRAMMING 6 1to6 26 6 1 Programming Procedure 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 1 6 2 System Configuration Example 00ooooooooooo0o0000000000000000000000000000000000000000000000000000000000000000000 4 6 3 Settings and Communication Data 000000000000000000000000000000000000000000000000000000000000000000000000000000 5 6 4 Program
162. sfa MITSUBISHI ELECTRIC MELSEC ST Series Programmable Logic Controllers User s Manual CC Link SSI Absolute Encoder Input Module ST1SS1 Scone A MITSUBISHI ELECTRIC INDUSTRIAL AUTOMATION Version A ersion SAFETY PRECAUTIONS Read these precautions before using When using this product thoroughly read this manual and the associated manuals introduced in this manual Also pay careful attention to safety and handle the product properly The precautions given in this manual are concerned with this product only Refer to the user s manual of the network system for safety precautions of the network system In this manual safety precautions are classified into two categories DANGER and CAUTION D DANGER Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury A Indicates that incorrect handling may cause hazardous conditions CAUTION resulting in minor or moderate injury or property damage Depending on circumstances failure to observe A N CAUTION level precautions may also lead to serious results Be sure to observe the instructions of both levels to ensure the safety Store this manual in a safe place for future reference and also pass it on to the end user DESIGN PRECAUTIONS Create an interlock circuit on the program so that the system will operate safely based on the communication status information Failure to do so may ca
163. specified Tee The specified target start slice position Cw 0 slice position No or start slice No No or start slice No is incorrect Check if the specified slice position No or start slice No matches start slice No of the ST1SS1 Check Table 8 1 to see if the requested command No is applicable for the ST1SS1 or not oda There is no response from the If the requested command No is applicable the ST1SS1 may specified module be faulty Please consult your local Mitsubishi representative explaining a detailed description of the problem ere The ST1SS1 may be faulty No communication is available with the i ae Z ioe 05H a Please consult your local Mitsubishi representative explaining a specified module it detailed description of the problem i Check the error code and take corrective actions 37 The requested command is not 3 Section 9 1 Error Code List 06H executable in the current operation If no error code is stored check Table 8 1 to see if the requested mode of the module command No is applicable in the operation mode The module has already been in the Continue the processing since the ST1SS1 specified by Cw o 07H i slice position No or start slice No is already in the requested specified mode mode oan The mode of the module cannot be Set Bwn 1 Convert setting request to OFF 0 and then changed to the specified mode execute the command Gon The specified module is in the online Execute the comma
164. sted gt sassis Performed by ST1SS1 z gt Performed by master station pro Br n 3 Coincidence detection 7 flag Bw n 3 Comparator clear request Figure 3 17 Bw n 3 Comparator clear request lt 3 5E cas oO 2 Zz O lt O m w a oa PROCEDURES BEFORE SETUP AND OPERATION GX Configurator ST PROGRAMMING ONLINE MODULE CHANGE COMMANDS 3 3 O Data 3 17 3 3 3 Bit output area 3 SPECIFICATIONS MELSEE ST 3 4 Memory and Parameters This section explains the memory and parameters of the ST1SS1 3 4 1 Memory RAM and ROM can be used to store the parameter of ST1SS1 1 RAM a The ST1SS1 operates based on the parameter settings stored in the RAM b The parameter settings stored in the RAM become valid when the Bw n 1 convert setting request turns from OFF to ON 2 ROM a The parameters stored in the ROM are not erased even if the power is turned off b The parameters stored in the ROM are transferred to the RAM when e The MELSEC ST system ST1SS1 is powered off then on The head module is reset Parameter setting read from ROM command command number B500H 3500H is executed 3 18 3 4 Memory and Parameters 3 4 1 Memory 3 SPECIFICATIONS MELSEE ST 3 4 2 Parameters The setting items required to operate the ST1SS1 are called command parameters E oa 1 Setting command parameters 5 Use either of the following methods
165. suitable for resolution of SSI absolute encoder The ST1SS1 supports SSI absolute encoders of 2 to 31 bit resolution and the SSI code length can be set within the range from 2 to 31 bits Digital input encoder values can be latched Latch counter function Since 1 point digital input for the latch function is provided the ST1SS1 can latch the encoder value when a signal is input by an input switch etc Rotational direction of SSI absolute encoder is detectable The ST1SS1 has two LEDs that indicate rotational directions of the SSI absolute encoder so that its incrementing or decrementing count can be confirmed with the LEDs Rotational direction can be reversed Incrementing or decrementing count corresponding to the rotational direction of the SSI absolute encoder can be reversed Table 1 1 j sah Wr n ode alue O D D D Ww n 1 ode alue Q Increment Increment ON OFF No reversal Decrement Decrement OFF ON Increment Decrement OFF ON Reversal Decrement Increment ON OFF 1 1 Features 1 OVERVIEW MELSEE ST 9 Coincidence detection is available The ST1SS1 compares the present value with the coincidence detection value set in advance and if these values are matched it outputs a bit signal OVERVIEW 10 Failure in DATA signal line is detectable The ST1SS1 can detect a failure that occurred on the DATA signal line connected to the SSI absolute encoder e g disconnection short circuit
166. t oO 9 cS Xd ing 0 O a a WwW 5 a S Ja C2 ae oo a CA lt fe O 6 4 Program Examples 6 11 6 PROGRAMMING 3 Program example 6 12 M3000 X105A X1040 HovP HO D1000 MOVP H3 D1001 F MOVP HOE D1002 F movP HOA D1003 J HovP HO D1004 F WovP KI D1500 F HOVP HO D1501 F MOVP H8107 D1502 J movP H1 D1503 HOVP H2 D1504 F movP H8600 D1505 J WOVP H32 D1506 F GP RDMSG UO D1000 D1500 D1700 M2000 H2000 M2001 Ea ati E N t D1000 HO Processing for normal command completion completion sas z D1701 HO H Processing for normal command completion when 0000H is sor D1000 HO H Processing for command failure completion status D1701 HO Error code handling for command failure RST M3000 M2001 SHO Pree ere reer rer er terrors i to HO SDO _ Processing for dedicated instruction failure RST M3000 Figure 6 9 Program for initial data write command 6 4 Program Examples MELSEC ST Clears Completion status Target station No 3 Send data size Receivable data size Clears receive data size No of commands to be executed Fixed to 0000H Initial data individual write request Command No 8107H Number of data for which command parameters are set Slice position No 2 Module specific No Command parameter setting Command parameter setting Executes dedicated instructio
167. t mode Click the OK button to switch to the forced output test mode When the forced output test mode is activated the RUN LED of the head module start flashing Es POINT When the forced output test mode has been cancelled make sure that the RUN LED of the head module is on 5 9 5 5 Forced Output Test 6 PROGRAMMING MELSEC ST This chapter describes example programs available when the QJ61BT11N is used as a a master station i O For details of the QJ61BT11N refer to the following manual oe CC Link System Master Local module User s Manual eeeoeeeeeaeoeeenoeoeoeeaoeoeeoeeeeeeseeaeeaeeoeeeeaeoeeaeeeaea ee eeaeneeee ee o 58 6 1 Programming Procedure According to the following procedure create a program for executing the counting of the 2 ST1SS1 gt When applying any of the program examples introduced in this chapter to the actual E system verify the applicability and confirm that no problems will occur in the system g control 9 E 229 BES p id 8 3 6 g S amp g z a wo SZ 65 8 S 6 1 Programming Procedure 6 1 6 PROGRAMMING When using GX Configurator ST When not using GX Configurator ST Set command parameters using GX Configurator ST 7 Section 5 3 Bw n 1 Convert setting request Yes Read encoder values SSI trailing bits setting gt Section 8 5 1 SSI monoflop time setting C Section 8 5 2 No Does the SS
168. th the command have not taken effect in the module Set Convert setting request to ON 1 for the iv parameters on the RAM to take effect in the module mi N b When failed Cr 0 15 8 Command execution result is other than OOH oxZ LOE wt Table 8 16 Values stored in Cr Command result area When failed 5 8 ti wW of OQO Command result area Result details For execution of command No 9500H The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below 8 b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No 5 x SY 2 b Other than 0O Failure Ss Section 8 7 Values Stored into Command Execution Result Cr 0 z For execution of command No 1500H TA The command execution result and start slice No in hexadecimal are stored in the high Z and low bytes respectively as shown below O b15 b8 b7 bo ks Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No A Other than 0O Failure i C gt Section 8 7 Values Stored into Command Execution Result O Cr 1 The executed command No 9500H 1500k is stored Hexadecimal w 8 ee _ elit Cr 2 Cw 2_ Argument 1 at command execution is stored 65 Cr 3 Cw 3_ Argument 2 at command execution is stored 8 1 When OFH is stored in Cr 0 15 8 Command execution result 00H slice position No or start slice No of the head modul
169. the high and low bytes respectively as shown below b15 b8 b7 bO Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No J in 00H Normal completion Cr The executed command No 9500H 1500n is stored Hexadecimal 8 13 8 4 ST1SS1 Parameter Setting Read Commands 8 4 1 Initial data setting read Command No 9500H 1500H 8 COMMANDS MELSEE ST Table 8 15 Values stored in Cr Command result area When completed normally Continued Command result area Result details The SSI code setting SSI code length setting SSI parity setting SSI baud rate setting and SSI direction reversal setting in RAM are stored a oa b145 b12 b11 b10 b8 b7 b bd bi b0 3 1 SSI code setting b0 4 SSI baud rate setting b8 to b10 z Cr2 0 Gray code 000 125kHz O 1 Binary code 001 250kHz lt 010 500kHz o 2 SSI code length setting b1 to b5 011 1MHz Ei 2 to 31 bit 100 2MHz 29 3 SSI parity setting b6 to b7 5 SSI direction reversal setting b11 00 None 0 No reversal 01 Even 1 Reversal 10 Odd 2 O The currently valid values of the SSI code setting SSI code length setting SSI parity S cr3 setting SSI baud rate setting and SSI direction reversal setting are stored 5 The stored values are the same as those in Cr 2 Response data 1 a 1 If the stored values differ between Cr 2 and Cr 3 the parameters written to the RAM wi
170. the module and cables or can cause a malfunction due to a cable connection fault STARTUP AND MAINTENANCE PRECAUTIONS Do not touch the terminals while power is on Doing so could cause shock or erroneous operation Make sure to shut off all phases of the external power supply for the system before cleaning the module or tightening screws Not doing so can cause the module to fail or malfunction STARTUP AND MAINTENANCE PRECAUTIONS N CAUTION Do not disassemble or modify the modules Doing so could cause failure erroneous operation injury or fire Do not drop or give a strong impact to the module since its case is made of resin Doing so can damage the module Make sure to shut off all phases of the external power supply for the system before mounting removing the module onto from the control panel Not doing so can cause the module to fail or malfunction Before handling the module make sure to touch a grounded metal object to discharge the static electricity from the human body Failure to do so may cause a failure or malfunctions of the module When using any radio communication device such as a cellular phone keep a distance of at least 25cm 9 85 inch away from the MELSEC ST system in all directions Not doing so can cause a malfunction DISPOSAL PRECAUTIONS N CAUTION When disposing of this product treat it as industrial waste REVISIONS The manual number is given on the bottom
171. ting write Command No A504H MOVP H2 D1103 J Coincidence detection flag setting Downward WovP HO D1104 Fixed to 0000H G RDMSG UO D1000 D1100 D1300 M2020 Executes dedicated instruction RDMSG M4004 X105A X1040 KH4 gt r K1 D1100 J No of commands to be executed H2 D1101 Slice position No 2 HOAS05 D1102 Coincidence detection value write Command No A505H H86A0 D1103 Set the low word of the coincidence detection value 86A0H H1 D1104 J Set the high word of the coincidence detection value 1H k 1 11 1 xecutes dedicated instruction G RDMSG UO D1000 D1100 D1300 M2020 E tes dedicated instructi RDMSG M2020 N2021 RA A a A a i D1000 H0 HE D1302 HOA501 JE Processing for normal command completion completion status i D1302 HOA502 E Processing for normal command completion completion status H L D1302 HOA503 TE Processing for normal command completion completion status j D1302 HOA504 TE Processing for normal command completion completion status l D1302 HOA505 TE Processing for normal command completion completion status t D1301 H2 JE D1302 HOASO1 E Processing for normal command completion command execution resul hi L D1302 HOASO2 F Processing for normal command completion command execution resul ih L D1302 HOASO3 F processing for normal command completion command execution resul if L D1302
172. tions for Online Module Change 3 Sor 7 6 PROGRAMMING ONLINE MODULE CHANGE COMMANDS 6 1 Programming Procedure 6 3 6 PROGRAMMING 6 2 System Configuration Example The following system example is used for the programs described in this chapter Remote net Ver 2 mode Ver 1 remote I O station Ver 1 remote I O station Ver 1 remote device station Master station Station No 0 16 point input module 16 point output module single setting Station Station No 1 Station No 2 No 3 1 station occupied 1 station occupied 1 station occupied Configuration of Q25HCPU QJ61BT11N and FJ QX41 i T ST1H BT STIPSD Ef ST1SS1 Terminating resistor Terminating resistor CC Link Figure 6 2 System configuration example 1 System configuration of master station Table 6 1 System configuration of master station Module Input signal Output signal Q25HCPU QJ61BT11N X00 to X1F Y00 to 1F Qx41 X20 to X3F 2 MELSEC ST system configuration Table 6 2 I O points sheet positio 0 OF O pied odule name Br n Bw n Wr n Ww n A otio z Sa 0 2 ST1H BT 0 0 0 0 0 410A 0 410A OA OA z Cy 2 1 ST1PSD 0 0 0 0 ans ad 25 2mm es 3 2 ST1SS1 4 4 2 0 0 080A 0 490A 4 Ta omm A i i 37 8mm 4 4 2 0 37 8mm Total z P 7 252 bits 252 bits 52words 52 words 3 49 850mm or orless orless orless or less more 41 The 24V DC current varies
173. tton stops online module change Terminate the online module change by the following procedure e On the restarted screen shown in a select the same slice module If a different module is selected an error occurs e Perform the operation b to display the screen in k and click the Next button 2 After clicking the Next button confirm the following module status e The REL LED of the head module is flashing e The RUN LED of the newly mounted ST1SS1 is flashing at 0 25s intervals If the parameter settings could not be written to the ST1SS1 the REL and ERR LEDs of the head module turn on and the screen shown below appears Online Module Change Target Module No ee Slice No Be Module Name 5171551 LabelName Base Module ST1B 4IR2 Failed to write the parameter Please click Next button to operate with default parameters In case of changing the parameter settings please close with Cancel button write parameters with Parameter Setting and after that execute Online Module Change again Next gt Cancel ne gt Figure 7 6 Error screen Confirm the error and take corrective actions gt Section 9 1 Error Code List For details of the error codes of the head module refer to the following L3 MELSEC ST CC Link Head Module User s Manual 9 7 Error Codes 7 8 7 4 Online Module Change Procedure 7 4 1 When parameter setting is performed using GX Configurator ST dur
174. ure 5 3 Input Output Monitor screen 5 4 Input Output Monitor 5 6 D GX Configurator ST MELSEG ST 4 Display setting details a Bit Data Table 5 2 Bit Data list Input Output Data Item Description Convert setting request The status of __Bw n 1_ Convert setting request is displayed Bit Output Area Latch clear request The status of __Bw n 2__ Latch detection clear request is displayed Comparator clear request The status of __Bw n 3__ Comparator clear request is displayed Module ready The status of Brn Module READY is displayed Convert setting completed flag The status of Br n 1 Convert setting completed flag is displayed Bit Input Area R F Latch detection flag The status of Br n 2 Latch detection flag is displayed Coincidence detection flag The status of Br n 3 Coincidence detection flag is displayed b Word Data The display format decimal hexadecimal can be changed Table 5 3 Word Data list Input Output Data Item Description Encoder value Low and Encoder value High are displayed Word Input Area Encoder value 5 7 5 4 Input Output Monitor D GX Configurator ST MELSEG ST 5 5 Forced Output Test This section explains how to perform a forced output test a Conduct the test after setting values to the bit output area of the ST1SS1 i O 1 Mode changing Click Mode Diagnosis Zz 2 Forced Output Test
175. use an accident due to an erroneous output or malfunction When an error occurs all outputs are turned off in the MELSEC ST system At default However I O operations of the head module and respective slice modules can be selected for the following errors 1 Communication error C gt gt MELSEC ST CC Link Head Module User s Manual 4 3 1 Output status setting for module error 2 Slice module error The output status for the case of an error can be set to Clear Hold or Preset with a command parameter of each slice module For the setting availability refer to each slice module manual Since the parameter is set to Clear by default outputs will be turned off when an error occurs This parameter setting can be changed to Hold or Preset when the system safety is more ensured by holding or presetting the output DESIGN PRECAUTIONS Create an external failsafe circuit so that the MELSEC ST system will operate safely even when the external power supply or the system fails Failure to do so may cause an accident due to an erroneous output or malfunction 1 The status of output changes depending on the setting of various functions that control the output Take sufficient caution when setting those functions 2 Outputs may be kept ON or OFF due to malfunctions of output elements or the internal circuits For signals that may cause a serious accident configure an external monitoring circuit DESIGN PRECAUTIONS N CAUTI
176. valid range System a Set a value that is within the 2201H SSI parity error The SSI parity setting is out of range i error valid range System SSI baud rate o Set a value that is within the 2301H The SSI baud rate setting is out of range error error valid range System SSI monoflop are Set a value that is within the 2401H The SSI monoflop time setting is out of range error time error valid range Coincidence ere System i o Set a value that is within the 3001H detection value The coincidence detection value is out of range error valid range error System DATA signal line a Reverse the connection between 5001H The DATA signal line is connected reversely error reversal error DATA and DATA 9 1 Error Code List Q TROUBLESHOOTING Table 9 1 Error code list continued Error code none F Error name Description Corrective action o lt Q e ae N i Hexadecimal a z 5 Check cabling shielding SSI baud rate cable length and SSI code length If the error persists after the check hardware failure of the SSI absolute encoder or the ST1SS1 System The data signal line is not high before SSI a j SEN 5101H Start error EIR or the influence of noise is a error transmission probable cause Replace the SSI absolute encoder or consult your local APPENDIX Mitsubishi representative explaining a detailed description of the problem Check cabling shielding SSI
177. wn below b15 b8 b7 b0 Cr 0 15 8 Command execution result Cr 0 7 0 Slice position No oa a 00H Normal completion For execution of command No 3500H The command execution result and start slice No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 b0 Cr 0 15 8 Command execution result Cr 0 7 0 Start slice No p 00H Normal completion 8 39 8 6 ST1SS1 Control Commands 8 6 1 Parameter setting read from ROM Command No B500H 3500H 8 COMMANDS MELSEE ST Table 8 48 Values stored in Cr Command result area When completed normally Continued Command result R Result details EUG i Cr 1 The executed command No B500 35004 is stored Hexadecimal z Cr 2 0000 is stored Cr 3 ca O E b When failed Cr 0 15 8 Command execution result is other than 00H g 20 ao Table 8 49 Values stored in Cr Command result area When failed D z nO Command result i Result details area For execution of command No B500H n The command execution result and slice position No in hexadecimal are stored in the high and low bytes respectively as shown below b15 b8 b7 bO G Command execution result Cr 0 7 0 Slice position No 5 h Other than 00r Failure 4 on L gt Section 8 7 Values Stored into Command Execution Result mi r For execut

Download Pdf Manuals

image

Related Search

Related Contents

真空式土練機  USB KVM Switch    INTE GRA  

Copyright © All rights reserved.
Failed to retrieve file