12.07.2015 Views

GX Works 2 Operating Manual Structured Project - Automation ...

GX Works 2 Operating Manual Structured Project - Automation ...

GX Works 2 Operating Manual Structured Project - Automation ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>GX</strong> <strong>Works</strong>210 CONVERTING/COMPILING PROGRAMS● Assigning multiple types of device automatically (QCPU (Q mode)/LCPU)Assign the devices in top down order on the label setting editor.Devices are assigned in descending order (assigned from higher number of a device number) ofdevice range set on the Device/Label Automatic-Assign Setting.When the number of devices is less than the number of devices required for one label, devices areassigned in descending order of the next device’s device range.When the following label requires the devices which are within the above device range, the previousdevices which are not assigned yet are assigned.Example 1Set the following device range.• D device: 8000 to 8002• ZR device: 0 to 1023DefinitionorderLabel nameData type1 Label_A Word (signed) D80022 Label_B Word (signed) D80013 Label_C Double-precision real ZR1020 *1Example of devices to beassigned4 Label_D Double-precision real ZR1016*1 : Since double-precision real requires four devices, one device of D8000 is not enough.Therefore, the next device ZR is assigned.DescendingorderExample 2Set the following device range.• D device: 8000 to 8002• ZR device: 0 to 1023DefinitionorderLabel nameData type1 Label_A Word (signed) D8002Example of devices to beassigned2 Label_B Double-precision real ZR1020 *13 Label_C Word (signed) D8001 *2Descendingorder4 Label_D Double-precision real ZR1016 *3*1 : Since double-precision real requires four devices, two device of D8000 to D8001 are notenough. Therefore, the next device ZR is assigned.*2 : Since word (signed) requires one device, D8001 can be assigned. Therefore, return tothe previous device (D device), and the device is assigned to the label.*3 : Since double-precision real requires four devices, one device of D8000 is not enough.Therefore, the next device ZR is assigned.10 - 16 10.5.2 Assigning devices

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!