00193786-02 - 第61页

S I P L A C E G EM S W V e r s i on G EM 505 . 03 SP 1 H O S T I n t e r f a c e M anua l ©S i e m en s A G, a ll r i gh t s r e s e r v ed page 61 o f 241 < L [ 2 ] < A C P N A ME > * C o mma nd P arame t er Na…

100%1 / 241
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 60 of 241 ©Siemens AG, all rights reserved
Collection Event CEID
{XE
GemSpoolingActivated“}GemSpoolingActiv
ated
1000007
{XE
GemSpoolingDeactivated“}GemSpoolingDe
activated
1000008
{XE
GemSpoolTransmitFailure“}GemSpoolTran
smitFailure
1000009
FM_GEM_SPOOL_FULL 2211039
3.11 Remote Commands
Setup and processing on the SIPLACE machines can be driven by either a local operator
or by a Host computer. This section describes the remote commands available at the
Host.
Much of the behavior of SIPLACE and its acceptance of remote commands is directed
by requirements of the Control State. For a complete description of the Control State,
please see section 3.2, "Control States".
The SIPLACE will accept RemoteStart when the Control State is Remote or RemoteStop
when the ControlState is Remote or Local.. While in the Local state, the Host can not
put the Equipment into Remote, this must be done by an operator at the Equipment.
The Host has the ability to configure whether the Equipment will enter the Remote or
local state as a default upon entering the On-Line state from Off-Line. This is done by
setting The ONLINESUBSTATE Equipment Constant (VID 1002009) to 4 (Local) or 5
(Remote).
Once in the Remote state, the Host has the authority to issue any of these remote
commands and they will not be rejected because of an invalid control state. Commands
may be rejected for other reasons (trying to start a process with no material loaded, etc.).
While in Remote state, the Operator still has the ability to issue commands and change
the control state. If the operator issues a command while in Remote state, the SIPLACE
will send the OPERATORCMDINREMOTESTATE collection event if enabled (CEID
1002056). When the Operator "grabs" control away from the Host by changing the
Control State to local, the SIPLACE will send either the GemControlStateLOCAL (CEID
1000003) or GemEquipmentOFFLINE (CEID 1000005) event to the Host.
3.11.1 S2F41 Commands
The general format for remote commands using the S2F41 message is:
S2F41 [W] * H->E
<L [2]
<A RCMD> * Remote command string
<L
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 61 of 241
<L [2]
<A CPNAME> * Command Parameter Name
<CPVAL> * Command Parameter Value
>
...
>
> .
The following commands may be sent by the Host to the SIPLACE.
3.11.1.1 START
This command starts processing on the SIPLACE assuming all proper initialization has
taken place and material is present.
A Remote Start could conflict with a Safe_Spool_Stop until spooldata ist purged or
transmitted, , see "chapter 3.10 Spooling".
S2F41 [W]
<L [2]
<A 'START'>
<L>
> .
3.11.1.2 STOP
This command will stop the processing of material at the Equipment. PCs currently in
process will be completed, but no new PCB will be loaded.
S2F41 [W]
<L [2]
<A 'STOP'>
<L>
> .
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 62 of 241 ©Siemens AG, all rights reserved
3.11.2 Related Variables
The following table lists the variables (SV's, EC's, or DVVALS) which are relevant to
remote control. For a more complete description of these variables, see "Appendix A --
Variables".
Variable Name VID
PREVIOUSCOMMAND 1002029
3.11.3 Related Events
The following lists the collection events (CEIDs) which are relevant to remote control. For
a more complete description of these events, see "Appendix B -- Collection Events" or
the description in this chapter.
Collection Event CEID
OPERATORCMDINREMOTESTATE 1002056
FM_REMOTE_START 2211040
FM_REMOTE_STOP 2211041