This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Attribution: Jean Vieille Work: ISA8895 Implementation Section: Interoperability Chapter: B2O Transactions Language: Français Version: V3 - 05/2011 Jean Vieille www.syntropicfactory.info j.vieille@syntropicfactory.info Research community www.controlchainmanagement.org Consulting group www.controlchaingroup.com ISA95 partie 5 et OAG L'Open Application Group ­ OAG ­ a développé une spécification très complète pour les échanges de données entre systèmes Ø www.openapplications.org Parfois en recouvrement avec ISA95, l'OAGIS s'adresse surtout à la communauté des ERPs La spécification OAGIS est à la 9ème révision, passée avec succès d'un langage propriétaire à XML Cette spécification a définit directement des messages utilisables en adoptant la structure VERBE-NOM dont s'inspire l'ISA95 partie 5. La norme ISA ne reprend qu'un sous-ensemble des verbes définis par l'OAG. 5_13_ISA8895_Interoperability_B2O_Transactions 2 Structures de données, Messages et transaction La partie 2 de la norme et B2MML définissent des structures de données utilisables pour les échanges d'information Ø Mais pas l'information échangée elle-même Les processus de gestion mettent en évidence des besoins d'échange d'information Ø Transactions traitées au moyen d'un ou plusieurs messages Ces messages contiennent Ø L'information à traiter par le récepteur § Organisée selon les modèles ISA95.02/B2MML § Mais n'en utilisant que la partie nécessaire Ø L'usage qui doit être ait par le récepteur de cette information 5_13_ISA8895_Interoperability_B2O_Transactions 3 Messages et transaction Message : un élément de transaction Owner of information correspondant à un transfert spécifique unidirectionnel de Local données en un émetteur processing et un ou plusieurs récepteurs Transaction : un ensemble de messages pour accomplir un processus d'échange SHOW d'information GET Equipment Application Identification Area Data Area VERB = GET Noun = Equipment ID= "ABC" User of information GET SHOW Equipment Application Identification Area Data Area VERB = SHOW Noun = Equipment ID= "ABC" Description = "Simple equipment" Equipment Property ID = "Throughput" Value = 200 PPM Description = "Throughput as parts per minute" ... 5_13_ISA8895_Interoperability_B2O_Transactions 4 Structure d'un message Un message contient 3 types d'information: Ø Zone d'identification applicative § Message Zone d'identification applicative Zone de données VERBE NOM L'adresse électronique de l'émetteur, une indication de confirmation requise, la date et l'heure de création du message... Le VERBE est la partie du message qui définit l'action à exécuter par le récepteur, ou la réponse à une demande d'action Le NOM intègre un ou plusieurs objets de donnés tels que définis dans les parties 1 et 2 de la norme Ø Zone de données ­ VERBE § Ø Zone de données ­ NOM § Ø Les combinaisons VERBE-NOM définissent des messages ayant une signification unique et non ambigue 5_13_ISA8895_Interoperability_B2O_Transactions 5 Verbes VERB Acknowledge CANCEL CHANGE CONFIRM Model PUSH PUSH PUSH PUSH, PULL, PUBLISH PULL PUSH PUSH Description Acknowledgement of a request Request to the owner of objects to remove an object Request to the owner of objects to change an object Confirmation response to a request GET PROCESS RESPOND Request to the owner of an object for information on one or more objects Request to the owner of an object to process a new object Response to a CHANGE message request. The noun may contain proposed or alternate information that was used in place of the CHANGE noun information. Response to a GET Request from the owner of an object for the receiver to add, change, or delete their information about an object SHOW SYNC ADD SYNC CHANGE SYNC DELETE PULL PUBLISH 5_13_ISA8895_Interoperability_B2O_Transactions 6 NOMS Personnel Class Person Qualification Test Equipment Class Equipment Equipment Capability Test Physical Asset Class Physical Asset Physical Asset Capability Test Material Class Material Definition Material Lot Material Sublot Material Test Process Segment Operations Capability Operations Definition Operations Schedule Operations Performance Transaction Profile 5_13_ISA8895_Interoperability_B2O_Transactions 7 Préciser la porté de l'information: jokers Un caractère joker peut être associé au nom pour préciser les objets et propriétés visés (leurs noms, pas les valeurs) Ceci permet par exemple de spécifier la réponse SHOW attendue d'un GET Indicates zero or more characters, any character is acceptable Example: The wildcard "ABC*" would match "ABC", "ABCD", "ABCDEF", "ABC@4!*", but not "ABDDEF" Indicates one or more characters, any character is acceptable Example: The wildcard "ABC%" would match "ABCD", "ABCDEF", "ABC^4^*", but not "ABC" Indicates zero or one characters at the specified position, any character is acceptable Example: The wildcard "ABC?" would match "ABCX", "ABCD", "ABC!", "ABC", but not "ABCDE" or "ABDC" "*" "%" "?" 5_13_ISA8895_Interoperability_B2O_Transactions 8 Exemples B2MML: Process 5_13_ISA8895_Interoperability_B2O_Transactions 9 Exemple B2MML: Get 5_13_ISA8895_Interoperability_B2O_Transactions 10 Exemple B2MM: Show 5_13_ISA8895_Interoperability_B2O_Transactions 11 Transaction profiles A definition of the verb and noun combinations supported by an application. Provides a method for applications to query another application to determine the verb-noun combinations it supports. Is a noun. Applications supporting this standard shall support use of the Get and Show verbs with transaction profiles Transaction Profile Is made up of 1..n Supported Action 5_13_ISA8895_Interoperability_B2O_Transactions 12 Supported actions Attribute Name Verb Noun Description Identifies the verb in the verb-noun action. Valid values are: GET, PROCESS, CHANGE, CANCEL, SYNC ADD, SYNC CHANGE, and SYNC DELETE. Identifies the noun in the verb-noun action. Example PROCESS SYNC ADD MATERIAL LOT TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE Information User Indicates if the application can act as an information user. Note This is defined for GET and SYNC messages. Information Indicates if the application can act as an information provider. Provider Note This is defined for GET and SYNC messages Information Indicates if the application can act as an information Sender. Sender Note This is defined for PROCESS, CHANGE, and CANCEL messages. Information Indicates if the application can act as an information Receiver. Receiver Note This is defined for PROCESS, CHANGE, and CANCEL messages Object Indicates if wildcards are supported for object identification. Wildcards Supported Property Indicates if wildcards are supported for property identification. Wildcards Note Not all verb-noun combinations define wildcard Supported properties. 5_13_ISA8895_Interoperability_B2O_Transactions 13 Supported actions Verb Noun Personnel Class Person Qualification Test Equipment Class Equipment Capability Test Physical Asset Class Physical Asset Physical Asset Test Material Class Material Definition Material Lot Material Sublot Material Test Process Segment Operations Capability 5_13_ISA8895_Interoperability_B2O_Transactions GET , PROCESS, CHANGE, CANCEL SYNC SYNC SYNC SHOW ACKNOWLEDGE RESPOND ADD CHANGE DELETE 14