Parker TWIN-N Series User Manual page 118

Table of Contents

Advertisement

Parker Hannifin S.p.A Divisione S.B.C.
1
2
3
4
5
6
7
[BK+LUN] = the LUN field (first 3 bits) indicates the number of bytes of the data transmitted
(a parameter or a PLC instruction); the values can range from 1 to 4. This value does not
include eventual 0 characters ($00) which are inserted after the values that coincide with the
character of transmission start ($7E). The length of each parameter is two bytes.
The BK field is represented by the 5 most significant bits and represents the 5 most significant
bits of the parameter address.
[PAR] = write/read address of the parameter or PLC instruction.
The parameter address is the number of the parameter * 2 with 13 bit field: PAR represents
the least significant eight bits of the address, the 5 most significant bits must be written in the
BK field.
The table CAM0 used by electronic cam starts at the address from 4096 to 4609, the table
CAM1 starts at the address from 4610 to 5123, the table CAM2 starts at the address from
5124 to 5637, the table CAM3 starts at the address from 5638 to 6151. The PLC instructions
have the address from 0 up to 511.
[D0]... [Dn] = data transmitted.
[CHK] = 256 module sum of all the fields excluding the [STX] (checksum).
Message types
[CMD1] = is the response message of the converter to a data request. The response
message has the following format:
[STX] [001+ADDR] [BK+LUN] [PAR] [D0]... [Dn] [CHK]
or it can be the confirmation message to a data write or data modify. In this case, the format is
the following:
where ADDR always identifies which converter is answering.
[CMD2] = is the read message of an instruction in the PLC area. The message has the
following format:
[CMD3] = is the write message to an instruction in the PLC area. The message has the
following format:
[STX] [011+ADDR] [BK+LUN] [PAR] [D0]... [Dn] [CHK]
[CMD4] = is the read message of a parameter. The message has the following format:
[CMD5] = is the write message of a parameter. The message has the following format:
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[STX] [001+ADDR]
[STX] [010+ADDR] [BK+LUN] [PAR] [CHK]
[STX] [100+ADDR] [BK+LUN] [PAR] [CHK]
user's manual TWIN-N and SPD-N
converter response
reading a pico-PLC instruction
writing a pico-PLC instruction
reading a parameter
writing a parameter
bit modification
writing a parameter to all the slaves
117

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents