·470·
Installation manual
CNC 8055
CNC 8055i
10.
PLC PROGRAMMING
SOFT: V02.2X
Action instructions
= PAR
It analyzes the type of parity of a register.
Their programming formats are:
If the register being checked has an EVEN parity, this instruction will set the indicated mark to "1"
and if its parity is ODD, it will set it to "0".
Example:
I15 = PAR R123 M222
If I15 = 1 the PLC checks the parity of register R123 and sets M222 = 1 if it is EVEN or M222
= 0 if it is ODD.
= WRITE, = READ
Instructions to control communication via RS232. These READ and WRITE instructions may be
executed from a periodic execution module (PE).
= WRITE nBuffer.
If the line is not busy, the data of the indicated buffer is sent through the RS232 serial line. If the
line is busy, the data is not sent.
= READ nBuffer.
The RS232 serial line remains "listening" and fills up the buffer nBuffer with the data received
according to the setting of RCVCTRL. Only one READ instruction may be executed at a time.
TORQUE R1/559 M1/5957