background image

       

 

8-1

 

IM 34M6H33-01E 

1st Edition : July 1.2004-00

 

8. Programming 

After performing address setup for a slave, and registering the address to the LPS (List 

of Projected Slaves), the contact input/outputs of the slave then become addressable by 

a user program. 
 

8.1  

Programming 

 

ASi Statuses 

You may check the following ASi statuses from a user program.  

Table 8.1   ASi  Statuses 

Input Relay 

X

□□□

** 

Name Description 

X

□□□

17 OFFLINE_READY 

ON : 

 

online 

OFF :  

offline 

X

□□□

18 POWER_FAIL 

ON  :  ASi power supply error 
OFF  :  ASi power  supply normal 

X

□□□

19 NORMAL_OPERATION 

ON  :  operating normally 
OFF  :  communications not allowed (e.g. during initialization) 

X

□□□

20 OPERATION_MODE 

ON  :  Configuration mode 
OFF  :  Protected mode 

X

□□□

21 AUTO_PROG_AVIL 

ON  :  Automatic programming available.  Module is in Protected 

mode; AUTO_ADDRESS_ENABLE=1 and there is only 
one failed slave. 

OFF  :  Automatic address assignment function is disabled, or 

function is enabled but there is no failed slave. 

X

□□□

22 Reserved 

X

□□□

23 LDS_0 

 

ON  :  A blank slave (slave with address 0) is present. 
 
OFF  :  No blank slave (slave with address 0) is present. 

X

□□□

24 CONFIG_OK 

ON : 

 

List of detected slaves (LDS) matches list of projected 

slaves (LPS) 

OFF :  

List of detected slaves (LDS) is different from list of 

projected slaves (LPS) 

X

□□□

25 OFFLINE 

ON  :  Offline mode 
OFF :  

Online 

X

□□□

26 

Reserved (always on) 

X

□□□

27 

EEPROM_OK 

ON  :  EEPROM is normal 
OFF  :  EEPROM error 

X

□□□

28 AUTO_ADDRESS_ENABLE 

ON  :  Automatic address assignment is enabled 
OFF  :  Automatic address assignment is disabled (by command 

execution) 

X

□□□

29 

PERIPHERAL_FAULT(V2.1) 

ON  :  Slave peripheral fault has occurred

*2

 

OFF  :  No slave peripheral fault 

X

□□□

30 

X

□□□

31 

Reserved 

X

□□□

32 

Monitor Port in Use 

ON  :  in use 
OFF  :  not used 

"

□□□

" in a relay number denotes the slot number where the ASi Master module is installed. 

In general, you should always check that both NORMAL_OPERATION and 

CONFIG_OK are on during module operation. 
(Note that even if CONFIG_OK turns off, NORMAL_OPERATION may not turn off). 
As a minimal prerequisite, you should not start operation until NORMAL_OPERATION 

turns on. The other statuses should also be in appropriate states depending on the 

required operating conditions. 

TIP 

Although the ASi Master module supports both BASIC programs and ladder programs, ladder 
programs are more commonly used.  Hence, subsequent descriptions and explanations will be based 
on ladder programs. 
When writing BASIC programs, use the data position numbers given in this manual. 

 

Summary of Contents for FA-M3 Vitesse

Page 1: ...User s Manual IM 34M6H33 01E Asi Master Module IM 34M6H33 01E 1st Edition Yokogawa Electric Corporation...

Page 2: ......

Page 3: ...roduct l Range free Multi controller FA M3 Model code F3LA01 0N Name ASi Master Module The document number and document model code for this manual are given below Refer to the document number in all c...

Page 4: ...attention of the user please contact the nearest Yokogawa Electric representative or sales office Safety Precautions when Using Maintaining the Product The following safety symbols are used on the pr...

Page 5: ...ipment for the product and control system as well as designing or installing separate protection and or safety circuits for fool proof design and fail safe design of processes and lines using the prod...

Page 6: ...r copy of the software for use with each additional computer Copying the software for any purposes other than backup is strictly prohibited Store the original media such as floppy disks that contain t...

Page 7: ...before turning on the power l Interlock with emergency stop circuitry using external relays Equipment incorporating the FA M3 controller must be furnished with emergency stop circuitry that uses exte...

Page 8: ...age temperature should be from 20 C to 75 C There is a built in lithium battery in a CPU module and temperature control module which serves as backup power supply for programs device information and c...

Page 9: ...tion on creating ladder programs refer to FA M3 Programming Tool WideField2 IM34M6Q15 01E F3SP21 F3SP25 F3SP35 F3SP05 F3SP08 For information on sequence CPU functions refer to Sequence CPU Instruction...

Page 10: ...ine manual pay attention to possible inconsistencies with the latest version of the online manual Ensure that the edition agrees with the latest CD ROM version Copying passing selling or distribution...

Page 11: ...ctions 2 3 2 8 Attaching Detaching the Module 2 5 3 Functional Overview 3 1 3 1 Functions 3 1 3 2 Operating Mode 3 3 4 Registers 4 1 4 1 Register List 4 1 4 1 1 LPS List of Projected Slaves 4 2 4 1 2...

Page 12: ...Circuits 8 6 9 Monitor Port Function 9 1 9 1 Monitor Port 9 1 9 2 Monitoring Function 9 2 9 3 Setup Function 9 6 10 Cabling Guidelines IMPORTANT 10 1 11 Troubleshooting 11 1 11 1 Troubleshooting 11 1...

Page 13: ...a blank slave is connected to replace a defective slave this function will automatically program the blank slave to the original address of the slave that had failed TIP A blank slave is a slave with...

Page 14: ...er 2 Specifications Chapter 3 Function Overview Chapter 4 Registers Chapter 5 Input output Relays Chapter 6 Startup Preparation Section 8 1 Programming Section 8 2 Sample Circuits The other chapters c...

Page 15: ...ansmission rate 167Kbps with cycle time on ASi line of 10 ms with 62 slaves connected or 5 ms with 31 slaves connected Maximum transmission distance Total length up to 100m Up to 200 m when one extend...

Page 16: ...tor port Operating status LED indicators For details see Chapter 3 MST ERR NST RDY MODE MONITOR SET PRO TECT CONFIG Mode switch for details see Chapter 3 ASi ASi ASi ASi Figure 2 1 Front View 2 6 Exte...

Page 17: ...ction Port ASi port ASi ASi ASi ASi Figure 2 3 ASi Port Diagram ASi Connects to transmission cable brown or ASi power supply brown ASi Connects to transmission cable green or ASi power supply green Th...

Page 18: ...be connected to a PC using an RS 232C cable for display purposes to perform mode changes listing of slaves registration etc For details see Chapter 9 Monitor port MODE MONITOR Figure 2 5 Monitor Port...

Page 19: ...s into place CAUTION Always switch off the power before attaching or detaching a module Base module Asi Master module Anchor point F01 VSD Figure 2 6 Attaching Detaching a Module CAUTION DO NOT bend t...

Page 20: ...environments fasten the module with a screw Use screws of type listed in the table below Insert these screws into the screw holes on top of the module and tighten them with a Phillips screwdriver Scre...

Page 21: ...s can be set by writing to the Contact Output Data area using a user program Details of registers are described in the next chapter Analog Input output Access Function for V2 1 only AS interface V2 1...

Page 22: ...ed Intermixing of V2 0 compliant And V2 1 compliant Slaves The ASi Master module allows intermixing of ASi V2 0 compliant and V2 1 compliant slaves with restrictions on some functions Any V2 0 complia...

Page 23: ...ected slaves LPS 1 Indicates that the module is operating normally in Protected mode 2 The ASI Master Module should normally be in online mode If it stays in offline mode for whatever reason please co...

Page 24: ...conds in Configuration mode This is the alternative action described in the subsequent paragraph on Lock Function 2 For details on LDS see Subsection 4 1 3 The automatic address assignment function is...

Page 25: ...ding of inputs is suspended and output is turned off For details see Table 5 1 Input Relays Automatic Address Assignment Function By default the automatic address assignment function is enabled on thi...

Page 26: ...Blank Page...

Page 27: ...10 119 124 Command setup area Section 7 1 Note Data position numbers 1 102 are intended for reading by a user program The above table lists all the registers of the ASi Master module that a user can...

Page 28: ...ne regardless of whether they are registered in the LPS Table 4 4 LDS Area Bit Number Data Position Number 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 15A 14A 13A 12A 11A 10A 9A 8A 7A 6A 5A 4A 3A 2A 1A 1...

Page 29: ...is detected in LDS Bit Number Data Position Number 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 23 3A 2A 1A 24 7A 6A 5A 4A 25 11A 10A 9A 8A 26 15A 14A 13A 12A 27 19A 18A 17A 16A 28 23A 22A 21A 20A 29 27A 26...

Page 30: ...15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 39 3A 2A 1A 40 7A 6A 5A 4A 41 11A 10A 9A 8A 42 15A 14A 13A 12A 43 19A 18A 17A 16A 44 23A 22A 21A 20A 45 27A 26A 25A 24A 46 31A 30A 29A 28A 47 3B 2B 1B 48 7B 6B 5...

Page 31: ...3 12 11 10 9 8 7 6 5 4 3 2 1 0 55 3A 2A 1A 56 7A 6A 5A 4A 57 11A 10A 9A 8A 58 15A 14A 13A 12A 59 19A 18A 17A 16A 60 23A 22A 21A 20A 61 27A 26A 25A 24A 62 31A 30A 29A 28A 63 3B 2B 1B 64 7B 6B 5B 4B 65...

Page 32: ...4 13 12 11 10 9 8 7 6 5 4 3 2 1 0 71 3A 2A 1A 72 7A 6A 5A 4A 73 11A 10A 9A 8A 74 15A 14A 13A 12A 75 19A 18A 17A 16A 76 23A 22A 21A 20A 77 27A 26A 25A 24A 78 31A 30A 29A 28A 79 3B 2B 1B 80 7B 6B 5B 4B...

Page 33: ...Slave 6B Slave 5B Slave 4B 96 3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0 Slave 11B Slave 10B Slave 9B Slave 8B 97 3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0 Slave 15B Slave 14B Slave 13B Slave 12B 98 3 2 1 0 3 2 1 0 3 2 1...

Page 34: ...Slave 5B Slave 4B 112 3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0 Slave 11B Slave 10B Slave 9B Slave 8B 113 3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0 Slave 15B Slave 14B Slave 13B Slave 12B 114 3 2 1 0 3 2 1 0 3 2 1 0 3 2...

Page 35: ...rogramming available Module is in Protected mode AUTO_ADDRESS_ENABLE 1 and there is only one failed slave OFF Automatic address assignment function is disabled or function is enabled but there is no f...

Page 36: ...execution exits without error relay X 08 turns on If execution exits with error X 04 turns on Command execution Y 34 to Y 64 Reserved in a relay number denotes the slot number where the ASi Master mod...

Page 37: ...of slave to required value Setup done for all slaves Start address setup N Y N Y Figure 6 1 Startup Preparation Procedure TIP Three methods are available for setting slave addresses 1 using an address...

Page 38: ...Blank Page...

Page 39: ...Data setting 6 Data setting 5 123 Data setting 8 Data setting 7 Command setup area 124 Data setting 10 Data setting 9 Available Commands The following commands are available Enable disable automatic...

Page 40: ...relay is on no new command will be accepted Wait for the Executing Command input relay to turn off and the Command Completed input relay to turn on and then check that the Command Error input relay is...

Page 41: ...code 0005 0 0 0 0 0 0 0 0 15 14 13 12 11 10 9 8 0 0 0 0 0 0 0 0 Disable automatic address assignment function 1 Enable automatic address assignment function 7 6 5 4 3 2 1 0 Bit address Data Setting 1...

Page 42: ...2 1 0 Bit address Bit address Data position number 123 Data Setting 8 0 0 0 0 0 0 0 15 14 13 12 11 10 9 8 CH4 send data 0 0 0 0 0 0 0 7 6 5 4 3 2 1 0 Bit address Bit address 0 Data position number 12...

Page 43: ...This area stores the response data from a slave after executing the command specified in the Command Setup Area Receive Analog Data command command code 0018 0 0 0 0 0 0 0 15 14 13 12 11 10 9 8 CH1 re...

Page 44: ...Blank Page...

Page 45: ...ves LDS matches list of projected slaves LPS OFF List of detected slaves LDS is different from list of projected slaves LPS X 25 OFFLINE ON Offline mode OFF Online X 26 Reserved always on X 27 EEPROM_...

Page 46: ...0 3 2 1 0 3 2 1 0 3 2 1 0 Slave 23A Slave 22A Slave 21A Slave 20A 92 3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0 Slave 27A Slave 26A Slave 25A Slave 24A 93 3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0 Slave 31A Slave 30A Sla...

Page 47: ...PERATION Slot Number Data Position Number First Device Transfer Size in Words READ 4 87 I00001 16 Internal Relay Location for storing read data Slave Address I O Number I00005 to I00008 1A 0 3 I00009...

Page 48: ...1 0 3 2 1 0 3 2 1 0 Slave 31A Slave 30A Slave 29A Slave 28A 110 3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0 Slave 3B Slave 2B Slave 1B 111 3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0 Slave 7B Slave 6B Slave 5B Slave 4B 112 3...

Page 49: ...rds WRITE I00257 4 103 16 Internal Relays Location for storing output data Slave Address I O Number I00261 to I00264 1A 0 to 3 I00265 to I00268 2A 0 to 3 I00505 to I00508 30B 0 to 3 I00509 to I00512 3...

Page 50: ...peration Mode LPS1 D00034 List of projected slaves OpeMode X00420 1 Configuration Mode LPS2 D00035 List of projected slaves ConfOk X00424 1 Configuration OK LPS3 D00036 List of projected slaves Output...

Page 51: ...nment function is enabled Therefore the above circuit is not required if the function is to be enabled After executing the disable command monitor input relay X 28 AUTO_ADDRESS_ENABLE When the functio...

Page 52: ...01B to 31B starting from the least significant bit A 1 bit indicates an invalid slave and a 0 bit indicates a valid slave The ASi Master module sets all slaves to invalid status during initialization...

Page 53: ...suffix from A slave to B slave and vice versa To do so use an addressing device instead After performing forced set on AdrSet the program resets AdrsSet2 if the slave address update is successful You...

Page 54: ...Blank Page...

Page 55: ...n By running a monitoring or configuration program operations can be performed from a standard terminal emulator such as a PC Use a RS 232C cross cable with a D SUB 9 pin connector at the F3LA01 0N en...

Page 56: ...ggle Protected Configuration 6 Toggle online offline 7 Toggle auto addr ON OFF 8 Save configuration ASi master status Offline phase active False Power fail False Normal operation True Slave 0 exist Fa...

Page 57: ...38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 Activated Nodes 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 3...

Page 58: ...single node Display and change information of a specified slave Specify the slave to be changed by entering the address and pressing Enter AnyBus M ASI View single node Select node 7 Enter Select val...

Page 59: ...2 Enter 6 Toggle online offline Display and change online offline information of specified slave Specify the slave to be changed by entering Address Enter AnyBus M ASI Online Offline mode 1 Offline 2...

Page 60: ...l nodes 3 View all detected nodes 4 View single node 5 Toggle Protected Configuration 6 Toggle online offline 7 Toggle auto addr ON OFF 8 Save configuration ASi master status Offline phase active Fals...

Page 61: ...the current list of projected slaves AnyBus M ASI Main Menu 1 View scan lists 2 View all nodes 3 View all detected nodes 4 View single node 5 Toggle Protected Configuration 6 Toggle online offline 7...

Page 62: ...Blank Page...

Page 63: ...the ASi master F3LA01 no further than 3 m away M PS S FC Xm Ym Zm X Y Z X Z M PS S E ASi master F3LA01 ASi extender ASi slave FC ASi cable repeater ASi power supply 100m 3m Figure 10 1 When Not Using...

Page 64: ...Blank Page...

Page 65: ...tly as normal or as failed or an invalid blank slave may be detected For possible causes consider the installed location of the ASi power supply and cable lengths To rectify the problem lay cables acc...

Page 66: ...oper power voltage NO Apply proper power voltage YES Are RDY LEDs of other modules unlit too Replace power supply module or base module NO YES Is the module properly mounted in its slot Push the modul...

Page 67: ...NFIG position In this case the module remains in Protected mode without transiting to Configuration mode To switch to Configuration mode turn the switch to the SET position for more than 3 seconds 11...

Page 68: ...0 X 29 PERIPHERAL_FAULT V2 1 ON Slave peripheral fault has occurred 2 OFF No slave peripheral fault 11 3 11 X 30 X 31 Reserved X 32 MONITOR_PORT_IN_USE ON in use OFF not used 11 3 12 in a relay number...

Page 69: ...hatever reason contact Yokogawa Contact Yokogawa 11 3 9 If the EEPROM_OK relay is off an error has occurred in the internal EEPROM Replace the module 11 3 10 This is not an error state 11 3 11 If PERI...

Page 70: ...Blank Page...

Page 71: ...essing devices and cables are available from many vendors Enquiries about AS interface compatible equipment can be directed to the AS International Association or the Japan AS I Association Informatio...

Page 72: ...Blank Page...

Page 73: ...Configuration mode 3 4 Contact input output access function 3 1 D Data setting 7 3 E ERR 3 3 I I O code 3 1 ID code 3 2 Input relay 5 1 L Lock function 3 4 M MST 3 3 NST 3 3 O Operating status LED in...

Page 74: ...Index 2 IM 34M6H33 01E 1st Edition July 1 2004 00 Blank Page...

Page 75: ...No IM 34M6H33 01E Edition Date Revised Item 1st July 2004 New publication Written by Product Marketing Department Open Control Solutions Div Yokogawa Electric Corporation Published by Yokogawa Electr...

Page 76: ...Blank Page...

Reviews: