본문 바로가기

S7-150011

TRCV BLOCK 설명 Parameters The following table shows the parameters of the "TRCV" instruction: EN_RReceive enable IDReference to the connection established with "TCON". Range of values: W#16#0001 (1) to W#16#0FFF (4095) LENLength of the receive area in bytes (hidden). If you use a memory area with optimized access at the DATA parameter, the LEN parameter must have the value "0". DATAPointer to the receive area .. 2020. 6. 17.
TSEND BLOCK 설명 Parameters The following table shows the parameters of the "TSEND" instruction: REQStarts the send job on a rising edge. IDReference to the connection established with "TCON". Value range: W#16#0001 to W#16#0FFF LENMaximum number of bytes that are sent with the job (maximum permissible value for S7-1200: 8192, maximum permissible value for S7-1500: 65536). DATAPointer to the send area containing.. 2020. 6. 16.
MOVE_BLK_VARIANT BLOCK 설명 Parameters ENEnable input ENOEnable output SRCSource block from which to copy COUNTNumber of elements which are copied Assign the value "1" to the parameter COUNT, if no ARRAY is specified at parameter SRC or at Parameter DEST. SRC_INDEX The SRC_INDEX parameter is calculated zero-based. If an ARRAY is specified at parameter SRC, the integer at parameter SRC_INDEX specifies the first element with.. 2020. 6. 14.
I-DEVICE COMMUNICATION 1. 하드웨어 추가 MAIN CPU는 S7-1500 시리즈로 구성되어 있으며 I-DEVICE가 될 S7-1200 CPU를 추가하고이더넷으로 S7-1500과 S7-1200을 연결한다. 2. CPU 속성 - PROFINET 인터페이스 - 작동모드 - IO DEVICE 설정 I-DEVICE가 되는 S7-1200에서만 아래 이미지와 같이 설정을 해주면 되고 IO CONTROLLER가 되는S7-1500은 세팅할 필요가 없다. 3. IO DEVICE 전송 영역에서 주고 받을 데이터 영역을 할당 여기서 IO 컨트롤러는 S7-1500 이 되며, I-DEVICE는 S7-1200으로 구성IO 컨트롤러는 별도의 IO DEVICE SETTING이 필요가 없으며 I-DEVICE가 되는 S7-1200만 영역 세팅 4. PROGR.. 2020. 6. 12.