Table of Contents

110202

Message: “ {entity} is not supported by Unity-Pro. Please review the destination file.”

Example: “ RCV_TLG is not supported by Unity-Pro. Please review the destination file.”

Explanation:

CALL_MODEM

Function Difficulty Knowledge Time
COM GENE_API

RCV_TLG

The RCV_TLG function allows to read data with 'telegram' type from a remote PL7 application.

READ_PCM_EXT

The READ_PCM_EXT function allows to transfer the data from the archiving zone of the memory card to the memory RAM of the PLC (Words %MW).

READ_PCMCIA

The READ_PCMCIA function transfer the data from the archiving zone of the memory card to the memory RAM of the PLC. The parameters are different between Unity-Pro and PL7.

parameters Description parameters PL7 parameters Unity-Pro
Slot_Numberslot in PCMCIA card Inexistant Int
Source_AddressStorage address (source)DwordDint
Words_NumberNumber of words to readWordInt
Dest_AddressDestination addressWordInt
Read_StateCode resultWordInt

SERVER

The SERVER function allows to process the UNI-TE requests immediately from the user program. It depends on PL7 hardware. It is used only to treat the requests coming from Modbus communication.

parameters Description parameters PL7 parameters Unity-Pro
AddressAddress of the entity destinataire Word_Arrayarray of int
rqrprequest responseWord_ArrayArray_of_Int
Management_Paramparameters of management (2 words)Word_ArrayArray_of_Int

SET_PCMCIA

Translate this function with the Unity-Pro SET_PCMCIA function and add the slot parameter

The parameters are:

parameters Description parameters PL7 parameters Unity-Pro
Slot_Numberslot of the PCMCIA card inexistantInt
AddressAddress of the archiving area from which initialisation startsDwordDint
Words_NumberNumber of words to be initializedWordInt
Init_ValueValue of initializationWordInt
Init_StateCode giving the result of the execution of the initialization orderWordInt

WRITE_PCMCIA

Translate this function with the Unity-Pro WRITE_PCMCIA function and add the slot parameter

The parameters are:

parameters Description parameters PL7 parameters Unity-Pro
Slot_Numberslot of the PCMCIA card inexistantInt
AddressAddress of the archiving area from which initialisation startsDwordDint
Words_NumberNumber of words to be initializedWordInt
Source_AddressStarting address of zone (in the PLC) to be copied in the PCMCIA card.WordInt
Write_StateCode giving the result of the execution of the initialization orderWordInt

REGDFB

The Regdfb functions in PL7 and Unity-Pro didn't have the same parameters. Warning for Unity-Pro the %SW76 system word is reserved for receiving the result of the registration of the diagnostic DFB but for PL7 it is the %SW160 system word.

parameters Description parameters PL7 parameters Unity-Pro
Controlled_AreaZone of the machine monitored by the DFB : 0 to 15WordInt
Error_ClassClass of the error WordInt
Status_LengthLength of the status : 0, 2 or 4 bytesWordInt
Operator_CtrlAcknowledge operatorBoolBool
Pin_NumberNumber of the input in errorInexistantInt
Pin_ValueValue attended on the input in errorInexistantBool
CommentDefault Error message associated to the DFB instanceStringInexistant
InstnameName of the instance in defaultWord_arrayInexistant
AdrprogProgram address of the DFB instance in defaultWord_arrayInexistant
StatusStatus of the DFBDWordDint
Error_IdIdentification of the error.WordInt
Reg_StatusReport of the registration of the errorWordInt

REGIO

Inexistant in Unity-Pro and no documentation on the PL7 procedure.

ADJUST

This function allows to adjust (read and write) of the objects language (one object at a time), by driving internal words of the PLC memory, from a CCX 17 or a MAGELIS. The parameters are:

parameters Description parameters PL7
Enallow the execution of the ADJUST functionIn Bool
R_Wdefine the type of operation to makeIn Bool
Type1 define the type of object to read or to writeIn Word
Adr contains the address of the object to read or to writeIn Word_array
Val contains the value to write in the objectIn Dword
Sinc allow to set to 1 the value of the bit or to increase of 1 the value of the word or double wordIn Bool
Rdec allow to set to 0 the value of the bit or to decrease of 1 the value of the word or double word In Bool
Vret contains the value of the parameter that has been readOut Dword
Gest buffer parameter to receive and send the requests(24 words)Out Word_array

ASK_MSG

This function allows to display to the screen of a CCX 17 desk a message with a variable editable by the operator. The parameters are:

parameters Description parameters PL7
Adr Contain the access path (addressing) to the CCX 17 dialog deskIn Word_Array
Data datas to be emitted In Word_Array
Val datas receivedOut Word_Array
Iout report InOut Word_Array

ASK_VALUE

This function allows to display, to the screen of a CCX 17 desk, a status message contained in the memory of the operator CCX17 dialog desk. The parameters are:

parameters Description parameters PL7
Adr Contain the access path (addressing) to the CCX 17 dialog deskIn Word_Array
Nask data to be emitted In Word
Val datas receivedOut Word_Array
Iout report InOut Word_Array

ASSIGN_KEYS

This function allows to define the configuration of the associated control keys (bit or not, operating mode of the key, affectation by the CCX 17 …) and to send it via internal words (%MWi) to be displayed on the screen of a CCX17 desk.

parameters Description parameters PL7
Adr Contain the address of the CCX 17 dialog deskIn Word_Array
Datadatas to be emittedIn Word_Array
Iout report InOut Word_Array

CONTROL_LEDS

This function allows to control the state of the relays or of the lights of the CCX17 desk.

parameters Description parameters PL7
Adr Contain the access path (addressing) to the CCX 17 dialog deskIn Word_Array
Datadatas to be emittedIn Word_Array
Iout report InOut Word_Array

DISPLAY_ALRM

This function allows to display a alarm message contained in the memory of the operator CCX17 dialog desk.

parameters Description parameters PL7
Adr Contain the access path (addressing) to the CCX 17 dialog deskIn Word_Array
nalanumber of alarmIn Word_Array
Iout report InOut Word_Array

DISPLAY_GRP

This function allows to display simultaneously a group of messages of status contained in the memory of the operator CCX17 dialog desk.

parameters Description parameters PL7
Adr Contain the access path (addressing) to the CCX 17 dialog deskIn Word_Array
ngrpNumber of group of messagesIn Word_Array
Iout report InOut Word_Array

DISPLAY_MSG

This function allows to display a message contained in the memory of the operator CCX17 dialog desk.

parameters Description parameters PL7
Adr Contain the access path (addressing) to the CCX 17 dialog deskIn Word_Array
nmsgnumber of messageIn Word_Array
Iout report InOut Word_Array

GET_MSG

This function allows to display to the screen of a CCX 17 desk, a message with a variable editable by the operator.

parameters Description parameters PL7
Adr Contain the access path (addressing) to the CCX 17 dialog deskIn Word_Array
Datadatas to be emittedIn Word_Array
Iout report InOut Word_Array

GET_VALUE

This function allows to display, to the screen of a CCX 17 desk, a status message contained in the memory of the operator CCX17 dialog desk.

parameters Description parameters PL7
Adr Contain the access path (addressing) to the CCX 17 dialog deskIn Word_Array
Datadatas to be emittedIn Word_Array
Iout report InOut Word_Array

PANEL_CMD

This function allows to send to the dialog operator desk various controls : printing, alarm management….

parameters Description parameters PL7
Adr Contain the access path (addressing) to the CCX 17 dialog deskIn Word_Array
Datadatas to be emittedIn Word_Array

SEND_ALARM

This function allows to send a alarm message to the CCX17 desk

parameters Description parameters PL7
Adr Contain the access path (addressing) to the CCX 17 dialog deskIn Word_Array
Datadatas to be emittedIn Word_Array

SEND_MSG

This function allows to send a status message to the CCX17 desk

parameters Description parameters PL7
Adr Contain the access path (addressing) to the CCX 17 dialog deskIn Word_Array
Datadatas to be emittedIn Word_Array