5 Operation
5-46
CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
Note The Global-Control command as set in the CIO words is transferred to the Unit together with
the I/O data, but the Global-Control command is sent over the PROFIBUS network, following
the I/O data. This means that the outputs of the targeted slave device will be updated with the
values sent to the slave prior to the Global-Control command.
Transmitting Global-Control Commands
In order to transmit a Global-Control command the user has to define the group address and the
command (e.g. Freeze, Sync). These two parameters must be entered in Global-Control command
word, see section 4-2-2 Global-Control Command (*_GlobCtlCmd).
After setting these parameters, the Global-Control command must be transmitted over the PROFI-
BUS network. This is accomplished by setting the Transmit Global-Control command bit
(*_GlobCtlTxCmd) in the Software Switches word (*_SwCmd, see section 4-2-1 Software Switches
(*_SwCmd)). Setting this bit will transmit the message only once. After transmission has been com-
pleted, *_GlobCtlTxCmd in the Software Switches word will be reset again.
CX-ConfiguratorFDT
CX-ConfiguratorFDT also provides a means to transmit Global-Control commands from the PC,
through the CJ1W-PRM21 Master DTM Diagnosis User Interface - Online Operations tab. This
means uses the same words as described above.
To accomplish a Global-Control command transmission, perform the following sequence.
1
Make sure the CJ1W-PRM21 Master DTM is online with the PROFIBUS Master Unit.
2
Open the CJ1W-PRM21 Master DTM Diagnosis User Interface.
3
Select the Online Operations tab.
4
Select the commands to be transmitted (e.g. Freeze, Sync) using the checkboxes.
CPU Cycle
PROFIBUS Cycle
Global-Control Sync command Global-Control Unsync command
Instruction
Execution
Instruction
Execution
Instruction
Execution
Instruction
Execution
Slave Output
Refresh Cycle
Sync command causes
immediate refresh of
slave outputs, and
freezes slave output
refresh process.
Sync command causes
immediate refresh of
slave outputs with last
received PROFIBUS
output data.
Unsync command
cancels Sync command
and causes immediate
refresh of slave outputs
and with last received
PROFIBUS output data.
Sync
transmitted
Sync
transmitted
Unsync
transmitted