background image

Is

s

u

e

 d

a

te

7

.6

.2

0

1

3

170

AS-i 3.0 Command Interface

Command Interface Examples

5.4.2

Example for internal monitors with 16 OSSDs

Command interface length = 36 bytes.

1.

Start request:

1.

See also chap. <Command 14: Read "Safety monitor diagnostic">.

2.

Poll for the response (busy):

request

byte 1

0x4E (WR_ACYC_TRANS)

byte 2

0x80 (master 1)

byte 3

0x00 (integrated safety monitor)

byte 4

0x00 (buffer index high)

byte 5

0x00 (buffer index low)

byte 6

0x0E (safety monitor diagnostics)

byte 7

0x03 (number of bytes to send)

byte 8

0x00 (actual diagnosis)

1

byte 9

0x01 (release ciruit 1)

1

byte 10

0x00 (complete diagnosis)

1

 Tab.  5-355.

response

byte 1

0x4E (WR_ACYC_TRANS)

byte 2

0x80 (OK)

 Tab.  5-356.

request

byte 1

0x4F (RD_ACYC_TRANS)

byte 2

0x00 (master 1)

byte 3

0x00 (integrated safety monitor)

byte 4

0x00 (buffer index high)

byte 5

0x00 (buffer index low)

 Tab.  5-357.

response

byte 1

0x4F (RD_ACYC_TRANS)

byte 2

0x00 (OK)

byte 3

0xFF (busy -> refresh)

 Tab.  5-358.

Содержание AS-I 3.0

Страница 1: ...AS I 3 0 COMMAND INTERFACE FACTORY AUTOMATION MANUAL...

Страница 2: ...Delivery for Products and Services of the Electrical Industry published by the Central Association of the Electrical Industry Zentralverband Elektrotechnik und Elektroindustrie ZVEI e V in its most r...

Страница 3: ...ommands 20 4 2 2 WR_74_75_PARAM 20 4 2 3 RD_74_75_PARAM 21 4 2 4 RD_74_75_ID 22 4 2 5 RD_74_DIAG 23 4 3 Acyclic commands 24 4 3 1 Overview of the commands 24 4 3 2 WRITE_ACYCLIC_TRANS 24 4 3 3 READ_AC...

Страница 4: ...0 4 5 1 Diagnostics display 70 4 5 2 Overview of the commands 70 4 5 3 Command 1 READ_NODE_OVERVIEW_HISTORY 71 4 5 4 Command 2 READ_AND_CLEAR_NODE_OVERVIEW_HISTORY 72 4 5 5 Command 3 READ_NODE_OVERVIE...

Страница 5: ...f Safety Slaves input data 125 4 8 8 List of Safety Slaves 126 4 8 9 Read reset maximum value of the AS i current 127 4 8 10 Read write limit value for the AS i current 129 4 8 11 Read reset ripple vo...

Страница 6: ...readout of the safety monitor with ACYC_TRANS 164 5 4 1 Example for monitors with 2 release circuits 164 5 4 2 Example for internal monitors with 16 OSSDs 170 5 4 3 Example for external monitors with...

Страница 7: ...ess with PDOs for cyclical access and SDOs for acy clical access The access to the images of the gateway is easy to configure on the upstream fieldbus and in most applications sufficient However the c...

Страница 8: ...elects the first AS i circuit Bit O is the list order bit The commands for reading and writinig slave lists support two different sorting schemas O 0 selects the Standard schema O 1 selects the Siemen...

Страница 9: ...yte on the field bus with word orientated access to the command interface Name Value Description OK 0016 execution without fault HI_NG 1116 general fault HI_OPCODE 1216 illegal value in command HI_LEN...

Страница 10: ...page 22 RD_74_75_ID1 5C16 read S 7 4 S 7 5 slave ID string 4 3 page 23 RD_74_DIAG1 5D16 read S 7 4 S 7 5 slave diagnosis string 4 3 page 24 Acyclic commands page 24 WRITE_ACYC_TRANS 4E16 write acycli...

Страница 11: ...extended earth fault information 2 8 page 66 MB_OP_GET_LINE_ ERRCOUNT8 1216 read error counters 2 38 page 68 MB_OP_GETCLEAR_LINE_ ERRCOUNT9 1316 read and reset error counters 2 38 page 70 Safe Link di...

Страница 12: ...eset control cycle time 2 2 page 105 MB_OP_CTRL_RD_PRM 8816 read control parameter 4 18 page 106 MB_OP_CTRL_WR_PRM 8716 write control parameter 20 2 page 107 MB_OP_CTRL_STATUS 8316 read control status...

Страница 13: ...GETCLEAR_SLV_ERRCOUNT is valid only for the use with masters which support this function Please refer to the user manual of the master for further information 6 Der Befehl READ_REL_CYC gilt nur f r Ma...

Страница 14: ...15 RD_7X_OUT 5216 read 1 16 bit slave profile out data 3 10 page 16 RD_7X_IN_X 5316 read 4 16 bit slave profile in data 3 34 page 16 WR_7X_OUT_X 5416 write 4 16 bit slave profile out data 35 2 page 17...

Страница 15: ...th this command the four 16 bit channels of an AS i output slave according to the slave profile S 7 3 S 7 4 S 7 5 S 7 A 8 S A 9 S 7 A A can be read Request byte 27 26 25 24 23 22 21 20 1 5116 2 T circ...

Страница 16: ...t channels of four AS i output slaves with suc cessive addresses according to slave profile S 7 3 S 7 4 S 7 5 S 7 A 8 S A 9 S 7 A A can be written Request byte 27 26 25 24 23 22 21 20 1 5316 2 T circu...

Страница 17: ...t channels of four AS i output slaves with suc cessive addresses according to slave profile S 7 3 S 7 4 S 7 5 S 7 A 8 S A 9 S 7 A A can be read Request byte 27 26 25 24 23 22 21 20 1 5516 2 T circuit...

Страница 18: ...ata for slaves with succes sive addresses according to slave profile S 7 3 S 7 4 S 7 5 S 7 A 8 S A 9 S 7 A A can be read Request Byte 27 26 25 24 23 22 21 20 1 4C16 2 T circuit 3 1 slave 4 number of c...

Страница 19: ...ata for slaves with succes sive addresses according to slave profile S 7 3 S 7 4 S 7 5 S 7 A 8 S A 9 S 7 A A can be written Request Byte 27 26 25 24 23 22 21 20 1 4D16 2 T circuit 3 1 slave 4 number o...

Страница 20: ...red to the slave n is the length of the part of the string which should be written into the buffer from index i on If i 0 then the string is being transferred to the slave Values for command see page...

Страница 21: ...e in the buffer not equal FF16 slave response The response is in the same form registered in the buffer and transmitted over AS i Since the string can be longer than the command interface it is writte...

Страница 22: ...r is the length of the read string If i 0 the string is being read from the slave otherwise the function responses out of the memory the data can be read consistently By a 7 5 slave is the request alw...

Страница 23: ...into the buffer The content of the buffer can be read in parts from index i The first byte of the buffer indicates the length of the read string If i 0 the string is being read from the slave otherwi...

Страница 24: ...nd and does not stop the AS i master during the transfer As the data to be transferred can be longer than the command interface the data is first written to a buffer in sections before the transfer is...

Страница 25: ...device allocation considered page 39 13 read shutdown history of a safety monitor device allocation considered page 41 14 read safety monitor diagnostic page 43 15 safety status page 45 16 device inde...

Страница 26: ...quest Byte 27 26 25 24 23 22 21 20 1 4E16 2 T circuit 3 slave address 4 buffer index i high 5 buffer index i low 6 command1 1 For a list of all supported commands see table 4 32 7 number of n 8 data 0...

Страница 27: ...sponse data have the same format as by commands RD_74_75_PARAM RD_74_75_ID and safety at work monitor diagnostic see chap Safety at Work Monitor diagnostic Request Byte 27 26 25 24 23 22 21 20 1 4F16...

Страница 28: ...second with i m 2 etc The two following bytes high low define the length of the response buffer It is recommended to start reading the data always using index i 0 This mes sage also contains the head...

Страница 29: ...ion of the string command length byte high length byte low data 0 data n 1 command length byte high length byte low data 0 data n 1 m command interface response length n transmit buffer length Informa...

Страница 30: ...file S 7 4 can be read 4 3 3 4 Command 3 Read S 7 4 Param String With this call the param string of a slave according to profile S 7 4 can be read Response buffer byte 27 26 25 24 23 22 21 20 1 ID str...

Страница 31: ...file S 7 5 can be tras ferred The request response buffer contain the S 7 5 strings in the same form as they are transferred via AS i Request buffer Byte 27 26 25 24 23 22 21 20 1 param string byte 0...

Страница 32: ...the analog tran parent bits being deleted in the response The cyclical 16 bit configuration cannot be determined if the response is 0816 Response buffer Byte 27 26 25 24 23 22 21 20 1 0 0 no output 1...

Страница 33: ...closures and GII legacy mode stainless steel housing See table 4 32 for an overview of the acyclic transfer commands and the supported monitor types Response buffer Byte 27 26 25 24 23 22 21 20 0 0016...

Страница 34: ...e ON state switched on 1 green flashing block is in the ON state switched on but already in the transition to the OFF state e g shutdown delay 2 yellow block is ready but is still waiting for a furthe...

Страница 35: ...for an overview of the acyclic transfer commands and the supported monitor types Response buffer Byte 27 26 25 24 23 22 21 20 0 0016 1 monitor state 2 OSSD 1 state 3 OSSD 2 state 4 number of not gree...

Страница 36: ...restart the measurement 4 3 3 11 Commands 10 and 12 read Current safety monitor diagnostic Send buffer Byte 27 26 25 24 23 22 21 20 1 Sub command 2616 2 8016 node address Tab 4 50 Reply buffer Byte 2...

Страница 37: ...module allocation considered Tab 4 52 Request buffer Byte 27 26 25 24 23 22 21 20 no data bytes in the request buffer Tab 4 53 Response buffer Byte 27 26 25 24 23 22 21 20 0 reserved 0016 1 monitor st...

Страница 38: ...nment of the devices to the OSSD see table 4 55 Allocation Value 27 26 25 24 23 22 21 20 0 device exists Device state has not changed itself since the last turning off device assigned to the preproces...

Страница 39: ...monitor address is 0 the internal monitor is activated otherwise the external one Information This command is only available with safety monitors version GII ext mode in stain less steel housing See...

Страница 40: ...alue is 7 higher values are limited to 7 4 By means of device colors it is possible to form an opinion about the state of the OSSDs see table 4 48 5 For assignment of the devices to the OSSD see table...

Страница 41: ...1 20 1 list selection 0 current diagnostic 0 diagnostic by OSSD turning off past events memory 2 number of the OSSD 0 preprocessing 3 Fdiagnostic format 0 comlete diagnostic 1 sorted according to the...

Страница 42: ...RESET or device exchange required Tab 4 62 State and color coding Bit 2 0 State and or color coding 0016 green permanent light 0116 green flashing 0216 yellow permanent light 0316 yellow flashing 0416...

Страница 43: ...nal safety monitors software version SV4 x See table 4 33 for an overview of the acyclic transfer commands and the supported monitor types Information You ll find an example for internal monitors in s...

Страница 44: ...flashing 0216 yellow permanent light 0316 yellow flashing 0416 red permanent light 0516 red flashing 0616 grey and or off 0716 reserved Bit 6 state and or color 0 no device flashes yellow in this OSS...

Страница 45: ...lic transfer commands and the supported monitor types Request buffer Byte 27 26 25 24 23 22 21 20 1 device number and its index identifier to be read out high byte 2 device number and its index identi...

Страница 46: ...62 GET_SLV_ERRCOUNT3 3 The command GET_SLV_ERRCOUNT is valid only for the use with masters which support this function Please refer to the user manual of the master for further information 1516 Get Sl...

Страница 47: ...specification Request byte 27 26 25 24 23 22 21 20 1 3016 2 T O circuit Tab 4 70 Response if O 0 byte 27 26 25 24 23 22 21 20 1 3016 2 T result 3 7A 6A 5A 4A 3A 2A 1A 0A LAS 10 31B 30B 29B 28B 27B 26...

Страница 48: ...25B 26B 27B 28B 29B 30B 31B 27 Cok S0 AAs AAv CA NA APF OR 28 Pok AAe 1 OL 29 Response if O 1 byte 27 26 25 24 23 22 21 20 Tab 4 72 Pok Periphery_Ok S0 LDS 0 AAs Auto_Address_Assign AAv Auto_Address_A...

Страница 49: ...ress_Assign This flag is being set when the automatic address program ming is possible in other words AUTO_ADDR_ENABLE 1 no incorrect slave connected to the AS i AAv Auto_Address_Available This flag i...

Страница 50: ...ata_Exchange_Active If the Data_Exchange_Active flag is set the data exchange between AS i master and slaves is available in the data exchange phase If this bit is not set the data exchange is not ava...

Страница 51: ...t with 25 in order to create a local copy of the LCS Reading with bit 25 1 transmits the upper part of the copy With the call GET_LCS the List of Corrupted Slaves LCS can be read Request byte 27 26 25...

Страница 52: ...ted slaves LAS can be read Request byte 27 26 25 24 23 22 21 20 1 4516 2 T O circuit Tab 4 81 Response if O 0 byte 27 26 25 24 23 22 21 20 1 4516 2 T result 3 7A 6A 5A 4A 3A 2A 1A 0A 10 31B 30B 29B 28...

Страница 53: ...ed AS i slaves LDS can be read Request byte 27 26 25 24 23 22 21 20 1 4616 2 T O circuit Tab 4 84 Response if O 0 byte 27 26 25 24 23 22 21 20 1 4616 2 T result 3 7A 6A 5A 4A 3A 2A 1A 0A 10 31B 30B 29...

Страница 54: ...aster If and when an AS i slave signals faults of the attached peripherals for example broken wire can be found in the description of the AS i slave Request byte 27 26 25 24 23 22 21 20 1 3E16 2 T O c...

Страница 55: ...error oc curs The master can be switched off line when an important slave causes a con figuration error less important slaves can send an error to the host AS i however will not be switched offline R...

Страница 56: ...of Offline Slaves LOS The user can choose the reaction of the master when a configuration error oc curs The master can be switched offline when an important slave causes a con figuration error less im...

Страница 57: ...restarted The counts are being read out via the corresponding host interface and will be de leted with every read access The counter s value is limited to 254 255 will cause a counter overflow The co...

Страница 58: ...restarted The counts are being read out via the corresponding host interface and will be de leted with every read access The counter s value is limited to 254 255 will cause a counter overflow The co...

Страница 59: ...be restarted The counts are being read out via the corresponding host interface and will be de leted with every read access The counter s value is limited to 254 255 will cause a counter overflow The...

Страница 60: ...efore messages also The second byte is deleted by reading The command READ_FAULT_DETECTOR is valid only for the use with masters which support this function Please see the user manual of the master fo...

Страница 61: ...l of the master for further information Information Further diagnostic functions for Safety at Work and for availability resp for warnings of integrated sensors are detailed explained in the chapter F...

Страница 62: ...id only for the use with masters which support this function Please see the user manual of the master for further information Request byte 27 26 25 24 23 22 21 20 1 1416 2 T circuit 3 slave address Ta...

Страница 63: ...ERRCOUNT is valid only for the use with masters which support this function Please see the user manual of the master for further information Request byte 27 26 25 24 23 22 21 20 1 1516 2 T circuit 3 s...

Страница 64: ...READ_REL_CYC is valid only for the use with masters which sup port this function Please see the user manual of the master for further information Request Byte 27 26 25 24 23 22 21 20 1 4016 2 T circui...

Страница 65: ...equest Byte 27 26 25 24 23 22 21 20 1 9716 2 T circuit Tab 4 113 Response Byte 27 26 25 24 23 22 21 20 1 9716 2 T result 3 DC voltage low byte 4 DC voltage high byte 5 percentage earth fault relations...

Страница 66: ...5 24 23 22 21 20 1 1216 2 T result 3 number of AS i power fails high byte 4 number of AS i power fails low byte 5 number of earth faults high byte 6 number of earth faults low byte 7 number of slave f...

Страница 67: ...o the counter state of an error counter in reply bits 7 through 26 If there are insufficient access rights a reply consisting of zeros is sent instead of the HI_ACCESS message 30 number of master tele...

Страница 68: ...sponse Byte 27 26 25 24 23 22 21 20 1 1316 2 T result 3 number of AS i power fails high byte 4 number of AS i power fails low byte 5 number of earth faults high byte 6 number of earth faults low byte...

Страница 69: ...o the counter state of an error counter in reply bits 7 through 26 If there are insufficient access rights a reply consisting of zeros is sent instead of the HI_ACCESS message 30 Number of master tele...

Страница 70: ...statistics data for the nodes from which it expects data Each node gathers the telegram age and any missing telegrams single dou ble triple for each of its data sources These can be queried for the n...

Страница 71: ...is 1 it means that the state of a node is changed at least once from active to not active Request Byte 27 26 25 24 23 22 21 20 1 3A16 2 T circuit 3 0016 Tab 4 120 Response Byte 27 26 25 24 23 22 21 2...

Страница 72: ...state of a node is changed at least once from active to not active This list will automati cally be reset after the read out Request Byte 27 26 25 24 23 22 21 20 1 3A16 2 T circuit 3 0116 Tab 4 122 Re...

Страница 73: ...node 1 not active there is a connection to this node but it is not active not taught or because the communication is interrupted 3 active there is an active connection to this node Tab 4 124 Request...

Страница 74: ...this node has been refused through the manager 3 not taught teach in required by this node 4 rejected this node has been refused through the manager 5 busy intermediate state 6 active there is no act...

Страница 75: ...e Safe Link 1 2 3 active there is no active connection to this node Tab 4 130 Request Byte 27 26 25 24 23 22 21 20 1 3A16 2 T circuit 3 0416 Tab 4 131 Response Byte 27 26 25 24 23 22 21 20 1 3A16 2 T...

Страница 76: ...technology Request Byte 27 26 25 24 23 22 21 20 1 3A16 2 T circuit 3 0516 Tab 4 133 Response Byte 27 26 25 24 23 22 21 20 1 3A16 2 T result1 1 See description in chap Result code values 3 multicast gr...

Страница 77: ...ration 3 4 page 81 SET_PCD 2516 set Permanent_Config 5 2 page 82 GET_PCD 2616 get Permanent_Config 3 4 page 83 SET_LPS 2916 set LPS 11 2 page 84 GET_LPS 4416 get LPS 2 10 page 84 STORE_PI 0416 store A...

Страница 78: ...ve 0 are ac tivated This also applies to AS i slaves for which there are differences between the expected and actual configuration The OPERATION MODE bit is stored permanently in other words it is ret...

Страница 79: ...in the EEPROM as the expected configuration data The list of activated AS i slaves LAS is adopted in the list of permanent AS i slaves LPS When this command is executed the AS i master changes to the...

Страница 80: ...by the AS i master on the AS i are read I O configuration ID code Extended ID1 code Extended ID2 code The configuration data are specified by the manufacturer of the AS i slave Request byte 27 26 25...

Страница 81: ...protect ed mode The configuration data are specified by the manufacturer of the AS i slave If the addressed AS i slave does not support an extended ID code 1 2 the value Fhex must be specified When th...

Страница 82: ...i slave stored on the EEPROM of the AS i master I O configuration ID code Extended ID1 code Extended ID2 code The configuration data are specified by the manufacturer of the AS i slave Request byte 2...

Страница 83: ...d for permanent stor age in the EEPROM of the master When this command is executed the AS i master changes to the offline phase and then changes back to the normal mode warm restart This command can o...

Страница 84: ...ored actual parameters in other words the cur rent parameters of all AS i slaves are stored Request byte 27 26 25 24 23 22 21 20 1 4416 2 T O circuit Tab 4 149 Response if O 0 byte 27 26 25 24 23 22 2...

Страница 85: ...is not stored as a configured parameter in the EEPROM The AS i slave transfers its current parameter value in the response parameter echo This can deviate from the value that has just been written acc...

Страница 86: ...his value must not be confused with the parameter echo that is supplied by the AS i slave as a response to the write_p job This command can not be used for a directly reading of an AS i parameter out...

Страница 87: ...urning on the power supply on the AS i Master 4 6 13 Get permanent parameter GET_PP With this call a slave specific parameter value stored on the EEPROM of the AS i Master is read Request byte 27 26 2...

Страница 88: ...enable or disable the automatic address programming function The AUTO_ADDR_ENABLE bit is stored permanently in other words it is re tained after a warm hot restart on the AS i master Request byte 27 2...

Страница 89: ...slave address old exists 2 If the old AS i slave address is not equal to 0 an AS i slave with address 0 cannot be connected at the same time 3 The AS i slave address new must have a valid value 4 An...

Страница 90: ...with address 0 can be written directly via the AS i cable The call is intended for diagnostic purposes and is not required in the normal master mode The AS i master passes the extended ID1 code on to...

Страница 91: ...o use the old one any more 7E16 functional profile data 3 2 page 99 EXT_DIAG3 3 The command EXT_DIAG is valid only for the use with AS i 3 0 PROFIBUS Gateways 7116 ExtDiag generation 6 2 page 100 RD_E...

Страница 92: ...ange Though the command READ_IDI transmits all execution control flags byte 3 and byte 4 Request byte 27 26 25 24 23 22 21 20 1 0016 2 T circuit Tab 4 169 Response byte 27 26 25 24 23 22 21 20 1 0016...

Страница 93: ...written in addition to the cyclic data exchange CA Configuration_Active NA Normal_Operation_Active APF APF OR Offline_Ready Cok Config_Ok AAe Auto_Address_Enable OL Offline DX Data_Exchange_Active Re...

Страница 94: ...t data image READ_ODI With this call the output data values of all AS i slaves is being read out of the AS i Master Request byte 27 26 25 24 23 22 21 20 1 5616 2 T circuit Tab 4 175 Response byte 27 2...

Страница 95: ...added AS i slaves are entered in the LDS or LAS In the management phase jobs by the user such as writing parameters are executed In the offline mode the AS i Master processes jobs by the user only Job...

Страница 96: ...riting of the DPRAM Request byte 27 26 25 24 23 22 21 20 1 4816 2 T circuit 3 Data_Exchange_Active Tab 4 179 Response byte 27 26 25 24 23 22 21 20 1 4816 2 T result Tab 4 180 The command REWRITE_DPRAM...

Страница 97: ...e request and response bytes depends on the called function see chap Functional Profiles Request byte 27 26 25 24 23 22 21 20 1 7516 2 T circuit 3 Buttons disabled Tab 4 183 Response byte 27 26 25 24...

Страница 98: ...th functional profiles The content of the request and response bytes depends on the called function see chap Functional Profiles Request byte 27 26 25 24 23 22 21 20 1 7E16 2 T circuit 3 function 4 re...

Страница 99: ...The command EXT_DIAG is valid only for the use with AS i 3 0 PROFIBUS Gate ways Request byte 27 26 25 24 23 22 21 20 1 7116 2 T circuit 3 CF 4 APF 5 PF 6 CS Tab 4 189 Response byte 27 26 25 24 23 22...

Страница 100: ...ROFIBUS Gateways Request byte 27 26 25 24 23 22 21 20 1 7B16 2 T circuit Tab 4 191 Response byte 27 26 25 24 23 22 21 20 1 7516 2 T result 3 CF 4 APF 5 PF 6 CS 7 FD Tab 4 192 CF ExtDiag is set if Conf...

Страница 101: ...16 bit values in order to operate again with the selected AS i destination parameter Request byte 27 26 25 24 23 22 21 20 1 7C16 2 T circuit 3 slave address 4 destination parameter 5 value 1 high byt...

Страница 102: ...rite the flag of a control program The control program of devices with control functions takes on data from the PB interface Request Byte 27 26 25 24 23 22 21 20 1 8516 2 T circuit 3 start address 4 n...

Страница 103: ...M Use this command to read multiple commands of a SEW MFK21 slave Request Byte 27 26 25 24 23 22 21 20 1 8616 2 T circuit 3 start address 4 number of bytes n Tab 4 197 Response Byte 27 26 25 24 23 22...

Страница 104: ...OP_CTRL_RESET_CT This command is used to reset the average and maximum cycle time of a control program and to restart evaluation of the cycle times for devices having control functionality Request Byt...

Страница 105: ...tar ting at any start address for devices having control functionality Request Byte 27 26 25 24 23 22 21 20 1 8916 2 T 3 start address low byte1 1 The address range for the parameter bytes extends fro...

Страница 106: ...arting at any start address for devices having control functionality Request Byte 27 26 25 24 23 22 21 20 1 8716 2 T 3 start address low byte1 1 The address range for the parameter bytes extends from...

Страница 107: ...2 21 20 1 8316 2 T Tab 4 207 Response Byte 27 26 25 24 23 22 21 20 1 8316 2 T result 3 CA reserved AS reserved RS CR 4 reserved 5 average cycle time low byte 6 average cycle time high byte 7 maximal c...

Страница 108: ...te the Control Status flags in RAM for devices hav ing control functionality The Control Auto Start bit is also sent to non volatile memory Request Byte 27 26 25 24 23 22 21 20 1 8216 2 T 3 CA reserve...

Страница 109: ...7 23 Read device name MB_OP_NAME This command is used to read out the device name 32 bytes are always trans mitted Request Byte 27 26 25 24 23 22 21 20 1 7216 2 T circuit Tab 4 211 Response Byte 27 2...

Страница 110: ...nterface 4 7 24 Read serial number MB_OP_READ_SERIAL This command is used to read out the serial number Request Byte 27 26 25 24 23 22 21 20 1 7616 2 T circuit Tab 4 213 Response Byte 27 26 25 24 23 2...

Страница 111: ...aves input data 0F16 read safety input slave interpretation data 3 4 page 126 list of safety slaves 1016 read addresses of safety slaves 3 6 page 127 function 1E16 7E16 read AS i current maximal value...

Страница 112: ...ly set at security slaves when both contacts are released otherwise the bits have the value 0 Normal non security slaves also have the value 0 Since the safety monitor is also being activated when a s...

Страница 113: ...d 10 1 safety slave with unreleased safety function AS i address 5 Reponse 7E 00 01 25 10 04 00 00 Response if O 1 byte 27 26 25 24 23 22 21 20 1 7E16 2 T result 3 Pok 4 OR APF NA CA AAv AAs S0 Cok 5...

Страница 114: ...and interface calls The byte 5 de clares the start index in the field of the diagnostic data If the start index is 0 new data is fetched from the monitor Otherwise the func tion will respond out of th...

Страница 115: ...dow Information about monitor and bus of the configuration software ASIMON for the AS i safety moni tor Call up the menu Edit Information about monitor and bus Information The function unsorted diagno...

Страница 116: ...ion range in the window Information about monitor and bus Select in the window Information about monitor and bus the tab Diagnostic Service Select within the range Data selection sorted sorted by OSSD...

Страница 117: ...everal requests are necessary to read the whole buffer data integrity is maintained The diagnostic array is set up as follows Request byte 27 26 25 24 23 22 21 20 1 7E16 2 T L1 1 L 1 long diagnostic f...

Страница 118: ...by OSSD byte 27 26 25 24 23 22 21 20 0 0016 1 state of monitor 2 state of OSSD1 3 state of OSSD2 4 number of devices not green OSSD1 5 number of devices not green OSSD2 6 device index 32 OSSD1 7 color...

Страница 119: ...132 device index 63 133 assignment of device 63 to OSSD Safety Monitor Diagnostic Array enhanced function range and all devices byte 27 26 25 24 23 22 21 20 0 0016 1 state of monitor 2 state of OSSD1...

Страница 120: ...ade normal or by device index The maximum number of the transmitted bytes in the response is 34 Information See chap Command 7 Read Safety monitor diagnostic sorted acc to OSSD for a description of th...

Страница 121: ...mand Interface Sorting has the following meaning 0 sorting by devices 1 AS i sorting The bit DA has the following meaning DA 0 device is activated DA 1 device is deactivated The bit BI has the followi...

Страница 122: ...rning being deleted For creating of this list CDI and IDI are used only Integrated AS i slaves which are projected but not existing therefore are not entered here Request byte 27 26 25 24 23 22 21 20...

Страница 123: ...For creating this list CDI and IDI are used only Integrated AS i slaves which are projected but not existing therefore are not entered here Request byte 27 26 25 24 23 22 21 20 1 7E16 2 T O circuit 3...

Страница 124: ...7D16 2 T circuit 3 0E16 4 language1 1 Value 0 default no changes 1 english 2 german 3 french 4 italian 5 spain Tab 4 236 Response Byte 27 26 25 24 23 22 21 20 1 7D16 2 T result Tab 4 237 Request Byte...

Страница 125: ...00 channel 2 has released 11 channel 2 has not released Set Read Information This command replaces the old command MB_FP_LSS_ENABLE Request Byte 27 26 25 24 23 22 21 20 1 7D16 2 T circuit 3 0F16 4 saf...

Страница 126: ...addresses of safety slaves Read Request Byte 27 26 25 24 23 22 21 20 1 7E16 2 T O1 1 O orientation circuit 3 1016 Tab 4 244 Response by O 0 Byte 27 26 25 24 23 22 21 20 1 7E16 2 T result 3 7 6 5 4 3...

Страница 127: ...the measured AS i current for the selected AS i circuit Read The function 1E16 is valid only for the use with masters which support this function Please see the user manual of the master for further...

Страница 128: ...2013 128 AS i 3 0 Command Interface Commands of the Command Interface Reset Request Byte 27 26 25 24 23 22 21 20 1 7D16 2 T circuit 3 1E16 Tab 4 249 Response Byte 27 26 25 24 23 22 21 20 1 7D16 2 T re...

Страница 129: ...tion 1F16 is valid only for the use with masters which support this function Please see the user manual of the master for further information Request Byte 27 26 25 24 23 22 21 20 1 7E16 2 T circuit 3...

Страница 130: ...nction 2616 is valid only for the use with masters which support this function Please see the user manual of the master for further information Request Byte 27 26 25 24 23 22 21 20 1 7E16 2 T circuit...

Страница 131: ...7 6 2013 AS i 3 0 Command Interface Commands of the Command Interface Response Byte 27 26 25 24 23 22 21 20 1 7D16 2 T result 3 last maximal ripple voltage high byte 4 last maximal ripple voltage low...

Страница 132: ...al limit value is 999 mV Read Write The function 2716 is valid only for the use with masters which support this function Please see the user manual of the master for further information Request Byte 2...

Страница 133: ...133 Issue date 7 6 2013 AS i 3 0 Command Interface Commands of the Command Interface Response Byte 27 26 25 24 23 22 21 20 1 7D16 2 T result Tab 4 262...

Страница 134: ...1716 is valid only for the use with masters which support this function Please see the user manual of the master for further information Request Byte 27 26 25 24 23 22 21 20 1 7E16 2 T circuit 3 1716...

Страница 135: ...voltage 0 grounded 24VDC unaqual 0 AS i power supply The function 2216 is valid only for the use with masters which support this function Please see the user manual of the master for further informati...

Страница 136: ...nfiguration the module Safety Control Status Following diagnostic data are given cyclically Coding of status bytes bit 0 3 state or color description 0016 green permanent lighting output on 0116 green...

Страница 137: ...Channel 3 displays summary information about red and yellow flashing devices in the reference to release circuits Safety Control Status length description 2 byte E 1 byte A Safety Ctrl Status OSSD 2 4...

Страница 138: ...RT GE GN UA DA EF 1 state OSSD 4 state OSSD 3 2 state OSSD 8 state OSSD 7 3 OSSD8 OSSD7 OSSD6 OSSD5 RF YF RF YF RF YF RF YF Tab 4 271 channel 27 26 25 24 23 22 21 20 0 AS i circuit 1 RT GE GN UA DA EF...

Страница 139: ...rt up restart disable active 3 Yellow flashing External test necessary acknowledgement start delay active 4 Red continuous Output off 5 Red flashing Error 6 Grey resp off Output not projected Tab 4 27...

Страница 140: ...on Acyclic commands accessible via the command interface either through a direct command e g command 14 see chapter Command 14 Read Safety monitor diagnostic or via a Vendor Specific Object You get th...

Страница 141: ...i circuit 2 Vendor Specific Object 2 Read only This object contains for all 62 possible slaves a bit pair that reflects the state of the slaves at this address byte 27 26 25 24 23 22 21 20 1 3 3A 3 3A...

Страница 142: ...evice byte meaning 1 bit 0 0 configuration operation 1 protective operation bit 3 1 reserved 0 bit 4 state 1 Y1 EDM1 0 open bit 5 state 1 Y2 Start1 0 open bit 6 state 2 Y1 EDM2 0 open bit 7 state 2 Y2...

Страница 143: ...4 13 12 11 10 9 8 32 255 254 253 252 251 250 249 248 Tab 4 278 Code bit 2 0 State or colors 0 green permanent lighting 1 green flashing 2 yellow permanent lighting 3 yellow flashing 4 red permanent li...

Страница 144: ...0 configuration operation 1 protective operation bit 3 1 reserved 0 bit 4 state 1 Y1 EDM1 0 open bit 5 state 1 Y2 Start1 0 open bit 6 state 2 Y1 EDM2 0 open bit 7 state 2 Y2 Start2 0 open 2 relay sta...

Страница 145: ...14 13 12 11 10 9 8 32 255 254 253 252 251 250 249 248 Tab 4 281 Code bit 2 0 State or colors 0 green permanent lighting 1 green flashing 2 yellow permanent lighting 3 yellow flashing 4 red permanent...

Страница 146: ...peration bit 3 1 reserved 0 bit 4 state 1 Y1 EDM1 0 open bit 5 state 1 Y2 Start1 0 open bit 6 state 2 Y1 EDM2 0 open bit 7 state 2 Y2 Start2 0 open 2 relay state output 1 2 bit 3 0 State output 1 bit...

Страница 147: ...10 9 8 32 255 254 253 252 251 250 249 248 Tab 4 284 0 device is not present 1 device is present byte 27 26 25 24 23 22 21 20 1 7 6 5 4 3 2 1 0 2 15 14 13 12 11 10 9 8 32 255 254 253 252 251 250 249 24...

Страница 148: ...operation 1 protective operation bit 3 1 reserved 0 bit 4 state 1 Y1 EDM1 0 open bit 5 state 1 Y2 Start1 0 open bit 6 state 2 Y1 EDM2 0 open bit 7 state 2 Y2 Start2 0 open 2 relay state output 1 2 bi...

Страница 149: ...icate the position of the bits that correspond to the respective device byte 27 26 25 24 23 22 21 20 1 7 6 5 4 3 2 1 0 2 15 14 13 12 11 10 9 8 32 255 254 253 252 251 250 249 248 Tab 4 288 0 device is...

Страница 150: ...ject 11 object 12 object 13 object 14 3 object 15 object 16 object 17 object 18 4 object 19 object 20 object 21 object 22 5 object 23 object 24 object 25 object 26 6 object 27 object 28 object 29 obje...

Страница 151: ...0 data exchange Used ID module in the GSD file 12 byte management Meaning of the bytes The call of the command interaface has not been answered with the valid values since the toggle bit has not been...

Страница 152: ...guration to the master 3 Switch master to protected mode 4 Wait until master is in normal protected operation mode request byte 1 50hex byte 2 80hex toggle bit result byte 3 1Dhex slave address 29 byt...

Страница 153: ...est SET_OP_MODE byte 1 0Chex SET_OP_MODE byte 2 00hex T 0 master 1 single master byte 3 01hex config mode byte 4 00hex byte 12 00hex Tab 5 295 Response byte 1 00hex or old values byte 2 00hex or old v...

Страница 154: ...ORE_CDI byte 1 07hex STORE_CDI byte 2 00hex T 0 master 1 single master byte 3 00hex byte 12 00hex Tab 5 299 Response byte 1 00hex or old values byte 2 00hex or old values byte 12 00hex or old values T...

Страница 155: ...SET_OP_MODE byte 1 0Chex SET_OP_MODE byte 2 00hex T 0 master 1 single master byte 3 00hex protected mode byte 4 00hex byte 12 00hex Tab 5 303 Response byte 1 00hex or old values byte 2 00hex or old va...

Страница 156: ...ags have to be read out until this flag has been set to 1 request GET_FLAGS byte 1 47hex GET_FLAGS byte 2 00hex T 0 master 1 single master byte 3 00hex byte 12 00hex Tab 5 307 Response byte 1 00hex or...

Страница 157: ...protected mode 6 Wait until master is in normal operation Mode and protected mode 12 byte management 1 Set master in config mode No result because toggle bit 0 Set the toggle bit request SET_OP_MODE...

Страница 158: ...7hex ID1 Fhex response byte 1 0Chex byte 2 80hex T 1 result 0 byte 3 00hex or old values byte 4 00hex or old values byte 12 00hex or old values Tab 5 314 request SET_PCD byte 1 25hex SET_PCD byte 2 0...

Страница 159: ...LPS corresponds to one slave after the following scheme byte0 Bit 0 slave 0 0A can not be set byte1 Bit 1 slave 1 1A byte3 Bit 7 slave 31 31A byte4 Bit 0 slave 0B can not be set byte4 Bit 1 slave 1B...

Страница 160: ...aster byte 3 00hex byte 4 10hex LDS byte 0 byte 5 00hex LDS byte 1 byte 11 00hex LDS byte 7 byte 12 00hex Tab 5 319 response byte 1 00hex or old values byte 2 00hex or old values byte 12 00hex or old...

Страница 161: ...r byte 3 04hex slave address to write to master byte 4 07hex PP to write use low nibble byte 5 00hex LDS byte 1 byte 12 00hex Tab 5 323 response byte 1 00hex or old values byte 2 00hex or old values b...

Страница 162: ...the toggle bit The master has now been ordered to switch to protected mode request SET_OP_MODE byte 1 0Chex SET_OP_MODE byte 2 00hex T 0 master 1 single master byte 3 00hex protected mode byte 4 00hex...

Страница 163: ...yte 1 47hex GET_FLAGS byte 2 00hex T 0 master 1 single master byte 3 00hex byte 12 00hex Tab 5 331 response byte 1 00hex or old values byte 2 00hex or old values byte 12 00hex or old values Tab 5 332...

Страница 164: ...f the safety monitor with ACYC_TRANS 5 4 1 Example for monitors with 2 release circuits Command interface length 2 36 1 Start request 2 Poll for the response busy request byte 1 0x4E WR_ACYC_TRANS byt...

Страница 165: ...0x01 length of the response buffer high byte 5 0x06 length of the response buffer low 262 byte 6 0x00 fixed byte 7 state of monitor byte 8 state of OSSD1 byte 9 state of OSSD2 byte 10 number of device...

Страница 166: ...2 request byte 1 0x4F RD_ACYC_TRANS byte 2 0x80 master 1 byte 3 0x00 integrated safety monitor byte 4 0x00 puffer index high byte 5 0x48 puffer index low 72 Tab 5 343 response byte 1 0x4F RD_ACYC_TRAN...

Страница 167: ...e 34 0x21 device index 33 byte 35 device alocation 33 byte 36 0x22 device index 34 byte 37 device alocation 34 byte 38 0x23 device index 35 Tab 5 346 request byte 1 0x4F RD_ACYC_TRANS byte 2 0x80 mast...

Страница 168: ...ce alocation 53 byte 4 0x36 device index 54 byte 5 device alocation 54 byte 36 0x46 device index 70 byte 37 device alocation 70 byte 38 0x47 device index 71 Tab 5 350 request byte 1 0x4F RD_ACYC_TRANS...

Страница 169: ...index low 252 Tab 5 353 response byte 1 0x4F RD_ACYC_TRANS byte 2 0x00 OK byte 3 device alocation 89 byte 4 0x5A device index 90 byte 5 device alocation 90 byte 6 0x5B device index 91 byte 7 device a...

Страница 170: ...nitor byte 4 0x00 buffer index high byte 5 0x00 buffer index low byte 6 0x0E safety monitor diagnostics byte 7 0x03 number of bytes to send byte 8 0x00 actual diagnosis 1 byte 9 0x01 release ciruit 1...

Страница 171: ...ponse byte 1 0x4F RD_ACYC_TRANS byte 2 0x00 OK byte 3 0x0E diagnosis shutdown historie byte 4 0x01 length byte n high 1 byte 5 0x06 lentgth byte n low 1 byte 6 0x00 byte 7 state of monitor2 byte 8 rel...

Страница 172: ...r index high byte 5 0x44 buffer index low Tab 5 363 response byte 1 0x4F RD_ACYC_TRANS byte 2 0x00 OK byte 3 device color 60 byte 4 device color 61 byte 5 device color 62 byte 36 device color 93 Tab 5...

Страница 173: ...ow Tab 5 367 response byte 1 0x4F RD_ACYC_TRANS byte 2 0x00 OK byte 3 device color 128 byte 4 device color 129 byte 5 device color 130 byte 36 device color 161 Tab 5 368 request byte 1 0x4F RD_ACYC_TR...

Страница 174: ...te 1 0x4F RD_ACYC_TRANS byte 2 0x00 OK byte 3 device color 196 byte 4 device color 197 byte 5 device color 198 byte 36 device color 229 Tab 5 372 request byte 1 0x4F RD_ACYC_TRANS byte 2 0x80 master 1...

Страница 175: ...nd byte 7 0x03 number byte 8 0x12 command read request byte 9 Vendor specific object 7 device color byte 10 length 1 Tab 5 375 byte 1 0x4F READ_ACYC_TRANS byte 2 0x80 circuit 1 byte 3 Slave 15 safety...

Страница 176: ...ier byte 7 0x03 number of following bytes byte 8 0x00 device index high byte byte 9 0x00 device index low byte byte 10 0x00 output sorted 1 unsorted 0 Tab 5 378 byte 1 0x4F byte 2 0x00 0x80 toggle bit...

Страница 177: ......

Отзывы: