178
APPX
Appendix 2 Sample Program for Synchronous Control
5. Create the program to start synchronous control.
The sample program when the start I/O No. of the Motion module is set to 01H is shown below.
Classification Label name Description
Module label RD78GS_1.bSynchronizationFlag_D Synchronization flag
RD78GS_1.bPLC_Ready_D PLC READY
RD78GS_1.bAllAxisServoOn_D All axis servo ON
RD78GS_1.bnBusy_D[0] Axis 1 BUSY
RD78GS_1.stnAxMntr_D[0].wAxisOperationStatus_D Axis 1 Axis operation status
RD78GS_1.bnBusy_D[3] Axis 4 BUSY
Global label, Local label Defines the global label or local label as follows. The settings of assignment devices are not required for the label that the
assignment device is not set because the unused internal relay and data device are automatically assigned.
The following table shows an example for the global label.